Restoring Shares from a Backup

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

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

  2. Stop Shares on Demand services.
    Run the following script as root. The script stops Shares on Demand services, restores Shares on Demand data, and restarts Shares on Demand. You cannot use this procedure with earlier versions of Shares on Demand.
    # /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 ...
    Done