LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 01-23-2006, 01:20 PM   #1
mandrivaLE2005
LQ Newbie
 
Registered: Jul 2005
Distribution: Ubuntu
Posts: 4

Rep: Reputation: 0
Question Restoring MSSQL database backup into PSQL


I'd like to restore MSSQL database backup file into PostrgreSQL database server.

Can somebody give me some hints?

I'm doing that on a Debian system not Mandrake (sry 4 my stupid nickname)



thanks
 
Old 01-24-2006, 11:36 AM   #2
climbingmerlin
Member
 
Registered: Mar 2004
Location: UK
Distribution: Fedora, OpenSuse
Posts: 91

Rep: Reputation: 15
I am not sure how you could do this easy. All I can think of is to download something like MSSQL Server 2005 Express and restore the database file to that. OK you need a windows box for this but from there with the Postgresql ODBC driver you should be able to run a export job to the ODBC to your postgresql server, and that will populate the database with the data that is stored on the MSSQL dump file.

It might need a little tweeking but it should be workable. Apart from that I don't think that I can think of any other way that you can do it.

Hope this helps
 
Old 01-24-2006, 12:06 PM   #3
mandrivaLE2005
LQ Newbie
 
Registered: Jul 2005
Distribution: Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
Where can i download that Windows box?

I searched on google but i can't find it

BTW:And is possible to run MS SQL under linux?
 
Old 01-24-2006, 02:40 PM   #4
climbingmerlin
Member
 
Registered: Mar 2004
Location: UK
Distribution: Fedora, OpenSuse
Posts: 91

Rep: Reputation: 15
When I say windows box what i mean is that you need a machine with either windows 2000 or XP installed on it.

Sadly, well as far as I know MSSQL does not work under linux even if you are running something like wine.

To download MSSQL Server 2005 express go to http://www.microsoft.com/sql/edition...s/default.mspx
and you will find everything that you need to be able to use the MSSQL dump that you have.
 
Old 01-26-2006, 09:35 AM   #5
mandrivaLE2005
LQ Newbie
 
Registered: Jul 2005
Distribution: Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
Yes I've got installed wine 0.9.6

and i've just downloaded MS sql installer

I'm going to try it and i will inform you how it works/not works
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
taking backup and restoring postfix mail files cbekannan Linux - Software 3 10-28-2005 04:34 AM
Restoring *.sql database from Linux Fedora's shell marciano Linux - Newbie 1 10-19-2005 06:05 PM
Restoring MYSQL database without SSH shell access hct224 Linux - Newbie 5 01-08-2004 06:14 AM
restoring /etc files from tar backup hdagelic Linux - General 1 09-24-2003 07:04 AM
Restoring backup dominique Linux - Newbie 3 12-06-2001 02:59 AM


All times are GMT -5. The time now is 03:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration