Does this work, if a backup change happend during a job?
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 > -- Bernhard Suttner <[EMAIL PROTECTED]> ANDURAS service solutions AG Innstraße 71 - 94036 Passau - Germany Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55 Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032 Mitglieder des Vorstands: Sven Anders, Marcus Junker, Michael Schön Vorsitzender des Aufsichtsrats: Dipl. Kfm. Thomas Träger ------------------------------------------------------- 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