You are not logged in.
Pages: 1
Hi!
I am setting up XSIbackup and xsi-cron to take periodic backups of certain VMs. Initially to an extra harddisk in the server, but in the future to a second server to have as hot backup.
I have tested running backups manually and have now installed cron as per your instructions. The test backup is scheduled to run at 20:00
In the syslog I see:
2020-01-15T20:00:01Z crond[33580]: crond: USER root pid 15364425 cmd /usr/lib/vmware/vmksummary/log-heartbeat.py
2020-01-15T20:00:01Z crond[33580]: crond: USER root pid 15364426 cmd /sbin/hostd-probe ++group=host/vim/vmvisor/hostd-probe
2020-01-15T20:00:01Z crond[33580]: crond: USER root pid 15364427 cmd /vmfs/volumes/datastore1/xsi-dir/xsibackup --backup-point=/vmfs/volumes/Storage2TB/backup --backup-type=custom --backup-vms="Pamir_OES"
2020-01-15T20:00:01Z syslog[15364429]: starting hostd probing.
But I cannot find anything in the xsi logfile, nor any cron logfile. Ie no xsibackup-cron.log at all
cat /var/spool/cron/crontabs/root
#min hour day mon dow command
1 1 * * * /sbin/tmpwatch.py
1 * * * * /sbin/auto-backup.sh
0 * * * * /usr/lib/vmware/vmksummary/log-heartbeat.py
*/5 * * * * /sbin/hostd-probe ++group=host/vim/vmvisor/hostd-probe
00 20 * * * /vmfs/volumes/datastore1/xsi-dir/xsibackup --backup-point=/vmfs/volumes/Storage2TB/backup --backup-type=custom --backup-vms="Pamir_OES" # Added by XSIBackup
cat /etc/rc.local.d/local.sh
#!/bin/sh
# local configuration options
# Note: modify at your own risk! If you do/use anything in this
# script that is not part of a stable API (relying on files to be in
# specific places, specific tools, specific output, etc) there is a
# possibility you will end up with a broken system after patching or
# upgrading. Changes are not supported unless under direction of
# VMware support.
"/vmfs/volumes/datastore1/xsi-dir/src/cron-init" root
exit 0
ps -c | grep crond
33580 33580 busybox /usr/lib/vmware/busybox/bin/busybox crond
15478889 15478889 grep grep crond
ls -l var/logs
total 0
-rw-r--r-- 1 root root 0 Oct 27 17:06 xsibackup.log
Offline
You posted to the wrong section (XSIBackup-DC), this is an XSIBackup-Pro or Free question.
There isn't any xsibackup-cron file any more, it was deprecated long ago.
Things that did change in (c)XSIBackup Classic 11
Offline
Oh. Sorry about that! Can you move my posting? I will read the link you posted and ask again, now in the correct forum if I have further questions!
Offline
Sure, no worries, we already did so.
Offline
Pages: 1