pxgamer/sqlbak-cli

A CLI script for backing up MySQL databases.

v1.0.3 2017-12-06 15:43 UTC

This package is auto-updated.

Last update: 2024-11-11 15:07:15 UTC


README

Latest Version on Packagist Software License Build Status Style CI Code Coverage Total Downloads

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.