FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 07-01-2010, 04:10 PM
Daniel Troeder
Default VFAQ mirroring a live root FS

On 07/01/2010 05:12 PM, Helmut Jarausch wrote:
> Hi,
> would anybody please explain to me what difficulties
> might occur if I mirror a live root file system
> and use that for booting (in an emergency case).
> I know that for proper mirroring I may mirror a live
> root file system but I have to rsync it after booting from a
> different device (USB,...)
> But what happens if I have to boot a system from a backup
> which has been mirrored from a live root file system.
> Many thanks for sharing your experience,
> Helmut.

This will probably be no problem at all: it's (nearly) the same thing as
pushing the reset knob and booting

I suggest you use a LVM-snapshot. If you use "cp" or "rsync", then use
the "-x" switch (and "-S" with rsync). Those methods have worked for me
for bare-metal-recovery until now.

The only thing that mostly breaks are databases. So create a dump before
copying, and copy it too. Or if possible stop the DB and make a copy of
the files, then start it again. Or both


Just in case: When booting from CD always use "--numeric-owner" with tar
and "--numeric-ids" with rsync or uids and gids will get messed up.

PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887

Thread Tools

All times are GMT. The time now is 04:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org