/system/backup/cloud/download-file
当前显示英文原文,切换到「中文」可查看译文。
download-file
Downloads a backup from the cloud server: this device's backup by its number in the list (number=0), or any backup by its secret-download-key.
system/backup/cloud/download-file
Type: Command
Downloads a backup from the cloud server: this device's backup by its number in the list (number=0), or any backup by its secret-download-key.
| Argument | Type | Description |
|---|---|---|
secret-download-key | string | Key of the backup to download, shown as secret-download-key on the router that uploaded it. Use it to download the backup to another router. |
action | enum (download | download-and-apply) | What to do with the backup: - download - Save the backup file to the router's storage. - download-and-apply - Save the backup file, restore the configuration from it with password, and reboot. |
dst-file | string | Name of the saved file; .backup is added. Without it, the file is saved as <name>.backup. |
password | string | Password of the backup, for action=download-and-apply. |
| Read-only Argument | Type | Description |
|---|---|---|
status | string | Progress of the command: working... while it runs, finished when it is done, or the error message, for example from the cloud server. |