Cloud backup for your website

All websites—large & small—run the risk of crashes and data loss.
CodeGuard’s cloud backup lets you recover your website data instantly, with just a few clicks.

Starts at just $1.5/month

Website backup that just works

Automatic backups

CodeGuard works behind the scenes. Which means you can turn it on and sit back while CodeGuard takes regular backups of your data.

Hassle-free setup

Since CodeGuard is cloud-based, setting it up is a snap – simply add your website connection details to start the backup process.

30-day Money-back guarantee

Try out CodeGuard and see how easy it is to secure your website. With our 30-day Money-back period, you’ve got nothing to lose.

How it works

Connect your website

Connect your website to CodeGuard using your SFTP/MySQL information. Once connected, an initial backup will start automatically.

Get regular backup updates

CodeGuard automatially monitors your website’s files & databases for changes, performs backups and notifies you by email.

Restore from any point

Restore your website’s files & database to any previous backup version by downloading a zip file, performing an automatic restore or restoring individual files.

 Select a plan for your website


$ 1.45/mo

1 GB

Up to 5


5 Days




6  Months



$ 3.45/mo

5 GB

Up to 10






6  Months



$ 5.95/mo

10 GB

Up to 25






6  Months



$ 10.9/mo

25 GB

Up to 100






6  Months


Customers love CodeGuard!

More than 200,000 websites and databases use CodeGuard

I have been a Defend Hosting customer, under various accounts, for about 3 years now, and couldn’t be more satisfied. Over the years I have needed assistance with my domains and accounts on many occasions (due to my own ignorance about how some things work), and I very quickly discovered that Defend Hosting goes FAR above and beyond anything I would expect when it comes to customer service.

Anna Campbell

I’d like to thank you for a long partnership with outstanding customer service every time I deal with you – this is why I continue to recommend you guys and don’t use anyone else for any of my websites or domain names!”
Keep up the excellent work!

Martin Freeman

Customer service is real at Defend Hosting!
Not only did your staff guide me through the web site process, they did so with patience, flexibility, and a sense of humor.
Thank you!

Mike Sheppard

CodeGuard FAQs

What is CodeGuard?

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 Defend Hosting’s Linux servers, use the SFTP option. Also, you must use the default FTP user that comes with your cPanel account. You cannot connect to CodeGuard using any other FTP user. For Defend Hosting’s Windows servers, use the FTP option.

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.

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

How does CodeGuard store data? Is it encrypted? 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.

© 2018 Defend Hosting. All rights reserved.

Click Me