Skip to content

PoeBlu/s3mysqldump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s3mysqldump

s3mysqldump is a tool to dump mysql tables to S3, so they can be consumed by Elastic MapReduce, etc.

Installation

From source:

python setup.py install

A Simple Example

The following command dumps 'user' table in 'db' database to s3 bucket s3://emr-storage/. 'my.cnf' specifies mysql parameters. 'boto.cfg' is the configure file for s3 connection which specifies things like aws credentials etc.

s3mysqldump -v --force -m my.cnf -s -b boto.cfg db user s3://emr-storage/user.sql

About

Dump mysql tables to s3, and parse them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%