All of lore.kernel.org
 help / color / mirror / Atom feed
* Are there plans for full btrfs filesystem backups?
@ 2015-05-10 16:49 Marc MERLIN
  2015-05-11  3:55 ` Duncan
  0 siblings, 1 reply; 5+ messages in thread
From: Marc MERLIN @ 2015-05-10 16:49 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org

I use send/receive to backup some subvolumes, but there is no good way
to back up all of my subvolumes in one swoop.
Backing up with tar/cp/rsync is of course no good since it loses all the
btrfs attributes including COW deduped blocks.

For one, my recent btrfs filesystem crash reminded me that docker
creates a boatload of subvolumes which my backups didn't cacch, so now
it's all gone.

Are there any plans for a full filesystem send/receive, not just a
subvolume send/receive?

Note that this is the same problem when you are migtrating to new drives
or bcache, and you can't play tricks with adding a virtual drive of 8TB
just to mirror to it and remove the original mirror later.

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Are there plans for full btrfs filesystem backups?
@ 2015-05-10 22:17 csirac2
  0 siblings, 0 replies; 5+ messages in thread
From: csirac2 @ 2015-05-10 22:17 UTC (permalink / raw)
  Cc: linux-btrfs

Full-filesystem backups also beg the question of full-filesystem snapshots; this level of atomicity may be desirable for such a thing.

Perhaps this off topic (and I am sorry to bring it up again :D), but normal snazzer [1] usage operates on all subvolumes on all mounted btrfs filesystems, although I should revisit docker assumptions (I normally exclude them). snazzer-receive man page is at [2]. Still working on coping with manually mounted subvols [3].

[1] https://github.com/csirac2/snazzer
[2] https://github.com/csirac2/snazzer/blob/master/doc/snazzer-receive.md
[3] https://github.com/csirac2/snazzer/issues/2



Sent from my android device.

-----Original Message-----
From: Paul Harvey <csirac2@gmail.com>
To: Marc MERLIN <marc@merlins.org>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Sent: Mon, 11 May 2015 8:13
Subject: Re: Are there plans for full btrfs filesystem backups?

Full-filesystem backups also beg the question of full-filesystem snapshots;
this level of atomicity may be desirable for such a thing.

Perhaps this off topic (and I am sorry to bring it up again :D), but normal
snazzer [1] usage operates on all subvolumes on all mounted btrfs
filesystems, although I should revisit docker assumptions (I normally
exclude them). snazzer-receive man page is at [2]. Still working on coping
with manually mounted subvols [3].

[1] https://github.com/csirac2/snazzer
[2] https://github.com/csirac2/snazzer/blob/master/doc/snazzer-receive.md
[3] https://github.com/csirac2/snazzer/issues/2
On 11 May 2015 02:56, "Marc MERLIN" <marc@merlins.org> wrote:

> I use send/receive to backup some subvolumes, but there is no good way
> to back up all of my subvolumes in one swoop.
> Backing up with tar/cp/rsync is of course no good since it loses all the
> btrfs attributes including COW deduped blocks.
>
> For one, my recent btrfs filesystem crash reminded me that docker
> creates a boatload of subvolumes which my backups didn't cacch, so now
> it's all gone.
>
> Are there any plans for a full filesystem send/receive, not just a
> subvolume send/receive?
>
> Note that this is the same problem when you are migtrating to new drives
> or bcache, and you can't play tricks with adding a virtual drive of 8TB
> just to mirror to it and remove the original mirror later.
>
> Thanks,
> Marc
> --
> "A mouse is a device used to point at the xterm you want to type in" -
> A.S.R.
> Microsoft is to operating systems ....
>                                       .... what McDonalds is to gourmet
> cooking
> Home page: http://marc.merlins.org/                         | PGP
> 1024R/763BE901
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

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

end of thread, other threads:[~2015-05-12  5:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-10 16:49 Are there plans for full btrfs filesystem backups? Marc MERLIN
2015-05-11  3:55 ` Duncan
2015-05-11  4:57   ` Chris Murphy
2015-05-12  5:36     ` Duncan
  -- strict thread matches above, loose matches on Subject: below --
2015-05-10 22:17 csirac2

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.