From 65908647e3090f5a4b0d0b9a89b1f2be747443e9 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Fri, 16 Jul 2021 22:11:01 +0200 Subject: [PATCH] Add changelog --- changelog/unreleased/pull-3436 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 changelog/unreleased/pull-3436 diff --git a/changelog/unreleased/pull-3436 b/changelog/unreleased/pull-3436 new file mode 100644 index 000000000..ffe1e5841 --- /dev/null +++ b/changelog/unreleased/pull-3436 @@ -0,0 +1,12 @@ +Enhancement: Improve local backend's resilience to (system) crashes + +Restic now ensures that files stored using the `local` backend are created +atomically (that is, files are either stored completely or not at all). This +ensures that no incomplete files are left behind even if restic is terminated +while writing a file. + +In addition, restic now tries to ensure that the directory in the repository +which contains a newly uploaded file is also written to disk. This can prevent +missing files if the system crashes or the disk is not properly unmounted. + +https://github.com/restic/restic/pull/3436