KenKundert / emborg

Interactive command line interface to Borg Backup
GNU General Public License v3.0
94 stars 8 forks source link

Allow use of {health} when displaying archive contents #40

Closed adhawkins closed 3 years ago

adhawkins commented 3 years ago

There is no way to use the {health} format specifier when using the 'manifest' command in emborg.

It would be useful if this could be added.

KenKundert commented 3 years ago

Your right, that does seem useful. I'll work on it.

KenKundert commented 3 years ago

I have just updated Emborg on github. I have reworked the manifest command so that all, or at least most, of the Borg field names are supported. None of the built-in formats include {health}, but you can use manifest_formats to create your own that does. However, I now colorize the output from manifest. If the line is green, the file is healthy. If it is red, the file is broken.

Please give it a try and see if it meets your needs.

adhawkins commented 3 years ago

Looks just the job. Can you make an 'official' release of this? I'm the maintainer of the alpine package, so I'll get it updated.

KenKundert commented 3 years ago

Okay I have updated to version 1.21 and have uploaded it to pypi.org. Thanks!