From: Nix <nix@esperi.org.uk>
To: Roman Mamedov <rm@romanrm.net>
Cc: Wols Lists <antlists@youngman.org.uk>,
linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Encrypted software RAID1 with Debian Stretch
Date: Thu, 14 Sep 2017 16:02:31 +0100 [thread overview]
Message-ID: <87wp51qq60.fsf@esperi.org.uk> (raw)
In-Reply-To: <20170914183932.001ffe25@natsu> (Roman Mamedov's message of "Thu, 14 Sep 2017 18:39:32 +0500")
On 14 Sep 2017, Roman Mamedov said:
> On Thu, 14 Sep 2017 14:08:15 +0100
> Nix <nix@esperi.org.uk> wrote:
>
>> Backups based on not-yet-reliable filesystems are, uh, less effective.
>
> You're just grasping for straws at this point. Single-device Btrfs and
> its core features like snapshotting and compression are very solid, it is
> silly trying to "cast doubt" on those.
I'm not grasping for straws, but I do think I'm a lot more conservative
than you where backups are concerned!
I've experienced total data loss on btrfs owing to -ENOSPC with
outstanding snapshots (saved by... backups! On a separate filesystem, of
course). It *was* two years ago, but backup-medium filesystems are
long-lived: two years isn't actually that long: some of mine are fifteen
years old. "Haven't lost data in the last two years" is not really good
enough for a backup filesystem in my view. Snapshotting was not solid
then: though it might be now, a mere two years' experience is not enough
to be sure enough of it for backups, at least not for me. (It's only
recently I moved off unjournalled ext2 for my backups, when the
five-year mark since I experienced data loss on ext4 passed -- and I was
unsure whether five years was too soon.)
> Thousands of people use Btrfs for their
> primary storage, it is certainly more than stable enough to be used for
> backups (which by definition are just a copy of stuff also existing elsewhere).
Another way of putting it is that by the time you need backups they are
probably your *only copy* of your data and you have probably just
experienced some sort of data-loss disaster. It *is* certain that every
occurrence of such a disaster *will* be followed by a need for your
backups. They have to be *more* reliable than your primary filesystem,
not *less* reliable.
> And yeah rsync+Btrfs snapshotting are an amazing combination, it works really
> well for backups, and the easiness of the workflow to access older versions of
> a file or the whole dir tree is unsurpassed by anything imaginable.
I dunno, I find 'bup fuse mnt; cd mnt/backup/latest/blah/blah' to be
more or less the same, workflow-wise. (It just has more dependencies, to
wit FUSE.)
I would never consider snapshots on the same filesystem to be a backup
of anything, except possibly as a defence against 'oh whoops I rm'ed the
wrong tree'. If you btrfs send them somewhere else, perhaps... and of
course btrfs *does* make that easy, and you can store the result on any
filesyste you like, including via deduplicating backup programs that
don't rely on btrfs :) now *that* is a tempting model. btrfs send | bup split,
hmmm :)
... though of course if you do that it's useful only as a mass restore
system: you can't use it for individual-file restoration. However, bup
being what it is, you can combine a btrfs send | bup split with a normal
bup index/bup save at rarer intervals and get deduplication of the whole
lot, with restores of individual files at 'bup save' frequency (where
the backups pay the cost of a 'bup index' filesystem walk), and far
higher-frequency backups that are suitable for full image restores but
do not pay the cost of any sort of filesystem walk at all and can be
done every half hour if you wanted to :) with full deduplication against
all the other backups.
--
NULL && (void)
next prev parent reply other threads:[~2017-09-14 15:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-31 23:58 Encrypted software RAID1 with Debian Stretch commentsabout
2017-09-01 9:46 ` Wols Lists
2017-09-12 23:30 ` Nix
2017-09-13 1:34 ` Reindl Harald
2017-09-13 13:52 ` Nix
2017-09-13 16:10 ` Wols Lists
2017-09-14 11:08 ` Nix
2017-09-14 12:01 ` Wols Lists
2017-09-14 13:08 ` Nix
2017-09-14 13:39 ` Roman Mamedov
2017-09-14 15:02 ` Nix [this message]
2017-09-14 16:22 ` Roman Mamedov
2017-09-15 11:35 ` Nix
2017-09-14 17:01 ` Reindl Harald
2017-09-14 16:56 ` Wols Lists
2017-09-15 11:38 ` Nix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wp51qq60.fsf@esperi.org.uk \
--to=nix@esperi.org.uk \
--cc=antlists@youngman.org.uk \
--cc=linux-raid@vger.kernel.org \
--cc=rm@romanrm.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.