Hi Danie,

As the error message already says, you have defined the client 'apollo-fd'
several times times. Why do you define a client 3 times?
Either thats a typo, or you misunderstood the configuration directives of
bacula.

Bye
Roland



-----Ursprüngliche Nachricht-----
Von: Danie Theron [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. April 2005 15:17
An: bacula-users@lists.sourceforge.net
Betreff: [Bacula-users] Error when adding 3rd backup resource in dir.conf

Hi ,

I get this error when adding a 3rd job set etc to my bacula-dir.conf

Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
04-Apr 15:05 bacula-dir: ERROR TERMINATION at dird_conf.c:1152 Attempt to
define second client resource named "apollo-fd" is not permitted.

My bacula-dir.conf :


# START APOLLO PROFILES DEFINITIONS
# Rock Job Definitions

Job {
  Name = "RestoreapolloprofilesFiles"
  Type = Restore
  Client= venus-fd
  FileSet= "apolloprofiles Set"
  Storage = apolloprofilesFile
  Pool = Default
  Messages = Standard
  Where = /tmp/bacula-restores
}

Job {
  Name = apolloprofiles
  Type = Backup
  Client = apollo-fd
  FileSet = "apolloprofiles Set"
  Schedule = "WeeklyCycle"
  Storage = apolloprofilesFile
  Messages = Standard
  Pool = Default
  Full Backup Pool = apolloprofilesfull
  Incremental Backup Pool = apolloprofilesincr
  Differential Backup Pool = apolloprofilesdiff
  Write Bootstrap = "/var/bacula/apolloprofiles.bsr"
  Priority = 10
}

# ApolloProfiles Fileset Definitions
FileSet {
  Name = "apolloprofiles Set"
  Include = compression=GZIP9 {
     "d:/Profiles"
  }
  Exclude = { *.exe *.mp3 *.tmp *.pst *.mov *.mpg *.avi *.qts *.rm *.mpeg
*.asf *.wmv *.ogg  } }

# ApolloProfiles Client Definitions
Client {
  Name = apollo-fd
  Address = apollo.verpakt.com
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""
  Autoprune = yes
  Job Retention = 6 months
  File Retention = 60 days
}

# END APOLLOPROFILES DEFINITIONS


# START APOLLO USERS DEFINITIONS
# Rock Job Definitions

Job {
  Name = "RestoreapollousersFiles"
  Type = Restore
  Client= venus-fd
  FileSet= "apollousers Set"
  Storage = apollousersFile
  Pool = Default
  Messages = Standard
  Where = /tmp/bacula-restores
}

Job {
  Name = apollousers
  Type = Backup
  Client = apollo-fd
  FileSet = "apollousers Set"
  Schedule = "WeeklyCycle"
  Storage = apollousersFile
  Messages = Standard
  Pool = Default
  Full Backup Pool = apollousersfull
  Incremental Backup Pool = apollousersincr
  Differential Backup Pool = apollousersdiff
  Write Bootstrap = "/var/bacula/apollousers.bsr"
  Priority = 10
}

# ApolloUsers Fileset Definitions
FileSet {
  Name = "apollousers Set"
  Include = compression=GZIP9 {
     "d:/Users"
  }
  Exclude = { *.exe *.mp3 *.tmp *.pst *.mov *.mpg *.avi *.qts *.rm *.mpeg
*.asf *.wmv *.ogg  } }

# ApolloUsers Client Definitions
Client {
  Name = apollo-fd
  Address = apollo.verpakt.com
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""
  Autoprune = yes
  Job Retention = 6 months
  File Retention = 60 days
}

# ApolloUsers Storage Definitions
Storage {
  Name = apollousersFile
  Address = 192.168.135.210
  SDPort = 9103
  Password = ""
  Device = apollousersFileStorage
  Media Type = File
}

# ApolloUsers Pool Definitions
Pool {
  Name = apollousersfull
  Pool Type = Backup
  Recycle = yes
  Autoprune = yes
  Volume Retention = 6 months
  Accept Any Volume = yes
  Maximum Volume Jobs = 1
  Label Format = apollousersfull-
  Maximum Volumes = 6
}

Pool {
  Name = apollousersincr
  Pool Type = Backup
  Recycle = yes
  Autoprune = yes
  Volume Retention = 20 days
  Accept Any Volume = yes
  Maximum Volume Jobs = 6
  Label Format = apollousersincr-
  Maximum Volumes = 5
}

Pool {
  Name = apollousersdiff
  Pool Type = Backup
  Recycle = yes
  Autoprune = yes
  Volume Retention = 40 days
  Accept Any Volume = yes
  Maximum Volume Jobs = 1
  Label Format = apollousersdiff-
  Maximum Volumes = 6
}


# END APOLLO USERS DEFINITIONS


# START APOLLO SQL DEFINITIONS
# Rock Job Definitions

Job {
  Name = "RestoreapollosqlFiles"
  Type = Restore
  Client= venus-fd
  FileSet= "apollosql Set"
  Storage = apollosqlFile
  Pool = Default
  Messages = Standard
  Where = /tmp/bacula-restores
}

Job {
  Name = apollosql
  Type = Backup
  Client = apollo-fd
  FileSet = "apollosql Set"
  Schedule = "WeeklyCycle"
  Storage = apollosqlFile
  Messages = Standard
  Pool = Default
  Full Backup Pool = apollosqlfull
  Incremental Backup Pool = apollosqlincr
  Differential Backup Pool = apollosqldiff
  Write Bootstrap = "/var/bacula/apollosql.bsr"
  Priority = 10
}

# ApolloUsers Fileset Definitions
FileSet {
  Name = "apollosql Set"
  Include = compression=GZIP9 {
     "d:/MSSQL_backups"
  }
  Exclude = { *.exe *.mp3 *.tmp *.pst *.mov *.mpg *.avi *.qts *.rm *.mpeg
*.asf *.wmv *.ogg  } }

# ApolloSql Client Definitions
Client {
  Name = apollo-fd
  Address = apollo.verpakt.com
  FDPort = 9102
  Catalog = MyCatalog
  Password = ""
  Autoprune = yes
  Job Retention = 6 months
  File Retention = 60 days
}

# ApolloSql Storage Definitions
Storage {
  Name = apollosqlFile
  Address = 192.168.135.210
  SDPort = 9103
  Password = ""
  Device = apollouserssqlStorage
  Media Type = File
}

# ApolloUsers Pool Definitions
Pool {
  Name = apollosqlfull
  Pool Type = Backup
  Recycle = yes
  Autoprune = yes
  Volume Retention = 6 months
  Accept Any Volume = yes
  Maximum Volume Jobs = 1
  Label Format = apollosqlfull-
  Maximum Volumes = 6
}

Pool {
  Name = apollosqlincr
  Pool Type = Backup
  Recycle = yes
  Autoprune = yes
  Volume Retention = 20 days
  Accept Any Volume = yes
  Maximum Volume Jobs = 6
  Label Format = apollosqlincr-
  Maximum Volumes = 5
}

Pool {
  Name = apollosqldiff
  Pool Type = Backup
  Recycle = yes
  Autoprune = yes
  Volume Retention = 40 days
  Accept Any Volume = yes
  Maximum Volume Jobs = 1
  Label Format = apollosqldiff-
  Maximum Volumes = 6
}


# END APOLLO SQL DEFINITIONS

After I added the last definition set I got that error.



Regards ,

Danie Theron
Network Administrator : Verpakt Management Services
email: [EMAIL PROTECTED]
tel    : +2711 6020117
cell  : +27833552998

If you dislike change, you're going to dislike being irrelevant even more.

I am root. If you see me laughing, you better have a backup.

----------------------------------------------------------------------------
--------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.  If you received
this in error, please contact the sender and delete the material from any
computer.
----------------------------------------------------------------------------
--------------------------------------------------------------


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 2005/04/01
 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to