Why is the volumes for "statler" ending up in /mnt/silo-4/bacula-backups/
instead of /mnt/silo-4/bacula-backups/statler/ ?

It works for the other hosts, but not statler? And I can't find any
difference in the setup of the hosts?

(yes, I know I should set passwords for the components, but this is a lab
environment, and all interhost communication is over OpenVPN)

Enclosing config files (sorry for the mess, new bacula user tearing his hair
here).

cookiemonster:/etc/bacula# !grep
grep -v ^# /etc/bacula/bacula-dir.conf

Director {                            # define myself
  Name = cookiemonster-dir
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/etc/bacula/scripts/query.sql"
  WorkingDirectory = "/var/lib/bacula"
  PidDirectory = "/var/run/bacula"
  Maximum Concurrent Jobs = 1
  Password = ""         # Console password
  Messages = Daemon
}

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = cookiemonster-fd
  FileSet = "Full Set"
  Schedule = "WeeklySchedule"
  Storage = File
  Messages = Standard
  Pool = Default
  Priority = 10
}


Job {
  Name = "cookiemonster-fd"
  JobDefs = "DefaultJob"
  FileSet = "Core Set"
  Write Bootstrap = "/var/lib/bacula/cookiemonster.bsr"
  Pool = cookiemonster-pool
  Storage = File-cookiemonster
}

Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup -u<user>
-p<password>"
  # This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
  Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
  Priority = 11                   # run after main backup
}

Job {
  Name = "RestoreFiles"
  Type = Restore
  Client=cookiemonster-fd
  FileSet="Full Set"
  Storage = File
  Pool = Default
  Messages = Standard
  Where = /tmp/bacula-restores
}



FileSet {
  Name = "Core Set"
  Include {
    Options {
      signature = MD5
      compression=GZIP
    }
    File = /etc
    File = /home
    File = /root
    File = /var
    File = /usr/local
  }

  Exclude {
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
  }
}



FileSet {
  Name = "Full Set"
  Include {
    Options {
      signature = MD5
    }
    File = /
  }

  Exclude {
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
  }
}

FileSet {
  Name = Include_example
  Include {
    Options {
       wilddir = /proc
       wilddir = /tmp
       wildfile = \.journal
       wildfile = \.autofsck
       exclude = yes
    }
    File = /
    File = /boot
    File = /home
    File = /rescue
    File = /usr
  }
}

Schedule {
  Name = "WeeklyCycle"
  Run = Full 1st sun at 1:05
  Run = Differential 2nd-5th sun at 1:05
  Run = Incremental mon-sat at 1:05
}

Schedule {
  Name = "WeeklySchedule"
  Run = Level=Full fri at 1:30
  Run = Level=Incremental sat-thu at 1:30
}


Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full sun-sat at 1:10
}

FileSet {
  Name = "Catalog"
  Include {
    Options {
      signature = MD5
    }
    File = /var/lib/bacula/bacula.sql
  }
}

Client {
  Name = cookiemonster-fd
  Address = cookiemonster
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""          # password for FileDaemon
  File Retention = 30 days            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

Job {
  Name = "scooter"
  Type = Backup
  Client = scooter-fd
  FileSet = "Full Set"
  Schedule = "WeeklySchedule"
  Storage = File-scooter
  Messages = Standard
  Pool = scooter-pool
  Write Bootstrap = "/var/lib/bacula/scooter.bsr"
}
Client {
  Name = scooter-fd
  Address = 10.4.1.1
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""                  # password for
  File Retention = 30d                # 30 days
  Job Retention = 180d                # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}


Job {
  Name = "statler"
  Type = Backup
  Client = statler-fd
  FileSet = "Full Set"
  Schedule = "WeeklySchedule"
  Storage = File
  Messages = Standard
  Pool = statler-pool
  Write Bootstrap = "/var/lib/bacula/statler.bsr"
}
Client {
  Name = statler-fd
  Address = 10.4.0.1
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""                  # password for
  File Retention = 30d                # 30 days
  Job Retention = 180d                # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}


Storage {
  Name = File
  Address = cookiemonster                # N.B. Use a fully qualified name
here
  SDPort = 9103
  Password = ""
  Device = Silo-4
  Media Type = File
}

Storage {
  Name = File-cookiemonster
  Address = cookiemonster
  Password = ""
  Device = cookiemonster-device
  Media Type = File
}

Storage {
  Name = File-scooter
  Address = cookiemonster
  Password = ""
  Device = scooter-device
  Media Type = File
}

Storage {
  Name = File-statler
  Address = cookiemonster
  Password = ""
  Device = statler-device
  Media Type = File
}





Catalog {
  Name = MyCatalog
  dbname = *****; user = *****; password = "*****"
}

Messages {
  Name = Standard
  mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
\"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\"
-s \"Bacula: Intervention needed for %j\" %r"
  mail = [EMAIL PROTECTED] = all, !skipped
  operator = [EMAIL PROTECTED] = mount
  console = all, !skipped, !saved
  append = "/var/lib/bacula/log" = all, !skipped
}


Messages {
  Name = Daemon
  mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
\"Bacula daemon message\" %r"
  mail = [EMAIL PROTECTED] = all, !skipped
  console = all, !skipped, !saved
  append = "/var/lib/bacula/log" = all, !skipped
}




Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 60 days         # one year
  Accept Any Volume = yes             # write on any volume in the pool
  LabelFormat = "MuppVol"
  VolumeUseDuration = 23h
}

Pool {
  Name = scooter-pool
  Use Volume Once = yes
  Pool Type = Backup
  LabelFormat = "scooter-"
  AutoPrune = yes
  VolumeRetention = 6d
  Maximum Volumes = 8
  Recycle = yes
}

Pool {
  Name = statler-pool
  Use Volume Once = yes
  Pool Type = Backup
  LabelFormat = "statler-"
  AutoPrune = yes
  VolumeRetention = 6d
  Maximum Volumes = 8
  Recycle = yes
}

Pool {
  Name = cookiemonster-pool
  Use Volume Once = yes
  Pool Type = Backup
  LabelFormat = "cookiemonster-"
  AutoPrune = yes
  VolumeRetention = 6d
  Maximum Volumes = 8
  Recycle = yes
}


Pool {
  Name = Full_Backups_Mupp
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 30 days         # one month
  Accept Any Volume = yes             # write on any volume in the pool
}

Pool {
  Name = Incremental_Backups_Mupp
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 7 days         # one month
  Accept Any Volume = yes             # write on any volume in the pool
}


Console {
  Name = cookiemonster-mon
  Password = ""
  CommandACL = status, .status
}
cookiemonster:/etc/bacula#

cookiemonster:/etc/bacula# grep -v ^# /etc/bacula/bacula-sd.conf

Storage {                             # definition of myself
  Name = cookiemonster-sd
  SDPort = 9103                  # Director's port
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/var/run/bacula"
  Maximum Concurrent Jobs = 20
}

Director {
  Name = cookiemonster-dir
  Password = ""
}

Director {
  Name = cookiemonster-mon
  Password = ""
  Monitor = yes
}


Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /tmp
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}


Device {
  Name = Silo-4
  Media Type = File
  Archive Device = /mnt/silo-4/bacula-backups
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = scooter-device
  Media Type = File
  Archive Device = /mnt/silo-4/bacula-backups/scooter
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = statler-device
  Media Type = File
  Archive Device = /mnt/silo-4/bacula-backups/statler
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = cookiemonster-device
  Media Type = File
  Archive Device = /mnt/silo-4/bacula-backups/cookiemonster
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
}











Messages {
  Name = Standard
  director = cookiemonster-dir = all
}



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to