Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > Re: Restore Dat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 4911 of 5237
Post > Topic >>

Re: Restore Database From data folder

by chander@[EMAIL PROTECTED] (Chander Ganesan) May 5, 2008 at 06:38 PM

yogesh@[EMAIL PROTECTED]
 wrote:
> i have a backup of data folder of my old  postgresql database on 7.54
>
> now i want to restore my complete database from data folder in ver 8.1
>
I assume you mean you wish to upgrade your 7.4 installation of 
PostgreSQL to PostgreSQL 8.1 ?

The short answer:

You'll need to start the 7.4 version of the server, with your old data 
directory and run the version of 'pg_dumpall' that comes with PostgreSQL 
8.1 .  Once you've generated a dump and saved it, you can install 8.1 
and then use the 'psql' utility to re-load the dump on 8.1 .  The 7.4 
data directory isn't compatible with 8.1, so you'll need to perform the 
dump and subsequent restore.

You'll probably also want to go through the 7.4 pg_hba.conf and 
postgresql.conf files and ****t over any changes you need that are 8.1 
compatible.

-- 
Chander Ganesan
Open Technology Group, Inc.
One Copley Parkway, Suite 210
Morrisville, NC  27560
919-463-0999/877-258-8987
http://www.otg-nc.com
Expert PostgreSQL & PostGIS training - delivered worldwide.


-- 
Sent via pgsql-admin mailing list (pgsql-admin@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
 




 2 Posts in Topic:
Restore Database From data folder
yogesh@[EMAIL PROTECTED]   2008-04-15 10:41:27 
Re: Restore Database From data folder
chander@[EMAIL PROTECTED]  2008-05-05 18:38:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Sep 6 22:50:59 CDT 2008.