root@sundev1:/admin1-home/user/dives# amrecover -C daily -s
sundev1.corp.walid.com -t sundev1.corp.walid.com -d /dev/rmt/0cbn
AMRECOVER Version 2.4.1p1. Contacting server on sundev1.corp.walid.com ...
220 sundev1 AMANDA index server (2.4.1p1) ready.
200 Access OK
Setting restore date to today (2000-11-07)
200 Working date set to 2000-11-07.
200 Config set to daily.
501 No index records for host: sundev1. Invalid?
Trying sundev1.corp.walid.com ...
200 Dump host set to sundev1.corp.walid.com.
$CWD '/admin1-home/user/dives' is on a network mounted disk
so you must 'sethost' to the server
amrecover> sethost admin1
501 No index records for host: admin1. Invalid?
Trying admin1.corp.walid.com ...
200 Dump host set to admin1.corp.walid.com.
amrecover> ls 
Must select a disk before listing files
amrecover> setdisk sda10
200 Disk set to sda10.
amrecover> ls

amrecover> lpwd
/admin1-home/user/dives
amrecover> pwd
/
amrecover> cd /user/dives
/user/dives
amrecover> add DB2
Added /user/dives/DB2
amrecover> extract

Extracting files using tape drive /dev/rmt/0bn on host
sundev1.corp.walid.com.
The following tapes are needed: daily118

Restoring files into directory /admin1-home/user/dives
Continue? [Y/n]: y

Load tape daily118 now
Continue? [Y/n]: y
amrecover>


Do you know why I am gettig indexing errors for both hosts?  

When amrecover finished running extract - i checked the /user/dives
directory for the file I was trying to restore and it was not there.



P.S. - No - I did not tell amanda to back up this area via NFS. 





On Tue, 7 Nov 2000, John R. Jackson wrote:

> >Trying to restore a file on a client (admin1.corp.walid.com) 
> >...
> >200 Dump host set to sundev1.corp.walid.com.
> >$CWD '/admin1-home/user/dives' is on a network mounted disk
> >so you must 'sethost' to the server
> >...
> >How can I set host and connect to admin1 with amrecover?
> 
> What it's saying is that your current working directory is NFS mounted
> from someplace and that's not likely the way you did the backups (i.e.
> you didn't tell Amanda to back up this area via NFS).  So it's telling
> you to use the "sethost" amrecover command to set the host name to the
> machine that was actually backed up, i.e. the one listed in disklist.
> 
> Based on earlier E-mail, this probably means you want to do this:
> 
>   amrecover> sethost admin1.corp.walid.com
> 
> >Denise E. Ives
> 
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
> 

-- 
Denise E. Ives                          [EMAIL PROTECTED]
Systems Engineer                        734.822.2037

Multilingual Internet Domain Name Registrations - http://www.walid.com

Reply via email to