CodeGuard keeps a copy of your website for every day it has backed up. You can put the whole site back the way it was, restore only some files or a database, or download a backup and restore it yourself.
Restore website files
- Log in to the Client Area and go to Services > My Services.
- Click your CodeGuard service. If you ordered it as an add-on, open your hosting service instead and find CodeGuard under its add-ons.
- Click Log in to CodeGuard Control Panel. It's under Actions on the left, and under the CodeGuard logo on the page. CodeGuard opens and signs you in automatically, so you don't need a separate password.
- Next to your website, open the actions menu and choose Restore (or click the site and open the Restore tab).
- Find the date you want to go back to and click Restore Options next to it.
- Choose one of these:
- Automatic Restore puts every file back as it was on that date. CodeGuard backs up the current site first, so you can undo the restore.
- Selective Restore: tick only the files or folders you need. This is the quickest way to recover a deleted page or image.
- Download Zip: download the whole backup or selected files to your computer.
A restore can take from a few minutes to about an hour on a large site. You'll get an email listing the files that were restored. If a restore shows the same status (for example "Provisioning a private server") for more than an hour, open a support ticket.
Restore a database
- In the CodeGuard dashboard, click the database name (under your website or in the databases list).
- Open the Restore tab and click View All Backups.
- Choose the date and the restore option, then confirm.
Other ways to restore
- Your hosting also includes cPanel backups. See How to back up and restore your website.
- Lost data and no backup of your own? Open a support ticket as soon as possible with the website address and the date and time it last worked. See Data Retention and Restoration.