Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

rohsyl/mqd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MySQL Quick Dump

Dump and restore database quickly with a single command.

Requirements

  • python >=3.9
  • mysql binary
  • mysqldump binary

Config

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

Take a snapshot

python mqd snapshot NAME

Restore a snapshot

python mqd restore NAME

See availables snapshot

python mqd ls

Delete a snapshot

python mqd delete NAME

About

MySQL Quick Dump

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages