I have configured bacula that tapes are automatically recycled. Bacula should take the tape that is currently in the drive, if possible. Most of the time it works, but sometimes bacula means that the tape is still protected. In the logfile it says:

03-Jan 22:00 ahorn-dir: Start Backup JobId 713, Job=ahorn.2006-01-03_22.00.00
03-Jan 22:03 ahorn-dir: Pruned 2 Jobs on Volume "Monat_1" from catalog.
03-Jan 22:03 ahorn-sd: ahorn.2006-01-03_22.00.00 Warning: Director wanted Volume "Monat_5".
    Current Volume "Monat_1" not acceptable because:
1998 Volume "Monat_1" status is Used, but should be Append, Purged or Recycle (cannot automatically recycle current volume, as it still contains unpruned data). 03-Jan 22:03 ahorn-sd: Please mount Volume "Monat_5" on Storage Device "DDS-4" for Job ahorn.2006-01-03_22.00.00 03-Jan 23:03 ahorn-sd: Please mount Volume "Monat_5" on Storage Device "DDS-4" for Job ahorn.2006-01-03_22.00.00 04-Jan 01:03 ahorn-sd: Please mount Volume "Monat_5" on Storage Device "DDS-4" for Job ahorn.2006-01-03_22.00.00

The protection of the volume Monat_1 was expired at Dec 5 2005. At the beginning of the backup job, bacula pruned 2 jobs from this volume. There were no more jobs on the volume, but bacula does not reuse this volume. Instead, it asks for volume Monat_5, because it was omitted on November.

Another example is this:
10-Jan 22:00 ahorn-dir: Start Backup JobId 723, Job=ahorn.2006-01-10_22.00.00
10-Jan 22:00 ahorn-dir: Recycled volume "Vollbackup_2"
10-Jan 22:05 ahorn-dir: Pruned 2 Jobs on Volume "Vollbackup_3" from catalog.
10-Jan 22:05 ahorn-sd: ahorn.2006-01-10_22.00.00 Warning: Director wanted Volume "Vollbackup_2".
    Current Volume "Vollbackup_3" not acceptable because:
1998 Volume "Vollbackup_3" status is Used, but should be Append, Purged or Recycle (cannot automatically recycle current volume, as it still contains unpruned data). 10-Jan 22:05 ahorn-sd: Please mount Volume "Vollbackup_2" on Storage Device "DDS-4" for Job ahorn.2006-01-10_22.00.00 10-Jan 23:05 ahorn-sd: Please mount Volume "Vollbackup_2" on Storage Device "DDS-4" for Job ahorn.2006-01-10_22.00.00

Here the correct tape were Vollbackup_2, but someone had put in Vollbackup_3. Bacula prunes two jobs from the inserted tape Vollbackup_3. Also there were no more jobs on Vollbackup_3, but bacula does not recylce this tape. The protection period was expired.

After the backup job there is a job that backups the catalog. It runs just right after the backup job. In a case as described above, bacula backups the catalog to the inserted tape without a problem.

So I have an aborted backup, but the catalog is backuped to the tape.

I begun with bacula 1.34 and I had no such problems. Now with bacula 1.36.1 this problem occurs from time to time.

I use bacula on Ubuntu Linux 5.04 with kernel 2.6.10.

Daniel


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to