Project:Demonstration site (Sandbox / Snapshot)
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

It would be nice to either compress the generated .sql file or to provide the option to have that file compressed.

Comments

#1

Status:active» needs review

Adds database compress using PHP's Zlib. At the same time, it supports reading from example.sql files if they exist during database restore for backwards compatibility.

AttachmentSize
democompression.patch 5.59 KB

#2

Cleaned up the logic a bit and it now degrades gracefully for creating the dumps if zlib compression is not available.

AttachmentSize
474414.patch 5.41 KB

#3

The patch worked out great for me. My 500K dumps are now 55K without having to do any manual compression.

nobody click here