Configuring remote backup

Last Updated : Mar 29, 2022 |

About this task

You can run an immediate full backup of the Avaya Analytics™ crunchy Postgres database to a remote server. The remote server can be Windows or Linux server, and is located outside of the cluster. Use pgdump tool to take the full database backup.

Avaya recommends to use remote backups as these are stored outside the Avaya Analytics™ Cluster to help avoid loosing backups.

For scheduled backups, see the Managing scheduled backups section in this document.

Procedure

  1. Log in to the Cluster Control Manager (CCM) console as the customer user.
  2. Switch to being the root user by entering the command su.
  3. To run the Analytics Administration script, use the following command:

    ccm release orca analytics

  4. Select Database by pressing the corresponding number.
  5. To select the Database backup option, enter the corresponding number.
  6. To export the full backup to a remote server outside of CCM, do the following to configure the remote server:
    1. To select the Update Remote Server connection settings option, enter the corresponding number.
    2. In the Remote Destination IP/FQDN field, enter the IP of the remote server.

      For example: Remote Destination IP/FQDN: 10.10.10.123

    3. Enter Remote Destination username login of the remote server. You must have read and write permission on the remote server.
    4. Enter Remote Destination path, the directory path on the remote server, where the database is exported. For example: /temp/backups.

      For example, to add Linux server path, enter: /temp/backups

      To add Windows server path, enter: /home/myuser/analytics_backups

    5. In the Do you wish to proceed?[y/n]: field, type y to confirm the settings.
    6. Enter Remote User Password of the remote server
    7. Re-enter the Remote User Password of the remote server.

      The Remote server is configured.

  7. Return to the previous page by entering b.
  8. To take a backup of the database, enter the corresponding number to select the Remote backup option.
  9. To select the Run a Remote backup option, enter the corresponding number.
  10. In the Proceed to running a remote backup option, type y.

    Entering n cancels the operation.

  11. In the Confirm server details [y/n]: field, type y.

    The full database backup to the remote server is completed. The backup is first stored on the database PV. It is compressed and then transferred to the remote server in .gz file format. After the backup is moved to remote server, the PV is cleaned, and no space is occupied on the cluster.

  12. Return to the previous page by entering b.
  13. Quit the current page by entering q.
  14. Return to the main menu by entering m.