Restoring a Backup of your website on cPanel

Restoring your website using cPanel is quite simple. But before we proceed, a few prerequisites that you need to take care of:

  • If you were using cPanel previously and have downloaded the backup from the Backup option, make sure to extract the backup folder and keep public_html folder separate.
  • All your website files and folders that need to be published are under the public_html folder.
  • To upload all files and folder together(recommended), compress(zip or tar) the contents inside public_html.(Please note do not compress the folder public_html, only the contents inside it.)
  • Make sure that no other file or folder is present inside the public_html folder on your cPanel, this could result in a conflict incase of same file names.

Once you’ve got the above covered, you can get to restoring your website:

  1. Login to your cPanel.
  2. Scroll to Files section, click on ‘File Manager’.
  3. Select Web Root(public_html), click on GO.

  4. Click on ‘Upload’.
  5. Click on ‘Browse’ to select the file from your computer.
  6. Once the upload is complete, click on ‘Back to /home/username/public_html’.

  7. Click on compressed file icon to select the file and click on ‘Extract’.

  8. Do not make any changes to the path and click on ‘Extract File(s)’.

  9. Click close.
  10. If the Files have been extracted into a folder, open the folder.
  11. Select all files, click on ‘Move File’.

Under the destination path, keep the following ‘/public_html/’ and remove the folder name after it.

1

That’s it. You’ve successfully uploaded your website files. You could check your website by resolving your domain name on the browser.

0 Likes
0 Dislikes
1140 Views