Page 1 of 1

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

Posted: September 11th, 2024, 5:38 pm
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

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

Posted: September 11th, 2024, 11:34 pm
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,