diff --git a/restic-cron b/restic-cron index 0dc4130..8c7e579 100755 --- a/restic-cron +++ b/restic-cron @@ -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