Back up and restore an HAProxy instance

You can back up the current state of a HAProxy instance in an HAProxy configuration file. If the instance becomes unstable, you can use the backedup file to restore the instance to the stable state.

To back up an HAProxy instance by using NetScaler MAS:

  1. In NetScaler MAS, navigate to Networks > Instances > HAProxy.

  2. In the HAProxy page, click the Instances tab.

  3. Select the HAProxy instance that you want to back up, and then click View Backup.

    localized image

  4. On the Backup Files page, click Back Up.

    localized image

  5. You can choose to encrypt your backup file for additional security.

    localized image

  6. Click Continue.

To restore an instance by using NetScaler MAS:

  1. Navigate to Networks > Instances > HAProxy.

  2. On the HAProxy page, click the Instances tab.

  3. Select the instance that you want to restore, and then click View Backup.

    localized image

  4. On the Backup Files page, select the backup file that you want to restore, and then click Restore.

    localized image

    Note

    When you restore an Instance, NetScaler MAS soft restarts the HAProxy instance.

Back up and restore an HAProxy instance

In this article