projects
/
bacula-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
841b9ea
)
Updated server config.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 17 Mar 2011 12:02:52 +0000
(13:02 +0100)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 17 Mar 2011 12:02:52 +0000
(13:02 +0100)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
b1bdf46
..
4b466df
100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-247,29
+247,39
@@
EOF
# Requested by $CONTACT on $DATE
Client {
Name = $HOST-fd
# Requested by $CONTACT on $DATE
Client {
Name = $HOST-fd
+ @/etc/bacula/include/client-debian-default.conf
Address = $IP
Password = "$PASS_FD" # password for bacula-fd(8)
Address = $IP
Password = "$PASS_FD" # password for bacula-fd(8)
- @/etc/bacula/include/client-debian-default.conf
-
- TLS Enable = yes
- TLS Require = yes
TLS CA Certificate File = "/etc/bacula/clients.d/$HOST-fd.pem"
TLS CA Certificate File = "/etc/bacula/clients.d/$HOST-fd.pem"
- TLS Certificate = "/etc/bacula/bacula.pem"
- TLS Key = "/etc/bacula/bacula.key"
-}
-
-Job {
- Name = "$HOST"
- Client = $HOST-fd
- JobDefs = "Job_SysBackup"
}
Console {
Name = $HOST-acl
}
Console {
Name = $HOST-acl
+ @/etc/bacula/include/acl-default.conf
Password = "$PASS_BCONSOLE" # password for bconsole(8)
JobACL = $HOST, RestoreFiles
ClientACL = $HOST-fd
Password = "$PASS_BCONSOLE" # password for bconsole(8)
JobACL = $HOST, RestoreFiles
ClientACL = $HOST-fd
- @/etc/bacula/include/acl-default.conf
+}
+
+Pool {
+ Name = $HOST-pool
+ @/etc/bacula/include/pool-default.conf
+ Label Format = ${HOST}_
+}
+
+Storage {
+ Name = $HOST-stor
+ @/etc/bacula/include/storage-default.conf
+ Device = file_$HOST
+ Media Type = media_$HOST
+}
+
+Job {
+ Name = "$HOST"
+ Client = $HOST-fd
+ JobDefs = "Job_SysBackup"
+ Pool = $HOST-pool
+ Storage = $HOST-stor
}
EOF
}
EOF