aboutsummaryrefslogtreecommitdiff
path: root/modules/private/databases/openldap_replication.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/databases/openldap_replication.nix')
-rw-r--r--modules/private/databases/openldap_replication.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/private/databases/openldap_replication.nix b/modules/private/databases/openldap_replication.nix
index 7833e31..2980c97 100644
--- a/modules/private/databases/openldap_replication.nix
+++ b/modules/private/databases/openldap_replication.nix
@@ -120,7 +120,7 @@ in
120 backup_script = pkgs.writeScript "backup_openldap_${name}" '' 120 backup_script = pkgs.writeScript "backup_openldap_${name}" ''
121 #!${pkgs.stdenv.shell} 121 #!${pkgs.stdenv.shell}
122 122
123 ${hcfg.package}/bin/slapcat -b "${hcfg.base}" -f ${ldapConfig hcfg name} -l ${backupDir}/$(${pkgs.coreutils}/bin/date -Iseconds).ldif 123 ${hcfg.package}/bin/slapcat -b "${hcfg.base}" -f ${ldapConfig hcfg name} -l ${backupDir}/$(${pkgs.coreutils}/bin/date -Iminutes).ldif
124 ''; 124 '';
125 u = pkgs.callPackage ./utils.nix {}; 125 u = pkgs.callPackage ./utils.nix {};
126 cleanup_script = pkgs.writeScript "cleanup_openldap_${name}" (u.exponentialDumps "ldif" backupDir); 126 cleanup_script = pkgs.writeScript "cleanup_openldap_${name}" (u.exponentialDumps "ldif" backupDir);