Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Transfer Heroku Postgres databases or specific tables
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
LICENSE Initial commit
README.md remove env file read
init.rb remove env file read

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.