Linux LVM users
 help / color / mirror / Atom feed
From: "Jean Marie Ariès" <jeanmarie.aries@groupe-ips.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Understand the snapshot process
Date: Fri Jan  2 11:40:03 2004	[thread overview]
Message-ID: <3FF5AC86.A38E2357@groupe-ips.com> (raw)
In-Reply-To: 1073061541.24004.6.camel@grandmother.littlebald.com

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

      reply	other threads:[~2004-01-02 11:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-31  1:19 [linux-lvm] Understand the snapshot process Jean Marie Ariès
2003-12-31 15:11 ` David Johnston
2004-01-02  1:17   ` Jean Marie Ariès
2004-01-02 10:40     ` David Johnston
2004-01-02 11:40       ` Jean Marie Ariès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FF5AC86.A38E2357@groupe-ips.com \
    --to=jeanmarie.aries@groupe-ips.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox