Web Hosting

What Is CodeGuard and How Does it Work?

While the internet has changed the way we live our lives and made a lot of things more convenient, there has also been a marked rise in the number of security threats online. These cyber-criminals try to gain unauthorized access to websites and either steal data or cause destruction. While most site owners and website hosting companies spend a lot of time and effort in ensuring the security of the server and website, sometimes, an infected file manages to slip in through the cracks and cause havoc. A website backup comes handy in such a situation. And, when it comes to backups, the first name that comes to mind is CodeGuard. CodeGuard Backup’s efficiency and reliability are well-known. Today, we are here to understand how it works.

What is CodeGuard, and how does it work?

CodeGuard provides automatic backups for websites and databases. It has a range of features that make it one of the best backup solutions around. Here is a quick look at how CodeGuard works:

You can understand CodeGuard backups in three stages – initial backups, regular backups, and on-demand backups. Let’s look at each of them in detail:

Initial Backup

As soon as you install CodeGuard on your server, the initial backup starts running. Being the first backup, CodeGuard creates a list of all the files on your server by following the process below:

  • CodeGuard accesses your site by requesting access to your website’s FTP credentials. If it faces any error, then it notifies you and ensures that it has the correct details.
  • After gaining access to your website, CodeGuard analyses the file structure
  • It then creates a temporary place for the backed up files on the cloud – a GIT repository.
  • After CodeGuard has the final list of files that need backup, it copies them to the GIT in an encrypted manner.
  • Next, it moves them to a storage device and deletes them from the temporary repository.

Regular Backups

The initial backup is a one-time process done after CodeGuard installs for the first time. Once done, CodeGuard starts monitoring your site regularly for any changes.

  • If CodeGuard finds any change to the source code, it sends you a notification immediately
  • It also compares the live files with the backed up data to help identify files that have changed.
  • It backs up all the files that have changed
  • If you delete a file, then CodeGuard deletes it from the backup too

Since it doesn’t back up all files every time, the backup process is quicker.


CodeGuard also offers plans that allow you to take backups whenever you want. You can run an on-demand backup by following these steps:

  • Login to your CodeGuard account
  • Select the website that you want to backup
  • Click on the ‘Run Backup Now’ button

You can also view the latest site backup through the Restore tab.

Summing Up

As a site owner, an effective backup strategy is an essential part of the security of your site. With a backup in place, you can ensure that your website offers uninterrupted services even if there is a disaster. The process explained above specifies how CodeGuard works. So, if you have been thinking about investing in a backup tool for your site, then CodeGuard can be a good option. Also, before you buy a hosting plan, ensure that it includes CodeGuard as a backup tool. Good Luck!