-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don't think you're going to get much out of this, but here you go.

XXX is obfuscation.

 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - User Support Spec. III
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630


Dave wrote:
> Hi,
>    Thanks for your reply and sorry it's taken me this long to write
> back. Things have come up, but i'd still like to get this working. My
> issue at least i think it is is defining the proper pools. I'm
> definitely not getting that. A couple test machines don't back up right,
> or the data doesn't save correctly. I like your idea of includes and
> i've tried to modularize my configs quite a bit. I realize you said your
> configs are quite long, but yours are working, whereas mine is not, any
> chance i could see i think i'd only need your director configs?
> Thanks a lot.
> Dave.
> 
> ----- Original Message ----- From: "Ryan Novosielski" <[EMAIL PROTECTED]>
> To: "Dave" <[EMAIL PROTECTED]>
> Sent: Friday, April 21, 2006 9:23 AM
> Subject: Re: [Bacula-users] bacula automated disk backups for multiple
> machines
> 
> 
>> I'm running Solaris. My configs are rather long, though, so I'd prefer
>> to start with what trouble you're actually having. If it doesn't work,
>> what DOES happen?
>>
>> I'm running Solaris 9 for a director machine, with Bacula 1.38.6. I
>> will probably upgrade to 1.38.8 shortly.
>>
>>  ---- _  _ _  _ ___  _  _  _
>>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - User Support Spec. III
>>  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
>>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
>>
>> On Fri, 21 Apr 2006, Dave wrote:
>>
>>> Hi,
>>>   Thanks for your reply. I've got the one box working fine with this
>>> setup, but i haven't got it working for the machinename-full part, i
>>> was wondering if i could see your config? I'd like to see what you do
>>> differently. I was thinking for moving the backup volumes, if i had
>>> to i could manually move them.
>>>   Which OS do you use?
>>> Thanks.
>>> Dave.
>>>
>>> ----- Original Message ----- From: "Ryan Novosielski"
>>> <[EMAIL PROTECTED]>
>>> To: "Dave" <[EMAIL PROTECTED]>
>>> Cc: <bacula-users@lists.sourceforge.net>
>>> Sent: Friday, April 21, 2006 1:05 AM
>>> Subject: Re: [Bacula-users] bacula automated disk backups for
>>> multiple machines
>>>
>>>
>>>> Dave wrote:
>>>>> Hello,
>>>>>    Has anyone used the Automated bacula disk backup section of the
>>>>> bacula documentation for multiple computers? I've got a box that i'm
>>>>> using that particular setup on, but now i want to expand it to include
>>>>> three more local and one offsite machines. I'd like for each machine
>>>>> to back up to it's own pools, either machinename-full-date,
>>>>> machinename-diff-date, or machinename-inc-date depending on if that
>>>>> box is in the process of a full, differential, or incremental backup.
>>>>> If anyone has this i'd appreciate hearing about it. I'm using bacula
>>>>> 1.38 and i might have need to move these bacula backups on to dvd or
>>>>> tape media from disk.
>>>>> Thanks.
>>>>> Dave.
>>>> Sure have, but there's really nothing I can tell you other than what
>>>> the
>>>> manual says. It really tells you everything that you need to know. Set
>>>> it up for one computer, and then do another one the same way. Helps to
>>>> include the files, using @/path/to/file rather than having them all in
>>>> the same file (for readability). As far as moving to tape, that doesn't
>>>> exist yet ('cept you could put the volume files on a tape if you
>>>> wanted).
>>>>
>>>> -- 
>>>> ---- _  _ _  _ ___  _  _  _
>>>> |Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
>>>> |$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922
>>>> (2-0922)
>>>> \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg -
>>>> C630
>>>>
>>>>
>>>
>>>
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEaK+Jmb+gadEcsb4RAs7UAJ9htLGRsgjrRdNklrlIerhLb0H0OgCfSzPD
UeeTyghwkEoL/dTLg9ovcLQ=
=nt20
-----END PGP SIGNATURE-----
Director {                            # define myself
  Name = helios-dir
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/usr/local/bacula/etc/query.sql"
  WorkingDirectory = "/usr/local/bacula/var/bacula/working"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 5
  Password = "XXX"         # Console password
  Messages = Daemon
}

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

#
# Define the main nightly save backup job
#   By default, this job will back up to disk in /tmp
#Job {
#  Name = "Client1"
#  JobDefs = "DefaultJob"
#  Write Bootstrap = "/usr/local/bacula/var/bacula/working/Client1.bsr"
#}

# Backup the catalog database (after the nightly save)
Job {
  Name = "Catalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet = "Catalog"
  Schedule = "LateNightly"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/usr/local/bacula/etc/make_catalog_backup bacula bacula 
YMleXsvA"
  # This deletes the copy of the catalog
  RunAfterJob  = "/usr/local/bacula/etc/delete_catalog_backup"
  Write Bootstrap = "/usr/local/bacula/var/bootstrap/BackupCatalog.bsr"
  Priority = 11                   # run after main backup
  Storage = File
}

# Standard Restore template, to be changed by Console program
Job {
  Name = "RestoreFiles"
  Type = Restore
  Client = helios-fd                 
  FileSet = "Full Set"                  
  Storage = File                      
  Pool = Default
  Messages = Standard
  Where = /tmp/bacula-restores
}

# List of files to be backed up
FileSet {
  Name = "Full Set"
  Include {
    Options {
      signature = MD5
    }
    File = /usr/src/bacula
  }

#
# If you backup the root directory, the following two excluded
#   files can be useful
#
  Exclude {
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
  }
}

#
# When to do the backups, full backup on first sunday of the month,
#  differential (i.e. incremental since full) every other sunday,
#  and incremental backups other days
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
}

# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
  Name = "LateNightly"
  Run = Full sun-sat at 23:55
}

Schedule {
  Name = "UMD-F13T-Inc"
  Run = Level=Full Storage=helios_DAT72 1st,3rd tue at 21:00 
  Run = Level=Incremental 1st,3rd mon,wed-fri at 23:00 
  Run = Level=Incremental 2nd,4th-5th mon-fri at 23:00
}

Schedule {
  Name = "UMD-F24T-Inc"
  Run = Level=Full Storage=helios_DAT72 2nd,4th tue at 21:00 
  Run = Level=Incremental 2nd,4th mon,wed-fri at 23:00 
  Run = Level=Incremental 1st,3rd,5th mon-fri at 23:00
}

# This is the backup of the catalog
FileSet {
  Name = "Catalog"
  Include {
    Options {
      signature = MD5
    }
    File = /usr/local/bacula/var/bacula/working/bacula.sql
  }
}

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

# Definiton of file storage device
Storage {
  Name = File
# Do not use "localhost" here    
  Address = helios                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "XXX"
  Device = FileStorage
  Media Type = File
}


# Definition of DDS tape storage device
Storage {
  Name = helios_DDS    
#  Do not use "localhost" here
  Maximum Concurrent Jobs = 5
  Address = helios                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "XXX"          # password for Storage daemon
  Device = helios_DDS                      # must be same as Device in Storage 
daemon
  Media Type = DDS-4                  # must be same as MediaType in Storage 
daemon
}

Storage {
  Name = helios_DAT72
  address = helios
  SDPort = 9103
  Maximum Concurrent Jobs = 5
  Password = "XXX"
  Device = helios_DAT72
  Media Type = DDS-4
}

# Generic catalog service
Catalog {
  Name = MyCatalog
  dbname = bacula; user = bacula; password = "XXX"
}

Catalog {
  Name = umd_CATALOG
  dbname = bacula; user = bacula; password = "XXX"
}


# Reasonable message delivery -- send most everything to email address
#  and to the console
Messages {
  Name = Standard
#
# NOTE! If you send to two email or more email addresses, you will need
#  to replace the %r in the from field (-f part) with a single valid
#  email address in both the mailcommand and the operatorcommand.
#
  mailcommand = "/usr/local/bacula/sbin/bsmtp -h XXX.umdnj.edu -f \"\(Bacula\) 
%r\" -s \"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/usr/local/bacula/sbin/bsmtp -h XXX.umdnj.edu -f 
\"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
  mail = XXX = all, !skipped            
  mail = XXX = all
  mail = XXX = all
  operator = XXX = mount
  operator = XXX = mount
  console = all, !skipped, !saved
#
# WARNING! the following will create a file that you must cycle from
#          time to time as it will grow indefinitely. However, it will
#          also keep all your messages if they scroll off the console.
#
  append = "/usr/local/bacula/var/bacula/working/log" = all, !skipped
}


#
# Message delivery for daemon messages (no job).
Messages {
  Name = Daemon
  mailcommand = "/usr/local/bacula/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" 
-s \"Bacula daemon message\" %r"
  mail = [EMAIL PROTECTED] = all, !skipped            
  console = all, !skipped, !saved
  append = "/usr/local/bacula/var/bacula/working/log" = all, !skipped
}


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

#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
  Name = helios-mon
  Password = "XXX"
  CommandACL = status, .status
}

###
# POOLS: Include other pool configs here for sanity's sake
###
@/usr/local/bacula/etc/pool.conf

###
# CLIENTS: Include other client configs here for sanity's sake
###
@/usr/local/bacula/etc/client-catalyst.conf
@/usr/local/bacula/etc/client-kittatinny.conf
@/usr/local/bacula/etc/client-sopris.conf
@/usr/local/bacula/etc/client-uranus.conf
@/usr/local/bacula/etc/client-lethe.conf

Reply via email to