Suggested improvements to discourse backup format

(Sam Saffron) #1

We are double compressing database:

First time at:

Second time at:

Instead this really should be a simple “tar file”, with the db added to it and then a bundle of compressed files.


- metadata
- database.compressed
- uploads_folder.compressed

This makes it ultra cheap to read metadata (since its at the head of the tar file) and means we also stop the double compression of database.

Migration version is missing from the filename – can't restore from backup