Greetings,

I've searched the wiki and the web looking for possible answers to
this question and haven't found information that addresses this use
case specifically.  I would greatly appreciate your help or pointing
me in the right direction.

Thanks in advance!

Dave


Use case:

I have a 5TB single drive btrfs filesystem.  The filesystem is using
compression and deduplication (used bedup with size threshold of
~200kB resulting in 10s of thousands of deduplicated files).  The
space savings is fantastic!

I have 2 blank 5TB drives to be used as a rotating offline backup,
connecting to the computer once every few weeks and syncing the
new/changed data.  The data is mostly static, slowly growing with
ocassional changes.

What is the best way to:

1) make an initial clone of the filesystem, keeping the compression
and deduplication of the source filesystem?

2) make periodic syncronizations of the source filesystem to the
backup filesystem, again maintaining the compression and deduplication
of the filesystem?

I know that I can make a new empty btrfs filesystem then rsync and
bedup, but the file-level copy and bedup processes are very resource
heavy and time consuming.

I've also considered adding a blank drive to the source filesystem as
a raid mirror then breaking the mirror, but this seems like a brutal,
unintended use of btrfs raid/redundancy..

For many years I've used the rsync approach with XFS drives in
rotation, but now that I'm using (and enjoying) the much more
efficient storage of btrfs with compression and dedup I'm hoping there
is a more advanced method for making and maintaining backups.

Thank you!
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to