ADC

Backup and restore a Citrix ADC appliance

When your appliance gets corrupted or needs an upgrade, you can back up your system configuration. This is done either through the Citrix CLI or GUI interface. The appliance also enables you to import the backup file from an external source. However, you can do this only through the GUI interface and there is no support through the CLI interface.

Points to remember

You must remember the following points when your backup and restore your appliance.

  • 的re must be a support for network configuration on a new platform.
  • 的new platform build must be same as the backup file or a later version.

Back up a Citrix ADC appliance

Depending on data and backup requirement, you can create a “basic” backup or a “full” backup.

  • Basic backup.You can perform this type of backup if you want to back up files that constantly change. The files that you can back up are in the following table.

For information about the basic backup details, see theTabletopic.

  • Full backup.In addition to the files that are backed up by a basic backup, a full backup has less frequently updated files. The files that are backed up when you use the “Full” backup option are:
Directory Sub-Directory or Files
nsconfig ssl, license, fips*
/var/ netscaler/ssl/, wi/java_home/jre/lib/security/cacerts/, wi/java_home/lib/security/cacerts/*

的backed-up data is stored as a compressed TAR file in the/var/ns_sys_backup/directory. To avoid issues due to non-availability of disk space, you can store up to 50 backup files in this directory. You can use therm system backupcommand to delete existing backup files and create more backups.

Note:

When the backup operation is in progress, do not execute commands that affect the configuration.

If a file that is required to be backed up is not available, the operation skips that file.

To back up a Citrix ADC appliance

Follow the procedure given below to back up a Citrix ADC appliance by using the Citrix ADC command line interface.

At the command prompt, do the following:

  1. Save the Citrix ADC configurations.

save ns config

  1. Create the backup file.

create system backup [] -level -comment

Note:

If the file name is not specified, the appliance creates a TAR file with the following naming convention:backup_ <水平> _ < nsip_address > _ <时间戳> . tgz.

Example:To back up the full appliance using the default naming convention for the backup file.

> create system backup -level full

  1. Verify that the backup file was created.

show system backup

You can view properties of a specific backup file by using thefileNameparameter.

Restore a Citrix ADC appliance

Important:

You cannot successfully restore your appliance, if you rename or modify your backup file.

When you restore your appliance, the restore operation untars the backup file from the/var/ns_sys_backup/directory. Once the files are untarred, the files are copied to the respective directories.

To restore the Citrix ADC from a local backup file by using the command line interface

Note:Citrix recommends you to back up the current configuration before restoring a previous configuration. However, if you do not want the restore command to automatically create a backup of the current configuration, use the–skipBackupparameter.

At the command prompt, do the following:

  1. Obtain a list of the backup files available on the appliance.

    show system backup

  2. Restore the appliance by specifying one of the backup files.

    restore system backup [-skipBackup]

    Example:To restore by using a full backup of an appliance

    > restore system backup backup_full__.tgz

  3. Reboot the appliance.

    reboot

To backup and restore a Citrix ADC appliance by using the GUI

  1. Navigate toSystem>Backup and Restore.

    Backup page

  2. ClickBackup/Importto start the process.
  3. In theBackup/Importpage, selectCreateand set the following parameters.
    1. File Name. Name of the appliance backup file.
    2. Level. Select a backup level as basic or full.
    3. Comment. Provide a brief description for the backup.
  4. ClickBackup.

    backup import

  5. If you want to import a backup, you must selectImport.

    localized image

  6. Once backup is complete, you can select the file and clickDownload.
  7. To restore, select the backup file and clickRestore.

    Restore your file

  8. In theRestorepage, verify backup file details and clickRestore.

    Restore GUI

  9. After you restore, you must reboot the appliance.

For more information on how to backup and restore Citrix ADC instances, seeBackup and Restore using Citrix ADMtopic.

For more information on how to backup and restore an SDX appliance, seeBackup and restore SDX appliance

For information about operations performed on system backup, seeSystem Backuptopic.

Backup and restore a Citrix ADC appliance