On a successful connection, you will see the screen shown below. Select the root directory of your website and click on the Select Root Directory button to proceed.

Select the files you want to backup and click on the Begin First Backup button.

Once the backup process starts, you can view its progress. You will see the screen displayed below, once the backup process is completed.

Adding a database to your CodeGuard account

Visit the CodeGuard dashboard, as explained above in the process for adding a website. Click on the Databases tab.

In the next screen shown below, click the Add Database button.

During the initial addition of a database to CodeGuard, you can test the server connectivity by providing the database hostname or the IP address.

You can locate the IP address of the database server as mentioned below:

cPanel: In the cPanel control panel, look out for the IP address under the Stats section.

Plesk: In the Plesk control panel, click on the Databases link.

In the next screen, locate the IP address under the Database server column.

Note

The process of database management varies for different hosting providers. You need to consult their support team or documentation for more specific instructions.

Click on the Test Connection button.

Before you proceed, for direct MySQL connection, ensure that the IP addresses provided by CodeGuard are whitelisted in your hosting control panel.

You will be required to add your database details. If you have them, proceed to step 6 directly.

If the database details are not available, you can fetch them for an existing database.

This process is explained below for a couple of commonly used hosting control panels:

cPanel:

In the cPanel control panel, click the MySQL Databases link under the Databases section.

Under the Current Users section, click the database user link for an existing user.

Modify the password for the database user.

Plesk:

In the Plesk control panel, click the Databases link.

Here, you can view a list of existing databases. Click the Users tab.

You can now view a list of existing databases users. Click on the user link.

Modify the password for the database user.

On a successful connection, you will see the screen shown below. Enter your database details.

In the cPanel control panel, click the Remote MySQL link under the Databases section.

Add the IP addresses to the Access Hosts list individually.

If SSH has been enabled for your hosting account, you can connect to the database over SSH. Here, choose the Tunnel over SSH option.

In case of Deputy Domains's servers, only the Connect to MySQL directly option is supported.

Click on the Next Step button to proceed.

Select the database to be added and click on the Add Databases button. CodeGuard will then start an initial backup process.

Once the backup process starts, you can view its progress. You will see the screen displayed below, once the backup process is completed.

This completes the process of adding a website and a database to your CodeGuard account. CodeGuard will now regularly check your website and database and will take a backup if any changes are detected.

View backups taken by CodeGuard

In the CodeGuard dashboard, click on the website or the database link under My Sites.

In the website / database specific view that follows, click on the View All button to view the backup history interface:

Note

The automatic backup schedule depends on the CodeGuard plan that you have purchased.

If your plan supports it, you can initiate an instant backup process by clicking the Run Backup Now button.

Click on the View Details link corresponding to any backup to view the backup details:

If required, you can delete a website or database through the Delete option under the ACTION menu, corresponding to the website or database.

Restore your data from a backup

In the CodeGuard dashboard, click on the Restore tab to bring up the Restore interface:

You can perform an automated test restore on your website to find out if CodeGuard can successfully write to your website, by clicking the Start Test Restore button.

The automated test restore is optional. If you want, you can skip it and move to the 5th step.

You will see the message shown below once the test restore process is completed. Click on the View Test Results button to view the result.

Click on the Restore Options button to view the restore options:

Here, you may choose one of the following restore options:

Automatic Restore: CodeGuard will automatically restore your website by replacing all of your current content with content from a backup

Download Zip: Perform a manual restore yourself by requesting a zip file of a backup & manually replacing files on your site

Selective Restore (applicable only for website restore): Specify a file to be restored and CodeGuard will restore that file from a backup

Once the backup process starts, you can view its progress. You will see the screen displayed below, once the backup process is completed.

Backup Issues

In the CodeGuard dashboard, click on the Issues tab to bring up the Backup Issues interface: