pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James Herbers <james@herbers.ca>
To: josh@segrestfarms.com <josh@segrestfarms.com>
To: pgsql-admin@postgresql.org
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
Date: Tue, 09 Aug 2005 07:13:40 -0600
Message-ID: <42F8AC04.2060403@herbers.ca> (raw)
In-Reply-To: <42F8A369.60402@segrestfarms.com>
References: <42F8A369.60402@segrestfarms.com>

josh@segrestfarms.com wrote:

> Greetings.
>
> I am having difficulty moving a SQL Server 2000 database over to 
> PostgreSQL 8.0.3.
>
> In SQL Server, I am performing a backup of the database I want to 
> move.  I save that backup on my Desktop.
>
That backup is in Microsofts own format, PostgreSQL will not be able to 
read this.

> I am then opening up PGAdminIII and attempting to perform a Restore of 
> the database saved on my Desktop.  The first step I take is to create 
> a new database, MyDB.  Next, I highlight my new database and then 
> select Restore from the Tools menu.  The Restore Database window pops 
> up and I Browse to the database backup I've saved on my Desktop.  
> After selecting the backup, the 'OK' button stays grayed and I am 
> unable to proceed.
>
> Any ideas as to how I can work around this?  Thanks in advance.

Use a program such as  Aqua Data Studio (http://www.aquafold.com) to 
connect to the MSSQL db and export the data as INSERT statements. Then 
run the sql in PGAdmin.

>
>
> Josh in Tampa
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings





view thread (12+ messages)  latest in thread

Message-ID: <42F8AC04.2060403@herbers.ca>
Permalink:  ../42F8AC04.2060403@herbers.ca/
Also on:    postgresql.org/message-id/42F8AC04.2060403@herbers.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: james@herbers.ca, josh@segrestfarms.com
  Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
  In-Reply-To: <42F8AC04.2060403@herbers.ca>
  References: <42F8A369.60402@segrestfarms.com> <42F8AC04.2060403@herbers.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox