Prune VM backups after every run
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
# GENERATED BY CHEF
|
||||
# DO NOT EDIT
|
||||
set -e
|
||||
|
||||
echo "Pruning backups of VM: $1"
|
||||
|
||||
borg prune --prefix $1 \
|
||||
--keep-hourly 4 --keep-daily 4 --keep-weekly 1 \
|
||||
--keep-monthly 1 --keep-yearly 1 \
|
||||
--stats $BORG_REPO
|
||||
Reference in New Issue
Block a user