Amanda-Users

Re: Amrecover help needed

2006-07-20 16:32:51
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 16:24:41 -0400
On Thu, Jul 20, 2006 at 09:15:55PM +0100, Anne Wilson enlightened us:
> > 'man amrecover' and specifically look at the 'setdisk' command.  Depending
> > on what your DLE looks like, you probably need to 'setdisk /home'.
> 
> Right - /home is the root directory of one DLE, and the required file is 
> in /home/anne/Documents/Spreadsheets.  According to the examples in 
> man:amrecover I should now be able to ls the file, but
> 
> 200 Disk set to /home.
> amrecover> ls -l bankrec.xls
> 2006-07-20 nigel/
> 2006-07-20 micky/
> 2006-07-20 lost+found/
> 2006-07-20 gillian/
> 2006-07-20 david/
> 2006-07-20 anne/
> 2006-07-20 andy/
> 2006-07-20 amanda/
> 2006-07-17 amanda.exclude~
> 2006-07-17 amanda.exclude
> 2006-07-20 .Trash-0/
> 2006-07-20 .
> Invalid command - syntax error
> amrecover> setdisk /home/anne/Documents
> 501 Disk borg:/home/anne/Documents is not in your disklist.
> amrecover> setdisk /home
> 200 Disk set to /home.
> amrecover>      
> 
> What is the next step?
> 
> Anne

The command environment within amrecover is pretty limited. There is no -l
option (or any option, for that matter) to ls. What you need to do would be
something like:

setdisk /home
cd anne
cd Documents
cd Spreadsheets
add bankrec.xls
extract

Matt



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

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