restic isn't usable for me yet

This commit is contained in:
2020-06-11 21:20:13 +02:00
parent cbde7dc0c7
commit 28ad0db799
7 changed files with 0 additions and 108 deletions

View File

@@ -1,11 +0,0 @@
#!/bin/bash
source $HOME/.bin/restic_common
info "Forgetting snapshots"
restic -r $RESTIC_REPOSITORY unlock
restic --cache-dir $CACHE_DIR -r $RESTIC_REPOSITORY forget --keep-hourly $KEEP_HOURS --keep-daily $KEEP_DAYS --keep-weekly $KEEP_WEEKS --keep-monthly $KEEP_WEEKS --keep-yearly $KEEP_YEARS
info "Pruning snapshots"
restic -r $RESTIC_REPOSITORY unlock
restic --cache-dir $CACHE_DIR -r $RESTIC_REPOSITORY prune