Compiling amanda-2.4.4p2 myself did the trick. I adapted Marc's config for my site, et voila!
Thanks again. Regards, -Rodi On Wed, 2004-02-04 at 09:56, R.M. Evers wrote: > Thanks for your reply Marc, but alas, still no-go :-( The > amidxtaped.xxxxxxx.debug file shows the following info: > > ... > amrestore: could not stat chg-disk: No such file or directory > amidxtaped: time 0.063: amrestore terminated normally with status: 2 > amidxtaped: could not stat chg-disk: No such file or directory > amidxtaped: time 0.064: could not stat chg-disk: No such file or > directory > ... > > So it seems that the chg-disk script can't be found, which sits in > /usr/lib/amanda along with the other scripts.. Maybe something went > wrong with my way of installing and patching amanda. I'll fetch the > latest stable version from amanda.org, and try compiling it myself. Back > to the drawing board it is.... > > Regards, > -Rodi. > > > On Tue, 2004-02-03 at 16:41, Marc Langlois wrote: > > Hi Rodi, > > > > The "amrecover: Can't read file header" message happened to me when the > > chg-disk script wasn't being called, and amrecover was trying to read > > from an empty tape slot directory i.e. the "data" sym-link was wrong. > > > > My amanda.conf has these entries: > > > > tpchanger "chg-disk" > > tapedev "file:/s4/amanda_tapes" > > rawtapedev "file:/s4/amanda_tapes" > > changerfile "/usr/local/etc/amanda/clst01/changer" > > changerdev "/dev/null" > > amrecover_changer "chg-disk" > > > > In amrecover, I do: > > > > amrecover> settape chg-disk > > amrecover> extract > > ... > > > > and it works fine. Doing an "ls -l" on the tape slot directory > > (/s4/amanda_tapes for me) shows that the "data" sym-link is changed to > > point to the correct tape slot before each extract begins. > > > > The value of "amrecover_changer" seems to be arbitrary - as long as the > > same string is used in amrecover, then it will use the value of > > "tpchanger" (AFAIK). > > > > Hope this helps, > > Marc Langlois. > > > > On Tue, 2004-02-03 at 06:34, R.M. Evers wrote: > > > hi amanda-users, > > > > > > sorry to bring this up again, but i'm also having problems with using > > > amrecover with the file: driver.. i have read the recent thread, but i > > > cannot get it to work properly. > > snip... > > > > > > then, i tried to recover some directory using amrecover. at the final > > > 'extract'-point, i receive the error: > > > > > > -- > > > Extracting files using tape drive daily01 on host bu2. > > > Load tape daily02 now > > > Continue [?/Y/n/s/t]? > > > EOF, check amidxtaped.<timestamp>.debug file on bu2. > > > amrecover: short block 0 bytes > > > UNKNOWN file > > > amrecover: Can't read file header > > > extract_list - child returned non-zero status: 1 > > > -- > > > > > > the recover works fine when i issue an "amtape DailySet1 label daily02" > > > on the backup server, but hey, i'm lazy.. > > > > > > i've tried different values for the amrecover_changer parameter > > > mentioned in the thread last month, but to no avail.. right now, here's > > > my config: > > > > > > -- > > > tpchanger "chg-disk" > > > changerfile "/etc/amanda/DailySet1/changer" > > > tapedev "file:/var/backups/amanda-tapes/DailySet1" > > > amrecover_changer "file:/var/backups/amanda-tapes/DailySet1" > > > -- > > > > > > i read the docs, googled like there's no tomorrow, but i can't seem to > > > get this right. what am i missing here? > > > > > > thanks & regards, > > > -rodi.
