I'm trying to find a way to get a dump of a database in SQL 2000 to move to MySQL 5.5 on an Ubuntu Server 12.04. The Linux box runs some ruby scripts to convert the SQL data into JSON for upload to a website on AWS for a client portal.
We're running SQL 2000 on Windows Server 2008 Standard (x86), which is a VM on a XenServer 6.0 host. The destination Ubuntu server is x64, also a VM on the same XenServer host. I know SQL2K is antiquated tech, but it is the newest version of SQL the proprietary software we run on can use. And yes - we're looking into an upgrade there; but that is not today.
My thought was to just run a DUMP command through the Query Analyzer, but I keep getting errors.
USE <database_name>
EXEC sp_addumpdevice 'disk', 'tempdumpdisk', 'c:\dump\dump.bak'
GO
DUMP DATABASE <database_name>
TO DISK = 'tempdumpdisk'
GO
EXEC sp_dropdevice 'tempdumpdisk'
The errors I get:
Server: Msg 15247, Level 16, State 1, Procedure sp_addumpdevice, Line 27 User does not have permission to perform this action. Processed 98264 pages for database '', file '' on file 4. Processed 1 pages for database '', file '' on file 4. BACKUP DATABASE successfully processed 98265 pages in 22.056 seconds (36.497 MB/sec). Server: Msg 15247, Level 16, State 1, Procedure sp_dropdevice, Line 38 User does not have permission to perform this action.
I'm logged into the server as a domain admin, and connecting to the database as sysdba. I don't know where the permissions issue would be coming from.
I apologize if this is obvious to you all. I'm quite new to all this and have been tossed into the deep end as it were. I don't post to these forums (I search the heck out of them usually), but I'm desperate.
Thank you!!