New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include Restic client version in the snapshot information #4188
Comments
This is what tags are for, adding your own custom metadata. Just add a tag or two using the |
Certainly I can do this in Linux. With a little more effort it could be archived in Windows too. In Android it's a bit more complicate because I will have to build the app from source code. |
I support this extension. Having the correct program version adds a huge benefit for many use cases. Not only the one depicted here, but also think about errors in snapshots which are introduced by some specific versions only, etc.. Note that rustic already adds its version to the snapshot in the (optional)
Another use case, of course, is to differentiate snapshots that have been created by other clients implementing the same repo format like restic/rustic,... |
A |
Included in Restic Exporter for Prometheus => https://github.com/ngosang/restic-exporter |
This change broke my script because this attribute is the only one with a space in it. I solved it for me but maybe you should take a look if this is necessary or rename it to |
There are several fields in the |
Include Restic client version in the snapshot information.
In the output of this command
restic -r /data --verbose -p secret.txt --json snapshots
I'm using Restic to backup all the devices at home. That includes 3 smartphones, 3 Windows laptops and 2 Linux servers.
Since I want to keep Restic updated, it will be very useful for me to see the Restic client version used for the last snapshot.
After the version is added to the command output, I can make the integration with my Prometheus exporter to see the outdated versions in the Dashboard.
https://github.com/ngosang/restic-exporter#grafana-dashboard
The text was updated successfully, but these errors were encountered: