Tarsnap / tarsnap-gui

Cross-platform GUI for the Tarsnap backup service.
https://www.tarsnap.com
BSD 2-Clause "Simplified" License
251 stars 25 forks source link

GUI fails to record a new archive if tarsnap exits with an error #566

Open gperciva opened 10 months ago

gperciva commented 10 months ago

1) create a Job with a missing file. 2) create an archive with that Job. 3) tarsnap reports that there was a missing fail, causing the GUI to abandon the attempt to add a new archive. 4) but the archive actually has been created; it's on the Tarsnap server. Quitting and re-opening the GUI will load the archive, but that's obviously not a proper fix.

In src/taskmanager.cpp, line 343, it looks like it's trying to handle the case of a truncated archive, but that doesn't help with this case.