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

Re: [linux-lvm] Understand the snapshot process



Ok. In other sentence, the life of the snapshot is the time between the lvcreate
-s and the lvremove command. The data must be saved if we need old files.

So the snapshot is only a good solution to backup the data update every time ?



David Johnston a écrit :

> 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/

--
Sincèrement,

Jean Marie Ariès
Imprimeries IPS
Responsable Systèmes/Réseaux





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