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

Re: [linux-lvm] LVM snap size weirdness...



You're quite right - you must *always* worry about applications 
changing the filesystem when taking a backup.

Backing up from a filesystem snapshot means your backup will at
least contain the complete filesystem as it looked at the moment in
time when the snapshot was created.
(Consider instead if you were to run 'tar' on a changing filesystem:
if a process was moving directories at the same time, your tar
backup might completely miss them e.g. if they were moved from a 
place 'tar' hadn't backed up yet into a place it already had.
If you backup from a snapshot, that problem disappears.)

If you backup from a snapshot, you want to ensure that your
on-disk application data is consistent (i.e. checkpointed)
at the time you create the snapshot.  So you have to worry
about applications that are running at the point at which 
you take the snapshot: e.g. quiesce them, take the snapshot,
then set them off again.

Alasdair
-- 
agk uk sistina com



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