From 500a32ee9e4a1707c2c887787167a9a77014924b Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sun, 3 Dec 2023 02:21:07 -0500 Subject: [PATCH] Updated to template format --- .gitignore | 0 templates/excludes | 0 templates/profiles.toml | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .gitignore create mode 100644 templates/excludes diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/templates/excludes b/templates/excludes new file mode 100644 index 0000000..e69de29 diff --git a/templates/profiles.toml b/templates/profiles.toml index 17ae95f..4408632 100644 --- a/templates/profiles.toml +++ b/templates/profiles.toml @@ -54,7 +54,7 @@ version = "1" # 'backup' command of profile 'home' [system.backup] # files with no path are relative to the configuration file - exclude-file = [ "system-excludes", "excludes" ] + exclude-file = [ "excludes" ] exclude-if-present = [ ".nobackup" ] exclude-caches = true one-file-system = false @@ -77,7 +77,7 @@ version = "1" schedule-lock-wait = "2h" # System Scripts run-before = [ - "~/.config/resticprofile/scripts/os before" + "/etc/resticprofile/scripts/os before" ] # Copy to Borgbase: run-after = [ @@ -85,7 +85,7 @@ version = "1" ] # Clean up: run-finally = [ - "~/.config/resticprofile/scripts/os after" + "/etc/resticprofile/scripts/os after" ] lock = "/tmp/resticprofile-system.backup.lock"