#1 2020-01-03 21:44:56

magicker
Member
Registered: 2019-06-08
Posts: 12

replica over IP?

Starting to feel very stupid now.

I have exchanged keys with a remote esxi system and that seemed to work just fine.

Now I want to send over a replica

./xsibackup --replica "VMs(test)" xxx.xxx.xxx.xxx:22:/vmfs/volumes/datastore2/incoming --remote-path=/vmfs/volumes/datastore1/xsibackup/xsibackup

However, the system then dumps a replicate on the Source server in the xsibackup folder under a folder called /vmfs/volumes/5ae1cdf5-fb8f1c53-59f4-246e96881b24/xsibackup/xxx.xxx.xxx.xxx:22:/test/

what on earth am I doing wrong?

Offline

#2 2020-01-05 12:18:47

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

Re: replica over IP?

You are mising the remote user: user@IP:port:/path, it's all explained in the manual.

Offline

#3 2020-01-05 17:31:44

magicker
Member
Registered: 2019-06-08
Posts: 12

Re: replica over IP?

ok that did the trick.

Am i right in thinking that VMs still cant have spaces in their names?  when testing with a space I get
2020-01-05T17:23:13 | Error code 2361 at file xsibackup.c, line 2361
Error description: failed to lock the repo /vmfs/volumes/datastore2/incoming2

(info only.. removing space seems to work fine)

thanks

I was trying to follow these examples. hence no root@

./xsibackup --add-key 10.10.1.20:22
./xsibackup --backup /home/me/my-data /mnt/NFS/backup --compression
./xsibackup --backup /home/me/my-data /mnt/NFS/backup --compression --rotate=30
./xsibackup --backup "VMs(Win01, Lin03, MyERP)" /vmfs/volumes/backup
./xsibackup --backup "VMs(Win01, Lin03, MyERP)" 10.10.1.20:22:/vmfs/volumes/backup --compression
./xsibackup --replica "VMs(Win01, Lin03, MyERP)" /vmfs/volumes/backup
./xsibackup --replica "VMs(Win01, Lin03, MyERP)" 10.10.1.20:22://vmfs/volumes/backup
./xsibackup --backup "VMs(Win01, Lin03, MyERP)" 192.168.10.91:22:/vmfs/volumes/backup --compression
./xsibackup --replica "VMs(Win01, Lin03, MyERP)" 192.168.10.91:4432:/vmfs/volumes/backup
./xsibackup --repair /vmfs/volumes/backup
./xsibackup --info /vmfs/volumes/backup
./xsibackup --prune /vmfs/volumes/backup/20190603211935

Offline

#4 2020-01-06 09:39:44

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

Re: replica over IP?

Latest release is compatible with spaces in any place of the paths, just download and overwrite the xsibackup main binary.
We'll check that in the manual, it's probably some outdated information from some old release.

Offline

Board footer