Re: [despammed] Re: [GENERAL]

From: "Adam O'Toole" <adamnb1(at)hotmail(dot)com>
To: andreas_kretschmer(at)despammed(dot)com, pgsql-novice(at)postgresql(dot)org
Subject: Re: [despammed] Re: [GENERAL]
Date: 2005-08-14 17:03:23
Message-ID: BAY102-F29963C8810BA3927F9B57BFBBE0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

<html><div style='background-color:'><DIV class=RTE>
<P>Thanks,</P>
<P>I got it working now. I was able to do it two ways. To do just a PG_dump of a database you can use PGAdmin to backup the old one, and use PGAdmin again to restore it on the windows install. If you want to get the users and groups as well, then use the PG_dumpall to get the dump file, and as you said, you can restore it on the windows instance using the command prompt, the pg_restore.exe is found in the Bin directory of the postgreSQL 8 install location.&nbsp;&nbsp;<BR><BR></P><BR><BR><BR>&gt;From: Kretschmer Andreas &lt;andreas_kretschmer(at)despammed(dot)com&gt;<BR>&gt;To: pgsql-novice(at)postgresql(dot)org<BR>&gt;Subject: Re: [NOVICE] [despammed] Re: [GENERAL]<BR>&gt;Date: Sun, 14 Aug 2005 13:12:51 +0200<BR>&gt;<BR>&gt;Adam O'Toole &lt;adamnb1(at)hotmail(dot)com&gt; schrieb:<BR>&gt;<BR>&gt; &gt; Thanks for the feedback Richard and Andreas...<BR>&gt; &gt;<BR>&gt; &gt; Ok, I am missing one thing here? my
new instance is on a Windows server.<BR>&gt; &gt; How will I import the dump from my old 7.4.7 instance running on Linux,<BR>&gt; &gt; into my new 8.0.1 instance running on Windows 2003? How would you go about<BR>&gt; &gt; feeding a Dump file into a Windows install of postgreSQL 8.0.1? I have been<BR>&gt;<BR>&gt;You can do on the windows-machine:<BR>&gt;<BR>&gt;pg_dump -h &lt;old_server&gt; | psql<BR>&gt;<BR>&gt;I'm not familiar with windows (i hate it), but i think, this should be<BR>&gt;possible. Complete the calls to pg_dump &amp; psql with the right<BR>&gt;parameters.<BR>&gt;If this fails, check if you are able to connect to the remote PG-Server,<BR>&gt;adapt there the pg_hba.conf - file, if is necessary.<BR>&gt;<BR>&gt;http://www.postgresql.org/docs/current/static/client-authentication.html<BR>&gt;<BR>&gt;<BR>&gt;Andreas<BR>&gt;--<BR>&gt;Diese Message wurde erstellt mit freundlicher
Untersttzung eines freilau-<BR>&gt;fenden Pinguins aus artgerechter Freilandhaltung.&nbsp;&nbsp; Er ist garantiert frei<BR>&gt;von Micro$oft'schen Viren. (#97922 http://counter.li.org)&nbsp;&nbsp;&nbsp;&nbsp; GPG 7F4584DA<BR>&gt;Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082, E 13.56889 ;-)<BR>&gt;<BR>&gt;---------------------------(end of broadcast)---------------------------<BR>&gt;TIP 9: In versions below 8.0, the planner will ignore your desire to<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;choose an index scan if your joining column's datatypes do not<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;match<BR></DIV></div></html>

Attachment Content-Type Size
unknown_filename text/html 2.5 KB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrus Moor 2005-08-14 18:12:11 How to implement table caching
Previous Message Greg Stark 2005-08-14 15:26:33 Checking for old transaction snapshots

Browse pgsql-novice by date

  From Date Subject
Next Message Richard Huxton 2005-08-14 18:15:10 Re:
Previous Message Kretschmer Andreas 2005-08-14 11:12:51 Re: [despammed] Re: [GENERAL]