I'm having a strange problem that I can't seem to fix...
I'm using bacula v1.36.1 and can't seem to get the retention
to work correctly. I get two mails every day about 'failures'...

Anyone got an idea? Known bug?


Mail 1:
==========================
Date: Fri, 18 Mar 2005 03:11:13 +0100
18-Mar 03:11 bella-sd: Please mount Volume "Friday_2" on Storage Device "HP DLT 
80" for Job Backup.2005-03-18_01.00.00

Mail 2:
Date: Fri, 18 Mar 2005 04:27:01 +0100
==========================
18-Mar 01:00 bella-dir: Start Backup JobId 104, Job=Backup.2005-03-18_01.00.00
18-Mar 01:00 bella-sd: Volume "Friday_2" previously written, moving to end of 
data.
18-Mar 01:22 bella-sd: Ready to append to end of Volume "Friday_2" at file=24.
18-Mar 02:52 bella-fd: Backup.2005-03-18_01.00.00 Warning: find_one.c:140 
Attempt to backup hard linked file /usr/share/man/man8/mkfs.ext2.8.gz twice 
ignored.
[...]
18-Mar 03:07 bella-sd: End of Volume "Friday_2" at 37:7704 on device /dev/st0. 
Write of 64512 bytes got -1.
18-Mar 03:07 bella-sd: End of medium on Volume "Friday_2" Bytes=36,758,325,573 
Blocks=569,791 at 18-Mar-2005 03:07.
18-Mar 03:07 bella-dir: Purging oldest volume "Friday_2"
18-Mar 03:11 bella-dir: 14 Files on Volume "Friday_2" purged from catalog.
18-Mar 03:11 bella-dir: There are no more Jobs associated with Volume 
"Friday_2". Marking it purged.
18-Mar 03:11 bella-sd: Please mount Volume "Friday_2" on Storage Device "HP DLT 
80" for Job Backup.2005-03-18_01.00.00
18-Mar 03:12 bella-sd: Recycled volume "Friday_2" on device "/dev/st0", all 
previous data lost.
18-Mar 03:12 bella-sd: New volume "Friday_2" mounted on device /dev/st0 at 
18-Mar-2005 03:12.
18-Mar 03:13 bella-dir: Backup.2005-03-18_01.00.00 Error: Catalog error 
updating MD5/SHA1. sql_update.c:65 Update problem: affected_rows=0
18-Mar 04:27 bella-dir: Backup.2005-03-18_01.00.00 Warning: Error updating job 
record. sql_update.c:166 Update problem: affected_rows=0
18-Mar 04:27 bella-dir: Backup.2005-03-18_01.00.00 Warning: Error getting job 
record for stats: sql_get.c:282 No Job found for JobId 104
18-Mar 04:27 bella-dir: Backup.2005-03-18_01.00.00 Error: Bacula 1.36.1 
(26Nov04): 18-Mar-2005 04:27:01
  JobId:                  104
  Job:                    Backup.2005-03-18_01.00.00
  Backup Level:           Full
  Client:                 bella-fd
  FileSet:                "Full Set" 2005-01-11 11:30:02
  Pool:                   "FridayPool"
  Storage:                "DLTDrive"
  Start time:             18-Mar-2005 01:00:02
  End time:               18-Mar-2005 04:27:01
  FD Files Written:       283,142
  SD Files Written:       283,142
  FD Bytes Written:       24,404,296,006
  SD Bytes Written:       23,135,870,856
  Rate:                   1965.1 KB/s
  Software Compression:   41.4 %
  Volume name(s):         Friday_2
  Volume Session Id:      3
  Volume Session Time:    1110974287
  Last Volume Bytes:      9,676,053,008
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            *** Backup Error ***

list media:
==========================
MediaId | VolumeName | VolStatus | VolBytes       | VolFiles | VolRetention | 
Recycle | Slot | InChanger | MediaType | LastWritten         |

Pool: MondayPool
      5 | Monday_2   | Append    | 9,754,199,599  |       11 |      432,000 |   
    1 |    0 |         1 | DLT8000   | 2005-03-14 04:20:42 |

Pool: TuesdayPool
      4 | Tuesday_2  | Append    | 620,322,365    |        2 |      432,000 |   
    1 |    0 |         1 | DLT8000   | 2005-03-15 04:26:07 |

Pool: WednesdayPool
      3 | Wednesday_2 | Append   | 14,433,953,877 |       16 |      432,000 |   
    1 |    0 |         1 | DLT8000   | 2005-03-16 04:43:22 |

Pool: ThursdayPool
      2 | Thursday_2 | Append    | 33,341,498,542 |       36 |      432,000 |   
    1 |    0 |         1 | DLT8000   | 2005-03-17 04:46:46 |

Pool: FridayPool
      1 | Friday_2   | Append    | 10,144,944,884 |       11 |      432,000 |   
    1 |    0 |         1 | DLT8000   | 2005-03-18 04:39:10 |

bacula-dir.conf
==========================
Client {
  [...]
  File Retention        = 1d
  Job Retention         = 1d
  AutoPrune             = Yes
}

Pool {
  Name                  = MondayPool

  Pool Type             = Backup
  Recycle               = Yes
  AutoPrune             = Yes
  Volume Retention      = 1d
  Accept Any Volume     = Yes
  Maximum Volume Jobs   = 5
  Recycle Oldest Volume = Yes
  Purge Oldest Volume   = Yes
}
[all pools identical to this]
-- 
class struggle Iran AK-47 jihad CIA explosion Rule Psix Albanian
counter-intelligence bomb Ortega Treasury Waco, Texas NSA ammonium
[See http://www.aclu.org/echelonwatch/index.html for more about this]


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to