diff --git a/deploy/dump.cmd b/deploy/dump.cmd new file mode 100644 index 0000000..4361011 --- /dev/null +++ b/deploy/dump.cmd @@ -0,0 +1 @@ +"C:\PostgreSQL\pg10\bin\pg_dump" -h localhost -p 5433 -U ptrowbridge -d ubm -s -O -F p -f "C:\users\fleet\Documents\tps_etl\ubm_schema.sql" diff --git a/deploy/rebuild_pg.cmd b/deploy/setup.cmd similarity index 59% rename from deploy/rebuild_pg.cmd rename to deploy/setup.cmd index 1dd943e..5075a59 100644 --- a/deploy/rebuild_pg.cmd +++ b/deploy/setup.cmd @@ -1,4 +1,3 @@ "C:\PostgreSQL\pg10\bin\psql" -h localhost -p 5433 -d postgres -U postgres -c "DROP DATABASE ubm" "C:\PostgreSQL\pg10\bin\psql" -h localhost -p 5433 -d postgres -U postgres -c "CREATE DATABASE ubm" -"C:\PostgreSQL\pg10\bin\psql" -h localhost -p 5433 -d ubm -U postgres -f "C:\users\fleet\documents\tps_etl\ubm_schema.sql" -"C:\PostgreSQL\pg10\bin\psql" -h localhost -p 5433 -d ubm -U postgres -f "C:\users\fleet\documents\tps_etl\ubm_data.sql" +"C:\PostgreSQL\pg10\bin\psql" -h localhost -p 5433 -d ubm -U postgres -f "C:\users\fleet\documents\tps_etl\ubm_schema.sql" \ No newline at end of file diff --git a/deploy/ubm_backup.cmd b/deploy/ubm_backup.cmd deleted file mode 100644 index e8e9242..0000000 --- a/deploy/ubm_backup.cmd +++ /dev/null @@ -1,2 +0,0 @@ -"C:\PostgreSQL\pg10\bin\pg_dump" -h localhost -p 5433 -U ptrowbridge -d ubm -s -O -F p -f "C:\users\fleet\Documents\tps_etl\ubm_schema.sql" -"C:\PostgreSQL\pg10\bin\pg_dump" -h localhost -p 5433 -U ptrowbridge -d ubm --column-inserts -a -O -F p -f "C:\users\fleet\Documents\tps_etl\ubm_data.sql"