Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 414 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 414 Bytes

Pysqldump

Parallel mysqldump in Python

Getting started

This script requires mysqldump.

Copy this .env file and change its variables.

db_host=xxx
db_user=xxx
db_password=xxx
db_name=xxx
max_worker=8
# Install venv (optional)
python -m venv venv
source ./venv/bin/activate

# Install dependencies
pip3 install -r requirements.txt

# Run
export $(cat .env)
python3 pysqldump.py