unsuspend account when restoring

cPanel, Industry leading hosting platform with world-class support.
Post Reply
ludolugo
Posts: 52
Joined: April 17th, 2020, 10:40 am

unsuspend account when restoring

Post by ludolugo »

hi
I am restoring orphan account using the api https://hostname:2087/cgi/addons/jetbac ... end]=false , but the account is restore suspended and not restoring dbs, how can i add it to queue so it is fully restored and active?
ludolugo
Posts: 52
Joined: April 17th, 2020, 10:40 am

Re: unsuspend account when restoring

Post by ludolugo »

any news about this?
JetAppsKevin
Staff Member
Staff Member
Posts: 31
Joined: October 4th, 2023, 10:44 pm

Re: unsuspend account when restoring

Post by JetAppsKevin »

Hello ludolugo,

Thank you for your patience. To perform a full account restore using HTTP calls, you would need to have the [parent ID] of the backup you wish to restore.

You would then replace [$SNAPSHOT_ID] with the [parent ID] and [https://hostname.example.com:2087/cpsess##########] with your own domain and valid session token in the HTTP call below. Please make sure that the port number is correct.

https://hostname.example.com:2087/cpses ... apshot_id=[$SNAPSHOT_ID]

Please take a look at our API documentation for more information. Also please note that most of the API calls in v5.3 - EDGE can be used in other v5.x versions and it is updated with example calls and responses.

Best Regards,

Kevin N
JetApps, LLC.
JetApps.com | JetBackup.com
Kevin N
JetApps, LLC.
JetApps.com | JetBackup.com
ludolugo
Posts: 52
Joined: April 17th, 2020, 10:40 am

Re: unsuspend account when restoring

Post by ludolugo »

yes you can see in the url that i am using the snapshot id, the restore starts with no problem, the actual problem is that i am sending the option to not suspending the account, but it still get suspended and databases aren't restored because of this

Code: Select all

https://hostname:2087/cgi/addons/jetbackup5/api.cgi?function=addQueueItems&type=2&snapshot_id=----&options[suspend]=false
JetAppsKevin
Staff Member
Staff Member
Posts: 31
Joined: October 4th, 2023, 10:44 pm

Re: unsuspend account when restoring

Post by JetAppsKevin »

Hello ludolugo,

Apologies for the inconvenience. After testing, we were able to replicate the same results when using the options[suspend] parameter. Please try using the API call WITHOUT the options[suspend] parameter to restore the account and have it remain active.

Code: Select all

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=addQueueItems&type=2&snapshot_id=[$SNAPSHOT_ID]
If the issue persists, please contact our help desk by emailing [email protected].

Thank you,
Kevin N
JetApps, LLC.
JetApps.com | JetBackup.com
Post Reply