From 45e09dca2a773b7a68260172ac1507c308b5cc7b Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Fri, 11 Apr 2025 22:19:33 +0200 Subject: [PATCH] add changelog for --stdin-filename with/directory --- changelog/unreleased/issue-5324 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 changelog/unreleased/issue-5324 diff --git a/changelog/unreleased/issue-5324 b/changelog/unreleased/issue-5324 new file mode 100644 index 000000000..0f5ff77e4 --- /dev/null +++ b/changelog/unreleased/issue-5324 @@ -0,0 +1,14 @@ +Bugfix: Correctly handle `backup --stdin-filename` with directories + +In restic 0.18.0, the `backup` command failed if a filename that includes +a least a directory was passed to `--stdin-filename`. For example, +`--stdin-filename /foo/bar` resulted in the following error: + +``` +Fatal: unable to save snapshot: open /foo: no such file or directory +``` + +This has been fixed now. + +https://github.com/restic/restic/issues/5324 +https://github.com/restic/restic/pull/5356