Bacula-users

Re: [Bacula-users] Question on autochanger and tape drive settings

2008-05-02 14:28:02
Subject: Re: [Bacula-users] Question on autochanger and tape drive settings
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "John BORIS" <jboris AT adphila DOT org>, "Bacula Users" <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 2 May 2008 14:27:52 -0400
>  In my bacual-dir.conf I have the following
>
>  JobDefs {
>   Name = "MainJob"
>   Type = Backup
>   Level = Incremental
>   Client = jerome-fd
>   FileSet = "Full Set"
>   Schedule = "WeeklyCycle"
>   Storage = LTO-2
>   Messages = Standard
>   Pool = Default
>   Priority = 10
>  }
>  Job {
>   Name = "Client2"
>   Client = jerome-fd
>   JobDefs = "MainJob"
>   Write Bootstrap = "/root/bacula/bin/working/Client2.bsr"
>  }
>
>
>  # Definition of LTO tape storage device
>  Storage {
>   Name = LTO-2
>  #  Do not use "localhost" here
>   Address = jerome                # N.B. Use a fully qualified name
>  here
>   SDPort = 9103
>   Password = "I4KlbFSB/q97HYC/APK3QFjPZ5qeO/5HKP7QhFo4alC0"          #
>  password for Storage daemon
>   Device = LTO-2                      # must be same as Device in

Device = Autochanger

>  Storage daemon
>   Media Type = LTO-2                  # must be same as MediaType in
>  Storage daemon
>   Autochanger = yes                   # enable for autochanger device
>  }
>
>
>  In my bacual-sd.conf I have the following
>
>
>  Autochanger {
>   Name = Autochanger
>   Device = Drive-1
>   Changer Command = "/home/kern/bacula/bin/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg4
>  }
>
>  Device {
>   Name = Drive-1                      #
>   Drive Index = 0
>   Media Type = LTO-2
>   Archive Device = /dev/nst1
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   AutoChanger = yes
>  #  #
>  #  # Enable the Alert command only if you have the mtx package loaded
>  #  # Note, apparently on some systems, tapeinfo resets the SCSI
>  controller
>  #  #  thus if you turn this on, make sure it does not reset your SCSI
>  #  #  controller.  I have never had any problems, and smartctl does
>  #  #  not seem to cause such problems.
>  #  #
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
>  #  If you have smartctl, enable this, it has more info than tapeinfo
>  #Alert Command = "sh -c 'smartctl -H -l error %c'"
>  }
>
>

Remove all of the following:
>  Device {
>   Name = LTO-2                        #
>   Media Type = LTO-2
>   Archive Device = /dev/nst1
>   AutomaticMount = yes;               # when device opened, read it
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   Changer Command = "/root/bacula/bin/mtx-changer %c %o %S %a %d"
>   Changer Device = /dev/sg4
>   AutoChanger = yes
>  #  # Enable the Alert command only if you have the mtx package loaded
>   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
>  ## If you have smartctl, enable this, it has more info than tapeinfo
>  ## Alert Command = "sh -c 'smartctl -H -l error %c'"
>  }
>
>

John

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>