Page 1 of 1
unsuspend account when restoring
Posted: August 15th, 2023, 11:36 am
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?
Re: unsuspend account when restoring
Posted: September 1st, 2023, 10:41 am
by ludolugo
any news about this?
Re: unsuspend account when restoring
Posted: October 5th, 2023, 12:33 am
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
Re: unsuspend account when restoring
Posted: October 30th, 2023, 12:01 pm
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
Re: unsuspend account when restoring
Posted: November 1st, 2023, 12:53 am
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
support@jetapps.com.
Thank you,