Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 841
  • Last Modified:

How to restore a DTS package in SQL Server 2000

Hi all.

I accidentally deleted a DTS package from SQL Server 2000, how can I get it back?

I tried restoring the msdb database to msdb_test and then went to the sysdtspackages table and copied the dts from there and pasted it to the msdb database.

Now, you can see the DTS in the list but when you try to run it, the following error appears:

Error Source: Microsoft Data Transformation Services (DTS) Package
Error Description: No data for the specified Package was retrieved from the specified SQL Server.

Any ideas? Thank you in advance.
0
printmedia
Asked:
printmedia
  • 3
  • 2
1 Solution
 
randy_knightCommented:
there are several dts tables in msdb.  You'll need to find all of the entries and move them.  Even then you might have issues.  what I woud do is restore your msdb backup to a different instance as msdb, not msdb_test.  The package should show up in EM in that instance.  Then you can save it to the other instance.  

0
 
printmediaAuthor Commented:
Thanks for the reply randy.

I don't quite understand, I should restore my backup of msdb over my existing msdb?
0
 
randy_knightCommented:
if you do that you will overwrite your existing msdb.  My idea was to restore it to another SQL Server instance (even if it's a named instance you install on the same server for this purpose).  
0
 
printmediaAuthor Commented:
I only have 1 SQL Server, how can I create another instance?
0
 
printmediaAuthor Commented:
Nevermind I got it. Thanks Randy.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now