You are not logged in.
Pages: 1
VMware ESXi 6.5.0 build-8294253
XSIBackup version 1.5.1.10
When executing the following command :
./xsibackup --replica=cbt "VMs(vmname)" "root@192.168.1.1:22:/vmdks/replicas/$(( $(date +%j) % 5 ))"
I'm getting this error :
-sh: arithmetic syntax error
192.168.1.1 is running Rocky Linux 8.5
Thanks,
Dale
Offline
Some [b]date[/b] binaries in some (c)ESXi builds lack the [b]%j[/b] (Julian day) modifier (why is a conumdrum to us). Try this instead:
./xsibackup --replica=cbt "VMs(vmname)" "root@192.168.1.1:22:/vmdks/replicas/$(( $(date +%s)/86400%5 ))"
Offline
Pages: 1