We have the same setup, running on Debian.

The first things to do are:

* check that you can get your server and library/drive to communicate.
  you can do that with mtx and mt
  eg mtx -f /dev/sg4 status
  eg mt -f /dev/nst0 status

* test your setup with btape
  
http://www.bacula.org/5.0.x-manuals/en/utility/utility/Volume_Utility_Tools.html#SECTION00291000000000000000

* configure the Bacula Storage Daemon

  our Storage Daemon has the folling excerpts that might be relevant to
  you:

    Autochanger {
      Name = PV-124T
      Device = LTO4-Drive1
      Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
      Changer Device = /dev/sg4
    }

    Device {
      Name = LTO4-Drive1
      Drive Index = 0
      Media Type = LTO4
      Archive Device = /dev/nst0
      AutomaticMount = yes;               # when device opened, read it
      AlwaysOpen = yes;
      RemovableMedia = yes;
      RandomAccess = no;
      AutoChanger = yes

      # The following spool directives come after discussions on the bacula 
list and
      # with reference to 
http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg36340.html
      # Also see 
http://www.bacula.org/5.0.x-manuals/en/main/main/Storage_Daemon_Configuratio.html#11812
 etc
      Maximum File Size = 5G
      Maximum Spool Size = 260G
      Maximum Job Spool Size = 100G # will need this is there are concurrent 
jobs
      Spool Directory = /tapehold

      Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
    }

  However please be very wary of just copying these entries. You should
  read the manual and setup Bacula to meet your specific requirements.
  See http://www.bacula.org/5.0.x-manuals/en/main/main/index.html

Rory

On 27/07/11, lokinc (bacula-fo...@backupcentral.com) wrote:
> Hi
> 
> I've got a Dell Powervault 124T connected to a new server using SAS.
> 
> On the server I'm running CentOS 6 with Bacula 5.0.0 installed via YUM, the 
> current setup can backup to File and restore. 
> 
> Now what I need to know, what is the first step to get the server to backup 
> to tape. How to define the Tape changer and drive and where to define these 
> things?
> 
> Thanks in advance
> 
> +----------------------------------------------------------------------
> |This was sent by lok...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +----------------------------------------------------------------------
> 
> 
> 
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Rory Campbell-Lange
r...@campbell-lange.net
 
Campbell-Lange Workshop
www.campbell-lange.net
0207 6311 555
3 Tottenham Street London W1T 2AF
Registered in England No. 04551928

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to