©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2018-09-24 06:42:22

CorSch
Member
Registered: 2017-09-05
Posts: 7

xsibackup-free (11.0.1): on-success / on-error | Chained backup?

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

#2 2018-09-26 08:53:47

admin
Administrator
Registered: 2017-04-21
Posts: 2,072

Re: xsibackup-free (11.0.1): on-success / on-error | Chained backup?

--on-success and --on-error event handlers are not available in the Free version.

Offline

#3 2018-11-15 17:38:20

debelizmaj
Member
From: Belgrade, Serbia - Europe
Registered: 2017-09-11
Posts: 2

Re: xsibackup-free (11.0.1): on-success / on-error | Chained backup?

does the ``xsibackup`` return true for ok and fail if backup not done ?
it can be combine with custom bash magic ( with && )...

Offline

#4 2018-11-15 19:10:09

admin
Administrator
Registered: 2017-04-21
Posts: 2,072

Re: xsibackup-free (11.0.1): on-success / on-error | Chained backup?

The e-mail report, as well as the output contain any errors that might have been raised during the backup job.

Offline

Board footer