Added init script for faster deployment
This commit is contained in:
parent
f02f78f99f
commit
a9c7c3921b
1 changed files with 7 additions and 0 deletions
7
init.sh
Executable file
7
init.sh
Executable file
|
@ -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"
|
Loading…
Reference in a new issue