pxgamer / sqlbak-cli
A CLI script for backing up MySQL databases.
Fund package maintenance!
owenvoke
ecologi.com/owenvoke?gift-trees
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: 2024-12-11 15:18:52 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.