dbTalk Databases Forums  

Re: Urgent help required Recover DTS from mdf file

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Re: Urgent help required Recover DTS from mdf file in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Urgent help required Recover DTS from mdf file - 07-15-2003 , 01:29 AM






You have two options

1. Try using sp_attach_db or sp_attach_single_file_db
2. Contact PSS and see if they can work their magic.

Do you not have backups ?

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Dhaval" <dhaval.choksi (AT) in (DOT) iqara.net> wrote

Quote:
Hi..

We had SQL server running on a Win 2k server now some how
the partition crashed. I managed to recover the most of
all the mdf files no can any one help how to restore the
DTS from the files recover as per my knowlege the DTS are
stored in msdb database. if there is some other place
where .mdf files are stored please do tell me. I have the
mdf file of msdb. This is a very critical issuse for us..


Please reply soon

Thanks in advance

regards
dhaval



Reply With Quote
  #2  
Old   
Jono Indrawijaya
 
Posts: n/a

Default Re: Urgent help required Recover DTS from mdf file - 07-15-2003 , 01:35 AM






Check this out http://www.sqldev.net/dts/SavePkgToFile.htm
You can take your DTS package from msdb database to file (Structured Storage
File [.dts])
If you already have your DTS package in file format, you can import it back
to your new server. You can do it manually by saving it one-by-one or you
can use my dts package for transfering DTS file into a server. I send the
dts package directly to your e-mail address. This dts package is
modification of dts I found in MOC.

You just have to modify the 'restore_dts.bat', change the 'D:\DTS\Update'
with your directory where you store your dts package files. And then run the
'restore_dts.bat'. The only limitation I've found in this dts package is it
can't import dts package which contain 'Process OLAP Cubes Task'. So please
remove your dts package which contain 'Process OLAP Cubes Task', or the
'restore_dts.bat' will run forever. If you have difficulties because of this
problem just e-mail me, I'll explain a hint to overcome this.

--
Hope it helps
Regards,
Jono Indrawijaya - MCDBA
PT. eBiz Cipta Solusi - Microsoft Certified Partner
Indonesia

"Dhaval" <dhaval.choksi (AT) in (DOT) iqara.net> wrote

Quote:
Hi..

We had SQL server running on a Win 2k server now some how
the partition crashed. I managed to recover the most of
all the mdf files no can any one help how to restore the
DTS from the files recover as per my knowlege the DTS are
stored in msdb database. if there is some other place
where .mdf files are stored please do tell me. I have the
mdf file of msdb. This is a very critical issuse for us..


Please reply soon

Thanks in advance

regards
dhaval



Reply With Quote
  #3  
Old   
Jono Indrawijaya
 
Posts: n/a

Default Re: Urgent help required Recover DTS from mdf file - 07-15-2003 , 02:06 AM



I assume that you know that attaching msdb is not just straight like that
(it raise some issue), you can force this but do this in a dummy server just
to take out the dts package.

--
Hope it helps
Regards,
Jono Indrawijaya - MCDBA
PT. eBiz Cipta Solusi - Microsoft Certified Partner
Indonesia

"Jono Indrawijaya" <jono (AT) ebizcipta (DOT) com> wrote

Quote:
Check this out http://www.sqldev.net/dts/SavePkgToFile.htm
You can take your DTS package from msdb database to file (Structured
Storage
File [.dts])
If you already have your DTS package in file format, you can import it
back
to your new server. You can do it manually by saving it one-by-one or you
can use my dts package for transfering DTS file into a server. I send the
dts package directly to your e-mail address. This dts package is
modification of dts I found in MOC.

You just have to modify the 'restore_dts.bat', change the 'D:\DTS\Update'
with your directory where you store your dts package files. And then run
the
'restore_dts.bat'. The only limitation I've found in this dts package is
it
can't import dts package which contain 'Process OLAP Cubes Task'. So
please
remove your dts package which contain 'Process OLAP Cubes Task', or the
'restore_dts.bat' will run forever. If you have difficulties because of
this
problem just e-mail me, I'll explain a hint to overcome this.

--
Hope it helps
Regards,
Jono Indrawijaya - MCDBA
PT. eBiz Cipta Solusi - Microsoft Certified Partner
Indonesia

"Dhaval" <dhaval.choksi (AT) in (DOT) iqara.net> wrote in message
news:064c01c34a96$145ced10$a601280a (AT) phx (DOT) gbl...
Hi..

We had SQL server running on a Win 2k server now some how
the partition crashed. I managed to recover the most of
all the mdf files no can any one help how to restore the
DTS from the files recover as per my knowlege the DTS are
stored in msdb database. if there is some other place
where .mdf files are stored please do tell me. I have the
mdf file of msdb. This is a very critical issuse for us..


Please reply soon

Thanks in advance

regards
dhaval





Reply With Quote
  #4  
Old   
Darren Green
 
Posts: n/a

Default Re: Urgent help required Recover DTS from mdf file - 07-15-2003 , 03:25 AM



Once the old msdb is online again either via a backup or attach kludge then
you can just use SQL-
insert into msdb..sysdtspackages select * from oldmsdb..sysdtspackages
This would save the intermediate file step.

Are you sure the problem with the OLAP task is not down to the destination
machine or the client used to open the package just not having the OLAP Task
installed? No other reason why an individual task should "break" the package
integrity.


--
Darren Green
http://www.sqldts.com

"Jono Indrawijaya" <jono (AT) ebizcipta (DOT) com> wrote

Quote:
Check this out http://www.sqldev.net/dts/SavePkgToFile.htm
You can take your DTS package from msdb database to file (Structured
Storage
File [.dts])
If you already have your DTS package in file format, you can import it
back
to your new server. You can do it manually by saving it one-by-one or you
can use my dts package for transfering DTS file into a server. I send the
dts package directly to your e-mail address. This dts package is
modification of dts I found in MOC.

You just have to modify the 'restore_dts.bat', change the 'D:\DTS\Update'
with your directory where you store your dts package files. And then run
the
'restore_dts.bat'. The only limitation I've found in this dts package is
it
can't import dts package which contain 'Process OLAP Cubes Task'. So
please
remove your dts package which contain 'Process OLAP Cubes Task', or the
'restore_dts.bat' will run forever. If you have difficulties because of
this
problem just e-mail me, I'll explain a hint to overcome this.

--
Hope it helps
Regards,
Jono Indrawijaya - MCDBA
PT. eBiz Cipta Solusi - Microsoft Certified Partner
Indonesia

"Dhaval" <dhaval.choksi (AT) in (DOT) iqara.net> wrote in message
news:064c01c34a96$145ced10$a601280a (AT) phx (DOT) gbl...
Hi..

We had SQL server running on a Win 2k server now some how
the partition crashed. I managed to recover the most of
all the mdf files no can any one help how to restore the
DTS from the files recover as per my knowlege the DTS are
stored in msdb database. if there is some other place
where .mdf files are stored please do tell me. I have the
mdf file of msdb. This is a very critical issuse for us..


Please reply soon

Thanks in advance

regards
dhaval





Reply With Quote
  #5  
Old   
mecdrox
 
Posts: n/a

Default Re: Urgent help required Recover DTS from mdf file - 07-15-2003 , 10:50 AM



I was wondering if you guys have ever worked a DTS package to backup to
file your DTS packages. And also have a way to import them again?
Something I could say use in a stored procedure or in a DTS package its
self.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #6  
Old   
Dhaval Choksi
 
Posts: n/a

Default Re: Urgent help required Recover DTS from mdf file - 07-16-2003 , 12:47 AM



Hi,

Firstly Thank you all for the reply.

The senario is the drive on which our mdf files were
stored has been crashed not all the data bases were
recoverd. I some how managed to restore the msdb file. but
it got in to supect mode. again i managed to copy the data
from sysdtspackages table into another table.

Now in this new server i have created the database that
were used in the dts. now what can i do. I am going to try
to use the textcopy.exe utility to make a .dts file and
import it again. is there any other way to get dts back.


regards
dhaval

Quote:
-----Original Message-----
Once the old msdb is online again either via a backup or
attach kludge then
you can just use SQL-
insert into msdb..sysdtspackages select * from
oldmsdb..sysdtspackages
This would save the intermediate file step.

Are you sure the problem with the OLAP task is not down
to the destination
machine or the client used to open the package just not
having the OLAP Task
installed? No other reason why an individual task
should "break" the package
integrity.


--
Darren Green
http://www.sqldts.com

"Jono Indrawijaya" <jono (AT) ebizcipta (DOT) com> wrote in message
news:ew40dtpSDHA.2148 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Check this out
http://www.sqldev.net/dts/SavePkgToFile.htm
You can take your DTS package from msdb database to
file (Structured
Storage
File [.dts])
If you already have your DTS package in file format,
you can import it
back
to your new server. You can do it manually by saving it
one-by-one or you
can use my dts package for transfering DTS file into a
server. I send the
dts package directly to your e-mail address. This dts
package is
modification of dts I found in MOC.

You just have to modify the 'restore_dts.bat', change
the 'D:\DTS\Update'
with your directory where you store your dts package
files. And then run
the
'restore_dts.bat'. The only limitation I've found in
this dts package is
it
can't import dts package which contain 'Process OLAP
Cubes Task'. So
please
remove your dts package which contain 'Process OLAP
Cubes Task', or the
'restore_dts.bat' will run forever. If you have
difficulties because of
this
problem just e-mail me, I'll explain a hint to overcome
this.

--
Hope it helps
Regards,
Jono Indrawijaya - MCDBA
PT. eBiz Cipta Solusi - Microsoft Certified Partner
Indonesia

"Dhaval" <dhaval.choksi (AT) in (DOT) iqara.net> wrote in message
news:064c01c34a96$145ced10$a601280a (AT) phx (DOT) gbl...
Hi..

We had SQL server running on a Win 2k server now some
how
the partition crashed. I managed to recover the most
of
all the mdf files no can any one help how to restore
the
DTS from the files recover as per my knowlege the DTS
are
stored in msdb database. if there is some other place
where .mdf files are stored please do tell me. I have
the
mdf file of msdb. This is a very critical issuse for
us..


Please reply soon

Thanks in advance

regards
dhaval




.


Reply With Quote
  #7  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Urgent help required Recover DTS from mdf file - 07-16-2003 , 01:47 AM



If you have sysdtspackages in the form of a table beit in whatever database
then you should be able to insert it back into your proper sysdtspackages
table and go from there. I believe Darren in an article mentions this as a
technique though the medium is text file.



--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Dhaval Choksi" <dhaval.choksi (AT) in (DOT) iqara.net> wrote

Quote:
Hi,

Firstly Thank you all for the reply.

The senario is the drive on which our mdf files were
stored has been crashed not all the data bases were
recoverd. I some how managed to restore the msdb file. but
it got in to supect mode. again i managed to copy the data
from sysdtspackages table into another table.

Now in this new server i have created the database that
were used in the dts. now what can i do. I am going to try
to use the textcopy.exe utility to make a .dts file and
import it again. is there any other way to get dts back.


regards
dhaval

-----Original Message-----
Once the old msdb is online again either via a backup or
attach kludge then
you can just use SQL-
insert into msdb..sysdtspackages select * from
oldmsdb..sysdtspackages
This would save the intermediate file step.

Are you sure the problem with the OLAP task is not down
to the destination
machine or the client used to open the package just not
having the OLAP Task
installed? No other reason why an individual task
should "break" the package
integrity.


--
Darren Green
http://www.sqldts.com

"Jono Indrawijaya" <jono (AT) ebizcipta (DOT) com> wrote in message
news:ew40dtpSDHA.2148 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
Check this out
http://www.sqldev.net/dts/SavePkgToFile.htm
You can take your DTS package from msdb database to
file (Structured
Storage
File [.dts])
If you already have your DTS package in file format,
you can import it
back
to your new server. You can do it manually by saving it
one-by-one or you
can use my dts package for transfering DTS file into a
server. I send the
dts package directly to your e-mail address. This dts
package is
modification of dts I found in MOC.

You just have to modify the 'restore_dts.bat', change
the 'D:\DTS\Update'
with your directory where you store your dts package
files. And then run
the
'restore_dts.bat'. The only limitation I've found in
this dts package is
it
can't import dts package which contain 'Process OLAP
Cubes Task'. So
please
remove your dts package which contain 'Process OLAP
Cubes Task', or the
'restore_dts.bat' will run forever. If you have
difficulties because of
this
problem just e-mail me, I'll explain a hint to overcome
this.

--
Hope it helps
Regards,
Jono Indrawijaya - MCDBA
PT. eBiz Cipta Solusi - Microsoft Certified Partner
Indonesia

"Dhaval" <dhaval.choksi (AT) in (DOT) iqara.net> wrote in message
news:064c01c34a96$145ced10$a601280a (AT) phx (DOT) gbl...
Hi..

We had SQL server running on a Win 2k server now some
how
the partition crashed. I managed to recover the most
of
all the mdf files no can any one help how to restore
the
DTS from the files recover as per my knowlege the DTS
are
stored in msdb database. if there is some other place
where .mdf files are stored please do tell me. I have
the
mdf file of msdb. This is a very critical issuse for
us..


Please reply soon

Thanks in advance

regards
dhaval




.




Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.