I have bacula configured with 3 storage devices so that I can have 3 jobs running at the same time. I started using VirtualFull backups instead of normal full backups. The first full runs fine, the incremental runs fine, the first virtual full runs fine, the second incremental runs fine, then the second virtual full fails. It seems to be wanting me to mount the full it created virtually onto the original pool for reading (makes sense), but the pool it wrote to was the Next Pool.

Any ideas?

10-Aug 16:03 xen1-sd JobId 281: Please mount Volume "web0101-full-0023" for: Job: Backupweb0101.2011-08-10_15.50.48_09 Storage: "FileStorage3" (/mnt/backup/backups/drive3/) Pool: web0101-pool Media type: File

Dir:

    Client {
  Name = web0101-fd
  Address = localhost
  FDPort = 9112
  Catalog = xen1Catalog
  Password = "EjUul9lsy8jjg7em/6bH/iZM+k3MRQUoeMElUo5Wm0PC" 
  Job Retention = 2 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}


JobDefs {
  Name = "web0101-job"
  Type = Backup
  Level = Incremental
  Client = web0101-fd
  FileSet = "web0101 Full Set"
  Schedule = "MonthlyCycle"
  Storage = xen1-disk3
  Messages = Standard
  Pool = web0101-pool 
  Priority = 10
  Write Bootstrap = "/mnt/backup/bacula-resources/web0101-bootstraps/%c.bsr"
  Rerun Failed Levels = yes
}

Job {
  Name = "Backupweb0101"
  JobDefs = "web0101-job"
  Run Before Job = "/etc/bacula/sshbacula web0101.thewebshop.ca"
}

FileSet {
  Name = "web0101 Full Set"
  Include {
    Options {
      signature = MD5
      compression = GZIP
      onefs=yes
      noatime=yes
    }
    File = /
    File = /app
    #File = /export
  }

  Exclude {
   File = /var/log
   File = /var/www/log
   File = /proc
   File = /tmp
   File = /.journal
   File = /.fsck
   File = /var/www
   File = /root/www
  }

#  Exclude {
   # File = /var/lib/bacula
   # File = /nonexistant/path/to/file/archive/dir
   # File = /proc
   # File = /tmp
   # File = /.journal
   # File = /.fsck
  #}
}


Pool {
  Name = web0101-pool
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 2 months         # one year
  Maximum Volume Bytes = 10G          # Limit Volume size to something reasonable
  LabelFormat = "web0101-"
  Maximum Volumes = 100               # Limit number of Volumes in Pool
  Next Pool = web0101-full
}

Pool {
  Name = web0101-full
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 2 months         # one year
  Maximum Volume Bytes = 10G          # Limit Volume size to something reasonable
  LabelFormat = "web0101-full-"
  Maximum Volumes = 100               # Limit number of Volumes in Pool
  Storage = xen1-disk2
}

SD:

Storage {                             # definition of myself
  Name = xen1-sd
  WorkingDirectory = "/mnt/backup/bacula-resources/xen1-sd/"
  Pid Directory = "/var/run/bacula"
  Maximum Concurrent Jobs = 20
  Client Connect Wait = 120
  SDAddresses = {
        ip = { addr = 127.0.0.1; port = 9103}
        ip = { addr = 127.0.0.1; port = 9109}
        ip = { addr = 192.168.0.30; port = 9103;}
  }
}

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

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

Device {
  Name = FileStorage3
  Media Type = File
  Archive Device = /mnt/backup/backups/drive3/
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = yes;
}
link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.