Knowledgebase: 3rd Party Software
CodeGuard Restores
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:

  1. Log into your CodeGuard account from within cPanel

  2. In the CodeGuard dashboard, choose the domain that you wish to restore

  3. Click the Restore tab

  4. Under Latest Backups, find the backup you wish to restore

  5. Click the corresponding Restore Options button

  6. Then choose from a variety of restore options, as outlined below in the Restore Options section

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:

  1. Log into your CodeGuard account from within cPanel

  2. In the Unassigned Databases section select your database

  3. Below the Backup Progress Tracker for the selected database, click the View All button to reveal all backups made

  4. Find the backup you want to restore

  5. Click the corresponding Restore Options button

  6. Then choose from a variety of restore options, as outlined below in the Restore Options section

Restore Options

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.


​Check out our other CodeGuard articles for more info.



Attachments 
 
 downloadzip.jpeg (5.36 KB)
 fullsite.jpeg (6.36 KB)
 individual.jpeg (9.04 KB)
(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion