Restoring your Faspex Database

You can restore a backed up version of Faspex if you experience a system failure. You
can also choose to restore Faspex on a completely new workstation on which you've
installed Faspex. If you choose to restore Faspex on a separate workstation, the
restored version of Faspex must match the version of Faspex installed on the
workstation. To restore Faspex, you need the following files:

Faspex MySQL database files

The secret.yml file

Faspex, Apache, and MySQL application files

Copy the backup directory to the workstation and run the following
asctl command:

>asctl faspex:restore_database C:\path\to\backup_dir

Set the Faspex hostname to the hostname of the current workstation by running
the following asctl command.

>asctl apache:hostname hostname

Set the hostname or IP address in your faspex.yml
file.

The faspex.yml file can be found at the following
location:

C:\Program Files (x86)\Aspera\Faspex\config\secret.yml

Change Hostname: and BaseUrl: to include the new hostname
or IP address.

Update the aspera.conf file with the new hostname using
the following asconfigurator command:

>asconfigurator -x "set_server_data;server_name,hostname"

Create a node user on the workstation. Run the following command:

>asnodeadmin -a -u node_user -p password -x faspex

If you backed up your SSL certificates and keys, copy them to the following
locations on the workstation:

Copy the secret.yml file from your backup to C:\Program Files (x86)\Aspera\Faspex\config\secret.yml. Keep a
backup of the original secret.yml file in the
directory.

Restart Faspex.

>asctl faspex:restart

Modify the localhost configuration.

Launch Faspex from a browser and log in using the Faspex admin account. Go to
Server > File Storage and edit the localhost
node. (Select the icon next to localhost and select Edit.) In the Basic
Configuration section, enter the username and password you specified when you
created the node admin user.

Note: Remote nodes should be accessible without
changes.

If you experience issues, restart Aspera services.

You can restart the Aspera Central,
Aspera NodeD, and Aspera HTTPD services from the Computer Management window.
Go to Control Panel > Administrative Tools > Computer Management
> Services and Applications > Services. Select each service
and click Restart.

Note: If you created post-processing scripts, you must copy and restore them manually.
For more information on post-processing scripts, see Enabling Post-Processing Scripts.