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

Re: [linux-lvm] Backup of ROOT Partition.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Jean-Philippe Villeneuve wrote:
> I would like to know if I can backup all my system partitions(ROOT 
> included) using a snapshot?

Depends on what you mean by "backup [...] using a snapshot".

If you mean taking a snapshot, then mounting it somewhere and pointing
your backup software to that mount point, then unmounting and deleting
the snapshot after the backup is done, then yes, it should work fine.

If you mean taking a snapshot and leaving it around forever *as* the
backup, then that will work -- but the more backups you have, the slower
LVM gets (currently).  This is because of the copy-on-write code: every
time the root logical volume changes, all of the snapshots need to be
updated.  If you only have one or two snapshots, this isn't so bad, but
if you had (say) 20, writing to your real root LV would slow to a crawl.

There is some code hanging around somewhere that I *think* is supposed
to handle this better, but I don't know the status...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIag79S5vET1Wea5wRA6aRAKCuFkT9BXlmtiyke1bFPw5CJYGtRQCeI27D
++3wT6+y0d3oYjmxEVA2NmY=
=1UlT
-----END PGP SIGNATURE-----


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