Brad Anderson wrote:
Hi,

I am starting out with bacula and I have a vxa2 1x10 autochanger. I was hoping you could give me some advice on the install / config of bacula. anything to watch out for? if I could get a copy of your storage deamon config file / director config file that would help out alot.

Thanks,
B-rad



#
#       Default Bacula Director Configuration file
#
#       The only thing that MUST be changed is to add one or more
#       file or directory names in the Include directive of the
#       FileSet resource.
#
#       For Bacula release 1.36.1 (24 November 2004) -- suse 9.1
#
#       You might also want to change the default email address
#       from root to your address.  See the "mail" and "operator"
#       directives in the Messages resource.
#

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

JobDefs {
        Name = "JobDefaults"
        Type = Backup
        Level = Incremental
        Client = ewc01 
        FileSet = "ewc01-full-set"
        Schedule = "WeeklyCycle"
        Storage = VXA-1
        Messages = Standard
        Pool = Default
        Priority = 100
        SpoolData = yes
        Maximum Concurrent Jobs = 1
        Spool Attributes = YES
}

JobDefs {
        Name = "eclassJobDefaults"
        Type = Backup
        Level = Full
        Client = ewc01 
        FileSet = "ewc01-full-set"
        Schedule = "WeeklyCycle"
        Storage = VXA-1
        Messages = Standard
        Pool = Default
        Priority = 100
        SpoolData = yes
        Maximum Concurrent Jobs = 1
        Spool Attributes = YES
        
}

JobDefs {
        Name = "SystemState"
        Type = Backup
        Level = Full
        Client = ewc01
        ClientRunBeforeJob = "\"ntbackup\" backup systemstate /m normal /j 
SystemState /f %systemdrive%\\SystemState.bkf"
        FileSet = "SystemState"
        Schedule = "WeeklyCycle"
        storage = VXA-1
        messages = Standard
        pool = Default
        priority = 100
        spooldata = yes
        Maximum Concurrent Jobs = 1
        Spool Attributes = YES
}

JobDefs {
        Name = "mysql"
        type = backup
        level = full
        client = ewc01
        clientrunbeforejob = "/usr/local/ewc/mysql-backup.sh"
        fileset = "mysql.backup"
        schedule = "WeeklyCycle"
        storage = VXA-1
        messages = Standard
        pool = Default
        priority=100
        spooldata = yes
        maximum concurrent jobs = 1
        spool attributes = yes
}



JobDefs {
        Name = "ExchangeStore"
        Type = Backup
        Level = Full
        Client = ewc07
        #ClientRunBeforeJob = "\"ntbackup\" backup 
@%systemdrive%\\ExchangeStore.bks /m Normal /j ExchangeStoreEWC07 /f 
F:\\ExchangeStore.bkf"
        ClientRunBeforeJob = "f:\\backup.cmd"
        FileSet = "ExchangeStore"
        Schedule = "WeeklyCycle"
        storage = VXA-1
        messages = Standard
        pool = Default
        priority = 100
        spooldata = yes
        Maximum Concurrent Jobs = 1
        Spool Attributes = YES
}

#


##################################################
# File Set's for Windows 
##################################################

FileSet {
        Name = "SystemState"
        Include { File = "/SystemState.bkf" }
}

FileSet {
        Name = "ExchangeStore"
        Include { File = "f:/BACKUP/" }
}


FileSet {
        Name = "drive-c"
        Include {
                File = "c:/"
        }
}

FileSet {
        Name = "drive-d"
        Include {
                File = "d:/"
        }
}

FileSet {
        Name = "drive-e"
        Include {
                File = "e:/"
        }
}

FileSet {
        Name = "drive-f"
        Include {
                File = "f:/"
        }
}


#################################################
# File Set's for UNIX/LINUX/*BSD/POSIX
#################################################

FileSet {
        Name = "ewc01-full-set"
        Include {
                Options { signature = MD5 }
                File = / /var
        }
        Exclude {
                File=/proc
                File=/tmp
                File=/.journal
                File=/.fsck
                File=/var/tmp
        }
}

FileSet {
        name = "root"
        Include { File = "/" }
}

FileSet {
        Name = "home"
        Include { File = "/home" }
}

FileSet {
        name = "tmp"
        Include { File= "/tmp" }
}

FileSet {
        name = "usr"
        Include { File= "/usr" }
}

FileSet {
        name = "usr-local"
        Include { File = "/usr/local" }
}

FileSet {
        name = "var"
        Include { File = "/var" }
}

FileSet {
        name = "local"
        Include { File = "/local" }
}

FileSet {
        name = "mysql.backup"
        Include { File = "/var/db/mysql.backup" }
}

#File Sets for SnapServers via NFSGATEWAY
FileSet {
        name = "snapserver-ewc16"
        include { file = "/ewc16" }
}
FileSet {
        name = "snapserver-ewc17"
        include { file = "/ewc17" }
}
FileSet {
        name = "snapserver-ewc18"
        include { file = "/ewc18" }
}

#
#       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 19:00 #monthly fulls every 1st sun, 7:00 PM
        Run = Differential 2nd-5th sun at 19:00 #daily differentials on not 1st 
sundays, 7:00 PM
        Run = Incremental mon-sat at 19:00 #daily incrementals all other days, 
7:00 PM
}

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

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



#       Definition of VXA2 tape storage device
Storage {
        Name = VXA-0    
#       Do not use "localhost" here
        Address =  ewc01.ewc.edu               # N.B. Use a fully qualified 
name here
        SDPort = 9103
        Password =
        Device = VXA-0                      # must be same as Device in Storage 
daemon
        Media Type = VXA2                  # must be same as MediaType in 
Storage daemon
        autochanger = yes
        Maximum Concurrent Jobs = 5
}

Storage {
        Name = VXA-1
#       Do not use "localhost" here
        Address =  ewc01.ewc.edu               # N.B. Use a fully qualified 
name here
        SDPort = 9103
        Password =
        Device = VXA-1                      # must be same as Device in Storage 
daemon
        Media Type = VXA2                  # must be same as MediaType in 
Storage daemon
        autochanger = yes
        Maximum Concurrent Jobs = 5
}

#       Definition of 8mm tape storage device
#Storage        {
#       Name = "8mmDrive"
#       Do not use "localhost" here
#       Address = scott2                # N.B. Use a fully qualified name here
#       SDPort = 9103
#       Password =
#       Device = "Exabyte 8mm"
#       MediaType = "8mm"
#}


#       Generic catalog service
Catalog {
        Name = MyCatalog
        dbname = bacula; user = bacula; password =
        Multiple Connections = NO
}

#       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/sbin/bsmtp -h localhost -f \"\(THE BACKUP SYSTEM\) 
%r\" -s \"BACKUPS: %l %t %e for JOB %n \(%c\) \" %r"
        operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(THE BACKUP 
SYSTEM\) %r\" -s \"BACKUPS: Intervention needed for %j\" %r"
        mail on error = [EMAIL PROTECTED] = all, !skipped            
        operator = [EMAIL PROTECTED] = 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 = "/var/bacula/log" = all, !skipped
}


#
#       Message delivery for daemon messages (no job).
Messages        {
        Name = Daemon
        mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(THE BACKUP SYSTEM\) 
%r\" -s \"BACKUPS: SYSTEM MESSAGE\" %r"
        mail = [EMAIL PROTECTED] = all, !skipped            
        console = all, !skipped, !saved
        append = "/var/bacula/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 = 30 days         # one month
        Accept Any Volume = yes             # write on any volume in the pool

        Use Volume Once = NO

        Maximum Volumes = 0 #
        Volume Use Duration = 3 months  

        Cleaning Prefix = CLN
}

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

# ====================================================================
#       Backup the catalog database (after the nightly save)
Job     {
        Name = "BackupCatalog"
        JobDefs = "JobDefaults"
        Level = Full
        FileSet="Catalog"
        Schedule = "WeeklyCycleAfterBackup"
        # This creates an ASCII copy of the catalog
        RunBeforeJob = "/etc/bacula/make_catalog_backup bacula bacula"
        # This deletes the copy of the catalog
        RunAfterJob  = "/etc/bacula/delete_catalog_backup"
        Write Bootstrap = "/var/bacula/BackupCatalog.bsr"
        Priority = 999                   # run after all other backups
}
# ====================================================================

# ====================================================================
#       Standard Restore template, to be changed by Console program
Job     {
        Name = "RestoreFiles"
        Type = Restore
        Client=ewc01                 
        FileSet="ewc01-full-set"                  
        Storage = VXA-0
        Pool = Default
        Messages = Standard
        Where = /tmp/bacula-restores
}
# ====================================================================

#############################################
#       Client (File Services) to backup    #
#############################################


# EWC19 =======================================================
Client  {
        Name = ewc19
        Address = ewc19.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # 
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc19-home"
        Client = "ewc19"
        FileSet = "home"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc19-root"
        Client = "ewc19"
        FileSet = "root"
        JobDefs = "JobDefaults"
}
# =============================================================


# EWC03 =======================================================
Client  {
        Name = ewc03
        Address = ewc03.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc03-drive-c"
        Client = "ewc03"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc03-drive-e"
        Client = "ewc03"
        FileSet = "drive-e"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc03-systemstate"
        Client = "ewc03"
        JobDefs = "SystemState"
}
# =============================================================



# EWC04 =======================================================

Client  {
        Name = ewc04
        Address = ewc04.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc04-drive-c"
        Client = "ewc04"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc04-drive-e"
        Client = "ewc04"
        FileSet = "drive-e"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc04-systemstate"
        Client = "ewc04"
        JobDefs = "SystemState"
}

# =============================================================



# ewc07 =======================================================
Client  {
        Name = ewc07
        Address = ewc07.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            #  months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc07-drive-c"
        Client = "ewc07"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc07-drive-f"
        Client = "ewc07"
        FileSet = "drive-f"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc07-systemstate"
        client = "ewc07"
        JobDefs = "SystemState"
}
Job     {
        Name = "ewc07-exchangestore"
        client = "ewc07"
        JobDefs = "ExchangeStore"
}

# =============================================================



# ewc08 =======================================================
Client  {
        Name = ewc08
        Address = ewc08.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc08-drive-c"
        Client = "ewc08"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc08-drive-e"
        Client = "ewc08"
        FileSet = "drive-e"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc08-systemstate"
        Client = "ewc08"
        JobDefs = "SystemState"
}

# =============================================================



# ewc09 =======================================================
Client  {
        Name = ewc09
        Address = ewc09.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc09-drive-c"
        Client = "ewc09"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc09-systemstate"
        Client = "ewc09"
        JobDefs = "SystemState"
}
# =============================================================



# ewc11 =======================================================
Client  {
        Name = ewc11
        Address = ewc11.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc11-drive-c"
        Client = "ewc11"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc11-drive-e"
        Client = "ewc11"
        FileSet = "drive-e"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc11-systemstate"
        Client = "ewc11"
        JobDefs = "SystemState"
}
# =============================================================



# ewc12 =======================================================
Client  {
        Name = ewc12
        Address = ewc12.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc12-drive-c"
        Client = "ewc12"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc12-systemstate"
        Client = "ewc12"
        JobDefs = "SystemState"
}
# =============================================================



# ewc15 =======================================================
Client  {
        Name = ewc15
        Address = ewc15.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc15-drive-c"
        Client = "ewc15"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc15-drive-e"
        Client = "ewc15"
        FileSet = "drive-e"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc15-systemstate"
        Client = "ewc15"
        JobDefs = "SystemState"
}
# =============================================================



# ts-facman01 =======================================================
Client  {
        Name = ts-facman01
        Address = ts-facman01.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ts-facman01-drive-c"
        Client = "ts-facman01"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ts-facman01-drive-e"
        Client = "ts-facman01"
        FileSet = "drive-e"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ts-facman01-systemstate"
        Client = "ts-facman01"
        JobDefs = "SystemState"
}
# =============================================================

# ewc-app01 =======================================================
Client  {
        Name = ewc-app01
        Address = ewc-app01.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc-app01-drive-c"
        Client = "ewc-app01"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc-app01-drive-d"
        Client = "ewc-app01"
        FileSet = "drive-d"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc-app01-drive-e"
        Client = "ewc-app01"
        FileSet = "drive-e"
        JobDefs = "JobDefaults"
}
Job     {
        name = "ewc-app01-systemstate"
        Client = "ewc-app01"
        JobDefs = "SystemState"
}
# =============================================================

# ewc-app02 =======================================================
Client  {
        Name = ewc-app02
        Address = ewc-app02.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc-app02-drive-c"
        Client = "ewc-app02"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc-app02-drive-d"
        Client = "ewc-app02"
        FileSet = "drive-d"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc-app02-drive-e"
        Client = "ewc-app02"
        FileSet = "drive-e"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc-app02-systemstate"
        Client = "ewc-app02"
        JobDefs = "SystemState"
}
# =============================================================



# ewc-app03 =======================================================
Client  {
        Name = ewc-app03
        Address = ewc-app03.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc-app03-drive-c"
        Client = "ewc-app03"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc-app03-drive-e"
        Client = "ewc-app03"
        FileSet = "drive-e"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc-app03-systemstate"
        Client = "ewc-app03"
        JobDefs = "SystemState"
}
# =============================================================



# ewcdclib01 =======================================================
Client  {
        Name = ewcdclib01
        Address = ewcdclib01.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewcdclib01-drive-c"
        Client = "ewcdclib01"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewcdclib01-systemstate"
        Client = "ewcdclib01"
        JobDefs = "SystemState"
}

# =============================================================

# uuds =======================================================
Client  {
        Name = uuds
        Address = uuds.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "uuds-drive-c"
        Client = "uuds"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "uuds-systemstate"
        Client = "uuds"
        JobDefs = "SystemState"
}
# =============================================================


# photoidsystem =======================================================
Client  {
        Name = photoidsystem
        Address = photoidsystem.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "photoidsystem-drive-e"
        Client = "photoidsystem"
        FileSet = "drive-e"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "photoidsystem-systemstate"
        Client = "photoidsystem"
        JobDefs = "SystemState"
}
# =============================================================

# ewc01  ================================================
Client  {
        Name = ewc01
        Address = ewc01.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = ewc01
        JobDefs = "JobDefaults"
        Write Bootstrap = "/var/bacula/Client1.bsr"
}
# =============================================================

# TKS120-895654  ================================================
Client  {
        Name = tks120-895654
        Address = TKS120-895654.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        client = "tks120-895654"
        Name = tks120-895654-root
        JobDefs = "JobDefaults"
        FileSet = "root"
}
Job     {
        client = "tks120-895654"
        Name = tks120-895654-local
        JobDefs = "JobDefaults"
        FileSet = "local"
}
# =============================================================

# eclass =======================================
client  {
        name = eclass
        address = eclass.ewc.edu
        fdport = 9102
        catalog = MyCatalog
        password =
        file retention = 30 days
        job retention = 3 months
        autoprune = yes
}
Job     {
        Name = "eclass-root"
        JobDefs = "JobDefaults"
        FileSet = "root"
        client=eclass
}
Job     {
        Name = "eclass-home"
        JobDefs = "JobDefaults"
        FileSet = "home"
        client = eclass
}
Job     {
        Name = "eclass-tmp"
        JobDefs = "JobDefaults"
        FileSet = "tmp"
        client = eclass
}
Job     {
        Name = "eclass-usr"
        JobDefs = "JobDefaults"
        FileSet = "usr"
        client = eclass
}
Job     {
        Name = "eclass-var"
        JobDefs = "JobDefaults"
        FileSet = "var"
        client = eclass
}

# ===============================================

# ewc06 =========================================
Client  {
        Name = ewc06
        Address=ewc06.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days
        Job Retention = 3 months
        AutoPrune = yes
}
Job     {
        Name = "ewc06-drive-c"
        JobDefs = "JobDefaults"
        FileSet = "drive-c"
        Client=ewc06
}
Job     {
        Name = "ewc06-drive-e"
        JobDefs = "JobDefaults"
        FileSet = "drive-e"
        Client=ewc06
}
Job     {
        Name = "ewc06-systemstate"
        JobDefs = "SystemState"
        Client=ewc06
}
# ===============================================

# ewc10 =========================================
Client  {
        Name = ewc10
        Address=ewc10.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days
        Job Retention = 3 months
        AutoPrune = yes
}
Job     {
        Name = "ewc10-drive-c"
        JobDefs = "JobDefaults"
        FileSet = "drive-c"
        Client=ewc10
}
Job     {
        Name = "ewc10-e"
        JobDefs = "JobDefaults"
        FileSet = "drive-e"
        Client=ewc10
}
Job     {
        Name = "ewc10-systemstate"
        JobDefs = "SystemState"
        client=ewc10
}
# ================================================

# ewc05 ==========================================
Client  {
        Name = ewc05
        Address = ewc05.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days
        Job Retention = 3 months
        AutoPrune = yes
}
Job     {
        Name = "ewc05-home"
        JobDefs = "JobDefaults"
        FileSet = "home"
        Client=ewc05
}
Job     {
        Name = "ewc05-root"
        JobDefs = "JobDefaults"
        FileSet = "root"
        Client = ewc05
}
# ===============================================

# mx01  ================================================
Client  {
        Name = mx01
        Address = mx01.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "mx01-root"
        Client = "mx01"
        FileSet = "root"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "mx01-tmp"
        Client = "mx01"
        FileSet = "tmp"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "mx01-usr"
        Client = "mx01"
        FileSet = "usr"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "mx01-var"
        Client = "mx01"
        FileSet = "var"
        JobDefs = "JobDefaults"
}

# nfsgateway  ================================================
Client  {
        Name = nfsgateway
        Address = nfsgateway.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "nfsgateway-root"
        Client = "nfsgateway"
        FileSet = "root"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "nfsgateway-tmp"
        Client = "nfsgateway"
        FileSet = "tmp"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "nfsgateway-usr"
        Client = "nfsgateway"
        FileSet = "usr"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "nfsgateway-var"
        Client = "nfsgateway"
        FileSet = "var"
        JobDefs = "JobDefaults"
}

Job     {
        Name = "snapserver-ewc16"
        Client = "nfsgateway"
        FileSet = "snapserver-ewc16"
        JobDefs = "JobDefaults"
        Priority = 9000
}

Job     {
        Name = "snapserver-ewc17"
        Client = "nfsgateway"
        FileSet = "snapserver-ewc17"
        JobDefs = "JobDefaults"
        Priority = 9000
}

Job     {
        Name = "snapserver-ewc18"
        Client = "nfsgateway"
        FileSet = "snapserver-ewc18"
        JobDefs = "JobDefaults"
        Priority = 9000
}

# photos  ================================================
Client  {
        Name = photos
        Address = photos.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "photos-root"
        Client = "photos"
        FileSet = "root"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "photos-tmp"
        Client = "photos"
        FileSet = "tmp"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "photos-usr"
        Client = "photos"
        FileSet = "usr"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "photos-usr-local"
        Client = "photos"
        FileSet = "usr-local"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "photos-var"
        Client = "photos"
        FileSet = "var"
        JobDefs = "JobDefaults"
}

# rt  ================================================
Client  {
        Name = rt
        Address = rt.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "rt-root"
        Client = "rt"
        FileSet = "root"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "rt-tmp"
        Client = "rt"
        FileSet = "tmp"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "rt-usr"
        Client = "rt"
        FileSet = "usr"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "rt-var"
        Client = "rt"
        FileSet = "var"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "rt-mysql"
        client = "rt"
        JobDefs = "mysql"
}

# rt  ================================================
Client  {
        Name = koha
        Address = koha.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "koha-root"
        Client = "koha"
        FileSet = "root"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "koha-tmp"
        Client = "koha"
        FileSet = "tmp"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "koha-usr"
        Client = "koha"
        FileSet = "usr"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "koha-var"
        Client = "koha"
        FileSet = "var"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "koha-mysql"
        client = "koha"
        JobDefs = "mysql"
}

# studentweb  ================================================
Client  {
        Name = studentweb
        Address = studentweb.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "studentweb-root"
        Client = "studentweb"
        FileSet = "root"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "studentweb-tmp"
        Client = "studentweb"
        FileSet = "tmp"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "studentweb-usr"
        Client = "studentweb"
        FileSet = "usr"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "studentweb-var"
        Client = "studentweb"
        FileSet = "var"
        JobDefs = "JobDefaults"
}

# =============================================================



# ewc-lssvr windows ================================================
Client  {
        Name = ewc-lssvr
        Address = ewc-lssvr.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc-lssvr-drive-c"
        Client = "ewc-lssvr"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc-lssvr-drive-d"
        Client = "ewc-lssvr"
        FileSet = "drive-d"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc-lssvr-systemstate"
        Client = "ewc-lssvr"
        JobDefs = "SystemState"
}
# =============================================================



# anekwu_gate windows ================================================
Client  {
        Name = anekwu_gate
        Address = anekwu_gate.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "anekwu_gate-drive-c"
        Client = "anekwu_gate"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "anekwu_gate-systemstate"
        Client = "anekwu_gate"
        JobDefs = "SystemState"
}
# =============================================================



# lee411-895524 windows ================================================
Client  {
        Name = lee411-895524
        Address = lee411-895524.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "lee411-895524-drive-c"
        Client = "lee411-895524"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "lee411-895524-systemstate"
        Client = "lee411-895524"
        JobDefs = "SystemState"
}
# =============================================================



# ewc-lptp-01 windows ================================================
Client  {
        Name = ewc-lptp-01
        Address = ewc-lptp-01.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc-lptp-01-drive-c"
        Client = "ewc-lptp-01"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc-lptp-01-systemstate"
        Client = "ewc-lptp-01"
        JobDefs = "SystemState"
}
# =============================================================




# ialaptop-000000 windows ================================================
Client  {
        Name = ialaptop-000000
        Address = ialaptop-000000.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ialaptop-000000-drive-c"
        Client = "ialaptop-000000"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ialaptop-000000-systemstate"
        Client = "ialaptop-000000"
        JobDefs = "SystemState"
}
# =============================================================



# ewc0020e067d916 windows ================================================
Client  {
        Name = ewc0020e067d916
        Address = ewc0020e067d916.ewc.edu
        FDPort = 9102
        Catalog = MyCatalog
        Password =
        File Retention = 30 days            # 30 days
        Job Retention = 3 months            # six months
        AutoPrune = yes                     # Prune expired Jobs/Files
}
Job     {
        Name = "ewc0020e067d916-drive-c"
        Client = "ewc0020e067d916"
        FileSet = "drive-c"
        JobDefs = "JobDefaults"
}
Job     {
        Name = "ewc0020e067d916-systemstate"
        Client = "ewc0020e067d916"
        JobDefs = "SystemState"
}
# =============================================================



#!## template windows ================================================
#!#Client       {
#!#     Name = template
#!#     Address = template.ewc.edu
#!#     FDPort = 9102
#!#     Catalog = MyCatalog
#!#     Password =
#!#     File Retention = 30 days            # 30 days
#!#     Job Retention = 3 months            # six months
#!#     AutoPrune = yes                     # Prune expired Jobs/Files
#!#}
#!#Job  {
#!#     Name = "template-drive-c"
#!#     Client = "template"
#!#     FileSet = "drive-c"
#!#     JobDefs = "JobDefaults"
#!#}
#!#Job  {
#!#     Name = "template-systemstate"
#!#     Client = "template"
#!#     JobDefs = "SystemState"
#!#}
#!## =============================================================
#!#
#!#


#
# Default Bacula Storage Daemon Configuration file
#
#  For Bacula release 1.36.1 (24 November 2004) -- suse 9.1
#
# You may need to change the name of your tape drive
#   on the "Archive Device" directive in the Device
#   resource.  If you change the Name and/or the 
#   "Media Type" in the Device resource, please ensure
#   that dird.conf has corresponding changes.
#

Storage {                             # definition of myself
  Name = ewc01-sd
  SDPort = 9103                  # Director's port      
  WorkingDirectory = "/tmp"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 9999
        Heartbeat Interval = 1 second
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = ewc01-dir
  Password =
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = ewc01-mon
  Password =
  Monitor = yes
}

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType. 
#

#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;
#}

#
# A Linux or Solaris tape drive
#
Device {
        Name    = VXA-0
        Archive Device = /dev/nst0
        Media Type = VXA2
        AutoChanger = yes
        Changer Device = /dev/sg0
        Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
        Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
        AutomaticMount = yes;               # when device opened, read it
        AlwaysOpen = yes;
        RemovableMedia = yes;
        RandomAccess = no;
        Spool Directory = /tmp
        Maximum Spool Size = 5G
        Maximum Job Spool Size = 1G
        Label Media = NO
}

Device {
        Name    = VXA-1
        Archive Device = /dev/nst1
        Media Type = VXA2
        AutoChanger = yes
        Changer Device = /dev/sg2
        Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
        Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
        AutomaticMount = yes;               # when device opened, read it
        AlwaysOpen = yes;
        RemovableMedia = yes;
        RandomAccess = no;
        Spool Directory = /tmp
        Maximum Spool Size = 5G
        Maximum Job Spool Size = 1G
        Label Media = NO
}

#
# A FreeBSD tape drive
#
#Device {
#  Name = vxa2 
#  Description = "vxa2 for FreeBSD"
#  Media Type = vxa2
#  Archive Device = /dev/nsa1
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes
#  Offline On Unmount = no
#  Hardware End of Medium = no
#  BSF at EOM = yes
#  Backward Space Record = no
#  Fast Forward Space File = no
#  TWO EOF = yes
#}

#
# A OnStream tape drive. 
# You need the kernel osst driver 0.9.14 or later, and
#   do "mt -f /dev/nosst0 defblksize 32768" once as root.
#
#Device {
#  Name = OnStream
#  Description = "OnStream drive on Linux"
#  Media Type = OnStream
#  Archive Device = /dev/nst0
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes
#  Offline On Unmount = no
## The min/max blocksizes of 32768 are *required*
#  Minimum Block Size = 32768
#  Maximum Block Size = 32768
#}
 

 


#
# A very old Exabyte with no end of media detection
#
#Device {
#  Name = "Exabyte 8mm"
#  Media Type = "8mm"
#  Archive Device = /dev/nst0
#  Hardware end of medium = No;
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = Yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#}

# 
# Send all messages to the Director, 
# mount messages also are sent to the email address
#
Messages {
  Name = Standard
  director = ewc01-dir = all
}

Reply via email to