On Fri, Feb 22, 2008 at 01:17:26PM -0500, Jon LaBadie wrote:
> On Fri, Feb 22, 2008 at 11:48:02AM -0600, Gordon J. Mills III wrote:
> > I have recently run into a problem with restoring. I want to restore a
> > folder on a DLE that is about 100G. The folder I want to restore is small
> > but apparently Amanda has to restore the entire DLE to get at the 1 folder.
> > It is restoring the large file to /tmp/Amanda/. Unfortunately, I do not have
> > enough room there to extract the entire DLE.
> > 
> > My first question is: How can I have Amanda use a different path for this
> > task. I have an NFS mounted external drive that has much more room on it.
> > 
> > 2nd question: Is there a way to setup Amanda so that it does not have to
> > retrieve the entire DLE file? Is it just removing compression from the DLE
> > def? Or chopping up the DLE to smaller chunks (this will be hard since most
> > of the data is in 1 place on that dle).
> > 
> > I would like for Amanda to behave in a similar way that I have had other
> > backup software behave. That is, if I just want a single file or folder,
> > then it scans the tape (in this case vtapes) and retrieves only what I want.
> > When I have successfully retrieved files with Amanda before it took a very
> > long time. Is there a way to set it up so that it will do this?
> > 
> 
> Is this simply a case of not realizing that 'amrestore' is generally used
> for complete dle restoration while 'amrecover' is used for individual
> file/directory recovery?

We never really configured amrecover and use amrestore for everything.

Typically the command sequence looks like this

# cd /amanda/restore (on the amanda work partition)
# amrestore -p /dev/rmt/0n host /partition | restore -if - .

-p for pipe the amrestore 
-i for interactive, I can walk down the directory structure.

Similar method exists for tar "dump" type.

My milage varies, yours will too. Depending on the OS, dumptype
(ufsrestore and xfsrestore take somewhat different syntax and I'm
certain linux restores, or MAC OS X, are in the near future since
we do have amanda clients of those types ), and there are some
cross platform restores that are trickier, Solaris amanda host
and IRIX amanda client, but its all doable without having to bring
back complete and large DLEs.







> -- 
> Jon H. LaBadie                  [EMAIL PROTECTED]
>  JG Computing
>  12027 Creekbend Drive                (703) 787-0884
>  Reston, VA  20194            (703) 787-0922 (fax)
---
   Brian R Cuttler                 [EMAIL PROTECTED]
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.


Reply via email to