Help

Knowledgebase


About CodeGuard Optional Add on Service

CodeGuard is a service that provides an automatic website / database backup solution. It monitors your website / database regularly. If any changes are detected, it will notify you about the changes and backup your website / database. It also allows you to restore your website / database to a previous version.

How does CodeGuard connect to my website?

If your website is hosted on our Linux servers, use the SFTP option. Also, you must use the default SFTP user that comes with your control panel account. You cannot connect to CodeGuard using any other FTP user.

In case of other hosting providers, you can choose either the FTP or SFTP option, based on your service provider's settings.

Wouldn't the hosting provider's backup suffice?

Hosting companies tend to keep your backups in the same place as your primary files. In case of any eventuality, along with your primary files, your backups too will be affected. CodeGuard provides safe, offsite backup that is 100% independent from your hosting provider.

Moreover, hosting companies provide you only the latest backup. CodeGuard follows a versioning system and allows you to restore a backup of an earlier date as well.

After I add a website, how do I change what files are backed up?

After you add a website, any new files or directories that you add to your site will automatically backed up. CodeGuard will only exclude files and directories that you don't select when adding your website. If you need to change how your website is backed up, you need to delete and re-add your website. However, this should be handled with care as you will lose your backups. This option is only recommended if you have just added your website.

What types of database are supported for backup?

CodeGuard only supports MySQL database.

How does payment work?

Plans are month-to-month. You will be billed at the beginning of each month period by CloudFlare, based on your initial billing date.

How do you backup the static content?

CodeGuard can connect via FTP or SFTP to backup your static content. A connection to your server is opened once/day, and once the server connection is established, CodeGuard will check to see if any files have changed. If changes are detected, only the changed files will be transmitted to CodeGuard's servers. This keeps your bandwidth usage low and minimizes server impact.

How does database backup work?

You have several options in backing up your databases. CodeGuard can connect directly to your MySQL database, typically through Port 3306, or by tunneling over SSH with your FTP credentials or different credentials. Similar to backing up the static content, CodeGuard will open a connection once/day. Different than the static content backup though, is that the entire database will be downloaded each time a connection is opened. The database is examined by our version control system once it reaches our servers, and only the new or changed content is stored.

Can I backup multiple websites?

Yes, you can! Multiple websites can be backed up with CodeGuard, and if you have more than two or three, we highly recommend the Professional or Enterprise Plans. These plans are feature rich with tools for managing and overseeing multiple backups for different clients, and are intended for small businesses, designers, developers, and agencies.

Where are the backups kept?

CodeGuard utilizes Amazon's Simple Storage Service, also known as S3. While Amazon has several different services, this is the most reliable storage system on the planet, with 99.999999999% reliability. Each of the nines after the decimal point count - there are nine of them - and this means that your backups are safe with CodeGuard.

How does monitoring work and why is that important?

CodeGuard opens a connection with your server once a day, and checks to see if anything has changed. We do this by looking at the names of the files, the time stamps on them, and the file sizes. If any changes are found, you will be notified via email of those changes, and a new backup of that changed content will commence. This is important because websites are vulnerable - to human error in editing, to outside attack, and technology/hardware failures. Now you will know immediately if something happens to your site, and you can remedy it quickly.

How does the restore/undo work?

When a user seeks to restore a previous version of their website, the first thing CodeGuard does is to check the live website to see what content is on it. This enables us to quickly push (or pull) the differences to or from your site. For instance, you might experience a hack that changes your .htaccess file and nothing else. Rather than reload your entire site, CodeGuard would simply replace the infected .htaccess file with your old clean copy.

What database user permissions are needed to backup and restore?

The database user that you specify in CodeGuard must have the appropriate permissions granted. It is recommended that the user has the permissions for both backup and restore actions:

  • Backup

    • Select

    • Show View

    • Show Databases

  • Restore

    • Select

    • Update

    • Insert

    • Delete

    • Drop

    • Create

    • Alter

    • Index

Can CodeGurad Restore your Website from any Point?

Customers can restore their website or database to any previous backup version. They can download a zip of the contents at any time, choose an automatic restore, or restore individual files and folders. Backups are stored on Amazon Web Services Simple Storage System, known as S3. S3 boasts object durability levels of 99.999999999%, achieved by storing redundant copies of data across multiple geographies and facilities. S3 is not the cheapest alternative for data storage, but it is one of the most reliable.

What is the privacy policy with regards to data captured by CodeGuard?

CodeGuard's privacy policy can be located here.

How long are the backups stored in the CodeGuard account?

By default, only 90 days of backups are stored. You can choose to retain all backups, from the Backup Retention Settings section in the ACCOUNT SETTINGS view. You can navigate to this view through the SETTINGS -> ACCOUNT menu, within your CodeGuard account.

Are the backups encrypted?

Your data is stored utilizing Server Side Encryption (SSE) with one of the strongest block ciphers available, 256-bit Advanced Encryption Standard (AES-256).

Back to Knowledgebase
Share