Dump and restore database quickly with a single command.
- python >=3.9
- mysql binary
- mysqldump binary
Set a .mqd.config
file with database credentials in your current directory
[database]
host=localhost
port=3306
database=foo
user=bar
password=
[options]
output-dir=
mysql-bin=D:\xampp\mysql\bin\mysql.exe
mysql-dump-bin=D:\xampp\mysql\bin\mysqldump.exe
skip-tables=
snapshot-sub-process-max=15
restore-sub-process-max=1
python mqd snapshot NAME
python mqd restore NAME
python mqd ls
python mqd delete NAME