Plan borg: improved script.
This commit is contained in:
parent
1e7a8bf4cf
commit
eb49e25972
|
@ -6,7 +6,7 @@ echo "==========================================================================
|
||||||
START_TIME=$(date +"%s")
|
START_TIME=$(date +"%s")
|
||||||
START_SIZE=$(du -s /var/backups/borg/ | awk '{ print $1 }')
|
START_SIZE=$(du -s /var/backups/borg/ | awk '{ print $1 }')
|
||||||
|
|
||||||
#borgmatic prune --stats --files --verbosity 1
|
borgmatic prune --stats --files --verbosity 1
|
||||||
|
|
||||||
# Only last borgmatic version has the compact command.
|
# Only last borgmatic version has the compact command.
|
||||||
cd /var/backups/borg/
|
cd /var/backups/borg/
|
||||||
|
|
Loading…
Reference in New Issue