jetbackup5api Backup Job creation
Posted: March 2nd, 2023, 6:51 pm
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 -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'