made everything a little bit easier to configure

This commit is contained in:
2019-01-07 21:56:37 +01:00
parent 8aaaa8fa7c
commit 579ba632d6
6 changed files with 19 additions and 21 deletions

8
etc/restic/env.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
export RESTIC_PASSWORD_FILE="/etc/restic/pw.txt"
export RESTIC_REPOSITORY="sftp:lerentis@192.168.0.211:/srv/dev-disk-by-id-md-name-asgard-Data/Backup/Laptop/Huginn"
# What to backup, and what to not
BACKUP_PATHS="/home/lerentis/"
BACKUP_EXCLUDES="--exclude-file ${BACKUP_PATHS}.backup_exclude"