Installation |
Verify that you have copied the Aspera Shares backup files to your new machine. See Backing Up Aspera Shares and the Database.
Stop the following services:
You can stop these services from the Computer Management window, accessible from Manage > Services and Applications > Services:
C:\shares\www\config\database.yml C:\shares\nginx\conf\cert.pem C:\shares\nginx\conf\cert.key
To restore Aspera Shares, run the following command in a command prompt, where in this example, E:\aspera-shares-restore is the directory where the backup files are stored on the new server.
> cd C:\shares\www
> bundle exec rake restore DIR=E:\aspera-shares-restore
> bundle exec rake db:migrate
> bundle exec rake init
> bundle exec rake aspera:stats_collector:add_all_nodes
Restart the following services:
You can start these services from the Computer Management window.