mirror of
https://github.com/octoleo/restic.git
synced 2025-01-22 22:58:26 +00:00
Merge pull request #3618 from mattxtaz/master
Add missing colon in prune stats output and realign the fields
This commit is contained in:
commit
8b6fe845d4
@ -462,7 +462,7 @@ func prune(opts PruneOptions, gopts GlobalOptions, repo restic.Repository, usedB
|
|||||||
Verboseff("unused size: %s of total size\n", formatPercent(unusedSize, totalSize))
|
Verboseff("unused size: %s of total size\n", formatPercent(unusedSize, totalSize))
|
||||||
|
|
||||||
Verbosef("\nto repack: %10d blobs / %s\n", stats.blobs.repack, formatBytes(stats.size.repack))
|
Verbosef("\nto repack: %10d blobs / %s\n", stats.blobs.repack, formatBytes(stats.size.repack))
|
||||||
Verbosef("this removes %10d blobs / %s\n", stats.blobs.repackrm, formatBytes(stats.size.repackrm))
|
Verbosef("this removes: %10d blobs / %s\n", stats.blobs.repackrm, formatBytes(stats.size.repackrm))
|
||||||
Verbosef("to delete: %10d blobs / %s\n", stats.blobs.remove, formatBytes(stats.size.remove+stats.size.unref))
|
Verbosef("to delete: %10d blobs / %s\n", stats.blobs.remove, formatBytes(stats.size.remove+stats.size.unref))
|
||||||
totalPruneSize := stats.size.remove + stats.size.repackrm + stats.size.unref
|
totalPruneSize := stats.size.remove + stats.size.repackrm + stats.size.unref
|
||||||
Verbosef("total prune: %10d blobs / %s\n", stats.blobs.remove+stats.blobs.repackrm, formatBytes(totalPruneSize))
|
Verbosef("total prune: %10d blobs / %s\n", stats.blobs.remove+stats.blobs.repackrm, formatBytes(totalPruneSize))
|
||||||
|
@ -91,7 +91,7 @@ command must be run:
|
|||||||
[0:00] 100.00% 5 / 5 packs processed
|
[0:00] 100.00% 5 / 5 packs processed
|
||||||
|
|
||||||
to repack: 69 blobs / 1.078 MiB
|
to repack: 69 blobs / 1.078 MiB
|
||||||
this removes 67 blobs / 1.047 MiB
|
this removes: 67 blobs / 1.047 MiB
|
||||||
to delete: 7 blobs / 25.726 KiB
|
to delete: 7 blobs / 25.726 KiB
|
||||||
total prune: 74 blobs / 1.072 MiB
|
total prune: 74 blobs / 1.072 MiB
|
||||||
remaining: 16 blobs / 38.003 KiB
|
remaining: 16 blobs / 38.003 KiB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user