Backing Up Aspera Shares and the Database

To back up the Aspera® Shares™ web application and accompanying database, follow the instructions below.

Note: You must back up the following files manually:
C:\shares\www\config\database.yml
C:\shares\nginx\conf\cert.pem
C:\shares\nginx\conf\cert.key 
  1. Create a backup directory.

    You must create a backup directory before proceeding to the next step. To do so, run the following in a command prompt, where C:\backups is your backup directory:

    > mkdir C:\backups
  2. Run the backup command (in the context of the gem bundle).

    To create the Aspera Shares backup, run the following commands in a command prompt:

    > cd C:\shares\www
    > bundle exec rake backup DIR=C:\backups

    Copy the files under C:\backups to the backup machine.