Amanda-Users

Amrecover can't read "/usr"-indexfiles of level 0 backup

2007-08-20 08:26:34
Subject: Amrecover can't read "/usr"-indexfiles of level 0 backup
From: Rootje <rdenhollander AT ip2 DOT nl>
To: amanda-users AT amanda DOT org
Date: Mon, 20 Aug 2007 05:21:56 -0700 (PDT)
Hello all,

I've been trying to set up "amrecover" for retrieving lost data from our
backups.
It works great, I only have one issue I can't seem to resolve...

All installed amanda clients and server are version 2.5.1p3, installed on
FreeBSD 5 and 6.
When using amrecover to retrieve files it can read all the generated index
files,
with the exception of 3 clients, where amrecover cant read the index files.

The weird thing it only fails for the index files of level 0 backups for the
/usr filesystem.
It can read level 1 and 2 backup index files without a problem, it can also
read 
level 0 index files of different partitions. As shown in the exaple below:

(Of course I checked if the index files were generated, all works fine,
backup runs, index gets created,
amrecover reads it all, except /usr of level 0 backups...

----QUOTE----
srv06# amrecover DSK
AMRECOVER Version 2.5.1p3. Contacting server on srv06.XXX.net ...
220 srv06 AMANDA index server (2.5.1p3) ready.
Setting restore date to today (2007-08-15)
200 Working date set to 2007-08-15.
200 Config set to DSK.
501 Host srv06.XXX.net is not in your disklist.
Trying host srv06.XXX.net ...
501 Host srv06.XXX.net is not in your disklist.
Trying host srv06 ...
501 Host srv06 is not in your disklist.
Use the sethost command to choose a host to recover
amrecover> sethost www01
200 Dump host set to www01.
amrecover> setdisk /  
200 Disk set to /.
amrecover> history
200- Dump history for config "DSK" host "www01" disk /
201- 2007-08-14-23-59-01 1 DSK01-DLY01-TUE01:47
201- 2007-08-13-23-59-00 1 DSK01-DLY01-MON01:41
201- 2007-08-12-23-59-00 1 DSK01-DLY01-SUN02:41
201- 2007-08-11-23-59-00 1 DSK01-DLY01-SAT02:46
201- 2007-08-10-23-59-00 0 DSK01-DLY01-FRI02:36
201- 2007-08-09-23-59-00 1 DSK01-DLY01-THU02:41
201- 2007-08-08-23-59-00 1 DSK01-DLY01-WED02:39
201- 2007-08-07-23-59-00 1 DSK01-DLY01-TUE02:37
201- 2007-08-06-23-59-00 1 DSK01-DLY01-MON02:40
201- 2007-08-05-23-59-00 1 DSK01-DLY01-SUN01:47
201- 2007-08-04-23-59-00 0 DSK01-DLY01-SAT01:31
201- 2007-08-03-23-59-00 1 DSK01-DLY01-FRI01:43
201- 2007-08-02-23-59-00 1 DSK01-DLY01-THU01:41
201- 2007-08-01-23-59-00 1 DSK01-DLY01-WED01:38
200 Dump history for config "DSK" host "www01" disk /
amrecover> setdate 2007-08-10
200 Working date set to 2007-08-10.
amrecover> ls
2007-08-10-23-59-00 var/
2007-08-10-23-59-00 usr/
2007-08-10-23-59-00 tmp/
2007-08-10-23-59-00 sys
2007-08-10-23-59-00 stand/
2007-08-10-23-59-00 sbin/
2007-08-10-23-59-00 root/
2007-08-10-23-59-00 rescue/
2007-08-10-23-59-00 proc/
2007-08-10-23-59-00 mnt/
2007-08-10-23-59-00 libexec/
2007-08-10-23-59-00 lib/
2007-08-10-23-59-00 home
2007-08-10-23-59-00 etc/
2007-08-10-23-59-00 entropy
2007-08-10-23-59-00 dist/
2007-08-10-23-59-00 dev/
2007-08-10-23-59-00 compat
2007-08-10-23-59-00 cdrom/
2007-08-10-23-59-00 boot/
2007-08-10-23-59-00 bin/
2007-08-10-23-59-00 COPYRIGHT
2007-08-10-23-59-00 .snap/
2007-08-10-23-59-00 .profile
2007-08-10-23-59-00 .cshrc
2007-08-10-23-59-00 .amandahosts
2007-08-10-23-59-00 .
amrecover> setdisk /usr
200 Disk set to /usr.
amrecover> ls
2007-08-10-23-59-00 share/
2007-08-10-23-59-00 quota.user
2007-08-10-23-59-00 local/
2007-08-10-23-59-00 jail/
2007-08-10-23-59-00 home/
2007-08-10-23-59-00 .
amrecover> setdate 2007-08-10
200 Working date set to 2007-08-10.
amrecover> ls
2007-08-10-23-59-00 share/
2007-08-10-23-59-00 quota.user
2007-08-10-23-59-00 local/
2007-08-10-23-59-00 jail/
2007-08-10-23-59-00 home/
2007-08-10-23-59-00 .
amrecover> history
200- Dump history for config "DSK" host "www01" disk /usr
201- 2007-08-14-23-59-01 0 DSK01-DLY01-TUE01:1
201- 2007-08-13-23-59-00 2 DSK01-DLY01-MON01:16
201- 2007-08-12-23-59-00 2 DSK01-DLY01-SUN02:15
201- 2007-08-11-23-59-00 2 DSK01-DLY01-SAT02:15
201- 2007-08-10-23-59-00 1 DSK01-DLY01-FRI02:15
201- 2007-08-09-23-59-00 1 DSK01-DLY01-THU02:11
201- 2007-08-08-23-59-00 0 DSK01-DLY01-WED02:1
201- 2007-08-07-23-59-00 3 DSK01-DLY01-TUE02:10
201- 2007-08-06-23-59-00 2 DSK01-DLY01-MON02:17
201- 2007-08-05-23-59-00 2 DSK01-DLY01-SUN01:24
201- 2007-08-04-23-59-00 1 DSK01-DLY01-SAT01:27
201- 2007-08-03-23-59-00 1 DSK01-DLY01-FRI01:24
201- 2007-08-02-23-59-00 0 DSK01-DLY01-THU01:1
201- 2007-08-01-23-59-00 3 DSK01-DLY01-WED01:20
200 Dump history for config "DSK" host "www01" disk /usr
amrecover> setdate 2007-08-08
200 Working date set to 2007-08-08.
No index records for cwd on new date
Setting cwd to mount point
amrecover>

----END QUOTE----

I hope anyone ever had a similar experience, help is greatly appreciated !

thx,
Roland

-- 
View this message in context: 
http://www.nabble.com/Amrecover-can%27t-read-%22-usr%22-indexfiles-of-level-0-backup-tf4273698.html#a12163883
Sent from the Amanda - Users mailing list archive at Nabble.com.


<Prev in Thread] Current Thread [Next in Thread>
  • Amrecover can't read "/usr"-indexfiles of level 0 backup, Rootje <=