https://github.com/codedrinker/mysql-dumper
MySQL remote dump and local crontab dump.
https://github.com/codedrinker/mysql-dumper
Last synced: 2 months ago
JSON representation
MySQL remote dump and local crontab dump.
- Host: GitHub
- URL: https://github.com/codedrinker/mysql-dumper
- Owner: codedrinker
- Created: 2016-12-20T15:41:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-22T17:03:56.000Z (over 8 years ago)
- Last Synced: 2025-01-07T14:12:31.736Z (4 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mysql-dumper
MySQL remote dump and local crontab dump.# Install
install web.py
```
sudo pip install web.py
```
# Usage
Using the following command to run app.
```
python dumper.py 8080 --mysql-dump-dir ~/ --mysql-host localhost --mysql-user root --mysql-password root --mysql-database mysql-dumper
```After the app is running, We can use the following address to remote dump mysql.
```
curl "http://*.*.*.*:8080/dump?password=mysql-dumper"
```