Skip to content

simple python script to get gzipped mysql dumps with easy connection strings

Notifications You must be signed in to change notification settings

ozgurkuru/mysqlbackup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

simple python script to get gzipped mysql dumps with easy connection strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published