Director { # define myself
Name = @hostname@-dir
- DIRport = 8101 # where we listen for UA connections
+ DIRPort = @dirport@ # where we listen for UA connections
QueryFile = "@scriptdir@/query.sql"
WorkingDirectory = "@working_dir@"
PidDirectory = "@piddir@"
FileSet {
Name = FS_TESTJOB
Include {
- File=</tmp/file-list
+ File=<@tmpdir@/file-list
}
}
Name = "DefaultRestore"
Type = Restore
Storage = File
- Client=localhost-fd
+ Client=@hostname@-fd
FileSet="FS_TESTJOB"
Messages = Standard
Pool = Default
Job {
Name = JobB
JobDefs = DefaultRestore
- add prefix = /tmp/bacula-restore
+ add prefix = @tmpdir@/bacula-restore
add suffix = .old
strip prefix = /build
}
Job {
Name = JobC
JobDefs = DefaultRestore
- Where = /tmp/bacula-restore
+ Where = @tmpdir@/bacula-restore
}
Job {
Job {
Name = JobE
JobDefs = DefaultRestore
- RegexWhere = "/BUILD/tmp/i,!po/!!"
+ RegexWhere = "/BUILD/tmp/i,!/po/!/!"
}
Job {
Job {
Name = JobG
JobDefs = DefaultRestore
- Where = /tmp/bacula-restore
+ Where = @tmpdir@/bacula-restore
}
Client {
Name = @hostname@-fd
Address = @hostname@
- FDPort = 8102
+ FDPort = @fdport@
Catalog = MyCatalog
Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
File Retention = 30d # 30 days
Storage {
Name = File
Address = @hostname@ # N.B. Use a fully qualified name here
- SDPort = 8103
+ SDPort = @sdport@
Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
Device = FileStorage
Media Type = File
# Generic catalog service
Catalog {
Name = MyCatalog
- dbname = regress; user = regress; password = ""
+ @libdbi@
+ dbname = @db_name@; user = @db_user@; password = "@db_password@"
}
Messages {
Name = Standard
console = all, !skipped, !saved
+ catalog = all, !skipped
}
# Default pool definition