[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Cloud-backup solutions for Linux?
- Subject: [Discuss] Cloud-backup solutions for Linux?
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- Date: Mon, 28 Sep 2015 12:24:57 +0000
- In-reply-to: <CAJFsZ=qqOcvCb980hRX_mchtA4076oWs4ZemeCN9m8CRmHYTfA@mail.gmail.com>
- References: <25d28188.1ER.1lD.10.iPeowC@mailjet.com> <firstname.lastname@example.org> <BLUPR04MB36961A07BEDF29D3AA5D0E6DC400@BLUPR04MB369.namprd04.prod.outlook.com> <CAJFsZ=qqOcvCb980hRX_mchtA4076oWs4ZemeCN9m8CRmHYTfA@mail.gmail.com>
> From: Bill Bogstad [mailto:bogstad at pobox.com] > > > 2- Use a snapshotting filesystem like btrfs or zfs in the host, so the host can > replicate the guest storage to another location seamlessly. > > I don't see how this can work in a way that would be useful. > Filesystem snapshots of your emulated disk images by the host OS may > give you a single point in time copy, but they don't guarantee that > the copy is in any way consistent. This is one of my favorite modes of operation. I run a ZFS host, and have guest VM's residing in zvol's, which get snapshotted and replicated periodically to additional attached storage, and offsite and offline. If something happens, like the whole machine explodes or whatever, then I restore the guest snapshot, and power it on. The behavior of the guest machine is exactly as if the guest machine had been running and then suddenly the guest power was yanked or kernel panic or something. The guest storage device is a precise snapshot of what the guest storage would have looked like at the instant that the storage snapshot occurred. If you're running an OS or some daemon that can't survive a power interruption, time to find a new OS or switch to a different daemon.