Remove restic stats because it's slow
This commit is contained in:
parent
bbab6535a1
commit
3afbdc712f
1 changed files with 1 additions and 3 deletions
|
@ -18,9 +18,7 @@ minecraft-backup-backup () {
|
|||
minecraft-backup-check () {
|
||||
local WORLD_SIZE_BYTES
|
||||
WORLD_SIZE_BYTES=$(du -b --max-depth=0 "$SERVER_WORLD" | awk '{print $1}')
|
||||
local RESTIC_SIZE
|
||||
RESTIC_SIZE=$(restic stats -r "$RESTIC_REPO" | tail -n1 | awk -F' ' '{ print $3 " " $4 }')
|
||||
echo "$WORLD_SIZE_BYTES/$RESTIC_SIZE"
|
||||
echo "$WORLD_SIZE_BYTES"
|
||||
}
|
||||
|
||||
minecraft-backup-epilog () {
|
||||
|
|
Loading…
Add table
Reference in a new issue