Amanda-Users

Re: Amrecover help needed

2006-07-20 15:11:28
Subject: Re: Amrecover help needed
From: Matt Hyclak <hyclak AT math.ohiou DOT edu>
To: amanda-users AT amanda DOT org
Date: Thu, 20 Jul 2006 15:03:10 -0400
On Thu, Jul 20, 2006 at 07:47:08PM +0100, Anne Wilson enlightened us:
> I'm not understanding amrecover, and need some help.  Specifically, I want to 
> recover a file foo.xls which originated 
> from /home/anne/Documents/Spreadsheets.  I don't want it to overwrite the 
> existing copy, so want to recover it to a named directory.
> 
> My vtapes are in /Backup/amandatapes/Dailys.  I created a 
> directory /Backup/Recover, then started amrestore.
> 
> [root@borg ~]# amrecover
> AMRECOVER Version 2.5.0-20060323. Contacting server on borg ...
> 220 borg AMANDA index server (2.5.0-20060323) ready.
> 200 Access OK
> Setting restore date to today (2006-07-20)
> 200 Working date set to 2006-07-20.
> Scanning /tmp/dumps...
> 200 Config set to Daily.
> 200 Dump host set to borg.
> Trying disk / ...
> Trying disk rootfs ...
> Can't determine disk and mount point from $CWD '/root'
> amrecover> cd ..
> Must select disk before changing directory
> amrecover> exit
> 200 Good bye.
> 

Just do a setdisk when you get the prompt to change to the appropriate DLE. 

200 Disk set to /.
/root/restore
WARNING: not on root of selected filesystem, check man-page!
amrecover> setdisk /export
200 Disk set to /export.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

<Prev in Thread] Current Thread [Next in Thread>