CodeGuard Tutorial - Easy to Setup Automatic WordPress Backup with CodeGuard

CodeGuard Tutorial – Easy to Setup Automatic WordPress Backup with CodeGuard


CodeGuard’s idea is simple – a fully automatic time machine for your website. Deleted files are now recoverable, overwritten files are now obtainable, and if your site is hacked, the malware is easily removable.

CodeGuard offers the most reliable backup on the market with 99.999999999% reliability. It is achieved by replicating your data in secure locations across the world and backing up your site automatically, everyday.

You can restore your website or a database to any previous backup version. You can download a zip of the content at any time, or choose an automatic restore, or to restore individual files and folders.

Easy to Setup Automatic WordPress Backup with CodeGuard

Do you want to create a time machine for your website? Having an automatic cloud backup of your WordPress site is the first step in securing your website because it gives you the option to revert changes should anything go wrong. In this article, we will show you how to setup an automatic WordPress backup with CodeGuard along with sharing our honest CodeGuard review, so you can make an educated decision.

What is CodeGuard?

CodeGuard is a website backup service that can automatically backup your WordPress site and save it on the cloud. It also allows you to track your changes daily. There are plenty of WordPress backup plugins available.

However, using a plugin means you will have to keep it up to date, and in most cases the backups aren’t stored properly on an offsite location.

If you are managing client websites, then managing all backups separately is quite difficult. Not to mention that clients can accidentally turn off backups.

CodeGuard is a paid backup service that works on all website platforms including WordPress. Their monthly plans start from $5/month for 1 site and unlimited databases with up to 5GB storage. They also offer a free 14 day trial on all their plans.

Let’s start with setting up WordPress backups through CodeGuard.

Setting up WordPress Backup on CodeGuard

First you need to enter your website’s URL and then provide your FTP information. If you do not know your FTP username or password, then please contact your WordPress hosting provider. You can also find this information in the email your WordPress hosting provider sent you when you signed up. Alternately, you can also locate this information using cPanel by clicking on FTP or FTP manager.

After entering your FTP/SFTP information, click on the test connection button. CodeGuard will show a success message. You can now click on the connect your website button.

CodeGuard will connect to your website, and it will show you all the files stored on your server.

You will need to select the folder that contains all your WordPress files and then click ‘select root directory’ button to continue.

Now scroll down a bit, and you will see ‘Select website content’ section. You need to select all your files and folders.

Simply click on the top folder and all the files inside it will be automatically selected. Next, click on the begin first backup button to continue.

You will see a success message. CodeGuard will automatically start downloading your WordPress files to their cloud servers in the background.

You will be asked to add your WordPress database for backup.

The next step is to connect your database and to do that you will need the following information.

  • Your database hostname or IP address
  • MySQL username
  • MySQL user password

You can find this information in your WordPress website’s wp-config.php file itself. Alternatively, you can contact your web host to provide you this information.

If you connect to your host using localhost as your hostname, then you will need to enter your domain name as the hostname.

On the other hand, if you use a hostname like, then you will have to enter that or add your MySQL server’s IP address.

Enter your database connection information. Before you click on the next step button, you will need to copy the IP addresses shown under the Helpful Tips box on the right.

Your web host will not allow an external IP to connect to your database unless you explicitly allow it access. To do that, you need whitelist these IP addresses.

Simply login to your cPanel account and click on the Remote MySQL icon.

Copy and paste an IP address and then click on add host button. Repeat for all IP addresses given by CodeGuard.

Once you are done, come back to the CodeGuard’s add database screen and click on the next step button.

CodeGuard will connect to your database now. If you have more than one database, then it will ask you to select one. Choose your WordPress database and click on add database button.

CodeGuard will now start backing up your database to their cloud servers. Upon completion it will show your database and some basic WordPress stats.

That’s all you have successfully backed up your WordPress site and database on CodeGuard’s cloud servers.

How to Restore Site and Database from CodeGuard Backups

As a website owner, you need to be sure that the backup solution you are using for your site is easy to restore. CodeGuard offers automatic restore options which allow you to restore your WordPress files and database with one click.

You can also download your backups to your own computer to perform a manual recovery.

Top and Reliable CodeGuard Hosting Provider is a reputable web hosting company specializing in ASP.NET hosting services. They provide Shared, Reseller, Cloud, and Dedicated server packages for both beginners and specialists alike. They promise 99.9% uptime, and scale server sources to handle spikes in traffic. is really a hosting service that regularly delivers the highest high quality hosting solutions to a worldwide audience. They seek to cultivate an atmosphere where their organization and their customers can attain mutual success. More details at

Posted in Hosting Tutorial and tagged , , , , , , , , .