-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jon LaBadie
Sent: 28 March 2011 17:05
To: [email protected]
Subject: Re: monthly archive config
On Mon, Mar 28, 2011 at 04:24:57PM +0100, Johan Booysen wrote:
> On Friday, I tried a full monthly backup using the config as mentioned
> in the email below.
>
> The backup seems to have run successfully, and I received the amanda
> email showing that all disklist entries had a level 0 backup done, but
> amrecover doesn't seem able to restore from tape, e.g.
>
>
> amrecover> setdisk /matrix/data1
>
> 200 Disk set to /matrix/data1.
>
> No index records for disk for specified date
>
> If date correct, notify system administrator
>
>> In amrecover, did you set the date to one where dumps were made?
Yes, I used 'setdate 2011-03-25', but it usually defaults to the date of
the last backup made, I believe.
>> In amanda.conf, do you have the index parameter set to yes?
Yes. I have it defined in the dumptype I'm using as follows (this works
for me in my daily backup config, of which the monthly one is a copy,
but with the logdir and indexdir set to /etc/amanda/monthly):
define dumptype comp-tar {
program "GNUTAR"
tape_splitsize 1Gb
compress fast
index yes
record no
exclude list "/etc/amanda/exclude-list"
encrypt server
server_encrypt "/usr/sbin/amgpgcrypt"
server_decrypt_option "-d"
}
>>In your config directory, do you have index dirs and files for the
DLE?
I believe so. Do you mean these?
-sh-3.2$ ls -l index/npt01/_matrix_data1/
total 124
-rw------- 1 amandabackup disk 119158 Mar 26 08:44 20110325200526_0.gz
Thanks.
--
Jon H. LaBadie [email protected]
JG Computing
12027 Creekbend Drive (703) 787-0884
Reston, VA 20194 (703) 787-0922 (fax)