2024-06-29 20:31:19 +00:00
|
|
|
Enhancement: Add `--delete` option to `restore` command
|
|
|
|
|
2024-07-22 22:19:22 +00:00
|
|
|
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 having the same name.
|
2024-06-29 20:31:19 +00:00
|
|
|
|
2024-07-22 22:19:22 +00:00
|
|
|
To check that only expected files are deleted, add the `--dry-run --verbose=2`
|
|
|
|
options.
|
2024-06-29 20:31:19 +00:00
|
|
|
|
|
|
|
https://github.com/restic/restic/issues/2348
|
|
|
|
https://github.com/restic/restic/pull/4881
|