Bernhard Suttner wrote:
> your solution with the "run before job" only mount the tape before a job, but 
> a tape could be full during a job, too. Does your solution work too, if 
> bacula requests a new tape during a job?
> 

i dont know. my nightly backup fit on 1 tape.
i assume "runbeforejob" will be executed only once per job. but thats
highly speculative :)
pls read the manual.

> 
> 
> On Mon, 01 Aug 2005 12:49:46 +0200
> Rico <[EMAIL PROTECTED]> wrote:
> 
> 
>>Bernhard Suttner wrote:
>>
>>>Does this work, if a backup change happend during a job?
>>>
>>
>>i dont understand your question :/
>>
>>rico
>>
>>
>>>
>>>
>>>On Mon, 01 Aug 2005 11:50:40 +0200
>>>Rico <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
>>>>Sébastien Lefebvre wrote:
>>>>
>>>>
>>>>>Hi,
>>>>>
>>>>>I have installed Bacula 1.36.2 on Debian Sarge dealing with an LTO2 drive.
>>>>>I have 7 Jobs to run each night and I ant to change the tape after each
>>>>>full backup that occurs each night.
>>>>>I use this option in order to mark the tape as "Used" when the backup is
>>>>>finished :
>>>>>
>>>>>Maximum Volume Jobs = 7
>>>>>
>>>>>But, when I insert a new tape, I have to mount the tape so that the next
>>>>>backup can run.
>>>>>Is it possible to have a fully automatic configuration in order to avoid
>>>>>the need to explicitly mount the tape through bconsole ?
>>>>>
>>>>>
>>>>>Extract from bacula-sd.conf :
>>>>>**
>>>>>Device {
>>>>>Name = LTO2
>>>>>Media Type = LTO2
>>>>>Archive Device = /dev/nst0            AutomaticMount =
>>>>>yes;                 AlwaysOpen = yes;
>>>>>RemovableMedia = yes;
>>>>>RandomAccess = no;
>>>>>}
>>>>>**
>>>>>
>>>>>Thanks in advance,
>>>>>
>>>>>Sébastien
>>>>>
>>>>>
>>>>>
>>>>>-------------------------------------------------------
>>>>>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>>>>
>>>>>from IBM. Find simple to follow Roadmaps, straightforward articles,
>>>>
>>>>>informative Webcasts and more! Get everything you need to get up to
>>>>>speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
>>>>>_______________________________________________
>>>>>Bacula-users mailing list
>>>>>Bacula-users@lists.sourceforge.net
>>>>>https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>>>
>>>>>
>>>>
>>>>hi
>>>>
>>>>its easy.
>>>>make an admin job that runs first(priority).
>>>>in this admin job write this:
>>>>RunBeforeJob = "/etc/bacula/before_backup"
>>>>
>>>>
>>>>in "/etc/bacula/before_backup"(make executable) write this:
>>>>#! /bin/sh
>>>>
>>>>bconsole -c /etc/bacula/bconsole.conf <<END_OF_DATA
>>>>@output /dev/null
>>>>mount storage="LTO-G2"
>>>>quit
>>>>END_OF_DATA
>>>>
>>>>exit 0
>>>>#EOF
>>>>
>>>>
>>>>or u can insert RunBeforeJob = "/etc/bacula/before_backup" in you first
>>>>backup-job.
>>>>
>>>>rico
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>>>
>>>>from IBM. Find simple to follow Roadmaps, straightforward articles,
>>>
>>>>informative Webcasts and more! Get everything you need to get up to
>>>>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>>>>_______________________________________________
>>>>Bacula-users mailing list
>>>>Bacula-users@lists.sourceforge.net
>>>>https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>>
>>>
>>>
>>>
>>
>>
>>-------------------------------------------------------
>>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>>from IBM. Find simple to follow Roadmaps, straightforward articles,
>>informative Webcasts and more! Get everything you need to get up to
>>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>>_______________________________________________
>>Bacula-users mailing list
>>Bacula-users@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
> 
> 
> 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to