BLU Discuss list archive
[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: Tue, 29 Sep 2015 14:34:17 +0000
- In-reply-to: <CA+h9Qs7DDScxbCo2a_NnRkSpUTPYUgQU2vwmPBqPpZ_mvX0r=w@mail.gmail.com>
- References: <25d28188.1ER.1lD.10.iPeowC@mailjet.com> <22022.45659.150670.461495@snorkack.blazemonger.com> <BLUPR04MB36961A07BEDF29D3AA5D0E6DC400@BLUPR04MB369.namprd04.prod.outlook.com> <CAJFsZ=qqOcvCb980hRX_mchtA4076oWs4ZemeCN9m8CRmHYTfA@mail.gmail.com> <BLUPR04MB36977A2FCE3457F4B0D5CF3DC4F0@BLUPR04MB369.namprd04.prod.outlook.com> <56096C69.9030600@gmail.com> <CAJFsZ=pX2Ru3iCEpr00zVEGHWoVC_G6=taX6fUqkFd_d_daVuw@mail.gmail.com> <56097C75.8010104@gmail.com> <CA+h9Qs7DDScxbCo2a_NnRkSpUTPYUgQU2vwmPBqPpZ_mvX0r=w@mail.gmail.com>
> From: Discuss [mailto:discuss-bounces+blu=nedharvey.com at blu.org] On > Behalf Of John Abreau > > When I backup Postgresql databases, I use pg_dumpall to dump the data into > a text file; I don't try to backup the binary database files. > > I'm not familiar with MongoDB, but I would be surprised if it didn't have a > similar option to dump its data to a text file. Databases, indeed, cannot be backed up by naively copying the database file while the daemon is alive. The daemons are, however, smart enough to leave the file(s) in a consistent state (or use something akin to journaling) so the daemon is able to recover after an interruption. I am confident saying that literally every database has these characteristics - even Mongo and Sqlite. I have specifically verified this is correct with Sqlite. As for the filesystem being in an "inconsistent" state after interruption - That's what journaling is for. If you were in the middle of a "rm" or "mv" operation or something like that, journaling remembers it and correctly handles it after system restore - either by completing the operation or by backing it out as if it never happened. Automatically.
- References:
- [Discuss] Cloud-backup solutions for Linux?
- From: dbarrett at blazemonger.com (Daniel Barrett)
- [Discuss] Cloud-backup solutions for Linux?
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] Cloud-backup solutions for Linux?
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] Cloud-backup solutions for Linux?
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] Cloud-backup solutions for Linux?
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Cloud-backup solutions for Linux?
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] Cloud-backup solutions for Linux?
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Cloud-backup solutions for Linux?
- From: jabr at blu.org (John Abreau)
- [Discuss] Cloud-backup solutions for Linux?
- Prev by Date: [Discuss] Cloud-backup solutions for Linux?
- Next by Date: [Discuss] OT: Boston seeks: Broadband and Digital Equity Advocate
- Previous by thread: [Discuss] Cloud-backup solutions for Linux?
- Next by thread: [Discuss] Accidental rm -rf (was Cloud-backup solutions for Linux?)
- Index(es):