From 105261e12e58b95e66f3bce5d5b52cad7f03c63c Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Fri, 31 May 2024 16:25:42 +0200 Subject: [PATCH] add changelog for restore --overwrite --- changelog/unreleased/issue-4817 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 changelog/unreleased/issue-4817 diff --git a/changelog/unreleased/issue-4817 b/changelog/unreleased/issue-4817 new file mode 100644 index 000000000..b8ffc35ca --- /dev/null +++ b/changelog/unreleased/issue-4817 @@ -0,0 +1,11 @@ +Enhancement: Make overwrite behavior of `restore` customizable + +The `restore` command now supports an `--overwrite` option to configure whether +already existing files are overwritten. The default is `--overwrite always`, +which overwrites existing files. `--overwrite if-newer` only restores files +from the snapshot that are newer than the local state. And `--overwrite never` +does not modify existing files. + +https://github.com/restic/restic/issues/4817 +https://github.com/restic/restic/issues/200 +https://github.com/restic/restic/pull/4837