Hi Bernhard!

Thanks for your help so far. It's highly appreciated.

On 25 Feb 02 at 22:57 you wrote:

> > I can see no problems with DAILY backups, but for some reason
> > amrecover doesn't "see" older WEEKLY backups.
> [...]
> > -rw-------  1 amanda  wheel  25574 Jan 18 22:07 20020118_0.gz
> > -rw-------  1 amanda  wheel  25737 Jan 25 22:07 20020125_0.gz
> > -rw-------  1 amanda  wheel  25752 Feb  2 14:07 20020201_0.gz
> > -rw-------  1 amanda  wheel  25796 Feb  8 22:10 20020208_0.gz
> > -rw-------  1 amanda  wheel  25919 Feb 22 22:12 20020222_0.gz
> 
> What's in these files? 

The files look OK to me, they just contain the list of files backed 
up such as:

<snip>
/
/lost+found/
/home/
/usr/
/tmp/
/var/
/var/log/
/var/log/setup/
/var/log/setup/tmp/
/var/log/setup/tmp/ca.key
/var/log/setup/tmp/ca.crt.text
<snip>

> Check their access time when you use amrecover.

The access times of older files remain identical to modification 
times, i.e. the access time does not change when running amrecover.

> Look at the directory when you are in
> amrecover. One file should be gunzipped lying around.

Indeed, the file containing latest backup, 20020222_0.gz is 
unzipped when amrecover is running. But it seems that older files 
are not touched. 

And now for another message:

> You didn't issue a "setdate" command. So amrecover shows you the
> state of the last backup (Feb 22th). If you'd like to switch to
> another backup - issue "setdate --01-25" or "setdate --01-26" to
> get a list of the files backed up on Jan 25th. 

No such luck, I'm afraid. When I issue "setdate --02-08", amrecover 
replies with:
No index records for cwd on new date
Setting cwd to mount point

And in any case, "history" command should list all backups, as it 
does with my DAILY backups.

BTW, I guess I tripped over something strange in 
/tmp/amanda/amrecover.debug (line wrapping added by my mail 
client):

-------------------------------------------------------------------
add_dir_list_item: Adding "2002-02-22" "0" "WEEKLY03"
"/usr/adm/amanda/WEEKLY/inde 
x/heerold.raad.tartu.ee/_/20020111_0.gz" 
add_dir_list_item: Adding 
"2002-02-22" "0" "WEEKLY03" "/usr/adm/amanda/WEEKLY/inde 
x/heerold.raad.tartu.ee/_/20020118_0.gz" 
add_dir_list_item: Adding 
"2002-02-22" "0" "WEEKLY03" "/usr/adm/amanda/WEEKLY/inde 
x/heerold.raad.tartu.ee/_/20020125_0.gz" 
add_dir_list_item: Adding 
"2002-02-22" "0" "WEEKLY03" "/usr/adm/amanda/WEEKLY/inde 
x/heerold.raad.tartu.ee/_/20020201_0.gz" 
add_dir_list_item: Adding 
"2002-02-22" "0" "WEEKLY03" "/usr/adm/amanda/WEEKLY/inde 
x/heerold.raad.tartu.ee/_/20020208_0.gz" add_dir_list_item: Adding 
"2002-02-22" "0" "WEEKLY03" "/usr/adm/amanda/WEEKLY/inde 
x/heerold.raad.tartu.ee/_/20020222_0.gz"
-------------------------------------------------------------------

It seems that for some reason amrecover thinks that all these 
backups were done to tape "WEEKLY03", although they most definitely 
were not. Whatever it is, it explains why amrecover doesn't show 
older backups. It thinks they have been overwritten.

Now I have to figure out *why* amanda thinks that all backups were 
done to the same tape...
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* To define recursion, we must first define recursion.


Reply via email to