You are finally ready to restore! You can restore your site back to any version you have previously saved.
FTP/SFTP Restore the whole site.
Restoring your site with FTP or SFTP can be a bit time consuming, as it requires a backup before you restore the site. The backup is necessary to get the actual current state of the site, as things may have changed drastically since your last backup. FTP/SFTP Restore the whole site.
Steps to Restore Entire Site:
- Select the version you want to restore.
- The normal backup process will run.
- There will be two lists of your site content built: a version to be restored, and the site’s current version.
- The differences between those two sites produce the discrete operations for folders and files. Those items will be placed in a queue for processing.
- The backup will download (if it does not exist yet) and the version to be restored will be checked out.
- Open a connection to the host site.
- Process the operations queue and log the results of it all in this specific order:
- Delete files.
- Delete folders.
- Create folders.
- Upload files.
- Change file permission.
- Record the restore statistics.
- Send out the email notifications.
FTP/SFTP Restore individual files.
You can restore individual files without a pre-restore backup. To select the individual files, you can use a typeahead that searches the files for any particular back up version.
Steps to restore individual files:
- Select 1 – n files in the UI, those are added directly to the operations queue.
- The site repo is downloaded and the version that has the previously selected files is checked out.
- The connection will be tested and opened while using the right client (FTP/SFTP)
- The selected files will be uploaded, and their permissions will be set.
- Record the restore statistics.
- Send out the email notifications.
MySQL/MS-SQL Restore of the Database
This process will use the MySQL or MS-SQL client to do the restore.
Steps to restore with MySQL or MS-SQL:
- A pre-restore backup will be performed
- Download repo from S3
- Target the restore version
- Open the connection to remote database while using MySQL directly or you can use an SSH tunnel, or even MS-SQL.
- Do the database backup file.
- Drop and recreate each table
- Import table data.
- Record the restore statistics.