Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Get last restic backup time
restic snapshots -r /backup -p pass --json | jq -r '.[-1].time|strptime("%Y-%m-%dT%H:%M:%S.%Z")|mktime'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.