Mike wrote:
>> Mike wrote:
>>> I almost have bacula working, but I'm still a little off. The backups
>>> are happening and the Backup-Catalog job is there. Yesterday I turned
>>> on the flag so that once a volume is written to the volume is marked
>>> as 'Used' so that the RunAfterJob script can eject the tape for sending
>>> offsite. The problem now is the Backup-Catalog is not written to the
>>> tape because the tape is 'Used' after the nightly, primary backup.
>>>
>>> Any suggestions on how to get both the primary backup and the catalog
>>> backup written to tape, then the tape marked as 'Used' and ejected?
>>>
>>> If no suggestions, I'll write a script to parse which tape is mounted
>>> and update the tape status after the catalog rather than using the
>>> flag in bacula-dir.conf.
>>>
>>> Mike
> On Thu, 21 Sep 2006, Ryan Novosielski might have said:
>
>> If you can be that predictable, you just put the eject script in the
>> RunAfter of the Catalog, not the other job. They're both jobs getting
>> executed, so that should work fine.
>>
> 
> I have the eject as part of the RunAfter for the Catalog. The problem
> is that Catalog will not run since the main job has marked the tape
> as 'Used'.

Not too complicated if you think it through. You don't specify how you
set the tape to become used (I use Maximum Volume Jobs), but change your
method to allow 2 jobs to fit on the tape. I do this for my BiWeekly
Full backups.
-- 
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to