truncate history

This commit is contained in:
2020-06-11 21:16:05 +02:00
commit e974a4b480
29 changed files with 3544 additions and 0 deletions

6
borg/.bin/borg_prune Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
source $HOME/.bin/borg_common
info "Pruning snapshots"
borg prune --list --prefix '{hostname}-' --show-rc --keep-hourly $KEEP_HOURS --keep-daily $KEEP_DAYS --keep-weekly $KEEP_WEEKS --keep-monthly $KEEP_MONTHS --keep-yearly $KEEP_YEARS