Page 1 of 1

JetBackup5 api create destination

Posted: September 27th, 2021, 4:27 pm
by likeaRAINBOW
Hey Guys,

how can i create a new local destination with jetbackup5api?

I read the documentation, but i can't add path parameter.

Thanks.

Re: JetBackup5 api create destination

Posted: September 28th, 2021, 2:41 am
by JetAppsRichard
Hello,

Thank you for reaching out through our forums! Just to clarify are there any specific errors when creating the Destination via the JETAPI? We have made some updates to our documentation for creating Destinations/the fields it requires. You can see these updates here: JETAPI Destinations v5.2

Please note the path parameter is part of the OPTIONS array. For example, to set the path parameter for a Local Destination you would need to use the following format:

Code: Select all

jetbackup5api -F manageDestination -D 'action=create&name={NAME}&type=Local&options[path]=/path/to/backups'
Please let us know if you have any feedback for our documentation or found a specific example to be incorrect/confusing.