#208977 amanda-server: Mixed up entries in Curinfo

Package:
amanda-server
Source:
amanda
Description:
Advanced Maryland Automatic Network Disk Archiver (Server)
Submitter:
Bernd Harmsen
Date:
2014-08-29 00:03:09 UTC
Severity:
normal
#208977#5
Date:
2003-09-06 16:40:21 UTC
From:
To:
Hello,

when amanda creates a new entry for the backup of an partition in a
currinfo file it uses for each level from 0 to n:

1) The DATE of the last dump of this partition in the current level and
   backup configuration. No matter at which date and in which config
   this backup was really dumped.

2) The (current) TAPE on which the backup file of this partition
   and level was written (Holdingdisk -> Tape). No matter at which
   date or in which configuration this backup was dumped.

This becomes a problem if one uses different backup configuration (e.g.
a config for daily and another for monthly backups) together with
"autoflush=yes".


==================================================================
I ran into this error the following way:

27.08.2003
Daily backup on tape "Daily-4". Because of an tape error there were
two dumps left over on the holdingdisk:
        Casandra /var    Level 0
        Phoenix  /groups Level 0


30.08.2003
Daily backup on tape "Daily-1" with autoflush=yes. First the both left
over dumps were flushed. During the normal backup this partitions was
additional dumped in level 1. Tape "Daily-1" contains two dumps of each
of this partitions.


03.09.2003
Archiv backup on tape "Archiv-2". Because of an tape error there were
three dumps left over on the holdingdisk:
        Casandra //Castor/E$    Level 0
        Emanuel  /usr           Level 0
        Phoenix  /groups        Level 0


04.09.2003
Daily backup on tape "Daily-2" with autoflush=yes. first the three left
over archiv dumps were flushed to tape. Because ONE of my holding disks
was 100% full the directory /amholding/20030904/ cannot be created and
many dumps failed.


05.09.2003
The assignment of tapes, backuplevel and dates is mixed up for some
partitions. Here are some examples:

- -------------------------------------------------------------------
Casandra  /var     Everything seems correct.


- -------------------------------------------------------------------
Phoenix   /groups  Mixed up Date and Tape of the both last level 0
                   backups

backup@Casandra:~$ amadmin DailySet  find Phoenix groups
date       host             disk    lv tape or file file status
2003-08-22 Phoenix.buju.nrw /groups  0 Daily-3       20 OK
2003-08-26 Phoenix.buju.nrw /groups  0 Daily-5       20 OK
2003-08-27 Phoenix.buju.nrw /groups  0 Daily-1        2 OK  <OK
2003-08-30 Phoenix.buju.nrw /groups  1 Daily-1        7 OK
2003-09-03 Phoenix.buju.nrw /groups  0 Daily-2        1 OK  <OK

backup@Casandra:~$ amadmin DailySet  info  Phoenix groups
  Dumps: lev datestmp  tape             file   origK   compK secs
          0  20030827  Daily-2            1 3086890 3086890 2861 <FALSE
          1  20030830  Daily-1            7    4760    4760   14


- -------------------------------------------------------------------
Emanuel   /usr     Mixed up Date and Tape of the both last level 0
                   backups

backup@Casandra:~$ amadmin DailySet find Emanuel usr
date       host                   disk lv tape or file file status
2003-08-22 Emanuel.mydomain.local /usr  0 Daily-3       16 OK
2003-08-26 Emanuel.mydomain.local /usr  1 Daily-5        6 OK
2003-08-27 Emanuel.mydomain.local /usr  1 Daily-4        9 OK
2003-08-30 Emanuel.mydomain.local /usr  0 Daily-1       16 OK <OK
2003-09-03 Emanuel.mydomain.local /usr  0 Daily-2        2 OK <OK
2003-09-04 Emanuel.mydomain.local /usr  1 Daily-2       10 OK
backup@Casandra:~$ amadmin DailySet info Emanuel usr

Current info for Emanuel.mydomain.local /usr:
  Dumps: lev datestmp  tape             file   origK   compK secs
          0  20030830  Daily-2            2 2426650 2426650 2935 <FALSE
          1  20030904  Daily-2           10      60      60   57

- -------------------------------------------------------------------

Ask me if you need additional information, please.

Thanks,
Bernd




- -- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux Casandra 2.4.21-ds-i386 #1 Wed Aug 27 09:22:54 CEST 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages amanda-server depends on:
ii  amanda-common    1:2.4.4-2woody0         Advanced Maryland Automatic Networ
ii  libc6            2.2.5-11.5              GNU C Library: Shared libraries an
ii  libncurses5      5.2.20020112a-7         Shared libraries for terminal hand
ii  libreadline4     4.2a-5                  GNU readline and history libraries
ii  mailx            1:8.1.2-0.20020411cvs-1 A simple mail user agent.
iD8DBQE/Wg38ozLDVVZ7orERAnlKAJ9pZD6OFI+r7mxNZi+uBGCNx9uuEgCfW5BT
+06pqnVqgAnTOsjlMme8dhs=
=pTwm
-----END PGP SIGNATURE-----

#208977#10
Date:
2014-08-28 23:48:11 UTC
From:
To:
Hi,

Debian 3.0 is quite old, are you still interested in this bug?

     Jose Calhariz