Amanda-Users

Re: linux, lvm, and snapshots

2003-02-27 09:25:20
Subject: Re: linux, lvm, and snapshots
From: Christopher Odenbach <odenbach AT hni.uni-paderborn DOT de>
To: Rupa Schomaker <rupa-list AT rupa DOT com>, amanda-users AT amanda DOT org
Date: Thu, 27 Feb 2003 13:59:56 +0100
Hi,

> I was thinking about backing up using snapshots.  Is there any
> "best-practices" way to do this cleanly?

TMTOWTDY - there's more than one way to do it

> I was going to just script the lvcreate/lvremove stuff around the
> amdump, but figured someone may have a more comprehensive approach.

I prefer having the snapshots created by cron, just a couple of minutes 
before amanda starts. The snapshots are created and mounted. Amanda 
just dumps the snapshots. After the dump is finished the snapshots are 
kept mounted during the next day (until the next snapshot is to be 
created). This way users can restore accidently deleted or destroyed 
files by their own.

This also works perfectly for solaris (>= 2.8).

Christopher

-- 
======================================================
    Dipl.-Ing. Christopher Odenbach
    HNI Rechnerbetrieb
    odenbach AT uni-paderborn DOT de
    Tel.: +49 5251 60 6215
======================================================

<Prev in Thread] Current Thread [Next in Thread>