/system/backup/cloud/upload-file
当前显示英文原文,切换到「中文」可查看译文。
upload-file
Uploads an AES-encrypted backup to this device's slot on the cloud server. When the slot is used, the upload fails with Server error: All slots used. Delete file to free up space., unless replace names the stored backup.
system/backup/cloud/upload-file
Type: Command
Uploads an AES-encrypted backup to this device's slot on the cloud server. When the slot is used, the upload fails with Server error: All slots used. Delete file to free up space., unless replace names the stored backup.
| Argument | Type | Description |
|---|---|---|
action | enum (upload | create-and-upload) | What to upload: - create-and-upload - Create a backup of the current configuration, encrypt it with password and upload it. - upload - Upload the backup file given in src-file. |
name | string | Name of the backup in the cloud list. It does not have to match a file name. |
replace | enum | Name of the stored backup to overwrite. The new backup gets a new secret-download-key. |
src-file | file | Backup file to upload with action=upload. The file must be saved with a password (/system/backup/save password=...), otherwise the command fails with src file must be AES encrypted. |
password | string | Password that encrypts the backup with action=create-and-upload. Required for that action; you need it to restore the backup. |
| 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. |