backuping up/restring pgsql
1 2 pg_dump dbname > dbname.sql 3 cat dbname.sql | psql dbname
DZone Snippets > technoweenie > database
12945 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Rick Olson http://techno-weenie.net
1 2 pg_dump dbname > dbname.sql 3 cat dbname.sql | psql dbname