All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carl Cook <CACook@quantum-sci.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Backup Command
Date: Fri, 14 Jan 2011 17:17:34 -0800	[thread overview]
Message-ID: <201101141717.34772.CACook@quantum-sci.com> (raw)
In-Reply-To: <201101100525.32427.CACook@quantum-sci.com>


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.


On Mon 10 January 2011 05:25:32 Carl Cook wrote:
> 
> Here is my proposed cron:
> 
> btrfs subvolume snapshot hex:///home /media/backups/snapshots/hex-{DATE}
> 
> rsync --archive --hard-links --delete-during --delete-excluded --inplace --numeric-ids -e ssh --exclude-from=/media/backups/exclude-hex hex:///home /media/backups/hex
> 
> btrfs subvolume snapshot droog:///home /media/backups/snapshots/droog-{DATE}
> 
> rsync --archive --hard-links --delete-during --delete-excluded --inplace --numeric-ids -e ssh --exclude-from=/media/backups/exclude-droog droog:///home /media/backups/droog
> 
> Comments?  Criticisms?
> 
> 

  parent reply	other threads:[~2011-01-15  1:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10 13:25 Backup Command Carl Cook
2011-01-10 13:36 ` Hubert Kario
2011-01-11 13:54   ` Ivan Labáth
2011-01-11 14:19     ` Hubert Kario
2011-01-11 14:33       ` Ivan Labáth
2011-01-11 14:40         ` Hubert Kario
2011-01-11 14:53           ` Ivan Labáth
2011-01-15  1:17 ` Carl Cook [this message]
2011-01-15  5:25   ` cwillu
  -- strict thread matches above, loose matches on Subject: below --
2011-01-21 19:07 CACook
2011-01-21 19:14 ` Goffredo Baroncelli
2011-01-21 19:15 ` Niklas Schnelle
2011-01-21 19:44 ` Freddie Cash
2011-01-21 21:54   ` CACook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201101141717.34772.CACook@quantum-sci.com \
    --to=cacook@quantum-sci.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.