diff options
Diffstat (limited to 'modules/duply_backup')
-rw-r--r-- | modules/duply_backup/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/duply_backup/default.nix b/modules/duply_backup/default.nix index 1e115be..bce4d65 100644 --- a/modules/duply_backup/default.nix +++ b/modules/duply_backup/default.nix | |||
@@ -82,6 +82,7 @@ in | |||
82 | '' | 82 | '' |
83 | touch ${varDir}/${k}.log | 83 | touch ${varDir}/${k}.log |
84 | ${pkgs.duply}/bin/duply ${config.secrets.location}/backup/${k}/ ${action} --force >> ${varDir}/${k}.log | 84 | ${pkgs.duply}/bin/duply ${config.secrets.location}/backup/${k}/ ${action} --force >> ${varDir}/${k}.log |
85 | [[ $? = 0 ]] || echo -e "Error when doing backup for ${k}, see above\n---------------------------------------" >&2 | ||
85 | '' | 86 | '' |
86 | ) config.services.duplyBackup.profiles)} | 87 | ) config.services.duplyBackup.profiles)} |
87 | ''; | 88 | ''; |