Skip to content
This repository has been archived by the owner on Aug 11, 2019. It is now read-only.

rdolgushin/mydumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple MySQL dumper

Mydumper allows you:

  • To make dumps of MySQL databases
  • Automaticaly remove outdated or unnecessary of stored dumps

Installation

Is recommended to install mydumper with pip and virtualenv, but you can also use any other method of Python package installing.

From PyPI

$ pip install mydumper

From Git sources

$ git clone git://github.com/rdolgushin/mydumper.git
$ pip install -e mydumper/

Usage

$ mydumper
usage: mydumper -u USER [-p PASSWORD] [-h HOST] -d DUMP_DIR
                [-m MAX_DUMPS_QTY] [-M MAX_DAYS_DELTA]
                database
$ mydumper -u john -p secret -m 10 -M 3 test_db

Crontab example:

0 */1 * * * * /home/john/.virtualenvs/default/bin/mydumper -u john -p secret -m 10 -M 3 test_db

See also

Releases

No releases published

Packages

No packages published

Languages