Uninstalling SQL??

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Uninstalling SQL??

Postby Rictus » Fri Jun 04, 2010 8:50 am

Hi,

I'm really struggling to get my database transferred to a second machine. I was going to use the backup function, copy the back up file to the new machine, then 'restore' from there, but I can't do this because there isn't enough spare disk space on the old machine to create the backup in the first place! So I copied my PT3 and SQL Program folders to an external drive, and form there to machine number 2.

So far, so good, but then I did a so stupid, and installed PT3 on the new machine for ma download, along with SQL. When I try and overwrite the SQL install with the one I've copied, I'm unable to do so at he .dll files will not delete. Because of this, I also cannot just delete the SQL program folder.

Help!!! How do I either 1) remove the SQL install so I can used the copied one or 2) import the relevant data form the copied SQL into the new install so it works in PT3?

Many thanks in advance for any help you can offer - I realise the backup function is probably the ideal fix but I just can't get it done - half the reason I'm trying to migrate to a new machine in the first place!
Rictus
 
Posts: 5
Joined: Tue Apr 01, 2008 4:51 pm

Re: Uninstalling SQL??

Postby kraada » Fri Jun 04, 2010 9:03 am

The dll files don't actually matter for your database. What you care about is the data folder in the PostgreSQL\8.3\ directory.

When the database is stopped on your primary machine, copy off that folder and only that folder. Create a C:\Program Files (x86)\PostgreSQL\8.3\ directory on the new machine and copy the data folder into it.

The install PostgreSQL directly from this installer, and when you get to the screen that gives you the option, untick "Initialize Database Cluster". The install will complete and by default use your old database itself (assuming this is a 64 bit Windows machine - if it's not remove the (x86) bit in the path earlier).
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Uninstalling SQL??

Postby Rictus » Fri Jun 04, 2010 9:41 am

kraada wrote:The dll files don't actually matter for your database. What you care about is the data folder in the PostgreSQL\8.3\ directory.

When the database is stopped on your primary machine, copy off that folder and only that folder. Create a C:\Program Files (x86)\PostgreSQL\8.3\ directory on the new machine and copy the data folder into it.

The install PostgreSQL directly from this installer, and when you get to the screen that gives you the option, untick "Initialize Database Cluster". The install will complete and by default use your old database itself (assuming this is a 64 bit Windows machine - if it's not remove the (x86) bit in the path earlier).


Thank you SO much for the help. OK, I've now completed the process outlined above - I take it my next step is to just download and install PT3 from the site and enter my product code to activate it? Should it then automatically detect and connect with the data I've copied across?
Rictus
 
Posts: 5
Joined: Tue Apr 01, 2008 4:51 pm

Re: Uninstalling SQL??

Postby Rictus » Fri Jun 04, 2010 11:00 am

Thank you SO much for the help. OK, I've now completed the process outlined above - I take it my next step is to just download and install PT3 from the site and enter my product code to activate it? Should it then automatically detect and connect with the data I've copied across?


Apologies for the double post - OK, I installed PT3 and activiated it but the data has not transferred across. Any ideas?
Rictus
 
Posts: 5
Joined: Tue Apr 01, 2008 4:51 pm

Re: Uninstalling SQL??

Postby kraada » Fri Jun 04, 2010 12:38 pm

The database should be there but you need to tell PT3 to look for it. Click Database --> Database Management --> New and click the blue Browse link. Locate your database, click on it, click OK then Connect and you should be good to go (you'll probably want to set it as Active and Default).
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Uninstalling SQL??

Postby Rictus » Fri Jun 04, 2010 12:50 pm

kraada wrote:The database should be there but you need to tell PT3 to look for it. Click Database --> Database Management --> New and click the blue Browse link. Locate your database, click on it, click OK then Connect and you should be good to go (you'll probably want to set it as Active and Default).


I did try that - I'm getting 'No PT3 databases found' when browsing... :(
Rictus
 
Posts: 5
Joined: Tue Apr 01, 2008 4:51 pm

Re: Uninstalling SQL??

Postby kraada » Fri Jun 04, 2010 2:25 pm

That's odd. Create a support ticket using this link and we'll help you get this sorted.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 13 guests

cron