Skip to content

Restore Pro

Scott Madara edited this page Feb 20, 2019 · 8 revisions

Restoring up your Solodev CMS Pro involves logging in via SSH to the EC2 server and running the restore script itself. The restore pulls an image from a designated S3 bucket that is created upon software installation, using IAM user credentials also created at the time of installation. Before beginning this process, please take note of these prerequisites:

Prerequisites

  • EC2 Key Pair
    • In order to SSH into the server
    • This should be the same Key Pair selected when originally installing the software

Step 1 - Run Restore Script

  1. Refer to the "SSH Into an EC2 Server" on the Common Tasks & Commands page for instructions on connecting to the server through an SSH client
  2. Once connected, assume admin rights by running "sudo bash"
  3. Run the restore command by typing the following:
  4. /root/restore.sh
    
  5. This will restore the latest set of backup files within the designated S3 bucket.

(Optional) Modify Restore Script Prior to Running

You may need to modify the script to restore from a different S3 bucket. This is particularly the case when launching new stacks and you want to mount your existing client files into the new environment.
  1. Refer to the "SSH Into an EC2 Server" on the Common Tasks & Commands page for instructions on connecting to the server through an SSH client
  2. Once connected, assume admin rights by running "sudo bash"
  3. Edit the primary restore script located at "/root/restore.sh" (refer to the "Editing Files on the Server with Vi" on the Common Tasks & Commands page for instructions on how to edit with a SSH client)