mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-19 10:25:49 +00:00
calc_stats progress display: add archive name
This commit is contained in:
parent
25e27a1539
commit
a2fb9cde4e
1 changed files with 2 additions and 1 deletions
|
@ -671,7 +671,8 @@ Utilization of max. archive size: {csize_max:.0%}
|
|||
archive_index = ChunkIndex()
|
||||
sync = CacheSynchronizer(archive_index)
|
||||
add(self.id)
|
||||
pi = ProgressIndicatorPercent(total=len(self.metadata.items), msg='Calculating statistics... %3d%%',
|
||||
pi = ProgressIndicatorPercent(total=len(self.metadata.items),
|
||||
msg='Calculating statistics for archive %s ... %%3d%%%%' % self.name,
|
||||
msgid='archive.calc_stats')
|
||||
for id, chunk in zip(self.metadata.items, self.repository.get_many(self.metadata.items)):
|
||||
pi.show(increase=1)
|
||||
|
|
Loading…
Add table
Reference in a new issue