Re: linux, lvm, and snapshots
2003-02-27 09:25:20
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
======================================================
|
|
|