* btrfs send/receive in reverse possible?
@ 2018-02-16 2:43 Sampson Fung
2018-02-16 9:38 ` Hugo Mills
0 siblings, 1 reply; 2+ messages in thread
From: Sampson Fung @ 2018-02-16 2:43 UTC (permalink / raw)
To: linux-btrfs
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?
Regards,
Sampson
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: btrfs send/receive in reverse possible?
2018-02-16 2:43 btrfs send/receive in reverse possible? Sampson Fung
@ 2018-02-16 9:38 ` Hugo Mills
0 siblings, 0 replies; 2+ messages in thread
From: Hugo Mills @ 2018-02-16 9:38 UTC (permalink / raw)
To: Sampson Fung; +Cc: linux-btrfs
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-16 9:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16 2:43 btrfs send/receive in reverse possible? Sampson Fung
2018-02-16 9:38 ` Hugo Mills
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).