From a9c7c3921b78b191747b007241c6d8ffbe32f5e5 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sun, 3 Dec 2023 06:50:43 -0500 Subject: [PATCH] Added init script for faster deployment --- init.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 init.sh diff --git a/init.sh b/init.sh new file mode 100755 index 0000000..fbd39c5 --- /dev/null +++ b/init.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +scriptPath="$(dirname "$(readlink -f "$0")")" + +cp "$scriptPath/templates/profiles.toml" "$scriptPath/profiles.toml" +cp "$scriptPath/templates/excludes" "$scriptPath/excludes" +resticprofile generate --random-key > "$scriptPath/key"