In order to perform the backup using CLI commands, follow these steps to create a weekly scheduled backup job to export a file using the SCP protocol to a remote server. Connect with FI CLI using SSH and run these scope commands:
- Select the organization scope:
FI-A# scope org /
- Select a backup policy:
FI-A /org # scope backup-policy default
- Select a remote hostname:
FI-A /org/backup-policy # set hostname server
- Select a protocol for the backup job:
FI-A /org/backup-policy* # set protocol scp
- Set the remote server username:
FI-A /org/backup-policy* # set user username
- Set a password:
FI-A /backup-policy* # set password
Password:
- Select a remote server filename:
FI-A /backup-policy* # set remote-file /backups/full-state1.bak
- Select the admin state of the job to be enabled:
FI-A /backup-policy* # set adminstate enable
- Select a schedule:
FI-A /backup-policy* # set schedule weekly
- Optionally add a description:
FI-A /backup-policy* # set descr "This is a full state
weekly backup."
- Execute and save changes to the configuration:
FI-A /backup-policy* # commit-buffer