dbTalk Databases Forums  

restoring the database from azip file

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


Discuss restoring the database from azip file in the microsoft.public.sqlserver.dts forum.



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

Default restoring the database from azip file - 10-13-2005 , 03:57 AM






Here is my requirement.

I need to copy the zip file from one domain to another using DTS package.
The zip file has a .bak file which then needs to be restored.
If anyone has any pointers, please let me know

Thanks
GS

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

Default Re: restoring the database from azip file - 10-13-2005 , 02:12 PM






You will need to open the file (unzip) and you can do this using the
cmdline version of your favourite zip tool and the ExecuteProcess task.
After that it is a simple case of issuing a RESTORE command afterwards.

Alla

"GS" <GS (AT) discussions (DOT) microsoft.com> wrote


Quote:
Here is my requirement.

I need to copy the zip file from one domain to another using DTS
package.
The zip file has a .bak file which then needs to be restored.
If anyone has any pointers, please let me know

Thanks
GS


Reply With Quote
  #3  
Old   
GS
 
Posts: n/a

Default RE: restoring the database from azip file - 10-14-2005 , 01:47 AM



Thanks much for the input. i think i was not clear on m requirement. my bad.

I need to copy the file from one domain to another, unzip the file and
retsore the file as a database using a DTS package. Is there a peroperty by
which I can unzip the file in DTS package

Thanks
GS

"GS" wrote:

Quote:
Here is my requirement.

I need to copy the zip file from one domain to another using DTS package.
The zip file has a .bak file which then needs to be restored.
If anyone has any pointers, please let me know

Thanks
GS

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

Default RE: restoring the database from azip file - 10-15-2005 , 05:07 AM




Hello GS,

Out of the box no. Like I mentioned you will either have to write yourself
a custom task to do this or you can call your favourite zipping software's
cmdline version and do it there. Most will allow you to say from where and
to where this unzipping should occur.

Have a look here.

How to manipulate the Execute Process task.
(http://www.sqldts.com/default.aspx?251)

Allan


Quote:
Thanks much for the input. i think i was not clear on m requirement.
my bad.

I need to copy the file from one domain to another, unzip the file and
retsore the file as a database using a DTS package. Is there a
peroperty by which I can unzip the file in DTS package

Thanks
GS
"GS" wrote:

Here is my requirement.

I need to copy the zip file from one domain to another using DTS
package.
The zip file has a .bak file which then needs to be restored.
If anyone has any pointers, please let me know
Thanks
G



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.