#!/bin/bash
# Retention + prune for the bastion guest-level restic repo.
set -euo pipefail

source /root/.restic-env
export HOME=/root

exec restic     --password-file /root/.resticpwd     forget --keep-within 30d --prune
