linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Send/receive snapshot from/between backup
@ 2016-11-02 14:23 René Bühlmann
  2016-11-02 14:49 ` Hans van Kranenburg
  2016-11-02 16:13 ` Send/receive snapshot from/between backup Piotr Pawłow
  0 siblings, 2 replies; 7+ messages in thread
From: René Bühlmann @ 2016-11-02 14:23 UTC (permalink / raw)
  To: linux-btrfs

Hi all,

I have a system running on btrfs which is backed up to two (one local
USB and one through SSH) external drives (also using btrfs) using
send/receive (with the help of btrbk). For each backup a snapshot is
created and transferred to the external drives. After some time, the
snapshot on the origin is removed but kept on the two backups.

Now my problem is, that the SSH-drive has not received any snapshots for
some time such that there is no snapshot any more which is on the origin
AND the SSH-drive. I would like to prevent transferring a full snapshot
over the network and am now trying to work around it.

Here the current situation (S? for a Snapshot):

Origin: S2 S3

USB: S1 S2

SSH: S1

Transferring S3 to USB is no problem as S2 is on both btrfs drives. But
how can I transfer S3 to SSH?

I tried to transfer...

1. S3 from Origin to SSH -> does not work as there is no common snapshot.

2. S2 from USB to SSH -> did not work.

3. S1 from USB to Origin (such that there is a common snapshot with SSH)
-> did not work.

Is it correct that 1. would work if a common snapshot is present on
Origin and SSH?

Is it expected that 2. and 3. do not work?

Is there some other way to achieve it?

Thanks for the help

René



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-11-18  7:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-02 14:23 Send/receive snapshot from/between backup René Bühlmann
2016-11-02 14:49 ` Hans van Kranenburg
2016-11-02 15:14   ` René Bühlmann
2016-11-02 18:22     ` Send/receive snapshot from/between backup (also restore example) Hans van Kranenburg
2016-11-02 16:13 ` Send/receive snapshot from/between backup Piotr Pawłow
2016-11-16 20:32   ` René Bühlmann
2016-11-18  7:23     ` Piotr Pawłow

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).