Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hnhdigital-os/mysql-helper
Provides a helper to sync, clone, and backup local & remote databases
https://github.com/hnhdigital-os/mysql-helper
Last synced: about 7 hours ago
JSON representation
Provides a helper to sync, clone, and backup local & remote databases
- Host: GitHub
- URL: https://github.com/hnhdigital-os/mysql-helper
- Owner: hnhdigital-os
- License: mit
- Created: 2018-12-21T02:04:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-27T02:34:39.000Z (over 5 years ago)
- Last Synced: 2024-04-26T05:07:19.600Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 15 MB
- Stars: 18
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
```
_ _ _
| | | | | |
_ __ ___ _ _ ___ __ _| |______| |__ ___| |_ __ ___ _ __
| '_ ` _ \| | | / __|/ _` | |______| '_ \ / _ \ | '_ \ / _ \ '__|
| | | | | | |_| \__ \ (_| | | | | | | __/ | |_) | __/ |
|_| |_| |_|\__, |___/\__, |_| |_| |_|\___|_| .__/ \___|_|
__/ | | | | |
|___/ |_| |_|
```Provides a helper to sync, clone, and backup local & remote databases.
[![Latest Stable Version](https://img.shields.io/github/release/hnhdigital-os/mysql-helper.svg)](https://travis-ci.org/hnhdigital-os/mysql-helper) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Donate to this project using Patreon](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://patreon.com/RoccoHoward)
[![Build Status](https://travis-ci.org/hnhdigital-os/mysql-helper.svg?branch=master)](https://travis-ci.org/hnhdigital-os/mysql-helper) [![StyleCI](https://styleci.io/repos/162653021/shield?branch=master)](https://styleci.io/repos/162653021) [![Test Coverage](https://codeclimate.com/github/hnhdigital-os/mysql-helper/badges/coverage.svg)](https://codeclimate.com/github/hnhdigital-os/mysql-helper/coverage) [![Issue Count](https://codeclimate.com/github/hnhdigital-os/mysql-helper/badges/issue_count.svg)](https://codeclimate.com/github/hnhdigital-os/mysql-helper) [![Code Climate](https://codeclimate.com/github/hnhdigital-os/mysql-helper/badges/gpa.svg)](https://codeclimate.com/github/hnhdigital-os/mysql-helper)
This package has been developed by H&H|Digital, an Australian botique developer. Visit us at [hnh.digital](http://hnh.digital).
## Requirements
* PHP 7.1.3 (min)
* zip
* pv
* mysql
* php-ssh2## Installation
Via commmand line:
`bash <(curl -s https://hnhdigital-os.github.io/mysql-helper/builds/install)`
Download the latest build:
`curl -o ./mysql-helper -LSs https://github.com/hnhdigital-os/mysql-helper/raw/master/builds/mysql-helper`
`chmod a+x ./mysql-helper`Move it local bin:
`mv ./mysql-helper /usr/local/bin/mysql-helper`
Run the install command to run automatically dependency installation.
NOTE: This currently only works on Debian (uses apt-get). See the software requirements to manually install.`mysql-helper install`
Run the configure command to setup a profile, and add local and remote connections.
`mysql-helper configure`
## Updating
This tool provides a self-update mechanism. Simply run the self-update command.
`mysql-helper self-update`
## How to use
```
USAGE: mysql-helper [options] [arguments]
backup Backup a specific local database
clone Clone database from one to another
configure Configure profiles and connections
display List databases available to this connection
install Install system requirements
restore Restore a specific local database
```## Contributing
Please see [CONTRIBUTING](https://github.com/hnhdigital-os/mysql-helper/blob/master/CONTRIBUTING.md) for details.
## Credits
* [Rocco Howard](https://github.com/RoccoHoward)
* [All Contributors](https://github.com/hnhdigital-os/mysql-helper/contributors)## License
The MIT License (MIT). Please see [License File](https://github.com/hnhdigital-os/mysql-helper/blob/master/LICENSE.md) for more information.