#1 2017-12-06 12:52:36

my_33hops
Member
Registered: 2017-06-04
Posts: 9

xsibackup: line 3445: arithmetic syntax error

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

#2 2017-12-07 10:04:35

admin
Administrator
Registered: 2017-04-21
Posts: 1,366

Re: xsibackup: line 3445: arithmetic syntax error

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

Board footer