Merge pull request #4075 from greatroar/sftp-enospc

sftp: Fix ENOSPC check
This commit is contained in:
Michael Eischer authored and GitHub committed 2022-12-09 22:00:13 +01:00
commit 4b98b5562d
2 files changed
+14 -3

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
Bugfix: SFTP backend now checks for disk space
A backup to an SFTP backend would spew repeated SSH_FX_FAILURE messages when
the remote disk is full. Restic now reports "sftp: no space left on device"
and exits immediately when it detects this condition.
A fix for this issue was promised in restic 0.12.1, but the fix itself
contained a bug that prevented it from triggering.
https://github.com/restic/restic/issues/3336
https://github.com/restic/restic/pull/3345
https://github.com/restic/restic/pull/4075