Merge pull request #3345 from greatroar/sftp-enospc

Check for ENOSPC and remove broken files in SFTP
This commit is contained in:
MichaelEischer authored and GitHub committed 2021-05-13 20:09:38 +02:00
commit 64b00d28b1
2 files changed
+53 -3

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
Enhancement: SFTP backend now checks for disk space
Backing up over SFTP previously spewed multiple generic "failure" messages
when the remote disk was full. It now checks for disk space before writing
a file and fails immediately with a "no space left on device" message.
https://github.com/restic/restic/issues/3336
https://github.com/restic/restic/pull/3345