pxgamer / sqlbak-cli
A CLI script for backing up MySQL databases.
v1.0.3
2017-12-06 15:43 UTC
Requires
- php: ^7.1
- symfony/console: ^3.3.8
Requires (Dev)
- phpunit/phpunit: ^6.4
- squizlabs/php_codesniffer: ^3.1
This package is auto-updated.
Last update: 2026-03-11 18:23:47 UTC
README
A CLI script for backing up MySQL databases.
Structure
bin/
src/
tests/
vendor/
Install
Via Composer
$ composer require pxgamer/sqlbak-cli
Usage
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
}
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.