[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dump and Restore Utility



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin McCormick wrote:
> Nicolas KOWALSKI writes:
>> Yes, dump is working well with ext3 filesystems, as long as they
>> are not actively modified. LVM may come to help here.
> 
> Many thanks. That is a problem more or less with any backup method
> that doesn't unmount and convert to read-only a given file system.

I use rsync. It's fairly consistent, even if the file system is in use.
Your situation will be worse, however, if, say a data base application
writes a lot to many different files at different times and the
combination of different files might turn out inconsistent.

- From [1]
> Q: What happens if a file is modified while the backup is taking
> place? 
>
> A: In rsync, transfers are done to a temporary file, which
> is cut over atomically, so the transfer either happens in its
> entirety or not at all. Basically, rsync does "the right thing," so
> you won't end up with partially-backed-up files. Thanks to Filippo
> Carletti for pointing this out. If you absolutely need a snapshot
> from a single instant in time, consider using Sistina's LVM (see
> reference above).

YMMV.

Johannes

[1] http://www.mikerubel.org/computers/rsync_snapshots/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmB5h4ACgkQC1NzPRl9qEVIIgCbBxjCATU4yG102BqR5La23a5F
w4EAn2JGAhkzCxYmkOdQn5UJSINyxEN7
=+l+n
-----END PGP SIGNATURE-----


Reply to: