Link to home
Start Free TrialLog in
Avatar of jwa1107
jwa1107

asked on

can I salvage DTS local packages from msdbdata.mdf?

SQL 7.0
Win2K Server

situation:
power supply burned out motherboard & tape drive, rendered machine and drives useless
retrieved all MDFs and LDFs from drives

acquired new machine, but could not get old drives to work with new board
thus got new drives witha new install of Win2K Server & SQL7

was able to successfully reattach all MDFs and LDFs
BUT all DTS packages were local (and thus in msdb)

so I have msdbdata.mdf from old machine/drives and need to retrieve the DTS packages.  Any way I can do this?  
Avatar of mikosha
mikosha
Flag of Canada image

Avatar of Brendt Hess
Attach it as a different database.  You need not keep the DB name the same when attaching.  Try:

sp_attach_single_file_db 'OldMSDBData', 'C:\OldData\msdbdata.mdf'

Once it is attached, you can *try* to get the info from the old sysdtspackages table to the new one.  You will probably need to turn on inserts to system tables, though.

ASKER CERTIFIED SOLUTION
Avatar of mikosha
mikosha
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jwa1107
jwa1107

ASKER

the last entry help the best; i attempted options #1 and #2 with no personal success, but #3 seems to have worked.
thanks!