Created
June 1, 2019 16:57
-
-
Save DeepInThought/d766181f248c8d63084ac7ccaffa6c6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For use in restic-backup.sh | |
#? See https://gist.github.com/DeepInThought/67d3a4fd42d3ec43e85c5fd5966c0944 | |
# Script directory | |
export SCRIPT_DIR="${HOME}/.scripts" | |
# Restic variables | |
export RESTIC_MOUNTPOINT="/mnt/restic" | |
export RESTIC_PASSWORD_FILE="${SCRIPT_DIR}/.backup_secrets" | |
export RESTIC_PATH="/home/restic/bin/restic" | |
export RESTIC_REPOSITORY="/media/restic/backups/deepit-pc/corefolders" | |
# bu variables | |
export BACKUP_EXCLUDE_FILE="${SCRIPT_DIR}/.root_backup_excludes" | |
export BACKUP_PATHS="/" | |
export RETENTION_POLICY="--keep-daily=31 --keep-monthly=12 --keep-yearly=3" | |
export SNAPSHOT_TITLE="core-folders" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment