zio-backup: move env folder to correct location
parent
0b6fc9f2d6
commit
5918c5884c
|
@ -33,9 +33,13 @@
|
|||
!/var/
|
||||
/var/*
|
||||
|
||||
# /var/zio-backup/
|
||||
!/var/zio-backup/
|
||||
/var/zio-backup/*
|
||||
!/var/zio-backup/*.*
|
||||
!/var/zio-backup/passwd
|
||||
/var/zio-backup/*.*~
|
||||
# /var/lib/
|
||||
!/var/lib/
|
||||
/var/lib/*
|
||||
|
||||
# /var/lib/zio-backup/
|
||||
!/var/lib/zio-backup/
|
||||
/var/lib/zio-backup/*
|
||||
!/var/lib/zio-backup/*.*
|
||||
!/var/lib/zio-backup/passwd
|
||||
/var/lib/zio-backup/*.*~
|
||||
|
|
|
@ -4,7 +4,7 @@ env_dir=$1
|
|||
base_dir="$(dirname "$(realpath -s "$0")")"
|
||||
root_dir="$base_dir/../../.."
|
||||
|
||||
[[ -z $env_dir ]] && env_dir="/var/zio-backup"
|
||||
[[ -z $env_dir ]] && env_dir="/var/lib/zio-backup"
|
||||
|
||||
function restic_exec() {
|
||||
command="$1"
|
||||
|
|
Loading…
Reference in New Issue