Backing Up Shares and the Database

Tip: The Shares web UI and nginx service will still be available while performing a backup.
  1. Run the following script as a root user.
    The script stops Shares services, backs up all necessary files, and restarts Shares. You cannot use this procedure with earlier versions of Shares.
    # /opt/aspera/shares/u/setup/bin/backup /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
  2. Make a note of the ID of the created backup directory for future use. In the above example: 20130627025459.
For instructions on how to restore a backup of Shares, see Restoring Shares from a Backup.