Restore from old version to a new version of discourse failed

Ah, yeah, I think there was another bug. Make sure that the dump.sql is gzipped before you add it to the tar file. The backup must contain a dump.sql.gz.