8 lines
244 B
Bash
8 lines
244 B
Bash
|
#!/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"
|