Amanda-Users

Re: excluding directories for amanda bare metal restores

2007-11-22 13:23:33
Subject: Re: excluding directories for amanda bare metal restores
From: "Gil Vidals" <gvidals AT gmail DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 22 Nov 2007 10:17:50 -0800
After thinking a bit more on this, for bare-metal recovery, it seems logical that I MUST include every directory.  I shouldn't leave anything out since the recovery process outlined below never calls for re-loading the OS.

Traditionally, the OS is reloaded and then the files are restored, but in bare-metal recovery, the step of reloading the OS is skipped. So then, if I don't create /tmp and /proc for example, how will these be created? Does linux automatically create these if it detects they are missing?

--Gil

On Nov 22, 2007 9:36 AM, Geert Uytterhoeven <geert AT linux-m68k DOT org> wrote:
On Thu, 22 Nov 2007, Jon LaBadie wrote:
> On Thu, Nov 22, 2007 at 02:10:35AM -0800, Gil Vidals wrote:
> > I'm aiming to use Amanda for bare metal restores as described in "Backup &
> > Recovery" by Curtis Preston - p. 145. However, I'm not sure which
> > directories to exclude. In fact, I'm not sure that I should exclude anything
> > at all. Should I exclude these?
> >
> > /proc
> > /mnt
> > /dev
> > /tmp
> > /sys
> >
>
> With the possible exception of local usage of /mnt,
> all of these are temporary or dynamic or pseudo
> file systems or directory trees.  Don't back them up.

It depends. /dev may be real.

Gr{oetje,eeting}s,

                                               Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert AT linux-m68k DOT org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                           -- Linus Torvalds