bacula fixes

This commit is contained in:
root 2023-07-19 15:56:07 +02:00
parent 3fef58e888
commit 8b30a10c0f

View file

@ -9,8 +9,6 @@
enable = true; enable = true;
name = "ifsr-quitte"; name = "ifsr-quitte";
extraClientConfig = '' extraClientConfig = ''
WorkingDirectory = /var/lib/bacula
Pid Directory = /run/bacula
Maximum Concurrent Jobs = 20 Maximum Concurrent Jobs = 20
FDAddress = 141.30.30.169 FDAddress = 141.30.30.169
PKI Signatures = Yes PKI Signatures = Yes
@ -19,8 +17,7 @@
PKI Master Key = ${config.sops.secrets."bacula/masterkey".path} PKI Master Key = ${config.sops.secrets."bacula/masterkey".path}
''; '';
extraMessagesConfig = '' extraMessagesConfig = ''
Name = Standard director = abel-dir = all, !skipped, !restored
directory = abel-dir = all, !skipped, !restored
''; '';
director."abel-dir".password = "@${config.sops.secrets."bacula/password".path}"; director."abel-dir".password = "@${config.sops.secrets."bacula/password".path}";
}; };
@ -29,11 +26,11 @@
Name = abel-dir Name = abel-dir
DIRport = 9101 DIRport = 9101
address = 10.144.0.11 address = 10.144.0.11
Password = @${config.sops.secrests."bacula/password".path} Password = @${config.sops.secrets."bacula/password".path}
} }
Console { Console {
Name = ifsr-quitte-console Name = ifsr-quitte-console
Password = @${config.sops.secrests."bacula/password".path} Password = @${config.sops.secrets."bacula/password".path}
} }
''; '';
} }