pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergey Moiseev <bopm@udaff.com>
To: pgsql-admin@postgresql.org
Cc: josh@segrestfarms.com <josh@segrestfarms.com>
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
Date: Tue, 09 Aug 2005 17:37:43 +0400
Message-ID: <42F8B1A7.9000105@udaff.com> (raw)
In-Reply-To: <42F8A369.60402@segrestfarms.com>
References: <42F8A369.60402@segrestfarms.com>

josh@segrestfarms.com wrote:

> 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.
> 
> 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.

As already mentioned, there is no unified backups for DBMS. You may move 
structure and data, but not stored procedures and triggers, by 
installing postgresql-odbc on mssql server machine and using 
export/import tools from enterprise manager of mssql to export from 
mssql and import into postgresql-odbc connection.

For user types, triggers, storeds you'll need to do rewrite it by hands.
-- 
Wbr, Sergey Moiseev



view thread (12+ messages)  latest in thread

Message-ID: <42F8B1A7.9000105@udaff.com>
Permalink:  ../42F8B1A7.9000105@udaff.com/
Also on:    postgresql.org/message-id/42F8B1A7.9000105@udaff.com

 · 

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: bopm@udaff.com, josh@segrestfarms.com
  Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
  In-Reply-To: <42F8B1A7.9000105@udaff.com>
  References: <42F8A369.60402@segrestfarms.com> <42F8B1A7.9000105@udaff.com>

* 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