A website backup is an important process as it protects you against security threats, hardware failures, or manual errors rendering your site data useless. A backup is the latest working copy of the site and can help you restore services within no time. In the simplest terms, it is a copy of all the files of the site stored at a remote location. Many providers offering a website hosting service also offer automated backup solutions to help site owners have the latest backups available at all times. There are various tools available to help create backups in a hassle-free manner. Today, we will talk about one of the most popular backup tools – CodeGuard and understand how it works.
What is CodeGuard & How does it Work?
CodeGuard is an automatic website backup tool that packs a range of features making it highly popular among site owners. There are three stages of CodeGuard backups, as explained below:
1. Initial Backup
The first thing that CodeGuard does on being installed on a web server is run an initial backup. It ensures that the entire site is backed up by following the process explained below:
- You need to allow CodeGuard to access your files by providing the server’s FTP login credentials.
- Once it gains access to your site, CodeGuard accesses the file structure.
- Next, it creates a GIT repository as a temporary storage place for the backup.
- CodeGuard creates a final list of files to be backed up, encrypts them, and stores them in the GIT repository.
- Finally, it moves the backup to the permanent cloud storage from the GIT and clears the GIT.
2. Regular Backups
While the initial backup is run only after CodeGuard is installed on the server, it also ensures that regular backups are taken so that the latest copy of the site is available at all times. Here is the process:
- It scans your website regularly to identify any changes to the source code. If any change is identified, it notifies the site owner immediately.
- CodeGuard compares the files on the server with the backed up files and identifies files that have changed.
- All changed files are updated in the backup.
- Even if the site owner deletes a file, then CodeGuard deletes it from the backup location too.
3. On-demand Backups
Apart from taking regular backups, CodeGuard also allows site owners to take on-demand backups. Here is how it works:
- The site owner logs in to CodeGuard.
- Selects the website that needs immediate backup.
- Clicks on the ‘Run Backup Now’ option.
Remember, backing up a website is important for offering uninterrupted services to site visitors. By default, CodeGuard stores the backup files for 90 days. However, site owners can change this storage time as per their preference. We hope that with this article, you understand how CodeGuard works. If you have been considering buying a cost-efficient backup tool for your site, then check out what CodeGuard Basic is. Some hosting providers also offer CodeGuard as a part of the hosting package. Ensure that you check with your provider before making the purchase.
You can also check out the following video that answers some common questions about CodeGuard –