conformal / cyphertite

A high-security scalable solution for online backups.
https://www.cyphertite.com/
46 stars 8 forks source link

Exit status 0 after IO error #83

Open PacAnimal opened 10 years ago

PacAnimal commented 10 years ago

Unplugging the power supply of an external USB drive by mistake caused the log to show this error: stat error: Input/output error

However, cyphertite still saved the (much smaller than last run) .ct file to the server and exited with status 0, having scanned only 124M of 38.4G.

Files scanned 57204 Total data 38.4G (5.6M/sec) Data read 124M (18.2K/sec) Data skipped 0B Data compressed 122M (17.9K/sec) (98%) Data exists 124M (18.1K/sec) (0%) Data sent 76.7K (11B/sec) Reduction ratio 99% Total Time 6985.448s

I would assume correct behaviour in this case would be a non-zero exit status and not uploading the incomplete .ct file.