Skip to content

pawelgorzelany/table-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table copy

Simple utility script to copy database tables. Works with MySQL.

Instalation and usage

To install the script run:

$ pip install git+https://github.com/gonzomember/table-copy.git#egg=table_copy

it is however strongly encouraged to do so inside a virtualenv.

To run it, just type:

$ table-copy <table name> --source <source-host> <source-user> <source-pass> <source-db> --target <target-host> <target-user> <target-pass> <target-db>

Setting up for development

Clone the repo with git clone https://github.com/gonzomember/table-copy.git and that's it. To run tests cd into the repo root directory and type python setup.py test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages