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: blu at nedharvey.com (Edward Ned Harvey (blu))
- Date: Wed, 11 Nov 2015 12:32:28 +0000
- In-reply-to: <20151110162419.GF31334@angus.ind.wpi.edu>
- 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>
> 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).
- Follow-Ups:
- [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- From: effigies at riseup.net (Chris Markiewicz)
- [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- 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)
- Prev by Date: [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- Next by Date: [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- Previous by thread: [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- Next by thread: [Discuss] Dropping obsolete commands (Linux Pocket Guide)
- Index(es):