restic-tools icon indicating copy to clipboard operation
restic-tools copied to clipboard

Prune after backup

Open jpmens opened this issue 8 years ago • 1 comments

It would be good if we could have configurable prune/forget after a backup. Something along the lines of

restic -r ${REPO} forget --host $HOSTNAME --keep-last 2 --prune

with keep configurable

jpmens avatar Sep 04 '17 15:09 jpmens

Hi, in case you are still wondering about this 3dd69be90c1946089c81cdc5dd83659bd56062af introduced pre/post scripts that could be utilised for this.

fbartels avatar Jan 21 '18 10:01 fbartels