This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
taps /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Feb 06 13:24:41 -0800 2009 | |
| |
LICENSE | Fri Feb 06 13:34:54 -0800 2009 | |
| |
README.rdoc | Mon Mar 23 19:31:12 -0700 2009 | |
| |
Rakefile | Fri Jun 12 18:26:01 -0700 2009 | |
| |
VERSION.yml | Tue Nov 24 19:42:56 -0800 2009 | |
| |
bin/ | Fri Jun 12 18:25:04 -0700 2009 | |
| |
lib/ | Tue Nov 24 17:50:21 -0800 2009 | |
| |
spec/ | Tue Nov 24 17:50:21 -0800 2009 | |
| |
taps.gemspec | Tue Nov 24 19:48:34 -0800 2009 |
README.rdoc
Taps — simple database import/export app
A simple database agnostic import/export app to transfer data to/from a remote database.
Usage: Server
Here’s how you start a taps server
$ taps server postgres://localdbuser:localdbpass@localhost/dbname httpuser httppassword
You can also specify an encoding in the database url
$ taps server mysql://localdbuser:localdbpass@localhost/dbname?encoding=latin1 httpuser httppassword
Usage: Client
When you want to pull down a database from a taps server
$ taps pull postgres://dbuser:dbpassword@localhost/dbname http://httpuser:httppassword@example.com:5000
or when you want to push a local database to a taps server
$ taps push postgres://dbuser:dbpassword@localhost/dbname http://httpuser:httppassword@example.com:5000
Known Issues
- Blob data may not transfer properly, I suspect that SQLite3 is modifying some native ruby objects.
- Foreign Keys get lost in the schema transfer
- Large tables (>1 million rows with a large number of columns) get slower as the offset gets larger. This is due to it being inefficient having large offset values in queries.
Meta
Maintained by Ricardo Chimal, Jr. (ricardo at heroku dot com)
Written by Ricardo Chimal, Jr. (ricardo at heroku dot com) and Adam Wiggins (adam at heroku dot com)
Early research and inspiration by Blake Mizerany
Released under the MIT License: www.opensource.org/licenses/mit-license.php







