Re: Understand the snapshot process

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

 



On Fri, 2004-01-02 at 02:15, Jean Marie Ariès wrote:
> Great !
> 
> Your explanation is perfect :o)
> 
> So, I understand better the use of a snapshot.
> 
> The /data contains files sharing with Samba. So, I think I can do one
> snapshot per day at midnight, and remove it immediatly. If I have to restore
> data for the snapshot, its's alway possible to mount the /dev/OVG/snap_admin
> ?

Jean Marie,
I'm not sure I understand what you accomplish this way.  Do you mean to
say that you would remove yesterday's snapshot and create a new one at
midnight each night?  This protects you from accidents ("rm -f /data")
but not from someone who needs last Friday's version of a file.

If you need the data in the snapshot, you need to put it somewhere safe.


To summarize:
1. Unmount /data
2. Make the snapshot
3. Remount /data
4. Mount the snapshot
5. Back up the snapshot (copy the data to tape, cd, whatever)
6. Unmount the snapshot
7. Remove the snapshot

-David
-- 
David Johnston <david@littlebald.com>
Little Bald Consulting, LLC

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux