From: Hugo Mills <hugo@carfax.org.uk>
To: Sampson Fung <sampsonfung@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs send/receive in reverse possible?
Date: Fri, 16 Feb 2018 09:38:00 +0000 [thread overview]
Message-ID: <20180216093800.GQ3807@carfax.org.uk> (raw)
In-Reply-To: <CACEy+ERPPDqAzZEUtuSTS=QROnfHV-_C5Z4y-EZ303PObX94Qg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 802 bytes --]
On Fri, Feb 16, 2018 at 10:43:54AM +0800, Sampson Fung wrote:
> I have snapshot A on Drive_A.
> I send snapshot A to an empty Drive_B. Then keep Drive_A as backup.
> I use Drive_B as active.
> I create new snapshot B on Drive_B.
>
> Can I use btrfs send/receive to send incremental differences back to Drive_A?
> What is the correct way of doing this?
You can't do it with the existing tools -- it needs a change to the
send stream format. Here's a write-up of what's going on behind the
scenes, and what needs to change:
https://www.spinics.net/lists/linux-btrfs/msg44089.html
Hugo.
--
Hugo Mills | I can't foretell the future, I just work there.
hugo@... carfax.org.uk |
http://carfax.org.uk/ |
PGP: E2AB1DE4 | The Doctor
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2018-02-16 9:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-16 2:43 btrfs send/receive in reverse possible? Sampson Fung
2018-02-16 9:38 ` Hugo Mills [this message]
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=20180216093800.GQ3807@carfax.org.uk \
--to=hugo@carfax.org.uk \
--cc=linux-btrfs@vger.kernel.org \
--cc=sampsonfung@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).