BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Dropping obsolete commands (Linux Pocket Guide)
- Subject: [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- From: effigies at riseup.net (Chris Markiewicz)
- Date: Wed, 11 Nov 2015 09:26:38 -0500
- In-reply-to: <BY2PR04MB18429F3073B1E80826ED6915DC130@BY2PR04MB1842.namprd04.prod.outlook.com>
- References: <mailman.5.1443369605.9489.discuss@blu.org> <22081.7166.990325.999432@snorkack.blazemonger.com> <20151109210127.162ed2fe@mydesk.domain.cxm> <BY2PR04MB18423839BD8AB5BF8529E795DC140@BY2PR04MB1842.namprd04.prod.outlook.com> <20151110162419.GF31334@angus.ind.wpi.edu> <BY2PR04MB18429F3073B1E80826ED6915DC130@BY2PR04MB1842.namprd04.prod.outlook.com>
On 11/11/2015 07:32 AM, Edward Ned Harvey (blu) wrote: >> From: Discuss [mailto:discuss-bounces+blu=nedharvey.com at blu.org] On >> Behalf Of Chuck Anderson >> >> According to Ted Ts'o (filesystem developer), it is NOT a recommended >> way to backup your filesystem: >> >> http://www.gossamer-threads.com/lists/linux/kernel/1197768 >> >> "It does read the mounted block device directly, and so it's certainly >> not a _recommended_ way to back up your ext4 filesystem. It should > > That's correct, but unfortunately, it doesn't leave you with anything else you can use. The problem is that the live filesystem can have stuff changing while the operation is in progress. Because you're not using a block-level snapshot. So even if you use something like rsync or rsnapshot, the tool will walk the live filesystem (on top of the filesystem layer, unlike dump which operates below the filesystem layer, but that distinction is irrelevant) the filesystem could be changing while in the middle of an rsync operation. Or tar, or cpio, or whatever. Your database files are not safe with *any* of these tools, because of no block-level snapshot. > > If you make a block level snapshot, for example with lvm, you could then safely backup the snapshot block device, just as you could safely mount the snapshot and run rsync. But god, lvm snapshot, what a nightmare. > > This is the reason ZFS was invented. Maybe btrfs will be good someday too (maybe it already is). I would recommend against btrfs. This is the first filesystem I've used in two decades where a power failure caused corruption. Chris
- References:
- [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- From: dbarrett at blazemonger.com (Daniel Barrett)
- [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- From: slitt at troubleshooters.com (Steve Litt)
- [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- From: cra at WPI.EDU (Chuck Anderson)
- [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- Prev by Date: [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- Next by Date: [Discuss] Profiting from GPL software
- Previous by thread: [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- Next by thread: [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- Index(es):