Restoring a Single File or Database via JetBackup
1. Restoring a Single File or Folder
- Open JetBackup 5: Log in to cPanel and click the JetBackup 5 icon.
- Access Home Directory: Click on the Home Directory icon.
- Choose a Date: Select a backup date when the file or folder was working correctly.
- Select Specific Files: Click Change Files Selection.
- Navigate and Tick: Use the file browser to find your file/folder (usually under public_html). Check the box next to the file or folder you need.
Example: To restore images, check the wp-content/uploads folder. - Select & Restore: Click Select Files, then click Restore.
- Confirm: Review the summary and click Restore Selected Items to finalize.
2. Restoring a Single Database
- Access Databases: From JetBackup 5, click Databases.
- Find the Database: Locate the database used by your site (e.g., user_wp123).
- Choose the Date: Click Choose Backup next to the database and select the desired backup date.
- Restore: Click Restore. JetBackup usually restores the Database User automatically to keep permissions intact.
- Confirm: Click Restore Selected Items.
3. Downloading Instead of Restoring
Sometimes you want to preview a file or database without overwriting the current version.
- Click the Download button next to the Restore button in either Home Directory or Databases.
- JetBackup will package the selected item, which you can then download as a .zip (files) or .sql (database) to your computer.
Pro Tips for Targeted Restores
- Check the Queue: Use the Queue icon in the sidebar to confirm the restore completed successfully.
- Rename Current Files: Before restoring critical files (e.g., functions.php), rename the broken file to functions.php.old to keep a backup.
- Clear Caches: After restoring CSS, JS, or PHP files, clear browser and plugin caches (e.g., WP Rocket, LSCache) to see changes immediately.