Merge pull request #3167 from renard/limit-snapshots-list

Add option to limit snapshots list
This commit is contained in:
MichaelEischer
2021-05-13 20:26:33 +02:00
committed by GitHub
2 changed files with 30 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
Enhancement: Allow limiting the snapshots list
The `--last` option allowed limiting the output of the `snapshots`
command to the latest snapshot for each host. The new `--latest n`
option allows limiting the output to the latest `n` snapshots.
This change deprecate `--last` in favour of `--latest 1`
https://github.com/restic/restic/pull/3167