Posted by ASO Admin on 21 February 2020 11:25 AM
With CodeGuard, you have the power to decide the type of restoration you would like for your site, for a single file, a database or even the entirety of a website.
Once the restoration process is complete, a backup of the newly implemented changes is created. The account owner will also receive an email notification indicating all the files that have been restored.
Restore a Backup Version
Restoring a backup version from CodeGuard is extremely simple, regardless of what needs to be restored. To restore site files:
Restore a MySQL Database
Did you just suffer a SQL injection or corrupt your database? CodeGuard allows you to restore MySQL databases with just a few clicks. To get started:
Download a Zip File
Users can download full copies of a CodeGuard backup version easily. This option is ideal for those wanting to replace files manually or compare the files to see the differences.
Full Site Restore
If a site needs a full restoration, CodeGuard can recreate the site files and structure. Before the restoration, CodeGuard uses a pre-restore backup to obtain a copy of the current site as it stands. You can select the version of your site to restore to before the pre-restore backup is run.
Two lists of site content are then created: the site version to be restored and the current state of the site. The differences between the two lists provides CodeGuard distinct operations to process for files and folders on the site.
The backup is then downloaded, and the version to be restored is prepped for execution as a connection is opened via FTP/SFTP. The folders in the document root are then replaced with those from the restoration.
Individual File Restore
Did a file accidentally get deleted? Have no fear. CodeGuard has you covered! CodeGuard allows individual file restoration without the need of a pre-restore backup. Simply select the file(s) using the type-ahead that will search through the backup versions.
Once the files are selected, they are queued to be downloaded from the site repository, and the connection between the website and CodeGuard will be opened via FTP or SFTP. Upon upload, the restored files will have their permissions set and the restore will be complete.