#1 2017-06-19 13:27:43

Luckysh0t
Member
Registered: 2017-06-19
Posts: 2

[Filer_SRV08] error: --server: Command not found.

Hi,


when i start my Backup with this


/vmfs/volumes/VMII/xsi-dir/xsibackup --backup-prog=rsync --backup-point="192.168.0.115:22:/mnt/Storage/esxi" --backup-type=custom --backup-vms="TV_Management_Linux,PiHole_SRVUBNT,OpenVPN_SRVUBNT,Filer_SRV08!rdmdisk1-000001.vmdk;rdmdisk1.vmdk;rdmdisk2-000001.vmdk;rdmdisk2.vmdk"


It works fine, till it comes to the vmdk, then i get this



-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Info: transfering file [ /vmfs/volumes/591e15e6-ad565a88-bb76-d05099722886/Filer_SRV08/Filer_SRV08_0.vmdk ]
[Filer_SRV08] error: --server: Command not found.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]
Info: transfering file [ /vmfs/volumes/591e15e6-ad565a88-bb76-d05099722886/Filer_SRV08/Filer_SRV08_0-flat.vmdk ]
--server: Command not found.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]
------------------------------------------------------------------------------------------------------



A Manual transfer with e.g

./xsibackup-rsync -av -e 'ssh -i ../xsibackup_id_rsa' /vmfs/volumes/VMI/Filer_SRV08/Filer_SRV08_0-flat.vmdk root@192.168.0.115:/mnt/Storage/esxi



works....

And an error log doesnt exist - in any Folder during the backup..


Dont know what i could do..

Regards Lucky

Last edited by Luckysh0t (2017-06-19 13:28:00)

Offline

#2 2017-06-19 16:09:09

roberto
Moderator
Registered: 2017-04-22
Posts: 49

Re: [Filer_SRV08] error: --server: Command not found.

--server is an internal Rsync option https://linux.die.net/man/1/rsync
/mnt/Storage/esxi does not seem to be an ESXi mount point.
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0] seems to indicate the sending part was not able to understand the protocol version the receiving side was using.

In short, XSIBACKUP-FREE 9.0.2 is only able to Rsync files between two ESXi boxes. Maybe you tried to Rsync to other OS?

When you run XSIBackup manually the log is printed on-screen, if you use the crontab it will be written to xsi-dir/xsibackup-cron.log

Facts point in the direction that this behaviour might have to do with the fact that XSIBackup omits the user before the server address (the root@ part). By doing this SSH asumes the user is the currently logged in as in the ESXi system.

Try to run this manually and see if you get the same error

./xsibackup-rsync -av -e 'ssh -i ../xsibackup_id_rsa' /vmfs/volumes/VMI/Filer_SRV08/Filer_SRV08_0-flat.vmdk 192.168.0.115:/mnt/Storage/esxi

This post can also shed some light on the matter:
https://askubuntu.com/questions/539719/ … to-another

Last edited by roberto (2017-06-21 11:49:00)

Offline

#3 2017-06-19 19:55:31

Luckysh0t
Member
Registered: 2017-06-19
Posts: 2

Re: [Filer_SRV08] error: --server: Command not found.

That works as I have written

Offline

#4 2017-06-21 11:54:55

roberto
Moderator
Registered: 2017-04-22
Posts: 49

Re: [Filer_SRV08] error: --server: Command not found.

Remove the root@ and try again. If you get the error, that means that the receiving party does not allow implicit authentication. If that's the case, editing the OpenSSH config file might do it.

In any case you're the only user with this problem, so whatever the problem is has to be related to the config on your destination server. Please provide all the details to ask for further help. We still don't know what your backup server is at 192.168.0.115: ESXi?

Paste your full log so that we have all the relevant information.

Last edited by roberto (2017-06-21 11:55:13)

Offline

Board footer