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"