Re: Backup Command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 14, 2011 at 7:17 PM, Carl Cook <CACook@xxxxxxxxxxxxxxx> wrote:
>
> Apparently my command is no good.  No one ever responded to my question below, so maybe I'm not smart enough to ask the right way.
>
> I can ssh from the backup server to the HTPC, but it crashes with a 'dirty' error:
> # rsync --progress --archive --hard-links --links --delete-during --delete-excluded --inplace --numeric-ids -e "ssh -l root" root@hex:///home /media/backups/hex-home
> root@hex's password:
> protocol version mismatch -- is your shell clean?
> (see the rsync man page for an explanation)
> rsync error: protocol incompatibility (code 2) at compat.c(173) [Receiver=3.0.7]
>
> "see the rsync man page for an explanation"?  No idea where, but it's sure not in the first third.  I have the same rsync and ssh on each.

rsync can speak ssh already, you shouldn't need to provide '-e "ssh -l
root"' unless you're doing something odd.  That said, try:  '-e "ssh
-l root -e none"' to disable ssh's escape character.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux