pxgamer / sqlbak-cli
A CLI script for backing up MySQL databases.
                                    Fund package maintenance!
                                                                            
                                                                                                                                        owenvoke
                                                                                    
                                                                            
                                                                                                                                        ecologi.com/owenvoke?gift-trees
                                                                                    
                                                                
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/pxgamer/sqlbak-cli
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: 2025-10-11 17:23:17 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.