I have got Bacula 13.01 installed and am able to run backups. I have HP 
autoloader configured with the volumes labeled with the tape barcodes. I have 
created a new backup schedule and I need to perform full backups so I can take 
the tapes offsite for disaster recovery. For some reason when I try to run 
backups it will not recognize any of the mounted tapes and wants to create a 
new volume.
I am trying to run the schedule marked weekly full on jobs quickbooksdata and 
spice01

Here are the sanitized config files

Director {
  Name = "xxxxxxxx-dir"
  Password = ""
}
Director {
  Name = "xxxxxxxx-mon"
  Password = ""
  Monitor = yes
}
Storage {
  Name = "xxxxxxxx-sd"
  WorkingDirectory = "/opt/bacula/working"
  PidDirectory = "/opt/bacula/working"
  PluginDirectory = "/opt/bacula/plugins"
  MaximumConcurrentJobs = 20
}
Device {
  Name = "HP_LTO"
  Description = "HP_LTO"
  MediaType = "LTO-5"
  DeviceType = "Tape"
  ArchiveDevice = "/dev/nst0"
  AutomaticMount = yes
  AlwaysOpen = yes
  Autochanger = yes
  ChangerDevice = "/dev/sg1"
  ControlDevice = "/dev/nst0"
  ChangerCommand = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
  AlertCommand = "/opt/bacula/scripts/tapealert %l"
  MaximumNetworkBufferSize = 32768
  MaximumVolumeSize = 1000000000000
  MaximumFileSize = 2000000000
  VolumeCapacity = 1000000000000
  MaximumConcurrentJobs = 1
  SpoolDirectory = "/tmp"
  MaximumSpoolSize = 5000000000
  MaximumJobSpoolSize = 5000000000
  LabelType = "Bacula"
}
Device {
  Name = "Local-device"
  MediaType = "File"
  ArchiveDevice = "/backup"
  RemovableMedia = no
  RandomAccess = yes
  AutomaticMount = yes
  LabelMedia = yes
  AlwaysOpen = no
  MaximumConcurrentJobs = 5
}
Device {
  Name = "USB"
  MediaType = "File"
  ArchiveDevice = "/media/usb"
  RemovableMedia = yes
  RandomAccess = yes
  AutomaticMount = yes
  LabelMedia = yes
  AlwaysOpen = yes
  MaximumConcurrentJobs = 5
  RequiresMount = yes
  DeviceType = "File"
  MountPoint = "/media/usb"
  MountCommand = "/usr/bin/mount -t vfat /dev/sdb1 /media/usb -o uid=1000"
  UnmountCommand = "/usr/bin/umount /media/usb"
}
Messages {
  Name = "Standard"
  Director = xxxxxxxx-dir = All
}
Autochanger {
  Name = "HP_SureStore"
  Device = "HP_LTO"
  ChangerDevice = "/dev/sg1"
  ChangerCommand = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
}

Director {
  Name = "xxxxxxxx-dir"
  Messages = "Daemon"
  QueryFile = "/opt/bacula/scripts/query.sql"
  WorkingDirectory = "/opt/bacula/working"
  PidDirectory = "/opt/bacula/working"
  MaximumConcurrentJobs = 20
  Password = ""
}
Client {
  Name = "xxxxxxxx"
  Address = "xxx.xxx.x.xxx"
  Password = ""
  Catalog = "MyCatalog"
}
Client {
  Name = "xxxxxxxx-fd"
  Address = "xxxxxxxxx"
  FdPort = 9102
  Password = ""
  Catalog = "MyCatalog"
  FileRetention = 5184000
  JobRetention = 15552000
  AutoPrune = yes
}
Client {
  Name = "xxxxxxxx"
  Address = "xx.xx.xxx.xx"
  Password = ""
  Catalog = "MyCatalog"
}
Job {
  Name = "BackupCatalog"
  Type = "Backup"
  Level = "Full"
  Messages = "Standard"
  Storage = "xxxxxxxx-sd"
  Pool = "Weekly"
  Client = "xxxxxxxx-fd"
  Fileset = "Catalog"
  Schedule = "Weekly"
  WriteBootstrap = "/opt/bacula/working/%n.bsr"
  Runscript {
    RunsOnClient = no
    RunsWhen = "Before"
    Command = "/opt/bacula/scripts/make_catalog_backup.pl MyCatalog"
  }
  Runscript {
    RunsOnClient = no
    RunsWhen = "After"
    Command = "/opt/bacula/scripts/delete_catalog_backup"
  }
  Priority = 11
  FullBackupPool = "Weekly"
}
Job {
  Name = "LocalBackup"
  Type = "Backup"
  Level = "Full"
  Messages = "Standard"
  Storage = "xxxxxxxx-sd"
  Pool = "Weekly"
  FullBackupPool = "Weekly"
  Client = "xxxxxxxx-fd"
  Fileset = "Local-file"
  Schedule = "FullDaily"
  WriteBootstrap = "/var/lib/bacula/LocalhostBackup.bsr"
  Enabled = yes
  SpoolData = yes
  SpoolSize = 5000000000
}
Job {
  Name = "QuickbooksData"
  Type = "Backup"
  Level = "Full"
  Messages = "Standard"
  Storage = "xxxxxxxx-sd"
  Pool = "Weekly"
  FullBackupPool = "Weekly"
  IncrementalBackupPool = "Weekly"
  DifferentialBackupPool = "Weekly"
  Client = "xxxxxxxx"
  Fileset = "Quickbooks"
  Schedule = "WeeklyFull"
  Where = "/"
  SpoolData = yes
  SpoolSize = 5000000000
}
Job {
  Name = "RestoreFiles"
  Type = "Restore"
  Messages = "Standard"
  Storage = "File1"
  Pool = "File"
  Client = "xxxxxxxx-fd"
  Fileset = "Full Set"
  Where = "/opt/bacula/archive/bacula-restores"
}
Job {
  Name = "xxxxxxxx"
  Type = "Backup"
  Level = "Full"
  Messages = "Standard"
  Storage = "xxxxxxxx-sd"
  Pool = "Weekly"
  FullBackupPool = "Weekly"
  IncrementalBackupPool = "Weekly"
  DifferentialBackupPool = "Weekly"
  Client = "xxxxxxxx"
  Fileset = "Spiceworks_Filestore"
  Schedule = "WeeklyFull"
  SpoolData = yes
  SpoolSize = 10000000000
}
Storage {
  Name = "File1"
  SdPort = 9103
  Address = "xxxxxxxx"
  Password = ""
  Device = "FileChgr1"
  MediaType = "File1"
  Autochanger = "File1"
  MaximumConcurrentJobs = 10
}
Storage {
  Name = "File2"
  SdPort = 9103
  Address = "xxxxxxxx"
  Password = ""
  Device = "FileChgr2"
  MediaType = "File2"
  Autochanger = "File2"
  MaximumConcurrentJobs = 10
}
Storage {
  Name = "USB"
  Address = "xxxxxxxx"
  Password = ""
  Device = "USB"
  MediaType = "File"
  AllowCompression = no
}
Storage {
  Name = "xxxxxxxx-sd"
  Description = "HP Sure Store"
  Address = "xxx.xxx.x.xx"
  Password = ""
  Device = "HP_SureStore"
  MediaType = "LTO-5"
  Autochanger = "xxxxxxxx-sd"
}
Catalog {
  Name = "MyCatalog"
  Password = ""
  User = ""
  DbName = ""
}
Schedule {
  Name = "FullDaily"
  Run = SpoolData=yes at 6:00
}
Schedule {
  Name = "Weekly"
  Run = sun,wed at 2:00
}
Schedule {
  Name = "WeeklyCycle"
  Run = Level="Full" 1st sun at 23:05
  Run = Level="Differential" 2nd,3rd,4th,5th sun at 23:05
  Run = Level="Incremental" mon,tue,wed,thu,fri,sat at 23:05
}
Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Level="Full" at 23:10
}
Schedule {
  Name = "WeeklyFull"
  Run = SpoolData=yes sun at 2:00
}
Fileset {
  Name = "Catalog"
  Include {
    File = "/opt/bacula/working/bacula.sql"
    Options {
      Signature = "Md5"
    }
  }
}
Fileset {
  Name = "Full Set"
  Include {
    File = "/opt/bacula/bin"
    Options {
      Signature = "Md5"
    }
  }
  Exclude {
    File = "/opt/bacula/working"
    File = "/opt/bacula/archive"
    File = "/proc"
    File = "/tmp"
    File = "/sys"
    File = "/.journal"
    File = "/.fsck"
  }
}
Fileset {
  Name = "Local-file"
  Include {
    File = "/etc"
    File = "/opt/bacula/etc"
    Options {
      Signature = "Md5"
    }
  }
}
Fileset {
  Name = "Quickbooks"
  Include {
    File = "C:\\Quickbooks_Data"
    Options {
      Signature = "Md5"
    }
  }
}
Fileset {
  Name = "Spiceworks_Filestore"
  Include {
    File = "C:\\FileStore"
    Options {
      Signature = "Md5"
    }
  }
}
Fileset {
  Name = "Temp_Folder"
  Include {
    File = "C:/Temp"
    Options {
      Signature = "Md5"
    }
  }
}
Pool {
  Name = "Default"
  PoolType = "Backup"
  MaximumVolumes = 100
  MaximumVolumeBytes = 53687091200
  VolumeRetention = 31536000
  AutoPrune = yes
  Recycle = yes
}
Pool {
  Name = "File"
  PoolType = "Backup"
  LabelFormat = "Vol-"
  MaximumVolumes = 100
  MaximumVolumeBytes = 53687091200
  VolumeRetention = 31536000
  AutoPrune = yes
  Recycle = yes
}
Pool {
  Name = "Scratch"
  PoolType = "Backup"
}
Pool {
  Name = "USB"
  PoolType = "Backup"
  LabelFormat = "USB"
  LabelType = "Bacula"
  VolumeRetention = 86400
  Storage = "USB"
  Catalog = "MyCatalog"
  FileRetention = 2592000
  JobRetention = 2592000
}
Pool {
  Name = "Weekly"
  Description = "Weekly Data"
  PoolType = "Backup"
  LabelType = "Bacula"
  CleaningPrefix = "CLN"
  VolumeRetention = 604800
  Storage = "xxxxxxxx-sd"
  Catalog = "MyCatalog"
  FileRetention = 2592000
  JobRetention = 2592000
}
Messages {
  Name = "Daemon"
  MailCommand = "/opt/bacula/bin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s 
\"Bacula daemon message\" %r"
  Mail = root = All, !Skipped
  Append = /opt/bacula/log/bacula.log = All, !Skipped
  Console = All, !Skipped
}
Messages {
  Name = "Standard"
  MailCommand = "/opt/bacula/bin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s 
\"Bacula: %t %e of %c %l\" %r"
  OperatorCommand = "/opt/bacula/bin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s 
\"Bacula: Intervention needed for %j\" %r"
  Mail = root = All, !Skipped
  Append = /opt/bacula/log/bacula.log = All, !Skipped
  Console = All, !Skipped
  Operator = root = Mount
  Catalog = All
}
Console {
  Name = "xxxxxxxx-mon"
  Password = ""
  CommandAcl = "status"
  CommandAcl = ".status"
}
JobDefs {
  Name = "DefaultJob"
  Type = "Backup"
  Level = "Full"
  Messages = "Standard"
  Storage = "xxxxxxxx-sd"
  Pool = "Weekly"
  FullBackupPool = "Weekly"
  IncrementalBackupPool = "Weekly"
  DifferentialBackupPool = "Weekly"
  Client = "harorbu01-fd"
  Fileset = "Full Set"
  Schedule = "WeeklyCycle"
  WriteBootstrap = "/opt/bacula/working/%c.bsr"
  SpoolAttributes = yes
  Priority = 10
}




Don Hammer
Systems Admin for Sherman Bros Trucking
d...@sbht.com
Direct 541-998-7218
Main Office: 541-995-7751

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to