Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
simple python script to get gzipped mysql dumps with easy connection strings
branch: master

This branch is even with ahmetalpbalkan:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Makefile
README.md
mysqlbackup.py

README.md

mysqlbackup

A simple utility to get gzipped MySQL dumps with easy connection strings written in python.

Requirements

Script runs on >= Python 2.6 under Unix systems with gzip and mysqldump utils installed under /usr/bin.

Installation

Execute the following command as root (sudo).

make install

Usage

mysqlbackup username[:password]@hostname[:port]/database [-extra-mysqldump-parameters]

Output file will be formatted with timestamp as databasename_YYYYMMDD_HHMMSS.sql.gz.

If password is not specified, it will be prompted via standard input. Original mysqldump parameters can also be passed.

License

Distributed under GNU/GPL v3.

Contact

Maintainer: Ahmet Alp Balkan

Something went wrong with that request. Please try again.