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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2020-01-16 08:04:26

AndersG
Member
Registered: 2020-01-16
Posts: 54

Checking that cron backup has completed?

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

#2 2020-01-16 10:46:05

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

Re: Checking that cron backup has completed?

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

#3 2020-01-16 10:53:03

AndersG
Member
Registered: 2020-01-16
Posts: 54

Re: Checking that cron backup has completed?

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

#4 2020-01-16 16:35:43

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

Re: Checking that cron backup has completed?

Sure, no worries, we already did so.

Offline

Board footer