Amanda-Users

Re: amrecover index problem

2003-11-04 11:36:47
Subject: Re: amrecover index problem
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Mohammad Meskarian <mohammad.meskarian AT mycom-int.co DOT uk>
Date: Tue, 04 Nov 2003 17:32:32 +0100
Mohammad Meskarian wrote:

Dear All

*Warning: no log files found for tape DailySet11 written 2003-11-04*

Did you erase your log files???
Amanda needs the log files.  She does the cleanup of the logfiles
herself.


I have indexing enable inside the amanda.conf and also I have tar1.13.90 and Amanda version is 2.4.4p1.


Wow.  I only have tar 1.13.25.
And besides it is the tar-version ON THE CLIENT that counts.
Maybe you have two versions, and amanda (on the clientà uses the wrong
one.  On the client, look in /tmp/amanda/amandad.TIMESTAMP.debug
and see what "GNUTAR=...." is defined there.
then do:  /the/path/to/gnutar --version

I check the Amanda is creating index file in correct location but the content of index file is little bit strange

 Below you can find sample of my index files

 07751743306/./
07751743306/./acct/

This index was generated with gnutar 1.13.

To correct the index, remove the leading "digits/."

(untested)

$ cd indexdir/hostname/_etc
$ gunzip *.gz
$ perl -pi.bak -e 's!^\d+/\.!!' *
(verifying the result here...)
$ rm *.bak    # if the result was satifying
$ gzip *

Your indexes should look like:
/
/acct/
/amanda/

ps. no need to send this amanda-hackers; they already know these trivialities.

--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



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