On Sun, Mar 1, 2009 at 2:18 PM, Pat Fricke <sa...@prfhome.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. They also can not use 127.0.0.1 unless you only have 1 pc in your network that you backup or you are using a complex setup with ssh tunneling. Use the external ip address instead. 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users