Hello and thanks for the replies all,

Le 04/09/2019 à 22:48, Chris Murphy a écrit :
>    If you want an exact copy, including all of the exact UUIDs, yes.

No I don"t really care about the UUIDs, and it's the only thing I don't
care about.

My use case is rather taking a full and complete copy of my NAS BTRFS
RAID-5 storage space onto an external, eventually big, disk, or some
other RAID combination in case something would go wrong - in a way that
I could get everything backed up and restored easily.

So far and for years I found BTRFS to be extremely reliable and
resilient in all configurations, but I've had several issues with recent
5.1 and 5.2 kernels on several machines recently .

My NAS holds a number of subvols for many different purposes, most of
them contains a hosts of RO snaphots made either manually or
automatically using snapper, and everything is offline-deduped using
bees (as there is a *lot* of redundant copies of the same files in
different subvols and structures).

Of course I cannot just “dd” as I don't start from a single device but a
BTRFS RAID, and I'm afraid that any manual scheme that I could think of
would break deduplication and thus result in a huge output that wouldn't
fit any device I could think of.

So the question reslly is : How could I backup a complex BTRFS volume to
another but differently (physically) organized volume keeping the
complete structure and being able to restore it preferably in a single
operation.

If the answer is « There's no way it can be done » then it is really
badly annoying...

ॐ

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

Reply via email to