WARNING: JetBackup 4 is set to reach its End-of-Life (EOL) on July 1st, 2024. For More Information, please visit: JetBackup 4 EOL Announcement.
NOTICE: JetBackup 5 is now available in the Stable Tier. For more information, please visit our Jetbackup 5 Documentation.

Manually restore an account

This guide will go over how to manually restore a cPanel account from your JetBackup generated backups.

1. First, you need to access your backup destination and download the backup snap folder to your cPanel server.


Note that "snap" folders are the actual backups and the backup date is indicated at the folder name. To make sure you are in the right folder, verify that it contains the folders "homedir" & "mysql".

Once you have your snap folder downloaded, Proceed to login to your cPanel server terminal.

If Compress databases on the backup process is enabled, make sure to uncompress the database(s) in the backup folder before proceeding to the next step.

gzip -d {DATABASE_NAME}.sql.gz

2. Next you will need to create a tar archive file of your backup content with the cpmove filename format and make sure to adjust the filename with the correct "USERNAME".

tar -czvf ~/cpmove-{USERNAME}.tar.gz .

3. Copy the tar file to your cPanel server home directory then navigate to the home folder.

cd /home

4. Restore the backup using cPanel's script.

/scripts/restorepkg cpmove-{USERNAME}.tar.gz

All done!

NOTE: If you are restoring from a full backup download generated in JetBackup, please make sure to rename the downloaded tar archive file to the cpmove filename format(cpmove-{USERNAME}) then proceed with step 3.