All of lore.kernel.org
 help / color / mirror / Atom feed
* Cloning / getting a full backup of a BTRFS filesystem
@ 2019-09-04  6:15 Swâmi Petaramesh
  2019-09-04  9:03 ` Andrei Borzenkov
  2019-09-04 17:55 ` Chris Murphy
  0 siblings, 2 replies; 14+ messages in thread
From: Swâmi Petaramesh @ 2019-09-04  6:15 UTC (permalink / raw)
  To: Linux BTRFS Mailinglist, Michel Bouissou

Hi list,

Is there an advised way to completely “clone” a complete BTRFS
filesystem, I mean to get an exact copy of a BTRFS filesystem including
subvolumes (even readonly snapshots) and complete file attributes
including extended attributes, ACLs and so, to another storage pool,
possibly defined with a different RAID geometry or compression ?

The question boils down to getting an exact backup replica of a given
BTRFS filesystem that could be restored to something logically
absolutely identical.

The usual backup tools have no clue about share extents, snapshots and
the like, and using btrfs send/receive for individual subvols is a real
pain in a BTRFS filesystem that may contain hundreds of snapshots of
different BTRFS subvols plus deduplication etc.

So on a practical standpoint, how can one backup and restore a full
BTRFS structure ?

(I know of tools like partclone that may or may not do the job as they
usually lack behind recent BTRFS features, and may not be able to clone
BTRFS RAID setups for example...)

TIA.

ॐ

-- 
Swâmi Petaramesh <swami@petaramesh.org> PGP 9076E32E

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

end of thread, other threads:[~2019-09-05 13:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04  6:15 Cloning / getting a full backup of a BTRFS filesystem Swâmi Petaramesh
2019-09-04  9:03 ` Andrei Borzenkov
2019-09-04 14:04   ` Piotr Szymaniak
2019-09-04 20:20     ` Hugo Mills
2019-09-04 20:48       ` Chris Murphy
2019-09-04 21:04         ` Swâmi Petaramesh
2019-09-04 22:01           ` Chris Murphy
2019-09-04 22:14           ` Alberto Bursi
2019-09-05  2:47             ` Chris Murphy
2019-09-05  4:59               ` Swâmi Petaramesh
2019-09-04 17:55 ` Chris Murphy
2019-09-04 20:51   ` Chris Murphy
2019-09-05 13:06   ` Anand Jain
2019-09-05 13:13     ` Qu Wenruo

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.