Restoring Shares from a Backup

Note: To perform a backup see Backing Up Shares and the Database.
  1. Ensure that your IBM Aspera Shares backup is available.

    Verify that you have copied the Shares backup files to your new machine. See Backing Up Shares and the Database.

  2. Stop Shares services.
    Run the following script as root. The script stops Shares services, restores Shares data, and restarts Shares. You cannot use this procedure with earlier versions of Shares.
    # /opt/aspera/shares/u/setup/bin/restore /your_backup_dir/backup_id
    For example, using the ID of the example directory generated in Backing Up Shares and the Database:
    Run the following command:
    # /opt/aspera/shares/u/setup/bin/restore /tmp/20130627025459
    The Terminal will return the following information:
    Checking status of aspera-shares ...
    Status is running
    mysqld is alive
    Restoring the Shares database and config files ...
    Migrating the Shares database ...
    Initializing the Shares database ...
    Configuring the stats collector to poll all nodes ...
    Restoring the SSL certificates ...