From: Filipe B. <fil...@gm...> - 2009-08-10 20:41:00
|
Hi, On Mon, Aug 10, 2009 at 16:00, Shaun Curry<sc...@gm...> wrote: > Thanks Les for this. Does anyone have a working rsync with -H option over a > sshfs? You are making this harder than it has to be... rsync supports doing a transfer over the network using SSH as a transport. Instead of mounting the filesystem as SSHFS and then doing rsync <local> <local>, do not mount anything and use rsync <local> <remote>, it will use SSH by default. If you want to do that in a cron job or something like that, you can set up SSH keys to do the authentication without user interaction. > I am running this command::~# rsync -avH /var/lib/backuppc /backup/pool/ Run instead: # rsync -avH /var/lib/backuppc remote.host.domain.name:/path/to/backup/pool/ Where obviously remote.host.domain.name:/path/to/backup/pool/ is what you have mounted under /backup/pool/ using SSHFS on your local machine... HTH, Filipe |