Bacula-users

Re: [Bacula-users] How do I set up multiple tape devices

2009-03-01 19:36:36
Subject: Re: [Bacula-users] How do I set up multiple tape devices
From: John Drescher <drescherjm AT gmail DOT com>
To: Pat Fricke <sales AT prfhome DOT com>, "bacula-users AT lists.sourceforge DOT net" <Bacula-users AT lists.sourceforge DOT net>
Date: Sun, 1 Mar 2009 19:29:51 -0500
On Sun, Mar 1, 2009 at 7:28 PM, John Drescher <drescherjm AT gmail DOT com> 
wrote:
> On Sun, Mar 1, 2009 at 2:18 PM, Pat Fricke <sales AT prfhome DOT com> wrote:
>> OK, call me stupid but I can't make it work and I can't seem to find the
>> right "How To".
>> Do I need to use autochanger?
>>
>> I have two tape drives, one DLT (which has been running for a long time) and
>> 1 LTO (new drive that I am trying to add).
>> Trying to run job Client1.
>> Getting  "Fatal Error: Device "Quantum-LTO" with MediaType "DLT" not found
>> in SD Device resources.
>>
>> Here are my configs:
>>
>> # Default Bacula Director Configuration file
>> #  For Bacula release 1.38.3 (04 January 2006) -- redhat (Stentz)
>>
>> Director {                            # define myself
>>  Name = Computer-dir
>>  DirAddress = 127.0.0.1
>>  DIRport = 9101                # where we listen for UA connections
>>  QueryFile = "/etc/bacula/bin/query.sql"
>>  WorkingDirectory = "/etc/bacula/working"
>>  PidDirectory = "/etc/bacula/pid"
>>  Maximum Concurrent Jobs = 1
>>  Password = "...................................."         # Console
>> password
>>  Messages = Daemon
>> }
>>
>> JobDefs {
>>  Name = "DefaultJob"
>>  Type = Backup
>>  Level = Full
>>  Client = Computer -fd
>>  FileSet = "Full Set"
>>  Schedule = "WeeklyCycle"
>>  Storage = Computer -sd
>>  Messages = Standard
>>  Pool = LTO-Pool
>>  Priority = 10
>> }
>>
>>
>> Job {
>>  Name = "Client1"
>>  JobDefs = "DefaultJob"
>>  Write Bootstrap = "/etc/bacula/working/Client1.bsr"
>> }
>>
>> Job {
>>  Name = "RestoreFiles"
>>  Type = Restore
>>  Client= Computer -fd
>>  FileSet="Full Set"
>>  Storage = Computer -sd
>>  Pool = Default
>>  Messages = Standard
>>  Where = /tmp/bacula-restores
>> }
>>
>>
>> # List of files to be backed up
>> FileSet {
>>  Name = "Full Set"
>>  Include {
>>    Options {
>>      signature = MD5
>>    }
>> file = /etc/bacula
>>  }
>>
>>  Exclude {
>>    File = /proc
>>    File = /tmp
>>    File = /.journal
>>    File = /.fsck
>>    File = /lost+found
>>    File = /.Trash-root
>>  }
>> }
>>
>>  Name = "WeeklyCycle"
>>  Run = Full mon-fri at 22:11
>> }
>>
>> Client {
>>  Name = Computer -fd
>>  Address = 127.0.0.1
>>  FDPort = 9102
>>  Catalog = MyCatalog
>>  Password = "..........................................."          #
>> password for FileDaemon
>>  File Retention = 5 days            # 30 days
>>  Job Retention = 5 days            # six months
>>  AutoPrune = yes                     # Prune expired Jobs/Files
>> }
>>
>> # Definition of DLT tape storage device
>> Storage {
>>  Name = Computer -sd
>>  Address = 127.0.0.1
>>  SDPort = 9103
>>  Password = "......................................................."
>>  Device = "Quantum-DLT"
>>  Media Type = DLT
>> }
>>
>> # Definition of LTO tape storage device
>> Storage {
>>  Name = Computer -sd
>>  Address = 127.0.0.1
>>  SDPort = 9103
>>  Password = "........................................................"
>>  Device = Quantum-LTO
>>  Media Type = LTO
>> }
>>
>
> These two storages can not have the same name.

Ignore this comment. I am wrong on this one.

John

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users