Bacula-users

[Bacula-users] Mistaken append of job to media

2011-06-07 05:04:44
Subject: [Bacula-users] Mistaken append of job to media
From: Rory Campbell-Lange <rory AT campbell-lange DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 7 Jun 2011 09:41:48 +0100
I've just moved to using the same (Default) pool for all my backup jobs. All my
backup jobs are configured as Backups, and run as full backups. Each backup is
for a different tape set and no tape sets should have more than one job on them.

I have a problem that the last tape in a set is set to 'Append'. Unless I
change this in the database media table to 'Full', a second job may be written
to the tape. This is what I've just done.

I've written job 329 after job 315 on the same tape (CLW112L4). See below

Two questions:

    * can I wipe the data pertaining to job 329 off tape CLW112L4 ?
      (I assume by using mt commands -- how can I find the block number
       to start writing zeros from?)
    * how can I stop this "Append" problem happening again?

Thanks
Rory



    jobid | volumename | startblock | endblock | firstindex | lastindex 
    ------+------------+------------+----------+------------+-----------
      315 | CLW112L4   |          0 |    83219 |    8927071 |   8927071
      315 | CLW112L4   |          0 |    83219 |    8927071 |   8927098
      315 | CLW112L4   |          0 |    83219 |    8927098 |   8927098
      315 | CLW112L4   |          0 |    83219 |    8927098 |   8927098
      315 | CLW112L4   |          0 |    83219 |    8927098 |   8927098
      315 | CLW112L4   |          0 |    64792 |    8927098 |   8927129
      329 | CLW112L4   |          0 |    83219 |     323271 |    324298
      329 | CLW112L4   |          0 |    83219 |     324298 |    324302
      329 | CLW112L4   |          0 |    83219 |     324302 |    327461
      329 | CLW112L4   |          0 |    83219 |     327461 |    328881
      329 | CLW112L4   |          0 |    83219 |     328881 |    330633
      329 | CLW112L4   |          0 |    83219 |     330633 |    331218

-- 
Rory Campbell-Lange
rory AT campbell-lange DOT net

Campbell-Lange Workshop
www.campbell-lange.net
0207 6311 555
3 Tottenham Street London W1T 2AF
Registered in England No. 04551928

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users