Backing Up Configurations and Databases

Aspera strongly recommends backing up your IBM Aspera Faspex configuration and database as a precaution in case of system failure. You may also want to restore your Faspex configuration folder and database on a new machine where you've installed Faspex. To learn more about restoring Faspex, see Restoring your Faspex Database.

  1. Back up your Faspex MySQL database using the following asctl command:
    asctl faspex:backup_database

    The preceding asctl command uses mysqldump to backup Faspex's three MySQL databases to the following directory:

    OS Version Path
    32-bit Windows C:\Program Files\Aspera\Faspex\Backup\time_stamp-version_number.revision_number
    64-bit Windows C:\Program Files (x86)\Aspera\Faspex\Backup\time_stamp-version_number.revision_number
    For example, the directory name may be 2016-04-15_140547-Faspex.4.0.0.100400.

    Verify that the faspex.sql file is present in the directory. You can use this file to restore your MySQL database to a new Faspex instance.

  2. Back up the secret.yml file located at: C:\Program Files (x86)\Aspera\Faspex\config\secret.yml. This file must be backed up and restored for the restored Faspex to correctly work with remote nodes.
  3. Back up your Faspex, Apache and MySQL application files.

    Aspera also recommends that you back up your Faspex, Apache and MySQL application files, which, in addition to the database backup, yields a full backup of the applications required to run Faspex. You can find the application files in the following directories:

    Application Location of Application Files Files to Back Up
    Faspex
    • (32-bit) C:\Program Files\Aspera\Faspex\
    • (64-bit) C:\Program Files (x86)\Aspera\Faspex\
    • faspex.rb.yml
    • /config/*.yml
    • /config/mongrel_cluster/mongrel_cluster.yml
    • /config/aspera.faspex.*.aspera-license
    Apache
    • (32-bit) C:\Program Files\Common Files\Aspera\Common\apache
    • (64-bit) C:\Program Files (x86)\Common Files\Aspera\Common\apache
    • apache.rb.yml
    • /conf/*.key
    • /conf/*.crt
    • /conf/extra/httpd-ssl_template.conf
    • /custom/
    MySQL
    • (32-bit) C:\Program Files\Common Files\Aspera\Common\mysql
    • (64-bit) C:\Program Files (x86)\Common Files\Aspera\Common\mysql
    • database.rb.yml