changelog/0.18.1_2025-09-21/issue-5324
raw| 1 | Bugfix: Correctly handle `backup --stdin-filename` with directory paths |
| 2 | |
| 3 | In restic 0.18.0, the `backup` command failed if a filename that includes |
| 4 | at least a directory was passed to `--stdin-filename`. For example, |
| 5 | `--stdin-filename /foo/bar` resulted in the following error: |
| 6 | |
| 7 | ``` |
| 8 | Fatal: unable to save snapshot: open /foo: no such file or directory |
| 9 | ``` |
| 10 | |
| 11 | This has now been fixed. |
| 12 | |
| 13 | https://github.com/restic/restic/issues/5324 |
| 14 | https://github.com/restic/restic/pull/5356 |