How to: Back up managed BIG-IP Next instances to BIG-IP Next Central Manager’s local drive instantly or on a schedule

Overview

You should create a backup of a BIG-IP Next instance from BIG-IP Next Central Manager for a number of reasons including:

  • Before upgrading a BIG-IP Next instance.

  • Before performing a factory reset on a BIG-IP Next instance.

  • For data loss prevention and security compliance.

You can create an instant backup or create a regularly scheduled backup. The backup task can take several minutes but will not impact active applications or network traffic.

Prerequisites

  • The BIG-IP Next instances you want to create a backup for must be in a healthy state.

  • If you have recently performed an instance upgrade, you need to delete large image files from the instance. See Delete large files from instance

Delete large image files from instance

Perform this task if you have recently upgraded your BIG-IP Next instance. You must send API calls to the instance to remove the large upgrade image files and other large files before the backup will succeed.

  1. Send a login request to BIG-IP Next Central Manager and record the access_token from the response. The access_token should be used for all remaining requests.

    POST https://{{remote-CM-address}}/api/login

  2. To identify the id of the instance you would like to backup, return a list of BIG-IP Next instances from the BIG-IP Next Central Manager inventory:

    GET https://{{remote-CM-address}}/api/device/v1/inventory

  3. Note the id of instances you would like to backup from the response in step 2.

  4. To identify the large image files’ id, send a request for the files present on the instance:

    GET https://{{remote-CM-address}}/api/device/v1/proxy/{{remote-Big-IP-Next-ID}}?path=/files

    Note: The image file for the upgrade BIG-IP Next {{version and build number}}.tgz might not be the only large file that can be deleted. Note the file size and id.

  5. Send a request to delete the file on the instance using the file id from the previous step at end of delete URL. For example:

    DELETE https://{{remote-CM-address}}/api/device/v1/proxy/{{remote-Big-IP-Next-ID}}?path=/files/644fcd02-fa38-4383-ac1c-f67e0c899e0d

  6. Wait at least 20 minutes after the deletion before initiating steps to initiate an instance backup.

    IMPORTANT NOTE: The file deletion process can take up to 20 minutes to complete. If the files are not fully deleted, the new backup attempt will fail.

  7. Repeat step 5 for additional large files, such as QKView or core files.

Result

Once you have completed file deletion and waited at least 20 minutes, you can initiate an instance backup.

Procedure

  1. Log in to BIG-IP Next Central Manager as admin, click the Workspace icon next to the F5 logo, and click Infrastructure.

  2. Select the checkbox next to the BIG-IP Next instances you want to back up.
    The BIG-IP Next instance must be in a healthy state for a successful backup creation.

  3. At the top of the screen, click Actions, and then click Back Up & Schedule.
    The Back Up Instances panel opens.

  4. For Encryption Password, type a password to encrypt this backup and confirm the password.

  5. To create an instant backup, click the Backup Now button and then the Yes, Backup button.

  6. To create a backup schedule, click the Next button.

  7. From the Frequency list, select the interval you want BIG-IP Next Central Manager to back up the selected BIG-IP Next instance(s).

  8. To change the name of this backup, overwrite the default name in the Name field.

  9. Click the date in the Date and Time field to open the calendar where you can select a specific date and time to start this schedule.

  10. Select End on to specify a date you want this backup schedule to stop, then click the Date and Time field to open the calendar where you can select a specific date and time to stop this schedule. The default end date is one year from the start date.
    If you select No end date BIG-IP Next Central Manager will continue you creating backups on the schedule you specified.

  11. Click the Next button.
    The schedule summary panel opens.

  12. Click the Save Schedule button to save the schedule you created for backups.

Result

By default, backups are stored locally on BIG-IP Next Central Manager or (if configured) on the locally-mounted external NFS storage.