cPanel Tutorials - File and Directory Restoration
howdy this is Rosie our silly a technical writer for cPanel the hosting platform of choice today I will show you the file and directory restoration interface for cPanel and 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 we introduced the file and directory restoration interface in cPanel and WHM version 72 for version 76 we updated the interfaces appearance this video will focus on the file and directory restoration interface in cPanel if you'd like to see how file and directory restoration works in the WHM interface check out our version 76 tutorial I've added a card and a link to the video in the description 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 see panels how to manage metadata settings document I included the link in the description below now I'm going to login to cPanel to show you its file and directory restoration interface login to cPanel find the file and directory restoration interface you can search for it in the search bar or find it under the file 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 accounts 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 let's start with retrieving backups through a direct path 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 route I'll enter public underscore 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 directories name in this case it's public underscore 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 directories contents I can make the contents reappear I know that this directory exists on the local disk but I am going to restore it the public underscore 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 content of your home directory that the system has backed up to restore the entire public underscore 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 underscore HTML directory the file that I want to restore is called test underscore backups dot 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 the public underscore HTML directory on the list and click on its name this action shows me the content of that directory I will look at the directories contents and there I see the file that I want the test underscore backups dot txt file I will click show backups to list the files backups the backups will appear under the backup 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 cpanel comm or follow us on twitter at cPanel thanks for watching show me the backups