mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-23 07:48:04 +01:00
7 lines
234 B
Text
7 lines
234 B
Text
|
#!/bin/bash
|
||
|
set -euo pipefail
|
||
|
killall restic || true
|
||
|
source /mnt/data/bin/resticenv
|
||
|
/usr/bin/restic unlock
|
||
|
/usr/bin/restic forget --prune --keep-within-hourly 1d --keep-within-daily 7d --keep-within-weekly 1m --keep-within-monthly 6m
|