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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2019-04-08 09:08:30

Int
Member
Registered: 2017-12-05
Posts: 58

chained backup not working

When I run chained backup from crontab the next backup in the chain does not get executed.
In the log file I see that job 001 finished and the next job 002 is found but after that the execution just stops without any further log entries:

2019-04-06T16:00:32|  Firewall rule SMTPout-465 closed.
2019-04-06T16:00:32|  Backup finished
2019-04-06T16:00:32|  Executing next chained backup ID(002)
---------------------------------------------------------------------------------------------------------------------------------
2019-04-06T16:00:32|  Next job:
2019-04-06T16:00:32|   This is a backup job file example. It starts with the path to your
2019-04-06T16:00:32|   xsibackup file and ends with the redirection to the log file. Please
2019-04-06T16:00:32|   do make sure that you keep first and last lines, changing paths to
2019-04-06T16:00:32|   match your working environment.
2019-04-06T16:00:32|  "/vmfs/volumes/backup/xsi-dir/xsibackup" \
2019-04-06T16:00:32|  --backup-prog=vmkfstools \
2019-04-06T16:00:32|  --certify-backup=yes \
2019-04-06T16:00:32|  --backup-point=/vmfs/volumes/backup/s41/$( date +%Y%m'vmkfstools' ) \
2019-04-06T16:00:32|  --backup-room=2500 \
2019-04-06T16:00:32|  --backup-type=custom --backup-vms="Moodle" \
2019-04-06T16:00:32|  --backup-how=hot \
2019-04-06T16:00:32|  --remote-xsipath=/vmfs/volumes/backup/xsi-dir \
2019-04-06T16:00:32|  --use-smtp=1 \
2019-04-06T16:00:32|  --mail-to=someone@example.com \
2019-04-06T16:00:32|  --backup-id=002 \
2019-04-06T16:00:32|  --description="vmkfstools hot backup of s41 VMs" \
2019-04-06T16:00:32|  --exec=yes >> "/vmfs/volumes/backup/xsi-dir/var/logs/xsibackup.log"
---------------------------------------------------------------------------------------------------------------------------------



When I run job 002 from the command line it works just fine.

Offline

#2 2019-04-10 18:14:41

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

Re: chained backup not working

Remove the comments from the job file and leave the commands starting with this line:

"/vmfs/volumes/backup/xsi-dir/xsibackup" \

Offline

Board footer