Manual Chapter :
Back up and export system configuration
Applies To:
Show VersionsF5OS-A
- 1.0.1, 1.0.0
Back up and export system configuration
Before you perform an upgrade, it is a
good idea to save and export a backup of the system configuration from the
CLI.
- Log in to the command line interface (CLI) of the system using an account with admin access.When you log in to the system, you are in user (operational) mode.
- Change to config mode.configThe CLI prompt changes to include(config).
- Create a backup of the system configuration.system database config-backup name <filename>In this example, you create a backup file of the system configuration namedsystem-backup1.xml:system database config-backup name system-backup1.xmlSystem configuration backup files are located inconfigs.
- Verify that the backup file was created successfully.file list path configs/
- Export the configuration backup file to a safe location, such as an HTTPS server.file export local-file configs/<filename> protocol [ https | scp | sftp ] remote-file /tmp/<filename>.xml remote-host <ip-address> username <username>In this example, you connect as the root user to IP address192.0.2.75and export a backup file namedsystem-backup1.xmlusing the SCP protocol to the/tmpdirectory:file export local-file configs/system-backup1.xml protocol scp remote-file /tmp/system-backup1.xml remote-host 192.0.2.75 username rootThe system requests the password for the remote root account.Value for 'password' (<string>): ******* result File transfer is initiated.(configs/system-backup1.xml)
- Check the status of the file transfer.file transfer-statusWhen the file transfer completes, theStatusdisplaysComplete.
You now have a backup of the system
configuration that you can restore on the system if needed.