Authorized .rs domain registrar 30-day money-back guarantee on web hosting Free website migration

Hosting

How to back up your website

Regular daily backups are made of the hosting account. This guide shows how to choose a backup in JetBackup, how downloading differs from restoring, and how to make your own backup before bigger changes, in cPanel, with the Backup Wizard tool. A WordPress site needs both the files and the database from the same point, made at about the same time, because one without the other does not restore the whole site. This guide follows the JetBackup documentation, the Backup Wizard documentation and the WordPress backup guide.

A daily backup does not mean there is a backup for every day, let alone every hour. You can see which backups are available in the list in JetBackup, and we cannot guarantee that a backup exists for exactly the moment you need. So before bigger changes, such as theme or plugin updates, also make your own backup. If you need something restored and you do not see JetBackup or the backup you need is not in the list, open a ticket and tell us what needs restoring and until when the site worked correctly, and we check whether such a backup exists and what it covers.

Step 1: Open JetBackup

Log in to cPanel as described in How to log in to cPanel, and open “JetBackup 5”. Which parts of JetBackup are available to you depends on the permissions granted by the hosting provider. The first time you open it, JetBackup may ask you to accept the terms of use: tick “I Agree” and click “Continue to Panel”. If you do not see JetBackup, open a ticket.

Step 2: Choose the backup you are working from

In JetBackup, open “Restore & Download”. The “Full Account” tab shows backups of the whole account, the “Home Directory” tab the site’s files, and the “Databases” tab the databases. The list shows the date of each backup in the “Created” column, and in the “Schedules” and “Structure” columns the schedule and type of the backup (“Daily” and “Incremental” in the screenshot). Choose the backup you are working from. The “Restore” and “Download” actions are offered only for a selected backup, so they are not in the screenshot: nothing was started.

The “Restore & Download” page of JetBackup 5 in cPanel, with the tabs “Full Account”, “Home Directory” and “Databases” and a list of backups with dates in the “Created” column; a red frame marks the “Home Directory” and “Databases” tabs and the “Created” column.
JetBackup 5, “Restore & Download”: the red frame marks the “Home Directory” and “Databases” tabs and the “Created” column. Open full-size screenshot

Step 3: Decide between downloading and restoring

  • Downloading (“Download”) creates an archive of the selected items and does not change the site. When the archive is ready, you download it in the “Downloads” section of JetBackup. If you are not sure what you need, download first.
  • Restoring (“Restore”) puts the selected items back on the account, so it changes what is on the site now. The option “Merge live account data with backup data” merges the data from the backup with what is on the account now, and the current data takes precedence.

For files, click “Change Files Selection”, choose the site’s folder, then “Select Files”. Do not assume it is public_html: check the site root as in the part “Restoring from your own backup” below. Choosing files is possible only for backups of the “Incremental” type. With archived backups, the whole backup is restored or downloaded, with no choice of files. For the database, also select its database users (“Database Users”): if you select only the database, only the database is included.

Then click “Restore” or “Download”, and on the summary “Restore Selected Items” or “Download Selected Items”.

Step 4: Wait for the queue to finish

After you confirm, the item goes to the “Queue” and is shown as “Processing”. When the status changes to “Completed”, the restore or the preparation of the archive is done. Check the site after a restore.

WordPress site: files and database from the same point

For WordPress, choose the same backup date for both “Home Directory” and “Databases”. The site works correctly only when the files and the database match, so do not restore just one of the two without checking. Restore the files first, then the database. If the same date is not available for both, open a ticket. Before you restore, save the current state, following the steps below, because a restore changes what is on the account now.

Your own backup with the Backup Wizard

Your own backup is useful before bigger changes and for keeping a copy off the server.

Open the Backup Wizard

In cPanel, in the Files group, click “Backup Wizard”, then “Back Up”. If you do not see the tool, open a ticket.

Choose a full or a partial backup

  • Full Backup creates an archive of the whole account. As the “Backup Destination”, choose “Home Directory”, optionally enter an email address to be notified when the backup is ready, and click “Generate Backup”. The backup-MM-DD-YYYY archive then appears in the “Download” section, where you download it.
  • Home Directory downloads an archive of your files (.tar.gz), with the files from public_html and the email for the domains on the account.
  • MySQL Databases downloads the selected database as an .sql file.
  • Email Forwarders & Filters downloads your email forwarders and filters.

For a WordPress site, make both partial backups one after the other, with no changes to the site in between: the database first, then the files. The site’s database name is in the wp-config.php file, on the DB_NAME line.

Keep the backup off the server

Keep the downloaded files on your computer, an external drive or cloud storage. A full backup left in the home directory uses your plan’s disk space, but do not delete it straight away. First check that the downloaded archive opens, that it contains the site files and the database, and that it is stored off the server. Only then delete the archive on the server, in File Manager. If the account is close to its disk limit, the backup may fail.

Restoring from your own backup

Before you restore, do two things:

  • Check the site’s actual root folder. In cPanel, in the Domains group, open “Domains” and look at the “Document Root” column next to the domain. For the main domain it is usually public_html, but for an addon domain it can be a different folder.
  • Save the current files and database, following the steps above, because a restore changes what is on the account now. That way you can go back to the current state if the restore fails.

Then restore the backup:

  • You restore a partial backup (home directory, database or forwarders) yourself: in the Backup Wizard, click “Restore”, choose the backup type, then “Choose File” and “Upload”.
  • cPanel cannot restore a full account backup on its own. Automatic restore of a full backup is done in WHM, so for that, open a ticket. You can also restore individual files from a full backup manually: extract the archive, find the site’s folder inside the homedir folder (public_html for the main domain) and upload the files to the site root shown in the “Document Root” column, with File Manager.
  • For a WordPress site, restore the files first, then the database. If the database got a new name, user or password during the restore, update them in wp-config.php.

All guides

Did not find an answer?

Email or call us. The phone is answered on weekdays from 9:00 to 18:00.

Call us View plans