WEBFI-Cpanel-cPanel Tutorials – File and Directory Restoration

This video shows you how to use the File and Directory Restoration interface in cPanel, for cPanel & WHM version 76.

Documentation Links:
* File and Directory Restoration in WHM tutorial:
* How to Manage Metadata Settings document –
* cPanel & WHM version 76 documentation:

Howdy! This is Rosie Arcelay, a Technical Writer for cPanel, the Hosting Platform of choice. Today, I will show you the File and Directory Restoration interface for cPanel & WHM version 76. You can use this interface in cPanel, or in WHM, to restore files and directories from local backups. Restoring a single file or a directory is faster and easier than restoring a big backup file.

This interface works with metadata from backups saved to the local disk. To use the interface, the system must generate metadata when it runs a backup. For your system to run a backup, your system administrator must enable that functionality in WHM.

If you want to learn more about how backups metadata works, read cPanel’s “How to Manage Metadata Settings” document. I included the link in the description.

Log in to cPanel. Find the File and Directory Restoration interface. You can search for it in the search bar, or find it under the Files section. Then, click File and Directory Restoration to access the interface.

This interface contains two sections. The Files and Directories section shows the files and directories that contain backups. To list the backups, click Show Backups. The backups will appear in the Backups section.   

From this interface, you can access this account’s backups in two ways. I will show you both. You can enter a direct path to the file or directory. Or, you can browse through files and directories until you find the file that you wish to restore from a backup.

“Enter a path” is the default setting, so you’ll see a text box where you can enter a direct path. Your home directory already appears in the interface. Enter the path under this directory to find your backups. Since I want to retrieve the backups for the document root, I’ll enter public_html in the text box. Click Show Backups to show me the backups!

The backups now appear under the Backups section. This section tells me the directory’s name; in this case, it’s public_html. The interface shows whether the directory exists on the local disk. This information is important. If the answer is Yes, this lets me know that I’m going to overwrite the directory when I restore the backup. If the answer is No, then the directory does not exist on the local disk. I know that I’m going to completely restore the directory to the disk. That’s information I need to know in case I lost all my directory’s contents. I can make the contents reappear.

I know that this directory exists on the local disk. But, I am going to restore the public_html directory from one of these backups. I am going to select the most recent backup from this list. So I will click Restore, then click the blue Restore button, in the panel that appears, to confirm. There’s my confirmation message, so I know that the system was able to restore the backup.

Now, let’s do this again, but let’s browse to find the directory this time.

Select “Browse files and directories”. This action will show you the contents of your home directory that the system has backed up. To restore the entire public_html directory, I would find its name on the list, and click “Show Backups”. This action would show all the backups for this directory. I would repeat the same actions that I showed you before to restore it.

However, this time, I want to restore one file inside the public_html directory. The file I want to restore is called test_backup.txt.

To find this file, I will return to the home directory. To do so, I will click Home, above the list. The interface will direct me back to display the contents of the Home directory.

I’m going to find public_html directory on the list and click on its name. This action shows me the contents of that directory. I will look at the directory’s contents. And, there, I see the file that I want: the test_backup.txt file. I will click Show Backups to list the file’s backups.

The backups will appear under the Backups section. I am going to select the most recent backup from this list. Notice that this file is not on the local disk. When I click Restore, the confirmation will ask me whether I want to add the file to the local disk. I want to restore that file to the local disk, so I will click the blue Restore button. The confirmation message tells me that the restoration was successful.

And, you’re done! You have successfully restored a file or directory from a backup.

For more information about cPanel, visit Or follow us on Twitter, @cPanel. Thanks for watching!


WhatsApp us
Live Chat

Office hours operation Mon-Sun 8:00 am ET – 4:00 pm ET

To start your Premium WP or Cpanel service, use our domain search engine, if the domain you want is available, contact us by Whats app to activate your project.

The easiest, fastest, and most secure way to communicate with us.
Please enter your domain.
Please verify that you are not a robot.

Terms Privacy



× How can I help you?