Home/Posts/Administración del Hosting/GUIDE CPANEL BACKUPS, HOW TO RESTORE THEM? 2020 -WAU

CPanel Backups

How many times so far this year have you bundled it brown on your website and you have had to resort to CPanel Backups to restore the web?

Summer has arrived and with it forgetfulness .. hehe, and I say this because it is a human condition to be forgetful when priorities change and new sandy horizons, with turquoise waters and a sun of justice are planted in front of us the beach!

… or the mountain, for those who like the interior. But what about homework? What? so your website, your Hosting, the databases, the emails, in short, the backups in your Hosting Panel, before you go and forget that the small details are really important.

Use the CMS you use, global backups it is important to do them, once a week, or at least a month, and save them on your computer, or in the cloud, the important thing is that you can access them later when they do lack.

I know that most CMS like WordPress or Joomla have extensions or plugins that allow you to make backup copies, store them in the cloud or in an FTP service (or your computer) and then restore them.

However, those who work with CMS such as PrestaShop, for example (or Moodle), have it a little more difficult, not because there are no modules to make backups, but because those that exist are commercial and cost money, and there are no times for additional expenses right?

For these cases, global backups, which can be done from the Hosting Panel (in this article I will tell you exclusively from cPanel), and that I have explained previously in the Blog.

#000000;”>Backups made from your cPanel hosting panel is recommended restore them manually and not with the wizard, since doing so will take up more space in your Hosting with the files and folders extracted from the .tar.gz file of the backup.

How to make backups from cPanel?

Backups from the cPanel Hosting Panel

The video in this article explains how to make the backup, then locate it in the File Manager and finally download it to your computer.

How to restore a backup made from cPanel?

In this scenario I start from the base that you have one or several backups that you previously made in your Hosting, from the Backups that you have available if you work with cPanel.

Most likely, the backup at the time, when you made it, downloaded it to your computer so as not to take up space in the Hosting.

Restoring a manual backup Your Hosting Panel (cPanel) only involves selectively restoring files, folders and databases from one or more facilities you have in Hosting. At no time do I speak of “complete” restorations of the Hosting account. For those cases I recommend using SuperBackups in your Client Area or check with your Hosting.

Before restoring …

  • Evaluate whether the current generated problem can be solved by other means.
  • First check if you have the option to solve the problem by restoring only the file (s) affected by the problem.
  • Make a backup before restoring. It is better to keep a copy of the present moment “too”, than to lose it for 5 minutes of backup.
  • It is a slow process, make sure you have time to run it and a stable connection, as it may take a while.

I could add many ‘buts’ but not everything has to be inconvenient. It is assumed that if you have reached the point of restoring a backup copy of one or more websites of your Hosting, it is because you have evaluated other options and they have not been viable.

Restore process from a backup, summarized:

  1. Make a backup now! and save it on your computer. one
  2. On your computer (or in the cloud) check if you have a previous copy in .tar.gz format
  3. Extract files from archive .tar.gz of the copy you have on your computer.
  4. If you just want to restore the / public_html installation files:
  5. Go to folder homedir inside the extracted folder.
  6. Inside you will see the / public_html folder, access it.
  7. Select all the files and folders and compress them into a .zip file
  8. Access your cPanel go to Records, File Manager.
  9. Go to the / public_html folder and click on the top option Upload>.
  10. Select the .zip file that you have compressed with the / public_html files and folders
  11. Upload it to the Hosting to the / public_html folder
  12. Once uploaded select it and click on the top option Extract
  13. With this action you have already restored the files and folders of / public_html by extracting and overwriting the previous ones
  14. Go to folder mysql inside the extracted folder on your computer.
  15. Locate the / public_html installation database to restore. 2
  16. In your cPanel, Databases, access phpMyAdmin
  17. Verify that the installation database to restore exists but is empty of tables
  18. click the top option to import
  19. Select the file .sql of the database of the extracted copy on your computer, in the folder / mysql
  20. Click on the option Continue to import data into that database
  21. If the import of the database completes successfully, this has already completed the restoration of the / public_html website 3

one – As a preventive measure, in case you mess it up before restoring the copy or during the process.

2 – In the article Data of connection of the Database where to find them? I explain how to know which is the database of your installation.

3 – For other websites hosted in other folders that hang from / public_html, the procedure is the same, but adapted to the path of the folder corresponding to the installation to be restored.

Where to locate the backups in cPanel?

The backup copies that you make in your Hosting, if you have not deleted them, are normally stored in the folder prior to / public_html

You can see them in the section Backups available for download.

Backups available for download

Note You should not confuse these backups, which you make on demand from your cPanel, with those that Websites Are Us makes available (only to customers) from your Client Area, Hosting, SuperBackups. They are different copies!

To download these copies to your computer you have to go to Files, File Manager, and navigate to the folder / home / user or / home2 / user (where user It is the name of the user of your Hosting account) and at the end of this folder you will see the files of backup copies of the Hosting that you have made from your cPanel, Files, Backups (Backups).

download these copies to your computer

By selecting any of the existing backup files in that folder you can download and / or delete them to free up space in the Hosting.

In this video you will see how you can restore a backup that you made some time ago, to overwrite all the current information, manually, from your Hosting account.

After the backup is restored check everything, as tedious as it may be, it is better to make sure that everything is as you expected, that your email accounts continue to work and the emails are in Webmail, in each account created, if you had an SSL Certificate, go to Security, SSL / TLS and verify if for your domain (s) you have the certificate installed and working.

Doing the relevant checks will take you one or two minutes, no more, and will allow you to be sure that your Hosting is correct, that the websites are as they were when they made the copy that you have now restored.

From here it only remains for me to tell you how important it is that you have your own backup policy, regardless of what your Hosting does, whether it is Websites Are Us or another, because in the end, if you make your copies with some regularity, or before carrying out important actions such as updating the CMS, plugins, extensions, your template or theme, then you will have them available to use if necessary.

Now you know that you can go on vacation quietly knowing that you have made a backup and that you can restore it if you need it after the holidays, guided by this article from the Websites Are Us Blog.

Member of the Websites Are Us technical team.
Coordinator of content on the Blog and YouTube.
Technical support in CyberProtector. Teacher at Websites Are Us Learning.

By |2020-05-12T01:09:48+00:00May 12th, 2020|Administración del Hosting|