Backing Up Aspera Shares and the Database

To back up the Aspera Shares web application and accompanying database, run the following script as root. The script stops Aspera Shares services, backs up all necessary files, and restarts Aspera Shares. You cannot use this procedure with earlier versions of Aspera Shares.

# /opt/aspera/shares/u/setup/bin/backup /your_backup_dir 

For example:

# /opt/aspera/shares/u/setup/bin/backup /tmp
Creating backup directory /tmp/20130627025459 ...
Checking status of aspera-shares ...
Status is running
mysqld is alive
Backing up the Shares database and config files ...
Backing up the SSL certificates ...
Done

Make a note of the ID of the created backup directory, in this example: 20130627025459.