Don't export settings that are only used within the script
This commit is contained in:
parent
070b047f92
commit
53d933b715
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue