callahanrts / dbmgr

Command line tool to back up, restore, and provision development databases
MIT License
93 stars 4 forks source link

Improvement idea - use gzip / bzip2 to decrease backup file size #1

Open jmgarnier opened 6 years ago

jmgarnier commented 6 years ago

I gave a try to dbmgr and to my surprise, I ended up with 1.5G file. Looking at your code, you could compress the backups.

For mysql, see https://blog.marceloaltmann.com/backup-compactadoem-mysql-mysqldump-gzip-bzip2/

jmgarnier commented 6 years ago

Thanks for sharing your tool anyway 😄