Overview
The File and Directory Restoration interface allows you to restore items from local backup sources. You can enter a path or browse through files and directories to access backups.
-
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
andmail
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.
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
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:
-
In the Files and Directories section, select Enter a path.
-
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. -
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.
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.