matzko/wp-db-backup — pull request #5 by michitux (2012-12-19 20:54:18+00:00)
Title: Compress on the fly during each step instead of at the end

This removes the compression at the end and instead creates a compressed file right from the beginning if possible (using gzopen/gzclose). The reason why I changed this was that on one installation over time the backup files got so large that I got an out of memory error in the delivery step when wp-db-backup tried to load the whole file content into memory so the backup wasn't sent per mail anymore and also couldn't be downloaded anymore. At least on this system the changed version works just fine and I couldn't notice any slowdown of the individual backup steps.