cPanel

Restore files and folders from JetBackup 5 in cPanel

Restore deleted or broken website files from MdmHost's daily JetBackup 5 snapshots in cPanel: pick a date, choose files or folders, and restore or download them.

BeginnercPanel hosting2 min read

MdmHost takes daily backups of every hosting account with JetBackup 5. You can restore them yourself from cPanel, without opening a ticket: a single file you deleted by mistake, a plugin folder that broke your site, or your whole public_html from before a hack.

Before you start

  • Know roughly when the files were last good. Pick a backup from before the problem started.
  • A restore overwrites the current files with the same names. If you want to compare first, download the backup instead of restoring it.

Restore files and folders

  1. Open cPanel → JetBackup 5 (in its own group, or search for jetbackup).
  2. Click File Backups (sometimes shown under Restore & Download).
  3. Choose a backup date from the list. Each row shows when it was created and where it is stored.
  4. Click Change Files Selection (or the backup row) to browse the backup's file tree. Your website is under public_html or the domain's document root.
  5. Tick the files or folders you want. For a whole site, tick public_html.
  6. Click Restore. Confirm on the summary page by clicking Restore Selected Items or Add to Queue.
  7. Open Queue to watch progress. Small restores finish in seconds; large sites may take several minutes.

Warning: Restoring files does not restore the database. For WordPress and other CMSs, files and database usually belong together: restore the database from the same date too, see restore a database.

Download instead of restoring

  1. Select the files as above and click Download instead of Restore.
  2. JetBackup prepares a .tar.gz archive. When the queue item is complete, go to Downloads and click it.
  3. Extract it on your computer and copy back only what you need.

Full account restore

JetBackup 5 also offers Full Account Backups. Restoring one replaces files, databases, email and settings with that day's copy. Use it only when the entire account must go back in time; you will lose any mail and orders received since. If unsure, ask support first.

After restoring

  • Clear caches: LiteSpeed Cache plugin, browser cache, and any CDN.
  • If you restored after a hack, change all passwords (cPanel, CMS admins, FTP, database) and update plugins and themes, or the attacker may get back in.
  • Check file permissions are 644 for files and 755 for folders. See file permissions.

Troubleshooting

  • No backups listed: the account is new and the first backup has not run yet, or backups for the account are excluded. Contact support.
  • Restore stuck in the queue: another job for your account is running. Wait; if it is stuck for hours, contact support with the job time.
  • The date you need is missing: backups are kept for a limited number of days. Older copies may only be available to support, if at all.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.