From f02f78f99fad2d85686ccc04828831b30b8fd992 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sun, 3 Dec 2023 06:46:43 -0500 Subject: [PATCH] Finished with the scripts --- templates/profiles.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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"