470,614 Members | 1,396 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,614 developers. It's quick & easy.

How to make a copy of a PG database

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
1 4652
"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.

Similar topics

1 post views Thread by Skully Matjas | last post: by
2 posts views Thread by Lars Netzel | last post: by
13 posts views Thread by Niyazi | last post: by
12 posts views Thread by alanchinese | last post: by
4 posts views Thread by Jim Devenish | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.