Is it possible to restore a backup from a local download?

cPanel, Industry leading hosting platform with world-class support.
Post Reply
thisismyusername
Posts: 1
Joined: September 11th, 2024, 5:28 pm

Is it possible to restore a backup from a local download?

Post by thisismyusername »

Hi,

We had a client not pay their hosting fees and ingnored any communication for months so we took a backup using JetBackup of their hosting account and backed it up elsewhere. Today, the client asked for it to be re-instated so we thought it would just be a simple case of uploading that backup to JetBackup and everything would be re-instated but I wasn't able to find any option for this?

The account had already been deleted and wasn't in orphaned accounts.

Is it possible to restore from a local backup?

Thanks
JetAppsKevin
Staff Member
Staff Member
Posts: 51
Joined: October 4th, 2023, 10:44 pm

Re: Is it possible to restore a backup from a local download?

Post by JetAppsKevin »

If the backup was downloaded via JetBackup, it is possible to use the JetBackup 5 restorepkg CLI command to restore it. The format of the backup would look similar to:

jetbackup-acct.tar.gz

And the restorepkg command is:

Code: Select all

jetbackup5 --restorepkg /PATH/TO/TAR/jetbackup-acct.tar.gz
Please reference our documentation for more information on how to use restorepkg.

https://docs.jetbackup.com/v5.3/adminpa ... Backup%205

If the backup was copied to another location, then it still can be restored if it was generated using a legacy destination (Local(legacy) or SSH). Please refer to the following documentation page below:

https://docs.jetbackup.com/v5.3/adminpa ... stinations

Please note that local(legacy) and localv2 are two different destination types. The legacy destinations will have the backups in a human-readable format whereas other destinations (jetindex destinations) utilize object storage format.

If you require assistance in restoring the backup, please feel free to contact our Tech Support team by emailing [email protected] anytime!

Best Regards,
Kevin N
JetApps, LLC.
JetApps.com | JetBackup.com
Post Reply