summaryrefslogtreecommitdiffstats
path: root/scripts/sh/restic/cleanup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sh/restic/cleanup.sh')
-rw-r--r--scripts/sh/restic/cleanup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/sh/restic/cleanup.sh b/scripts/sh/restic/cleanup.sh
new file mode 100644
index 0000000..ccfe9c2
--- /dev/null
+++ b/scripts/sh/restic/cleanup.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+. restic_env
+/usr/bin/restic forget --group-by hosts,paths --keep-daily 90 --prune --cleanup-cache -v