Amanda-Users

Re: No index?

2004-06-16 11:21:35
Subject: Re: No index?
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Marcelo Leão Caffaro <leao AT employer.com DOT br>
Date: Wed, 16 Jun 2004 16:54:10 +0200
Marcelo Leão Caffaro wrote:

Hy guys, i have one question about amanda:
when i make my backup, i create one folder with the date of backup for sample: backup160404 and i put my files inside this folder...
the amanda backup the hd
but when i try restore the yesterday or another day i have the following error:
in amanda.conf the index is set to yes!
tks [root@tux2 root]# cd /backup2
[root@tux2 backup2]# ls -al
total 20
drwxr-xr-x   5 amanda amanda 4096 Jun 15 17:26 ./
drwxr-xr-x  24 root   adm    4096 Jun 14 14:31 ../
drwxr-xr-x   2 amanda amanda 4096 May 31 13:15 amanda/
drwxr-xr-x   2 root   root   4096 Jun 15 10:25 backup140604/
drwxr-xr-x   2 root   root   4096 Jun 15 17:39 backup150604/
-rwxr-xr-x   1 amanda amanda    0 May 27 08:50 backupnovo.sh*
[root@tux2 backup2]# amrecover Daily
AMRECOVER Version 2.4.4p2. Contacting server on tux2.employer.com.br ...
220 tux2 AMANDA index server (2.4.4p2) ready.
200 Access OK
Setting restore date to today (2004-06-16)
200 Working date set to 2004-06-16.
Scanning /backup1/amanda...
200 Config set to Daily.
200 Dump host set to tux2.employer.com.br.
Trying disk /backup2 ...
$CWD '/backup2' is on disk '/backup2' mounted at '/backup2'.
200 Disk set to /backup2.
/backup2
amrecover> ls
2004-06-16 .
2004-06-16 amanda/
2004-06-16 backup140604/
2004-06-16 backup150604/
2004-06-16 backupnovo.sh

OK, there are indexes for today "2004-06-16".
So I guess the configuration is OK.

amrecover> setdate 2004-06-15
200 Working date set to 2004-06-15.
No index records for cwd on new date

But not for the day before.

Did you add the "index yes" just yesterday?
I hope you do realize that amanda creates the index while doing
the backup itself.  It cannot retrofit the indexes to backups already
made.

Are there index-files from that date in the index directory?
See: ~amanda/Daily/index/tux2.employer.com.br/_backup2



--
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>