infrastructure/ansible/roles/restic/files/restic-backup.sh

8 lines
236 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -e
exec $HOME/backrest.sh --verbose backup --files-from=$HOME/restic-include.txt --exclude-file=$HOME/restic-excludes.txt
exec $HOME/backrest.sh forget --prune --keep-daily 30 --keep-monthly 3 --group-by host