Just trying to create a backup job from the command line. The error the below command generates is "message: No backup type provided". Is something else missing as the type is set on the fifth variable.
jetbackup5api -F manageBackupJob -D \
'action=create&\
name=Daily-Backup-Job &\
owner_name=root &\
destination_name=MyDestination &\
type=1 &\
contains=503 &\
structure=1 &\
schedules[name]=Daily-Backup &\
schedules[retain]=10 &\
time=0130 &\
monitor[ranfor]=1 &\
monitor[notran]=1 &\
exclude_list[0]=.MirrorSearch'
jetbackup5api Backup Job creation
-
- Staff Member
- Posts: 74
- Joined: August 5th, 2022, 11:01 pm
Re: jetbackup5api Backup Job creation
Hello someJBuser,
I was able to replicate this issue on a test server and will bring this up with our development team. In the meantime, I was able to work around this issue by running the API command all on one line. Using the example command that you have provided, that would look something like this:
I was able to replicate this issue on a test server and will bring this up with our development team. In the meantime, I was able to work around this issue by running the API command all on one line. Using the example command that you have provided, that would look something like this:
Code: Select all
jetbackup5api -F manageBackupJob -D 'action=create&name=Daily-Backup-Job&owner_name=root&destination_name=MyDestination&type=1&contains=503&structure=1&schedules[name]=Daily-Backup&schedules[retain]=10&time=0130&monitor[ranfor]=1&monitor[notran]=1&exclude_list[0]=.MirrorSearch'
Thank you,
Adam G
JetApps, LLC.
JetApps.com | JetBackup.com
Adam G
JetApps, LLC.
JetApps.com | JetBackup.com