2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 12:55:18 +00:00
restic/changelog/0.16.0_2023-07-31/issue-3941

18 lines
815 B
Plaintext
Raw Normal View History

2022-12-10 15:02:29 +00:00
Enhancement: Support `--group-by` for backup parent selection
2023-07-29 00:30:40 +00:00
Previously, the `backup` command by default selected the parent snapshot based
on the hostname and the backup targets. When the backup path list changed, the
`backup` command was unable to determine a suitable parent snapshot and had to
read all files again.
2022-12-10 15:02:29 +00:00
2023-07-27 19:52:04 +00:00
The new `--group-by` option for the `backup` command allows filtering snapshots
2022-12-10 15:02:29 +00:00
for the parent selection by `host`, `paths` and `tags`. It defaults to
`host,paths` which selects the latest snapshot with hostname and paths matching
2023-07-27 19:52:04 +00:00
those of the backup run. This matches the behavior of prior restic versions.
2023-07-29 00:30:40 +00:00
The new `--group-by` option should be set to the same value as passed to
2023-07-27 19:52:04 +00:00
`forget --group-by`.
2022-12-10 15:02:29 +00:00
https://github.com/restic/restic/issues/3941
https://github.com/restic/restic/pull/4081