Skip to content

Instantly share code, notes, and snippets.

@DeepInThought
Created June 1, 2019 16:57
Show Gist options
  • Save DeepInThought/d766181f248c8d63084ac7ccaffa6c6d to your computer and use it in GitHub Desktop.
Save DeepInThought/d766181f248c8d63084ac7ccaffa6c6d to your computer and use it in GitHub Desktop.
# 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