Hi Bill

Thanks for replying, FYI the jobs don't have the same name but below is the directors configuration file excluding passwords.

FYI I have since addded another job resource which also doesn't appear on the list.....the jobs in question are hignlighted in bold....but just incase it doesn't get displayed I have put the job resource just below.

JobDefs {
  Name = "Autonet"
  Type = Backup
  Level = Full
  Client = jspautonet-fd
  FileSet = "Webserver Set"
  Schedule = "jspautonet-fd"
  Storage = File
  Messages = Standard
  Pool = autonetpool
  Priority = 10
}

And

JobDefs {
  Name = "MXdev"
  Type = Backup
  Level = Full
  Client = mxdev-fd
  FileSet = "Mxdev Set"
  Schedule = "mxdev-fd"
  Storage = File
  Messages = Standard
  Pool = mxdevpool
  Priority = 10
}

# 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.38.11 (28 June 2006) -- redhat
#
#  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 = unixutil-dir
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/usr/local/bacula/bin/query.sql"
  WorkingDirectory = "/usr/local/bacula/bin/working"
  PidDirectory = "/usr/local/bacula/bin/working"
  Maximum Concurrent Jobs = 20
  Password = ""         # Console password
  Messages = Daemon
}

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

#############################   SERVERS   ######################

JobDefs {
  Name = "Autonet"
  Type = Backup
  Level = Full
  Client = jspautonet-fd
  FileSet = "Webserver Set"
  Schedule = "jspautonet-fd"
  Storage = File
  Messages = Standard
  Pool = autonetpool
  Priority = 10
}

JobDefs {
  Name = "Twiki"
  Type = Backup
  Level = Incremental
  Client = twiki-fd
  FileSet = "Twiki Set"
  Schedule = "twiki-fd"
  Storage = File
  Messages = Standard
  Pool = twikipool
  Priority = 10
}

JobDefs {
  Name = "MXdev"
  Type = Backup
  Level = Full
  Client = mxdev-fd
  FileSet = "Mxdev Set"
  Schedule = "mxdev-fd"
  Storage = File
  Messages = Standard
  Pool = mxdevpool
  Priority = 10
}

#########################     WORKSTATIONS    #################

JobDefs {
  Name = "Windowsclient"
  Type = Backup
  Level = Full
  Client = luket-fd
  FileSet = "Windows Set"
  Schedule = "luket-fd"
  Storage = File
  Messages = Standard
  Pool = WindowsPool
  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/bin/working/Client1.bsr"
}

##################################    SERVERS #############################

Job {
  Name = "Twiki Server"
  JobDefs = "Twiki"
  Type = Backup
  Level = Full
  Client = twiki-fd
  FileSet = "Twiki Set"
  Schedule = "twiki-fd"
  Write Bootstrap = "/usr/local/bacula/bin/working/twiki.bsr
}

Job {
  Name = "Autonet Server"
  JobDefs = "Autonet"
  Type = Backup
  Level = Full
  Client = jspautonet-fd
  FileSet = "Webserver Set"
  Schedule = "jspautonet-fd"
  Write Bootstrap = "/usr/local/bacula/bin/working/jspautonet.bsr
 }


Job {
  Name = "Backupmxdev"
  JobDefs = "MXdev"
  Type = Backup
  Level = Full
  Client = mxdev-fd
  FileSet = "Mxdev Set"
  Schedule = "mxdev-fd"
  Write Bootstrap = "/usr/local/bacula/bin/working/mxdev.bsr"
}

############################   WORKSTATIONS   #############################

Job {
  Name = "Backupwindows"
  JobDefs = "Windowsclient"
  Type = Backup
  Level = Full
  Client = luket-fd
  FileSet = "Windows Set"             # Luke desktop
  Schedule = "luket-fd"
  Write Bootstrap = "/usr/local/bacula/bin/working/Backup2.bsr"
}

# Backup the catalog database (after the nightly save)

Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/usr/local/bacula/bin/make_catalog_backup bacula bacula"
  # This deletes the copy of the catalog
  RunAfterJob  = "/usr/local/bacula/bin/delete_catalog_backup"
  Write Bootstrap = "/usr/local/bacula/bin/working/BackupCatalog.bsr"
  Priority = 11                   # run after main backup
}

#
# Standard Restore template, to be changed by Console program
#  Only one such job is needed for all Jobs/Clients/Storage ...
#
Job {
  Name = "RestoreFiles"
  Type = Restore
  Client = unixutil-fd                
  FileSet = "Full Set"                 
  Storage = File                     
  Pool = Default
  Messages = Standard
  Where = /backup/bacula-restores
}


# List of files to be backed up
FileSet {
  Name = "Full Set"
  Include {
    Options {
      signature = MD5
    }
#   
#  Put your list of files here, preceded by 'File =', one per line
#    or include an external list with:
#
#    File = <file-name
#
#  Note: / backs up everything on the root partition.
#    if you have other partitons such as /usr or /home
#    you will probably want to add them too.
#
#  By default this is defined to point to the Bacula build
#    directory to give a reasonable FileSet to backup to
#    disk storage during initial testing.
#
    File = /usr/local/bacula
  }

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

##############################    SERVERS    #############################

FileSet {
  Name = "Twiki Set"
  Include {
    Options {
    }
     File = /usr/local/twiki/data
     File = /usr/local/twiki/pub
     File = /usr/local/twiki/twiki_httpd_conf.txt
     File = /usr/local/apache/conf
     File = /usr/local/apache/conf/ssl/
  }
}

FileSet {
  Name = "Webserver Set"
  Include {
    Options {
    }
    File = /usr/local/apache/conf/
    File = /usr/local/apache/conf/ssl/
    File = /usr/local/tomcat/webapps/
    File = /usr/local/tomcat/conf/Catalina/localhost/
    File = /usr/local/etc/tomcat/
  }
}

FileSet {
  Name = "Mxdev Set"
  Include {
    Options {
    }
     File = /usr/local/luke
  }
}

########################       WORKSTATIONS  #############################

FileSet {
  Name = "Windows Set"
  Include {
    Options {
       WildFile = "*.obj"
       WildFile = "*.exe"
       exclude = yes
     }
     File = "c:/Copy (3) of test.txt"
     File = "c:/Copy (4) of test.txt"
     File = "c:/Copy (5) of test.txt"
     File = "c:/Copy (6) of test.txt"
     File = "c:/Copy (7) of test.txt"
     File = "c:/Copy (8) of test.txt"
     File = "c:/Copy (9) of test.txt"
     File = "c:/Copy (10) of test.txt"
     File = "c:/Copy (11) of test.txt"
     File = "c:/Copy (12) of test.txt"
     File = "c:/Copy (13) of test.txt"
     File = "c:/Copy (14) of test.txt"
     File = "c:/Copy (15) of test.txt"
     File = "c:/Copy (16) of test.txt"
     File = "c:/Copy (17) of test.txt"
     File = "c:/Copy (18) of test.txt"
     File = "c:/Copy (19) of test.txt"
     File = "c:/Copy (20) of test.txt"
     File = "c:/Copy (21) of test.txt"
     File = "c:/Copy (22) of test.txt"
     File = "c:/Copy (23) of test.txt"
     File = "c:/Copy (24) of test.txt"
     File = "c:/Copy (25) of test.txt"
     File = "c:/Copy (26) of test.txt"
     File = "c:/Copy (27) of test.txt"
     File = "c:/Copy (28) of test.txt"
     File = "c:/Copy (29) of test.txt"
  }
}

#
# 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 23:05
  Run = Differential 2nd-5th sun at 23:05
  Run = Incremental mon-sat at 23:05
}

########################   SERVERS   ################################

Schedule {
  Name = "twiki-fd"
  Run = Level=Incremental Pool=twikipool Monday at 20:15
  Run = Level=Incremental Pool=twikipool Tuesday at 20:15
  Run = Level=Incremental Pool=twikipool Wednesday at 20:15
  Run = Level=Incremental Pool=twikipool Thursday at 20:15
  Run = Level=Incremental Pool=twikipool Friday at 20:15
}

Schedule {
  Name = "jspautonet-fd"
  Run = Level=Incremental Pool=autonetpool Monday at 20:30
  Run = Level=Incremental Pool=autonetpool Tuesday at 20:30
  Run = Level=Incremental Pool=autonetpool Wednesday at 20:30
  Run = Level=Incremental Pool=autonetpool Thursday at 20:30
  Run = Level=Incremental Pool=autonetpool Friday at 20:30
}

Schedule {
  Name = "mxdev-fd"
  Run = Level=Incremental Pool=mxdevpool Monday at 20:15
  Run = Level=Incremental Pool=mxdevpool Tuesday at 20:15
  Run = Level=Incremental Pool=mxdevpool Wednesday at 20:15
  Run = Level=Incremental Pool=mxdevpool Thursday at 20:15
  Run = Level=Incremental Pool=mxdevpool Friday at 20:15
}

####################    WORKSTATIONS   ##############################

Schedule {
  Name = "luket-fd"
  Run = Level=Full Pool=WindowsPool Monday at 20:15
  Run = Level=Full Pool=WindowsPool Tuesday at 20:15
  Run = Level=Full Pool=WindowsPool Wednesday at 20:15
  Run = Level=Full Pool=WindowsPool Thursday at 20:15
  Run = Level=Full Pool=WindowsPool Friday at 20:15
}

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

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

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

################################   SERVERS   ###############################

Client {
  Name = twiki-fd
  Address = 10.26.13.177
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
}

Client {
  Name = jspautonet-fd
  Address = 10.210.17.177
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
}

Client {
  Name = mxdev-fd
  Address = 10.26.13.112
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""
  File Retention = 30 days            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

#############################   WORKSTATIONS    ############################

Client {
  Name = luket-fd
  Address = 10.26.30.142
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""
  File Retention = 30 days            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

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

# Definition of DDS tape storage device
#Storage {
#  Name = DDS-4   
#  Do not use "localhost" here
#  Address = unixutil                # N.B. Use a fully qualified name here
#  SDPort = 9103
#  Password = ""          # password for Storage daemon
#  Device = DDS-4                      # must be same as Device in Storage daemon
#  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
#  Autochanger = yes                   # enable for autochanger device
#}

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

# Definition of DVD storage device
#Storage {
#  Name = "DVD"
#  Do not use "localhost" here
#  Address = unixutil                # N.B. Use a fully qualified name here
#  SDPort = 9103
#  Password = ""
#  Device = "DVD Writer"
#  MediaType = "DVD"
#}


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

# 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/bin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/usr/local/bacula/bin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
  mail = [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 = "/usr/local/bacula/bin/working/log" = all, !skipped
}


#
# Message delivery for daemon messages (no job).
Messages {
  Name = Daemon
  mailcommand = "/usr/local/bacula/bin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
  mail = [EMAIL PROTECTED] = all, !skipped           
  console = all, !skipped, !saved
  append = "/usr/local/bacula/bin/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
}

##########################   SERVERS   ################################

Pool {
  Name = twikipool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days
  Accept Any volume = yes
}

Pool {
  Name = autonetpool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days
  Accept Any volume = yes
}

Pool {
  Name = mxdevpool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days
  Accept Any Volume = yes
}

########################   WORKSTATIONS   #############################

Pool {
  Name = WindowsPool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days
  Accept Any Volume = yes
}

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

Thanks again for getting back to me.  I hope you can see something I can't :)

Regards

Luke
-----Original Message-----
From: Bill Moran [mailto:[EMAIL PROTECTED]]
Sent: 14 November 2006 13:28
To: luket
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Job not appearing in console

In response to luket <[EMAIL PROTECTED]>:
>
> Good morning
>
> I have installed bacula-1.38.11 onto a CentOS server.
>
> It is installed and appears to be running fine and backing up to disk
> with no problems.  I have added 3 clients: A Windows client, and 2
> linux clients one of which is on a seperate  (internal) network with
> firewall permissions granted for ports 9001, 9002 & 9003.
>
> We I enter bconsole and type run I get the list of clients but one is
> missing.  I have checked through my configuration files and all looks
> OK to me.  When I take out the working linux job and restart bacula
> the other one appears and runs through fine so I know it isn't a
> problem with the clients setup.

Sounds like those two jobs are cancelling each other out.  They don't share the same name, do they?

> I have looked around and can't find anything but was wondering if
> there was a setting which specifies how many will appear on the list. 
> I did have Bacula installed on another server for testing purposes,
> this was on CentOS also with the same version of Bacula, same
> ./configure command, and everything I can see is fine.  Does anybody
> know of any settings that need to be changed in order for all the jobs to appear on the list?

I'm pretty sure bconsole always lists all jobs, but I can guarantee that it will show 26 minimum, as that's how many I have on one server here.

I would guess that you've got some obscure error in your config file.
Strip the passwords out of it and paste it into a reply to this thread.
We probably only need to the director's config to diagnose this.

--
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited.  Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.


-------------------------------------------------------------------------
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