mirror of
https://github.com/restic/restic.git
synced 2025-12-02 14:35:23 +00:00
Prepare changelog for 0.17.0
This commit is contained in:
16
changelog/0.17.0_2024-07-26/issue-4568
Normal file
16
changelog/0.17.0_2024-07-26/issue-4568
Normal file
@@ -0,0 +1,16 @@
|
||||
Bugfix: Prevent `forget --keep-tags <invalid>` from deleting all snapshots
|
||||
|
||||
Running `forget --keep-tags <invalid>`, where `<invalid>` is a tag that does
|
||||
not exist in the repository, would remove all snapshots. This is especially
|
||||
problematic if the tag name contains a typo.
|
||||
|
||||
The `forget` command now fails with an error if all snapshots in a snapshot
|
||||
group would be deleted. This prevents the above example from deleting all
|
||||
snapshots.
|
||||
|
||||
It is possible to temporarily disable the new check by setting the environment
|
||||
variable `RESTIC_FEATURES=safe-forget-keep-tags=false`. Note that this feature
|
||||
flag will be removed in the next minor restic version.
|
||||
|
||||
https://github.com/restic/restic/pull/4568
|
||||
https://github.com/restic/restic/pull/4764
|
||||
Reference in New Issue
Block a user