How to make testing environment about Postgres.

Mar 31, 2009
AD:

I often use postgres server,so sometimes I have to make testing environment for postgres in my windows pc.
So I want to write how to make testing environment about Postgres for my memo.

postgres

First Step

Please login postgres server, and then you have to change user what this user is postgres user.
And I use pg_dump.

-f to write file about output.
-Z。。Number this is level of compression.
-c it is cleaning for schema.

Second Step

You get dump file from server.And then you decompress file.

Third Step

You install postgres in your windows PC. Please check Postgres sites.

Fourth Step

Please copy dump file to there.


And please open command prompt and write this command.

Related posts

AD:

No Comments, Comment or Ping

Reply to “How to make testing environment about Postgres.”

ARCHIVES