Using the File and Directory Restoration Interface in cPanel

cPanel Tutorials and How To Guides

Industry leading Linux-based website hosting control panel

Restore items from local backup sources

Updated: January 3, 2025
By: RSH Web Editorial Staff

Contact Us

Menu

cPanel - Files - File and Directory Restoration

This feature allows you to restore items from local backup sources, you can enter a path or browse through files and directories to access backups.

Important: This feature only appears if your hosting provider’s server profile enables it.

Restoration

Note:

• This interface allows you to restore items from only local backup files. If you wish to restore items from remote backup files, you must transfer the desired remote backup files to the local server.

• This interface does not allow you to restore your account’s .cpanel and mail directories. To restore these Directories, you must perform a full account backup restoration.

• The system will restore deleted files and will overwrite existing files.

The File and Directory Restoration interface

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

Restoration interface

You can access backups from this interface in two ways.
You can enter a direct path to the file or directory, or you can browse through files and directories to find the file that you wish to restore.

Enter a direct path to restore a file or directory

Note: Select Browse files and directories to view a directory’s contents. The system will not show a directory’s contents when you select Enter a path.

You can restore a file or directory from a direct path through your cPanel account’s home directory. To do so, perform the following steps:

  • 1) In the Files and Directories section, select Enter a path.
  • 2) Enter the direct path to the file or directory in the text box. The text box’s path is the cPanel account user’s home directory path.
    For example, enter public_html in the text box for the direct path to the /home/user/public_html directory. In this directory path, user represents the cPanel account’s username.
  • 3) Click Show Backups to list the backups for that file or directory. The backups will appear in the Backups section of the interface.
  • 4) In the Backups section, choose the backup that you wish to restore and click Restore.
  • 5) The system will ask you to confirm the restoration. Click Restore to confirm. A success or failure message will appear.

Browse your home directory to restore a file or directory

You can browse through the home directory to find the file or directory that you wish to restore. To do so, perform the following steps:

In the Files and Directories section, select Browse files and directories. The contents of the cPanel account user’s home directory will appear.

To see a directory’s contents, click on the directory’s name.

  • • Click Show Backups to list the backups for that file or directory. The backups will appear in the Backups section of the interface.
  • • In the Backups section, choose the backup that you wish to restore and click Restore.
  • • The system will ask you to confirm the restoration. Click Restore to confirm. A success or failure message will appear.

Files and directories that you successfully restore will now appear in the home directory.

See our Pre-Made WHMCS Knowledgebase Articles for cPanel

YouTube Video - File and Directory Restoration

Related cPanel Tutorials and How To Guides
User friendly interface Rich features set integrated into cPanel

Tweet  Share  Pin  Email

Add Comment

* Required information
2000
Drag & drop images (max 3)

Comments

No comments yet. Be the first!

Inspired by the ingenuity of our master copywriters

No matter what your business or personal needs are, RSH Web Services delivers! Our scalable hosting plans will suit the needs of all types of website owners. For a small personal blog or a business website with advanced functionality