A CLI script for backing up MySQL databases.
bin/
src/
tests/
vendor/
Via Composer
$ composer require pxgamer/sqlbak-cli
Configuration can either be done using the --
CLI options, or provided in a JSON file.
Standard naming is .sqlbak.json
, and can be provided using -c .sqlbak.json
when using a command.
{
"username": "root",
"password": "root",
"databases": [
"test"
],
"compress": true
}
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.