Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tweak readme

  • Loading branch information...
commit ed8081fb8cf58dcf64c3d23026eff1796b6bc1ab 1 parent 52389d9
@ddollar authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
8 README.md
@@ -12,27 +12,27 @@
pg_dump: reading schemas
pg_dump: reading user-defined tables
...
-
+#
$ heroku pg:transfer --from charcoal --to postgres://foo
Source database: HEROKU_POSTGRESQL_CHARCOAL on myapp.herokuapp.com
Target database: foo on localhost:5432
pg_dump: reading schemas
pg_dump: reading user-defined tables
...
-
+#
$ source .env && heroku pg:transfer --from $DATABASE_URL --to charcoal
Source database: myapp-development on localhost:5432
Target database: DATABASE on myapp.herokuapp.com
pg_dump: reading schemas
pg_dump: reading user-defined tables
...
-
+#
# detects non-postgres url
$ heroku pg:transfer --to mysql://foo
! Only PostgreSQL databases can be transferred with this command.
! For information on transferring other database types, see:
! https://devcenter.heroku.com/articles/import-data-heroku-postgres
-
+#
# if they dont have a local $DATABASE_URL
$ heroku pg:transfer
! No local DATABASE_URL detected and --to not specified.
Please sign in to comment.
Something went wrong with that request. Please try again.