Migration from earlier versions
Guidance for customers migrating from earlier versions of backup and restore.
Unchanged Commands
These commands remain the same in the new system:
Clear Configuration
Command:
backup clearDescription: Reset backup/restore configuration.
Run Backup
Command:
backup runDescription: Make a backup of the current machine state. Sync to all external targets sequentially.
In the new version, this will not sync to other targets if
--local-onlyis provided.
List Available Backups
Command:
restore listDescription: List backups available on the local machine, as well as on any configured external targets.
Changed Configuration and Execution Commands
Configure External Targets
Old Command:
backup configure-targetNew Command:
backup external-targets configure
Clear Local Backups
Old Command:
restore clearNew Command:
restore delete-version all --local-only
Configure S3 External Target
Old Command:
backup configure-target --s3-bucket-name s3_bucket_name --aws-access-key-id aws_access_key_id --aws-secret-access-key aws_secret_access_key --aws-region-name aws_region_nameNew Command:
backup external-targets configure s3 --bucket-name bucket_name --access-key-id access_key_id --secret-access-key secret_access_key --region region
Configure SCP External Target
Old Command:
backup configure-target --target-user target_user --target-server target_server --target-path target_pathNew Command:
backup external-targets configure scp --user user --server server --path path
Configure SFTP External Target
Old Command:
backup configure-target --target-user target_user --target-server target_server --target-path target_pathNew Command:
backup external-targets configure sftp --user user --server server --path path
Configure Password-Auth SFTP External Target
Old Command:
backup configure-target --target-user target_user --target-server target_server --target-path target_path --target-sftp-passwordNew Command:
backup external-targets configure sftp --user user --server server --path path --use-password
Configure Brain-to-Brain External Target
Old Command:
backup configure-target --target-brain target_brain --brain-key brain_keyNew Command:
backup external-targets configure to-brain --target-brain target_brain --token token
Test External Target
Old Command:
backup testNew Command:
backup external-targets test
Update Allow-list for Brain-to-Brain Backups
Old Command:
backup accept-from-brainsNew Command:
backup from-brain allow-list
Refresh Brain-to-Brain Token
Old Command:
token refreshNew Command:
backup from-brain refresh-token
Run Local Backup
Old Command:
backup run-localNew Command:
backup run --local-only
Enable Scheduled Backups
Old Command:
backup enableNew Command:
backup schedule enable
Disable Scheduled Backups
Old Command:
backup disableNew Command:
backup schedule disable
Delete Backup Version
Old Command:
backup delete-target-versionNew Command:
restore delete-version
Restore from External Target
Old Command:
restore run --configuredNew Command:
restore run from-external-target <name>
Restore from Local Backup
Old Command:
restore run --localNew Command:
restore run from-local
Restore from URL
Old Command:
restore run --http <url>, restore run --sftp <url>, restore run --scp <url>New Command:
restore run from-url <url> (accepts http://,https://,scp://, and sftp:// urls)
Changed Commands Related to Showing Backup Information
Show Backup Download Link
Old Command:
backup show-download-linkNew Command:
show backup download-link
Show Backup Events
Old Command:
backup show(events included in summary)New Command:
show backup events
Show External Targets
Old Command:
backup show(only 1 external target allowed. Included in summary)New Command:
show backup external-targets
Show Allow-List for Brain-to-Brain Backups
Old Command:
backup show(allow-list included in summary)New Command:
show backup from-brain allow-list
Show Brain-to-Brain Token
Old Command:
token showNew Command:
show backup from-brain token
Show Public Key for SCP/SFTP Authentication
Old Command:
backup show(key included in summary)New Command:
show backup public-key
Show Backup Schedule
Old Command:
backup show(schedule included in summary)New Command:
show backup schedule
Last updated
Was this helpful?