Hello,
    I'm using bacula 1.38.11 on a FreeBSD 6 box and redoing my 
configuration. I've been wanting to get individual machines to back up to 
there own subdirectory of my disk backup area, so i'm implementing that. I'm 
following the automatic disk management chapter in the bacula manual. My 
question for this is in the below output i have the Full Pool and the 
Incremental Pool, but testing the config file i got a syntax error if the 
pool=default line was not included, actually it just wanted the pool 
statement. Why would i need this default if i had set up the full and 
incremental pools?
    My second question is for tls. I've got a remote box that i want to back 
up, but i need to get tls going. I've set up the lines as indicated in the 
bacula manual, now i need to come up with a ca and keys. Can anyone 
recommend a good tutorial on making a ca and keys for bacula's use? This 
will be for local clients as well, i want to encrypt all backup 
communications.
Thanks.
Dave.

Here's my config for the pool question, any comments on optimization welcome

Job {
  Name = "backup_guardian"
  Type = Backup
  Schedule = "WeeklyCycle"
  Messages = Standard
  Client = guardian-fd
  FileSet = "fbsdset"
  Pool = Default
Full Backup Pool = Guardian_Full
Incremental Backup Pool = Guardian_Incremental
Storage = GuardianStorage
  Write Bootstrap = "/var/db/bacula/guardian.bsr"
  Priority = 10
}

FileSet {
  Name = "fbsdset"
  Include {
options {
Compression=GZIP9
Signature=SHA1
aclsupport=yes
}
    File = /etc
    File = /usr/local/etc
    File = /usr/local/www
    File = /var/db/pkg
  }
  }

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

Client {
  Name = guardian-fd
  Address = 192.168.1.42
  FDPort = 9102
  Catalog = MyCatalog
  Password = "xxx"           # password for FileDaemon
  File Retention = 62 days
  Job Retention = 3 months
  AutoPrune = yes                       # Prune expired Jobs/Files
}

Storage {
  Name = GuardianStorage
  Address = 192.168.1.1                # N.B. Use a fully qualified name 
here
  SDPort = 9103
  Password = "xxx"
  Device = GuardianStorage
  Media Type = File
#TLS Require = yes
#TLS CA Certificate File = /usr/local/etc/ssl/ca.pem
# This is a client certificate, used by the director to
# connect to the storage daemon
#TLS Certificate = /usr/local/etc/ssl/[EMAIL PROTECTED]/cert.pem
#TLS Key = /usr/local/etc/ssl/[EMAIL PROTECTED]/key.pem
}

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

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle 
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days
  Accept Any Volume = yes             # write on any volume in the pool
  LabelFormat = "TAPE-"
}

pool {
 Name = Guardian_Full
 Pool Type = Backup
Maximum Volume Jobs = 1             # New file for each backup
 Recycle = yes # Bacula can automatically recycle volumes
 AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 2 months
Maximum Volumes = 2                 # Keep 2 fulls
  Accept Any Volume = yes             # write on any volume in the pool
    LabelFormat = guardian-full
}

pool {
 Name = Guardian_Incremental
 Pool Type = Backup
Maximum Volume Jobs = 1             # New file for each backup
 Recycle = yes # Bacula can automatically recycle volumes
 AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 2 months
Maximum Volumes = 10                 # Keep 10 incrementals
  Accept Any Volume = yes             # write on any volume in the pool
    LabelFormat = guardian-incremental
}


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to