Bacula-users

Re: [Bacula-users] Restore issue?

2009-05-29 15:09:38
Subject: Re: [Bacula-users] Restore issue?
From: "Jason A. Kates" <jason AT kates DOT org>
To: Graham Keeling <graham AT equiinet DOT com>
Date: Fri, 29 May 2009 15:04:54 -0400
I don't know what else might be useful. 
The version that I am attempting to use for the restore is: 3.0.1
The backup was written with version: bacula-2.5.28-b1

                                 -Jason

On Fri, 2009-05-29 at 15:52 +0100, Graham Keeling wrote:
> On Fri, May 29, 2009 at 09:47:13AM -0400, Jason A. Kates wrote:
> > This is a tape volume with 29 jobs on it with a retention period of 12
> > months.
> > 
> > llist volume=AX7321L4
> >           MediaId: 176
> >        VolumeName: AX7321L4
> >              Slot: 45
> >            PoolId: 2
> >         MediaType: LTO-3
> >      FirstWritten: 2009-04-04 06:06:49
> >       LastWritten: 2009-04-25 00:18:29
> >         LabelDate: 2009-04-04 06:06:49
> >           VolJobs: 28
> >          VolFiles: 1,458
> >         VolBlocks: 1,386,698
> >         VolMounts: 7
> >          VolBytes: 1,454,042,716,160
> >         VolErrors: 0
> >         VolWrites: 2,609,155
> >  VolCapacityBytes: 0
> >         VolStatus: Full
> >           Enabled: 1
> >           Recycle: 1
> >      VolRetention: 31,104,000
> >    VolUseDuration: 0
> >        MaxVolJobs: 0
> >       MaxVolFiles: 0
> >       MaxVolBytes: 0
> >         InChanger: 1
> >           EndFile: 337
> >          EndBlock: 879
> >          VolParts: 0
> >         LabelType: 0
> >         StorageId: 5
> >          DeviceId: 0
> >        LocationId: 0
> >      RecycleCount: 1
> >      InitialWrite: 0000-00-00 00:00:00
> >     ScratchPoolId: 0
> >     RecyclePoolId: 0
> >           Comment: NULL
> > 
> > 
> > On Fri, 2009-05-29 at 09:21 +0100, Graham Keeling wrote:
> > > On Fri, May 29, 2009 at 12:13:02AM -0400, Jason A. Kates wrote:
> > > ...
> > > > 28-May 20:32 backup-server-sd JobId 67400: Error: block.c:275 Volume
> > > > data error at 339:441! Wanted ID: "BB02", got "". Buffer discarded.
> > > ...
> > > 
> > > I used to get this error on restore if I had the 'autopurge corruption 
> > > bug'.
> > > 
> > > More information starts here (or you can google for it if the links are
> > > now broken):
> > > http://www.mail-archive.com/bacula-users AT lists.sourceforge DOT 
> > > net/msg34768.html
> > > 
> > > Basically:
> > > a) a bacula job starts writing to a volume,
> > > b) a second job starts and because the first job doesn't set up things in 
> > > the
> > > database correctly until the job has finished, or 1gb has been backed 
> > > up...
> > > c) ...the second job purges the volume and starts writing to it.
> > > d) both jobs report success.
> > > 
> > > So, you end up with corrupted data.
> > > 
> > > If I remember correctly, it only happens if you have it set up so that a 
> > > volume
> > > has a maximum of one job, and the jobs that you are running overlap.
> > > If you are using bacula-3.0.0 or newer, this problem should be fixed.
> 
> Then you have probably not hit the bug that I am thinking of.
> You might want to provide more information about your setup if you want other
> people to help you.
> Like the version of bacula that you are using.
> 
> Though, it looks to me as if the data on your tape is corrupted somehow.
> It does say "data error at xxx:xxx". Whether that is because of a bug, or
> because your tape is damaged, I don't know.
> 
> 
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
----------------------------------------------------------------------------
Jason A. Kates (jason AT kates DOT org) 
Fax:    208-975-1514
Phone:  212-400-1670 x2
============================================================================



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>