Yes, I was supposing a person was logged into their Discourse instance.
If we offer a GUI method to recover a backup, for people unfamiliar with the command line, perhaps that code can include some check on the backup file and at least report the size and type if the uncompression library throws an error.