"John R. Jackson" wrote:
> >I still am not getting indexes on my Sun box running Amanda 2.4.1-p1.
> >...
> >Help? ...
>
> Are you certain you have "index" set to yes? What do you get when you
> run "su <amanda-user> -c amadmin <config> disklist <host> <disk>"?
I get this:
host powderday:
interface default
disk c0t0d0s0:
program "DUMP"
priority 1
dumpcycle 10
maxdumps 1
strategy STANDARD
compress CLIENT BEST
comprate 0.50 0.50
auth BSD
kencrypt NO
holdingdisk YES
record YES
index NO
skip-incr NO
skip-full NO
It does say "index NO". How do I change this?
>
>
> Look at your amanda.conf file and find the indexdir parameter. Look in
> that directory. Do you have a subdirectory for each host being backed up?
> Within one of those, do you have a subdirectory for each disk being
> backed up (the name maybe slightly altered). And within there do you
> have a gzip'ed file with a datestamp for a name?
>
> Do the host names match up with what amrecover says it is trying?
>
> Are the permissions and ownership of this tree such that the Amanda
> user can get down through it all?
The indexdir existed but there were not sub-dirs for each disk.
>
>
> Did you set the correct user in inetd.conf for amindexd such that it
> can access this information?
>
Yup.
>
>
> >Without and index, how do I recover a file? ...
>
> The short answer is, read docs/RESTORE or www.backupcentral.com/amanda.html.
>
> The longer answer is use "amadmin <config> find ..." to find out what
> tapes have the images you need and what file on those tapes. Mount them
> and use amrestore to pick off the image you want (it's usually faster to
> do the fsf yourself), then pipe that across the network to your client
> and into the restore program.
>
> >... Can indexes be regenerated?
>
> Not yet. It's harder than you would think because it requires sending
> image back to the client and having it regenerate the index and ship it
> back to the server.
>
> >Robert
>
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
--
:wq!
---------------------------------------------------------------------------
Robert L. Harris | Micros~1 :
Unix System Administrator | For when quality, reliability
at Agency.com | and security just aren't
\_ that important!
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'