Amanda-Users

Re: excluding directories for amanda bare metal restores

2007-11-23 22:03:37
Subject: Re: excluding directories for amanda bare metal restores
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 23 Nov 2007 21:48:44 -0500
On Fri, Nov 23, 2007 at 09:34:52PM -0500, Jon LaBadie wrote:
> On Thu, Nov 22, 2007 at 10:17:50AM -0800, Gil Vidals wrote:
> > 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?
> > 
> 
> /tmp is just what its name implies, temporary files.
> Nothing in /tmp is needed by the OS across a reboot.
> No user files in /tmp are guarenteed to be available
> across a reboot.  Some admins routinely do a rm -r /tmp/*
> early in the boot process.  This traditionally is/was
> the norm for Solaris.
> 
> /proc is totally pseudo.  It contains only file pertaining
> to currently running processes.  After a reboot what value
> would it be to know process 1234 "was owned by jon and was
> running in the /home/jon directory"?  Process 1234 is not
> there any longer.  Had it died 1 second before shutdown
> the files would have existed anyway.
                  ^^^^^^^^^^^^
that should have been "no longer exist".

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)