From 6e9778ae0ee290e638a602f1030e4b28ae27d0a5 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 6 Jan 2020 21:46:22 +0100 Subject: [PATCH] Add changelog file --- changelog/unreleased/issue-2518 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 changelog/unreleased/issue-2518 diff --git a/changelog/unreleased/issue-2518 b/changelog/unreleased/issue-2518 new file mode 100644 index 000000000..b2ae6bde7 --- /dev/null +++ b/changelog/unreleased/issue-2518 @@ -0,0 +1,16 @@ +Bugfix: Do not crash with Synology NAS sftp server + +It was found that when restic is used to store data on an sftp server on a +Synology NAS with a relative path (one which does not start with a slash), it +may go into an endless loop trying to create directories on the server. We've +fixed this bug by using a function oft the sftp library instead of our own +implementation. + +The bug was discovered because the Synology sftp server behaves erratic with +non-absolute path (e.g. `home/restic-repo`). This can be resolved by just using +an absolute path instead (`/home/restic-repo`). We've also added a paragraph in +the FAQ. + +https://github.com/restic/restic/issues/2518 +https://github.com/restic/restic/issues/2363 +https://github.com/restic/restic/pull/2530