You are not logged in.
Regarding to the Documentation on-success and on-error are xsibackup-PRO features, but regarding to the new cron job they are included in xsibackup-FREE and can be used for chained backups.
I've tried to use the --on-success / --on-error switch but the chained backup didn't start.
Can someone explain if the features are included or not?
Best Regards,
Corvin
cat 001
"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-point=/vmfs/volumes/datastore2/xsibackups \
--date-dir=yes \
--backup-type=custom \
--backup-vms="<List of VMs>" \
--mail-from=<from@domain> \
--mail-to=<to@domain> \
--smtp-srv=<mail.server> \
--smtp-port=25 \
--smtp-auth=plain \
--smtp-sec=TLS \
--smtp-usr=<smtp@user> \
--smtp-pwd=<password> \
--backup-room=1000 \
--smart-info=yes \
--subject="ESXi Backup Report: Daily 1" \
--description="ESXi Backup Daily 1" \
--backup-id=001 \
--on-success="backupId->002" \
--on-error="backupId->002" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"
cat 002
"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-point=/vmfs/volumes/datastore1/xsibackups \
--date-dir=yes \
--backup-type=custom \
--backup-vms="<List of VMs>" \
--mail-from=<from@domain> \
--mail-to=<to@domain> \
--smtp-srv=<mail.server> \
--smtp-port=25 \
--smtp-auth=plain \
--smtp-sec=TLS \
--smtp-usr=<smtp@user> \
--smtp-pwd=<password> \
--backup-room=1000 \
--subject="ESXi Backup Report: Daily 2"
--description="ESXi Backup Daily 2" \
--backup-id=002 \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"
Offline
--on-success and --on-error event handlers are not available in the Free version.
Offline
does the ``xsibackup`` return true for ok and fail if backup not done ?
it can be combine with custom bash magic ( with && )...
Offline
The e-mail report, as well as the output contain any errors that might have been raised during the backup job.
Offline