Don't export settings that are only used within the script

This commit is contained in:
Paul van Tilburg 2016-08-21 21:46:01 +02:00
parent 070b047f92
commit 53d933b715
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ export SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
export SSH_AGENT_PID=$(pidof ssh-agent)
# Restic settings
export RESTIC_BACKUP_OPTIONS="--exclude-file=$HOME/.config/restic/exclude"
RESTIC_BACKUP_OPTIONS="--exclude-file=$HOME/.config/restic/exclude"
RESTIC_FORGET_OPTIONS="--keep-weekly=4 --keep-monthly=12 --keep-yearly=60"
RESTIC_DIR="$HOME"
export RESTIC_REPOSITORY="sftp://void//media/Backup/entropy"
# Start the backup by asking for the passphrase