Sha256: 16f7d458469563f03457a6228c8c6671f4ddcac2ad6dac65afd0007576d80db1

Contents?: true

Size: 1.79 KB

Versions: 24

Compression:

Stored size: 1.79 KB

Contents

= 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

or when you want to transfer a list of tables

  $ taps push postgres://dbuser:dbpassword@localhost/dbname http://httpuser:httppassword@example.com:5000 --tables logs,tags

or when you want to transfer tables that start with a word

  $ taps push postgres://dbuser:dbpassword@localhost/dbname http://httpuser:httppassword@example.com:5000 --filter '^log_'

== Known Issues

* Foreign Keys get lost in the schema transfer
* Tables without primary keys will be incredibly slow to transfer. This is due to it being inefficient having large offset values in queries.
* Multiple schemas are currently not supported

== 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: http://www.opensource.org/licenses/mit-license.php

http://github.com/ricardochimal/taps

Special Thanks to Sequel for making this tool possible http://sequel.rubyforge.org/

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
taps-0.3.21 README.rdoc
taps-0.3.20 README.rdoc
taps-0.3.20.pre2 README.rdoc
taps-0.3.20.pre1 README.rdoc
taps-0.3.19 README.rdoc
taps-0.3.19.pre1 README.rdoc
taps-0.3.18 README.rdoc
taps-0.3.17 README.rdoc
taps-0.3.15 README.rdoc
taps-jruby-0.3.14 README.rdoc
taps-0.3.14 README.rdoc
taps-0.3.13 README.rdoc
taps-0.3.12 README.rdoc
taps-0.3.11 README.rdoc
dkastner-taps-0.3.11 README.rdoc
taps-0.3.10 README.rdoc
taps-0.3.9 README.rdoc
taps-0.3.8 README.rdoc
taps-0.3.7 README.rdoc
taps-0.3.6 README.rdoc