A CLI written in python to manage mysql dumps.
- Python3
- mysql (with mysqladmin and mysqldump support)
git clone [email protected]:JenoDK/jdump.git
cd jdump
# Activate virtual env if you want
pip install -r requirements.txt
python jdump.py
You will be prompted to initialize the configuration.
Define configuration
Select which configuration to use, select the one you just created
Your configuration will be stored in <path_to_jdump>/config.yml
. You can see an example of what the config.yml should look like in example_config.yml
You can browse the menu and choose what you want to do, the choices are pretty obvious in what they will do.
After each action the menu wil open again, you can exit by selecting Exit
or using Control + C
I would recommend setting up an alias for the script.
alias jdump='python /Users/user/git/jdump/jdump.py'
or if you're using a virtualenv (in my case virtualfish)
alias jdump='vf activate jdump && python /Users/dekeyzer/git/jdump/jdump.py; vf deactivate'
git clone [email protected]:JenoDK/jdump.git
cd jdump
# Activate virtual env if you want
pip install -r requirements.txt
pip install -r requirements_dev.txt