No description
  • Ruby 99.8%
  • Batchfile 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2015-02-27 00:07:42 -10:00
bin bump sequel to 3.20.0 2011-02-14 01:32:51 -08:00
lib strip out server component and sinatra dep, bump version 2012-08-21 16:25:55 -07:00
spec support for a simple /health endpoint 2012-03-12 15:24:24 +00:00
.gitignore Ignore built gem files. 2012-04-27 15:00:52 -07:00
config.ru specify dependencies manually in the Gemfile for now 2011-01-11 21:14:44 -05:00
Gemfile Switch to using gemspec in Gemfile. 2012-04-27 15:00:32 -07:00
Gemfile.lock Load sqlite3 on-demand rather than making it a hard dependency. 2012-04-27 15:11:44 -07:00
LICENSE added LICENSE, README, jeweler rake tasks 2009-02-06 13:34:54 -08:00
Rakefile add build rake task 2011-01-11 10:44:10 -05:00
README.rdoc Update README to reflect unmaintained status 2015-02-27 00:07:42 -10:00
taps.gemspec make sqlite3 a hard dep, bump version 2012-08-21 16:47:35 -07:00
TODO added TODO 2010-04-15 12:19:25 -07:00
VERSION.yml make sqlite3 a hard dep, bump version 2012-08-21 16:47:35 -07:00

<b>NOTE: This fork is no longer supported or updated by GitHub. See https://github.com/ricardochimal/taps</b>

= 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 key constraints 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/