Finished with the scripts
This commit is contained in:
parent
a97d0551fa
commit
f02f78f99f
1 changed files with 8 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue