You are not logged in.
Pages: 1
Hi,
Thanks for the suggestion. However it didn't seem to help, unfortunately.
Here is my job file located at xsi-dir/jobs/001:
(I am currently using the 'test-mode' variable whilst troubleshooting)
"/vmfs/volumes/OS/xsi-dir/xsibackup" \
--backup-prog=vmkfstools \
--backup-point=/vmfs/volumes/intbackup \
--backup-type=all \
--backup-how=hot \
--date-dir=yes
--use-smtp=1 \
--mail-to=******@******.com \
--backup-id=001 \
--description="vmkfstools backup of all VMs" \
--test-mode=true
--exec=yes >> "/vmfs/volumes/OS/xsi-dir/var/logs/xsibackup.log" > /dev/null 2>&1
Here is the line I would use in the xsi-dir/conf/root-crontab file:
20 06 17 06 * "/vmfs/volumes/OS/xsi-dir/jobs/001" > /dev/null 2>&1
There is a logfile at xsi-dir/var/logs/xsibackup.log but it remains empty...
Hi there,
I'm trying to set up a scheduled backup job with xsibackup and the root crontab but can't get it to fire... I've tried everything I can think of including the troubleshooting steps in the xsibackup manual.
I have a job (001) setup and saved in xsi-dir/jobs and have confirmed that it runs manually without any error.
I have edited the xsi-dir/conf/root-crontab file and added in the job as specified in the manual - for example:
30 5 * * * "/vmfs/volumes/datastore1/xsi-dir/jobs/001" > /dev/null 2>&1
I then run the --update-cron command, and manually confirm that it has been added in the root crontab.
I also have a cron test running that outputs the date to a file every minute which confirms that cron is working correctly. However, the xsibackup job never runs, and I get no output whatsoever in the xsi-dir/var/logs/xsibackup.log file.
I have also tried:
> Manually restarting the cron service (but it doesn't seem to be the issue as I have confirmed cron is working correctly)
> Trying other syntax in the cron to get xsibackup to run - such as using the command "/vmfs/volumes/datastore1/xsi-dir/xsibackup --run-backup=001" to no avail.
Can anyone identify what else might be the problem here and how I can get xsibackup to run from cron?
Thanks
Liam
Pages: 1