You are not logged in.
Pages: 1
I'm running XSIBACKUP-PRO 10.3.1 on ESXi 6.5.0 Update 1 (Build 7388607).
This works as expected from the command line and the backup VM boots and runs without issue:
[root@ESX:~] date
Tue Mar 6 14:53:27 UTC 2018
[root@ESX:~] "/vmfs/volumes/datastore1/xsi-dir/xsibackup" --time="Tue 14:53" --use-smtp=1 --backup-type=custom --backup-point="10.22.22.22:22:/vmfs/volumes/datastore1" --backup-vms=Unifi --mail-to=me@example.com --backup-prog=onediff --certify-backup=no
Cron jobs fire as expected.
However, when the cron job fires, xsibackup throws errors like the following:
sh: rsync: unknown operand
Backup user is: root
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The --backup-point string is a mandatory value
You have to set the variable --backup-type to some of the values described in the help
E-mail Warnings
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The e-mail report will not be sent because of the followig reasons:
The --mail-from string has not been set
The --smtp-srv string has not been set
The --smtp-port string has not been set
The --smtp-usr string has not been set, you need --smtp-usr if --smtp-auth is other than -none-
The --smtp-pwd string has not been set, you need --smtp-pwd if --smtp-auth is other than -none-
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Error JOBSKIP1: the backup job will be skipped because some mandatory values are missing
Any ideas?
Offline
Even more weirdly, if I run the xsibackup-cron file (e.g., `/vmfs/volumes/datastore1/xsi-dir/xsibackup-cron`), things work.
The issue only occurs when the xsibackup-cron file is run via cron.
Offline
This was a combination of issues:
[list=*]
[*]My cron config was jacked, my fault.[/*]
[*]cron wasn't running.[/*]
[*]I was using the incorrect syntax on --watch.[/*]
[/list]
Offline
You did our job ;-)
Remember that you can contact support to open a case, should you need it.
Offline
Pages: 1