By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,514 Members | 813 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,514 IT Pros & Developers. It's quick & easy.

How to make a copy of a PG database

P: n/a
Hi, I installed PG 7.2 and have a database "foodsvc". I want to make a new
copy - "newfoodsvc". So that I can play with the "newfoodsve" without
making any change to "foodsvc.
How can I do that?
Thank you.
GL
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
"G Lam" <No*****@anywhere.com> scribbled on the stall wall:
Hi, I installed PG 7.2 and have a database "foodsvc". I want to make a new
copy - "newfoodsvc". So that I can play with the "newfoodsve" without
making any change to "foodsvc.
How can I do that?


look at the manpages for pg_dump and pg_restore.
--
dual 2.8Ghz Xeon; 2GB RAM; 500GB ATA-133; nVidia powered
Linux 2.6.10; glibc-2.3.5; vendor neutral home-brewed installation

----anything after this line is ANNOYING CRAP that the newsserver adds-----
---directly contact newsfeeds and ISPs that piggy back them to complain----
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.