You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/01/13 18:02:27 UTC
[6/7] incubator-trafficcontrol git commit: update pg-migration/README
update pg-migration/README
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/8370b7c5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/8370b7c5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/8370b7c5
Branch: refs/heads/master
Commit: 8370b7c522e6d103ed671ade2a3cc580efc1be97
Parents: 4cd7927
Author: Dan Kirkwood <da...@gmail.com>
Authored: Fri Jan 13 10:41:19 2017 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Jan 13 10:41:19 2017 -0700
----------------------------------------------------------------------
traffic_ops/app/db/pg-migration/README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/8370b7c5/traffic_ops/app/db/pg-migration/README.md
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/pg-migration/README.md b/traffic_ops/app/db/pg-migration/README.md
index 89ace35..d1c9be3 100644
--- a/traffic_ops/app/db/pg-migration/README.md
+++ b/traffic_ops/app/db/pg-migration/README.md
@@ -10,7 +10,9 @@
* Provide URL, username password for existing mysql install of `traffic_ops`:
- * `docker-compose down -v && docker-compose build && TO_SERVER=https://traffic_ops.kabletown.com TO_USER=me TO_PASSWORD='my!passwd' docker-compose up`
+ * `docker-compose -f docker-compose-pgmigration.yml down -v && \
+ docker-compose -f docker-compose-pgmigration.yml build && \
+ TO_SERVER=https://traffic_ops.kabletown.com TO_USER=me TO_PASSWORD='my!passwd' docker-compose -f docker-compose-pgmigration.yml up`
* Postgres is still running in a docker container -- dump the database to a file:
`docker exec -it pgmigration_postgres_host_1 pg_dump -Utraffic_ops >pg.sql`