Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Transfer Heroku Postgres databases or specific tables
Ruby
branch: master

This branch is 1 commit ahead of kitwalker12:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
LICENSE
README.md
init.rb

README.md

heroku-pg-table-transfer

Transfer Heroku Postgres databases or specific tables

Code referenced from https://github.com/heroku/heroku & https://github.com/ddollar/heroku-pg-transfer

Installation

$ heroku plugins:install https://github.com/kitwalker12/heroku-pg-table-transfer

Usage

$heroku pg:transfer_tables
  -f, --from DATABASE  # source database, defaults to DATABASE_URL on the app
  -t, --to   DATABASE  # target database
  --tables tables # comma-separated list of tables

$ env FROM_URL=postgres://localhost/myapp-development TO_URL=postgres://heroku.com/herokudb heroku pg:transfer_tables --tables my_tables
Something went wrong with that request. Please try again.