Unix Technical Forum

Can a database be restored successfully after new installation.

This is a discussion on Can a database be restored successfully after new installation. within the Pgsql General forums, part of the PostgreSQL category; --> If I have a backup of pgsql database and I take this dump file to another machine where postgresql ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 01:49 PM
Rohit Prakash Khare
 
Posts: n/a
Default Can a database be restored successfully after new installation.

If I have a backup of pgsql database and I take this dump file to another machine where postgresql is freshly installed with standard settings. Will I be able to restore the database?





Have you checked out the new-look www.indiatimes.com yet?


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 01:49 PM
Andrew Sullivan
 
Posts: n/a
Default Re: Can a database be restored successfully after new installation.

On Fri, Feb 02, 2007 at 11:27:38PM +0530, Rohit Prakash Khare wrote:
> If I have a backup of pgsql database and I take this dump file to
> another machine where postgresql is freshly installed with standard
> settings. Will I be able to restore the database?


How did you backup? pg_dump? Sure, oughta work fine, assuming you
have all the necessary support in your target system. (e.g. if
you're using plpgsql, for instance, you need to have performed
createlang for it, &c.)

A


--
Andrew Sullivan | ajs@crankycanuck.ca
Unfortunately reformatting the Internet is a little more painful
than reformatting your hard drive when it gets out of whack.
--Scott Morris

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:02 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com