Back Up Flash Device
flash_backupArchives the Unraid USB boot device over SSH into a user share—/boot/config by default or all of /boot—then verifies the tar.gz and prunes older backups.
Instructions
⚠ Archives the Unraid flash (USB boot) device over SSH into a user share: by default /boot/config only (settings, plugins, keys — a few hundred MB); full: true archives all of /boot (several GB, includes the OS images). Writes /mnt/user//flash-backups/flash-backup--.tar.gz, verifies it with tar -tzf, and reports size and entry count; keep: N prunes older archives in that folder beyond N and lists exactly what it removed. The archive CONTAINS your license key, API keys, passwords, and network config — it stays on your own array; never copy it off the server unencrypted. Requires confirm: true AND acknowledge_risk: true, plus SSH (UNRAID_SSH_*). Replaces the Unraid API's flash-backup mutation, which is an unimplemented stub.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"share": "<share>"
},
"name": "flash_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | `true` archives all of /boot; omitted or `false` archives /boot/config only. | |
| keep | No | Newest archives to keep in the share's flash-backups folder, config and full combined; older ones are deleted. Omit to keep all. | |
| share | Yes | Existing user share to write the archive into: the plain name from share_list, not a path. | |
| confirm | No | Set `true` only after the user approves this specific change; otherwise the tool refuses or prompts them. | |
| response_format | No | `detailed` returns full JSON instead of readable text. | concise |
| acknowledge_risk | No | Set `true` only after the user accepts that the archive holds the license key, API keys, and passwords; needed on every call. |