laravel-backup
laravel-backup copied to clipboard
Added additional configuration options, enabled compression for MySQL dumps
-
File_name
format option inconfig.php
-
compress
option for automatic compression of MySQL dump inconfig.php
- Optional
--compress
and--uncompress
options for MySQL dumps in Artisan CLI
Thanks for the PR but please also provide testcases for the new feature.
Another thing: I'm not sure whether it would be better to use an extra step to compress the output files. It would also work for other databases. Something like this: http://stackoverflow.com/questions/6073397/how-do-you-create-a-gz-file-using-php