Manual Chapter : Back up and export system configuration

Applies To:

Show Versions Show Versions

F5OS-A

  • 1.0.1, 1.0.0
Manual Chapter

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.
  1. 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.
  2. Change to config mode.
    config
    The CLI prompt changes to include
    (config)
    .
  3. 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 named
    system-backup1.xml
    :
    system database config-backup name system-backup1.xml
    System configuration backup files are located in
    configs
    .
  4. Verify that the backup file was created successfully.
    file list path configs/
  5. 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 address
    192.0.2.75
    and export a backup file named
    system-backup1.xml
    using the SCP protocol to the
    /tmp
    directory:
    file export local-file configs/system-backup1.xml protocol scp remote-file /tmp/system-backup1.xml remote-host 192.0.2.75 username root
    The system requests the password for the remote root account.
    Value for 'password' (<string>): ******* result File transfer is initiated.(configs/system-backup1.xml)
  6. Check the status of the file transfer.
    file transfer-status
    When the file transfer completes, the
    Status
    displays
    Complete
    .
You now have a backup of the system configuration that you can restore on the system if needed.