mirror of
https://github.com/octoleo/restic.git
synced 2024-11-27 07:16:40 +00:00
11 lines
477 B
Plaintext
11 lines
477 B
Plaintext
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
|