SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
No index?
Author Message
Post No index? 
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 < at > tux2 root]# cd /backup2
[root < at > 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 < at > 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
amrecover> setdate 2004-06-15
200 Working date set to 2004-06-15.
No index records for cwd on new date
Setting cwd to mount point
amrecover>

Post No index? 
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 < at > tux2 root]# cd /backup2
[root < at > 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 < at > 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.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, Very Happy:Very Happy, 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 *
***********************************************************************

Post No index? 
My _backup2 directory index:

drwxr-xr-x 2 amanda amanda 4096 Jun 16 11:29 ./
drwxr-xr-x 12 amanda amanda 4096 Jun 15 14:26 ../
-rw------- 1 amanda amanda 129 Jun 16 10:36 20040616_0.gz
[root < at > tux2 _backup2]#

My amindexd.20040616112528.debug

amindexd: time 0.081: > DATE 2004-06-16
amindexd: time 0.081: < 200 Working date set to 2004-06-16.
amindexd: time 0.121: > SCNF Daily
amindexd: time 0.124: < 200 Config set to Daily.
amindexd: time 0.164: > HOST tux2.employer.com.br
amindexd: time 0.164: < 200 Dump host set to tux2.employer.com.br.
amindexd: time 0.206: > DISK /backup2
amindexd: time 0.206: - 2004-06-16 0 Employer0 5
amindexd: time 0.206: < 200 Disk set to /backup2.
amindexd: time 0.246: > DISK /backup2
amindexd: time 0.246: - 2004-06-16 0 Employer0 5
amindexd: time 0.246: < 200 Disk set to /backup2.
amindexd: time 0.286: > OISD /
amindexd: time 0.286: uncompress command: /bin/gzip -dc
'/usr/local/etc/amanda/Daily/tux2.employer.com.br/_backup2/20040616_0.gz'
2>/dev/null | sort >
'/usr/local/etc/amanda/Daily/tux2.employer.com.br/_backup2/20040616_0'
amindexd: time 0.310: f
/usr/local/etc/amanda/Daily/tux2.employer.com.br/_backup2/20040616_0
amindexd: time 0.310: < 200 "/" is a valid directory
amindexd: time 0.350: > OLSD /
amindexd: time 0.350: < 200- Opaque list of /
amindexd: time 0.350: < 201- 2004-06-16 0 Employer0 5 /
amindexd: time 0.350: < 201- 2004-06-16 0 Employer0 5 /amanda/
amindexd: time 0.350: < 201- 2004-06-16 0 Employer0 5 /backup140604/
amindexd: time 0.350: < 201- 2004-06-16 0 Employer0 5 /backup150604/
amindexd: time 0.350: < 201- 2004-06-16 0 Employer0 5 /backupnovo.sh
amindexd: time 0.350: < 200 Opaque list of /
amindexd: time 0.430: > OISD /
amindexd: time 0.430: f
/usr/local/etc/amanda/Daily/tux2.employer.com.br/_backup2/20040616_0
amindexd: time 0.430: < 200 "/" is a valid directory
amindexd: time 0.470: > OLSD /
amindexd: time 0.470: < 200- Opaque list of /
amindexd: time 0.470: < 201- 2004-06-16 0 Employer0 5 /
amindexd: time 0.470: < 201- 2004-06-16 0 Employer0 5 /amanda/
amindexd: time 0.470: < 201- 2004-06-16 0 Employer0 5 /backup140604/
amindexd: time 0.470: < 201- 2004-06-16 0 Employer0 5 /backup150604/
amindexd: time 0.470: < 201- 2004-06-16 0 Employer0 5 /backupnovo.sh
amindexd: time 0.470: < 200 Opaque list of /
amindexd: time 13.945: > DATE 2004-06-15
amindexd: time 13.945: < 200 Working date set to 2004-06-15.
amindexd: time 13.985: > OISD /
amindexd: time 13.985: < 500 No dumps available on or before date
"2004-06-15"
amindexd: time 227.291: > QUIT
amindexd: time 227.292: removing index file:
/usr/local/etc/amanda/Daily/tux2.employer.com.br/_backup2/20040616_0
amindexd: time 227.292: < 200 Good bye.
amindexd: time 227.292: pid 19609 finish time Wed Jun 16 11:29:16 2004


My amanda.conf

define dumptype root-tar {
global
program "GNUTAR"
comment "root partitions dumped with tar"
compress server best
index yes
exclude list "/usr/local/lib/amanda/exclude.gtar"
priority low
}


tks
----- Original Message -----
From: "Paul Bijnens" <paul.bijnens < at > xplanation.com>
To: "Marcelo Lećo Caffaro" <leao < at > employer.com.br>
Cc: <amanda-users < at > amanda.org>
Sent: Wednesday, June 16, 2004 11:54 AM
Subject: Re: No index?


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 < at > tux2 root]# cd /backup2
[root < at > 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 < at > 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.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, Very Happy:Very Happy, 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 *
***********************************************************************


Post No index? 
Marcelo Lećo Caffaro wrote:
My _backup2 directory index:

drwxr-xr-x 2 amanda amanda 4096 Jun 16 11:29 ./
drwxr-xr-x 12 amanda amanda 4096 Jun 15 14:26 ../
-rw------- 1 amanda amanda 129 Jun 16 10:36 20040616_0.gz
[root < at > tux2 _backup2]#


As expected.
Now what was the question?
Amanda cannot give an index that does not exist.
Explain why you believe there should be an index for yesterday too.

--
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.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, Very Happy:Very Happy, 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 *
***********************************************************************

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB