Merge pull request #3345 from greatroar/sftp-enospc

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

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