mirror of
https://github.com/restic/restic.git
synced 2024-12-21 23:33:03 +00:00
add restore --delete changelog
This commit is contained in:
parent
569f111cb1
commit
54316978cd
1 changed files with 10 additions and 0 deletions
10
changelog/unreleased/issue-2348
Normal file
10
changelog/unreleased/issue-2348
Normal file
|
@ -0,0 +1,10 @@
|
|||
Enhancement: Add `--delete` option to `restore` command
|
||||
|
||||
The `restore` command now supports a `--delete` option that allows removing files and directories
|
||||
from the target directory that do not exist in the snapshot. This option also allows files in the
|
||||
snapshot to replace non-empty directories.
|
||||
|
||||
To check that only the expected files are deleted add the `--dry-run --verbose=2` options.
|
||||
|
||||
https://github.com/restic/restic/issues/2348
|
||||
https://github.com/restic/restic/pull/4881
|
Loading…
Reference in a new issue