#1 2017-08-19 13:53:08

AndyHamp
Member
Registered: 2017-06-30
Posts: 2

Setting the remote user on a rsync backup ?

I'm trying to backup to a NAS   (Buffalo Terastation).

I can use rsync from local linux machines via:

rsync -av /home/xxx rsync://192.168.1.222/array1_Backup/test

or by giving a user name

rsync -av /home/tibco rsync://admin@192.168.1.222/array1_Backup/test


but with the xsi-backup and using

./xsibackup --backup-prog=rsync --backup-point="192.168.1.222:22:/array1_Backup/test/" --backup-type=custom

How do i configure the backup-point to use a named user, rather than try and use root who i'm logged onto on the esx machine ?

Thanks ... Andy

Offline

#2 2017-08-20 15:23:35

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

Re: Setting the remote user on a rsync backup ?

You are assuming XSIBackup uses the rsync:// protocol directly, when it does not.

XSIBackup tunnels Rsync protocol through an SSH tunnel, thus, you must make sure a compatible Rsync binary is present at the other end's path (/bin or /usr/bin) and that you have previously linked both servers via the --link command

Close versions of Rsync are generally compatible, using the same version on both ends is obviously the best thing to do.

Last edited by roberto (2017-08-20 15:23:56)

Offline

Board footer