File restoration in cPanel

In this article we will discuss how to restore files in cPanel.  As both an end-user and as a server administrator, you can now restore individual files from an account backup.

Let’s take a look at how it works.

Step 1: Have available backups

Before you can restore from an account backup, you must first have backups already made. To enable backups, go in to WHM as the root user, or as a root-enabled reseller, and navigate to the Backup Configuration interface. From there you can select the backup schedule and define which users you want to have backups. Please note: the restoration feature does require locally stored backups, so make sure you select “Retain backups in the default backup directory.” if you are also storing your backups remotely.

Step 2: Restore a file

The interface is very similar in both WHM and in cPanel, so I’m just going to show you the cPanel interface here. To access your backups, navigate in cPanel to “File Restoration”. If you don’t see that option in cPanel, ask your server administrator to ensure that the “Backup Manager” feature has been added to your account.

Once you open that interface you are presented with the list of files in your backup. For example, if you wanted to restore a file from your public_html folder, you would click public_html.

Then select the file that you want to restore (index.html in our case) and you are then presented with the list of dates that you can restore that file from.

Once you choose one version to restore, you are asked to confirm before continuing.

You also get a confirmation message once the restore is complete.

How it works

When nightly account backups are taken, a file list is generated and stored in the backup folder for each account. Those file lists are used by the file restoration interfaces, allowing you to quickly and easily view the files available for restore.

For more information you can also refer the below link:-

https://blog.cpanel.com/file-restoration-in-cpanel-whm-version-68/

Need any help? Contact our support@leapswitch.com


Was this article helpful?

mood_bad Dislike 4
mood Like 0
visibility Views: 12572