You are not logged in.
Hello,
If I use xsibackup with a cron job I get the error message: /vmfs/volumes/datastore1/xsi-dir/xsibackup: line 3445: arithmetic syntax error
But if I use xsibackup manually everything works perfect.
The ESXi Server has full access to the nfs share on the backup server - so this can not be the problem.
This is my xsibackup-cron file:
"/vmfs/volumes/datastore1/xsi-dir/xsibackup" --time="Mon 02:00|Tue 02:00|Wed 02:00|Thu 02:00|Fri 02:00|Sat 02:00|Sun 02:00" --backup-point="vmfs/volumes/backup" --backup-type=running --date-dir=yes --backup-room=3000 --mail-from=mail@gmx.de --mail-to=infra@web.de --smtp-srv=mail.gmx.net --smtp-port=587 --smtp-usr=mail@gmx.de --smtp-pwd=password --smtp-sec=TLS
--> ERROR
This ist my manual command:
./xsibackup --backup-point=/vmfs/volumes/backup --backup-type=running --date-dir=yes --backup-room=3000 --mail-from=mail@gmx.de --mail-to=infra@web.de --smtp-srv=mail.gmx.net --smtp-port=587 --smtp-usr=mail@gmx.de --smtp-pwd=password --smtp-sec=TLS
--> everything is perfect :-)
Can anyone help me?
Thanks
Mark
Offline
There must be some error in the crontab.
Be careful when you cut&paste, especially from Windows, as some characters may be substituted, sometimes invisible ones, like <cr>
Save a copy of your xsibackup-cron file, remove the crontab and add it again, then add your jobs back again carefully.
Offline