JetBackup5 api create destination

cPanel, Industry leading hosting platform with world-class support.
Post Reply
likeaRAINBOW
Posts: 1
Joined: September 27th, 2021, 4:24 pm

JetBackup5 api create destination

Post 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.
JetAppsRichard
Staff Member
Staff Member
Posts: 97
Joined: January 1st, 2021, 12:51 am

Re: JetBackup5 api create destination

Post 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.
Best Regards,
Richard, JetApps Team
Post Reply