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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2018-11-03 11:49:47

stuart
Member
Registered: 2018-11-03
Posts: 2

line 1: arithmetic syntax error

Hello, after installing XSIbackup and running a backup command using the test mode switch....

"./xsibackup --backup-point=/vmfs/volumes/FreeNAS_dataset_VM/VMBackups --backup-type=running --mail-from=sender@email.com --mail-to=recipient@email.com --smtp-srv=smtp.gmail.com --smtp-sec=TLS --smtp-port=587 --smtp-usr=sender@email.com --smtp-pwd=password --test-mode=true"

...all appears ok. However removing the test mode switch results in the "arithmetic syntax error" (full output below).

I've rescanned my datastores and am able to LS them both fine, copying data to either of them with cp, mv or vmksfstools also works ok.

I'm not sure what I'm missing?



---------------------------------------------------------------------------------------------------------------
XSIBackup PID:          1854823                                                 svr2.home.local
Sat, 03 Nov 2018 11:34:47 +0000                              IPv4: 192.168.10.200/255.255.255.0
VMware ESXi 5.1.0 build-2323236                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------
Backup Id:              unknown                 Intel(R) Xeon(R) CPU           L5630  @ 2.13GHz
---------------------------------------------------------------------------------------------------------------
Alert: crontab is not installed for user root
---------------------------------------------------------------------------------------------------------------
ADVICE: just one SSD has been detected, you should consider to use it as an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------
sh: rsync: unknown operand
Backup user is: root
---------------------------------------------------------------------------------------------------------------
--backup-point found at /vmfs/volumes/FreeNAS_dataset_VM/VMBackups (filesystem: NFS)
---------------------------------------------------------------------------------------------------------------
Getting list of all VMs...
---------------------------------------------------------------------------------------------------------------
11     VM2 fileserver   [SanDisk_SSD] VM2/VM2.vmx   ubuntu64Guest       vmx-09   
12     VM1 ubiquiti     [SanDisk_SSD] VM1/VM1.vmx   ubuntu64Guest       vmx-09   
14     VM4 pfsense      [SanDisk_SSD] VM4/VM4.vmx   otherLinux64Guest   vmx-08   
17     VM3 ssh          [SanDisk_SSD] VM3/VM3.vmx   ubuntu64Guest       vmx-08   
---------------------------------------------------------------------------------------------------------------
VMs to backup:
---------------------------------------------------------------------------------------------------------------
11     VM2 fileserver   [SanDisk_SSD] VM2/VM2.vmx   ubuntu64Guest       vmx-09   
Error: skipping, not able to retrieve VM information
---------------------------------------------------------------------------------------------------------------
12     VM1 ubiquiti     [SanDisk_SSD] VM1/VM1.vmx   ubuntu64Guest       vmx-09   
14     VM4 pfsense      [SanDisk_SSD] VM4/VM4.vmx   otherLinux64Guest   vmx-08   
17     VM3 ssh          [SanDisk_SSD] VM3/VM3.vmx   ubuntu64Guest       vmx-08   
---------------------------------------------------------------------------------------------------------------
Needed room: 25 Gb.
Sparse size: 57 Gb.
Available room: 10499 Gb.
---------------------------------------------------------------------------------------------------------------
./xsibackup: line 1: arithmetic syntax error

Last edited by stuart (2018-11-03 11:52:04)

Offline

#2 2018-11-03 15:54:08

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

Re: line 1: arithmetic syntax error

You have some previous errors:

sh: rsync: unknown operand
Error: skipping, not able to retrieve VM information

The arithmetic syntax error is just a consequence of not having been able to retreive some fundamental information previously.

XSIBackup is not that picky as some people want to believe. Just as long as you have clean paths with no especial characters, just letters, numbers and spaces, except in the datastores names and you have a properly configured host, it will work.

Offline

#3 2018-11-03 17:19:21

stuart
Member
Registered: 2018-11-03
Posts: 2

Re: line 1: arithmetic syntax error

I've shutdown VM2 and removed it from the inventory; and its now starting a backup.

I'll investigate why VM2 is being difficult and report back. smile

Offline

Board footer