diff --git a/templates/profiles.toml b/templates/profiles.toml index 4408632..707d7ce 100644 --- a/templates/profiles.toml +++ b/templates/profiles.toml @@ -77,15 +77,20 @@ version = "1" schedule-lock-wait = "2h" # System Scripts run-before = [ - "/etc/resticprofile/scripts/os before" + "/etc/resticprofile/scripts/os before" ] # Copy to Borgbase: run-after = [ - "resticprofile system.copy" + "/etc/resticprofile/scripts/os after", + "resticprofile system.copy" + ] + # On Failure: + run-fail = [ + "/etc/resticprofile/scripts/os fail" ] # Clean up: run-finally = [ - "/etc/resticprofile/scripts/os after" + "/etc/resticprofile/scripts/os final" ] lock = "/tmp/resticprofile-system.backup.lock"