Installation |
Verify that you have copied the Shares backup files to your new machine. See Backing Up Shares and the Database.
C:\shares\www\config\database.yml C:\shares\nginx\conf\cert.pem C:\shares\nginx\conf\cert.key
To restore 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
> rake restore DIR=E:\aspera-shares-restore
> rake db:migrate
> rake init
> rake aspera:stats_collector:add_all_nodes