How to change the default backup location for Faspex HA

Description

On a Faspex HA system, it is recommended to perform a backup of the Faspex database regularly. This is done by running /opt/aspera/acm/bin/acmctl -b on the active node. By default Faspex backups are placed in /opt/aspera/faspex/backup, but it is possible to change this location.

Instructions

1. Create a symlink from the desired directory for storing backups to the default Faspex backup location:

# mv /opt/aspera/faspex/backup /opt/aspera/faspex/backup.orig
# ln -s /new_location/backup /opt/aspera/faspex/backup

2. Open the following file in a text editor:

/opt/aspera/acm/bin/acmctl

Ensure that BACKUP_DIR is set to /opt/aspera/faspex/backup:

DEBUG=1
ACM_DIR=/opt/aspera/acm
AGEOUT_MINS=2
ASCTL=/usr/bin/asctl
SYSLOG_FACILITY=local2
LOG_TO_FILE=0
LOG_TO_SYSLOG=1
BACKUP_DIR=/opt/aspera/faspex/backup
COMPRESS_BACKUP=1
REMOVE_OLD_BACKUPS=1
BACKUP_MAX_AGE_IN_DAYS=10

3. Your Faspex backups will now save to your custom location.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk