moved my rustic backup to my NAS

This commit is contained in:
Steffen Vogel 2016-04-05 22:40:11 +02:00
parent c51e668d04
commit 77e2286f18
2 changed files with 2 additions and 2 deletions

View file

@ -106,6 +106,6 @@ function restic() {
# Start original restic executable with short-lived keys
AWS_ACCESS_KEY_ID=$(sed -En 's/^Access-Key: (.*)/\1/p' <<< "$PASS") \
AWS_SECRET_ACCESS_KEY=$(sed -En 's/^Secret-Key: (.*)/\1/p' <<< "$PASS") \
RESTIC_PASSWORD="$(pass static-3)" \
RESTIC_PASSWORD="$(pass restic)" \
$RESTIC $@
}

View file

@ -49,7 +49,7 @@ else
export EDITOR=vim
fi
export RESTIC_REPOSITORY="s3://s3.amazonaws.com/stv0g-restic"
export RESTIC_REPOSITORY="sftp://lian.wg.0l.dn42//data1/Backup/"
export DEBEMAIL="post@steffenvogel.de"
export DEBFULLNAME="Steffen Vogel"