dbTalk Databases Forums  

Copy Access database

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


Discuss Copy Access database in the microsoft.public.sqlserver.dts forum.



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

Default Copy Access database - 11-14-2003 , 04:00 PM






I would like to add to a DTS package I created a task
that copies a specific Access database to another
location and adds the current date to the name. For
example, we might have a client.mdb in a client folder
and each time the DTS package runs we want to copy the
current client.mdb to a clientcopy folder with a name of
client111403.mdb.

Is this possible to do in DTS? And if so, which task
would I use? Would I need to create another connection?
I currently have one for the client.mdb database and one
for my SQL Server database where the update data comes
from.

The reason I want to do this in DTS is client.mdb is
updated daily from a SQL Server database and, for a
little while, I want to make a copy of the current
client.mdb before the update occurs.

Thanks for your help.

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

Default Re: Copy Access database - 11-14-2003 , 09:48 PM






Then you could use the ExecuteProcess task and the COPY or RENAME commands
in DOS

--

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


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

Quote:
I would like to add to a DTS package I created a task
that copies a specific Access database to another
location and adds the current date to the name. For
example, we might have a client.mdb in a client folder
and each time the DTS package runs we want to copy the
current client.mdb to a clientcopy folder with a name of
client111403.mdb.

Is this possible to do in DTS? And if so, which task
would I use? Would I need to create another connection?
I currently have one for the client.mdb database and one
for my SQL Server database where the update data comes
from.

The reason I want to do this in DTS is client.mdb is
updated daily from a SQL Server database and, for a
little while, I want to make a copy of the current
client.mdb before the update occurs.

Thanks for your help.



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.