Hey Guys,
how can i create a new local destination with jetbackup5api?
I read the documentation, but i can't add path parameter.
Thanks.
JetBackup5 api create destination
-
- Staff Member
- Posts: 97
- Joined: January 1st, 2021, 12:51 am
Re: JetBackup5 api create destination
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:
Please let us know if you have any feedback for our documentation or found a specific example to be incorrect/confusing.
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'
Best Regards,
Richard, JetApps Team
Richard, JetApps Team