If you deleted a file by mistake or something went wrong on your site, you may be able to bring it back from a backup. The right method depends on what you need to restore and what your plan includes.
Steps
If your cPanel uses the Jupiter theme
- First, check whether the item is still in the File Manager Trash. Open Files > File Manager and click Trash to find it.
- If your plan includes File and Directory Restoration, open Files > File and Directory Restoration. If you cannot find it, skip to the last step.
- Choose Enter a path or Browse files and directories, then pick the file or folder.
- Click Show Backups, choose the backup date you want, and click Restore. Confirm when asked.
- To restore a database or other partial backup that you downloaded earlier, open Files > Backup Wizard, click Restore, choose the type, choose your file, and click Upload.
- If you need anything else, or you cannot see these tools, contact Barrett IT Support. We can restore from the server's backups for you.
If your cPanel uses the Meridian theme
- First, check whether the item is still in the File Manager trash. Click Files, open the File Manager tab, and look for a trash or deleted-items area. (Some deleted files may be in a hidden folder. Turn on Show hidden files under More > Display.)
- To restore from a full backup listed in Meridian, click Files, then the Backups tab. Under Available Backups, click Extract. Enter the path to the archive (you can copy it from the list) and a destination path.
- Always extract into a separate folder first, for example a folder named restored in your home directory. Extracting straight over your home directory can overwrite live files. Click Extract File.
- cPanel's official Meridian guides do not document File and Directory Restoration, or uploading a partial backup to restore it. Click Search... in the header, or press Ctrl+K (Cmd+K on a Mac), and search for File and Directory Restoration. Open the matching result. If it does not appear, contact Barrett IT Support. For a database you exported earlier, open it in phpMyAdmin and use Import.
- If you need anything else, or you cannot see these tools, contact Barrett IT Support. Tell us the exact file or folder name and the date you want to go back to.
Tips and troubleshooting
- Restoring overwrites the current version of a file with the backup copy. Make a copy of the current file first if you may need it.
- A restore will not bring back mail or the .cpanel folder using this tool. We can help with email.
- When you contact us, tell us the exact file or folder name, and the date you want to go back to.
- Backups are only as good as their last run. A file created and deleted between backups cannot be restored.
- If your site was hacked, tell us before restoring. Restoring on its own may not remove the problem.
- Be careful when restoring a database. It replaces the current content, including any orders or comments added since the backup.
Need help? Contact Barrett IT Support at support@barrettit.com or call 888.374.4632.
