Hello,

On 07.10.2005 10:18, Daniel Holtkamp wrote:

Hi !

Firstoff: My company is still willing to support a developer that implements data migration into bacula.

I have a few questions considering tape handling.

Let`s say i have a Tape that gets changed every day. Three servers backup to it (spooling of course) and i have set Maximum Volume Jobs to 3 for that pool.

I'd suggest to not use the Maximum Volume Jobs but rather setting the Volume Use Duration.

Is there a way to automatically eject the tape after the last server finished spooling his data ? Maybe with the Run After Job directive ? I could do it by hand with the console but thats not what i want.

You could do this with a Run After Job Script that feeds the necessary commands to bconsole and uses mt rewoffl to eject the tape from the drive. That should be the easiest soluion for now.

For the future, with python scripts and event methods called from bacula, I'd do it differently: Nag Kern to implement a "volume status change" event, and use that to unload the drive. This would be foolproof in case your job order gets mixed up.

What happens if one backup fails and i remove the tape so that maximum volume jobs is not fulfilled ... will it ask for the old tape on the next backup or will it happily use the new tape that has been inserted ?

Depending on the setting of "Use Any Volume" it might ask for the old tape, but would also use the new one.

The relabel command only works on tapes already in the catalogue ... i re-initialized my database a few times and it rejected relabeling the old tapes. It also rejected USING the old tapes ... had to do "mt weof" to fix that.

There's the add command - although that doesn't add the tapes contents to the catalog. You can use bscan for that purpose.

Do i need to set the Drive Index option in bacula-sd.conf when i don`t have a tapechanger ? I only have 4 standalone LTO-1 drives but no changer.

No, you shouldn't set that, but it won't hurt because that information is only used to control an autochanger.

Best regards

Arno

--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to