Hi, all.  I'm in the middle of trying to get a largely inherited bacula
setup (v5.2.13), to do virtual fulls correctly.  Can someone point me in
the right direction?  I'm attaching a file with some relevant excerpts
from bacula-sd.conf and bacula-dir.conf.

Now for the longer explanation:

We have a working bacula setup based on v5.2.13, where we're doing
monthly full, and daily incremental backups, and the storage is some
SAS-attached disk (HW RAID6, LVM, and XFS, but I doubt that matters).
We'd like to move to periodic (monthly?) virtual fulls, instead of
traditional fulls.  But with the setup attached, any VirtualFull jobs
keep getting stuck waiting for storage.

The documentation makes it sound like I need to create a second (or
more) Device entries in my bacula-sd.conf, but in the case of file-based
storage, doesn't that mean I'll have to keep the virtual tape files in a
separate directory?  I'd really rather keep them all together, and not
define any line between the space/files available for fulls vs the
space/files available for incrementals.  I will if that's necessary, but
I'd rather not.

Any pointers?  What's the right approach to take here?  Am I missing
something very obvious?


Thanks,

-- 
Lloyd Brown
Systems Administrator
Fulton Supercomputing Lab
Brigham Young University
http://marylou.byu.edu
bacula-sd.conf:



Storage {
  Name = backup-sd
  SDPort = 9103                  # Director's port      
  WorkingDirectory = "/var/spool/bacula"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
  TLS Enable = yes
  TLS Require = yes
  TLS Verify Peer = yes
  TLS CA Certificate File = /etc/bacula/crt/ca.crt
  TLS Certificate = /etc/bacula/crt/backup.crt
  TLS Key = /etc/bacula/crt/backup.key
}


Director {
  Name = backup-dir
  Password = "OBSCURED"
  TLS Enable = yes
  TLS Require = yes
  TLS Verify Peer = yes
  TLS Allowed CN = "backup"
  TLS CA Certificate File = /etc/bacula/crt/ca.crt
  TLS Certificate = /etc/bacula/crt/backup.crt
  TLS Key = /etc/bacula/crt/backup.key
}


Device {
  Name = backup-disk
  Media Type = File
  Archive Device = /backup/bacula_tapes/
  Device Type = File
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
}



--------------------------------

bacula-dir.conf:

Pool {
        Name = Default
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Storage = backup-sd
        Volume Retention = 6 months
        Label Format = "FSL_Backup_Data_"
        Maximum Volumes = 33500            #possibly up to 33529?
        Maximum Volume Bytes = 2147483648  # 2GB
        NextPool = Default
}

# Definition of file storage device
Storage {
        Name = backup-sd
        # Do not use "localhost" here    
        Address = backup
        SDPort = 9103
        Password = "OBSCURED"
        Device = backup-disk
        Media Type = File
        Maximum Concurrent Jobs = 10
        TLS Enable = yes
        TLS Require = yes
        TLS CA Certificate File = /etc/bacula/crt/ca.crt
        TLS Certificate = /etc/bacula/crt/backup.crt
        TLS Key = /etc/bacula/crt/backup.key
}

Job {
        Name = lloydDesktopJob
        JobDefs = "General Server Defs"
        Client = umatilla-fd
        FileSet = "umatillaset"
        Schedule = "umatillasched"
}

Client {
        Name = umatilla-fd
        Address = umatilla
        FDPort = 9102
        Catalog = MyCatalog
        Password = "OBSCURED"
        File Retention = 6 months
        Job Retention = 6 months
        AutoPrune = yes
        TLS Enable = yes
        TLS Require = yes
        TLS CA Certificate File = /etc/bacula/crt/ca.crt
        TLS Certificate = /etc/bacula/crt/backup.crt
        TLS Key = /etc/bacula/crt/backup.key
}

FileSet {
        Name = "umatillaset"
        Include {
                Options {
                        signature = SHA1
                        compression = gzip
                }
                File = /etc
                File = /home
                File = /mnt/worksoftware
        }
        Exclude {
                File = /home/lbrown/Music
                File = /home/lbrown/Pictures
        }
}

Schedule {
        Name = "umatillasched"
        Run = Level=Full on 10 at 17:00
        Run = Level=Incremental on 1-9,11-31 at 17:00
}
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to