Package: rsnapshot
 Version: 1.3.0-2

Hello,

I'm try to use ssh_args in /etc/rsnapshot.conf. If I'm uncomment theses lines 
in the default config file :

cmd_ssh /usr/bin/ssh
ssh_args  -p 22
backup  [email protected]:/home/ example.com/

I'm use rsnapshot -t -v daily and paste the line
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded     
--rsh=/usr/bin/ssh -p 22 [email protected]:/home     
/.snapshots/daily.0/example.com/

I get this error :

Unexpected remote arg: [email protected]:/home
rsync error: syntax or usage error (code 1) at main.c(1220) [sender=3.0.3]

if I use
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded     
--rsh="/usr/bin/ssh -p 22" [email protected]:/home     
/.snapshots/daily.0/example.com/

rsnapshot works correctly

I'm using debian lenny up to date

Thanks in advance.

N.HICHER




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to