dbTalk Databases Forums  

DB Restore

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


Discuss DB Restore in the microsoft.public.sqlserver.dts forum.



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

Default DB Restore - 02-04-2004 , 09:04 PM






What's the best way to restore or create a copy of production db (15 GB) on
development server and also another copy on same sql server with different
name.

The copies need to be refreshed on a monthly basis.

1. For doing above things what's best and can some one post sctips or TSQL
statements to do so...

2. what's the importance of move statement in a restore?

Thanks
BVR



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

Default Re: DB Restore - 02-05-2004 , 01:23 AM






BACKUP/ RESTORE works for me. You can do the backup online so no disruption
to the users.
sp_detach_db and sp_detach_db are good also but involves taking the source
offline.
MOVE statement simply tells SQL Server to place the files for the database
in a specific location on disk.

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Uhway" <vbhadharla (AT) sbcglobal (DOT) net> wrote

Quote:
What's the best way to restore or create a copy of production db (15 GB)
on
development server and also another copy on same sql server with different
name.

The copies need to be refreshed on a monthly basis.

1. For doing above things what's best and can some one post sctips or TSQL
statements to do so...

2. what's the importance of move statement in a restore?

Thanks
BVR





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

Default Re: DB Restore - 02-05-2004 , 02:20 AM



for the second sp_detach_db i meant to say sp_attach_db

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
BACKUP/ RESTORE works for me. You can do the backup online so no
disruption
to the users.
sp_detach_db and sp_detach_db are good also but involves taking the source
offline.
MOVE statement simply tells SQL Server to place the files for the database
in a specific location on disk.

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Uhway" <vbhadharla (AT) sbcglobal (DOT) net> wrote in message
news:ewRwqT56DHA.1368 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
What's the best way to restore or create a copy of production db (15 GB)
on
development server and also another copy on same sql server with
different
name.

The copies need to be refreshed on a monthly basis.

1. For doing above things what's best and can some one post sctips or
TSQL
statements to do so...

2. what's the importance of move statement in a restore?

Thanks
BVR







Reply With Quote
  #4  
Old   
NorthSky
 
Posts: n/a

Default who can tell me some free newsgroup server - 02-11-2004 , 02:47 AM




who can tell me some free newsgroup server?
Thanks
"Uhway" <vbhadharla (AT) sbcglobal (DOT) net> 写入消息新闻
:ewRwqT56DHA.1368 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Quote:
What's the best way to restore or create a copy of production db (15 GB)
on
development server and also another copy on same sql server with different
name.

The copies need to be refreshed on a monthly basis.

1. For doing above things what's best and can some one post sctips or TSQL
statements to do so...

2. what's the importance of move statement in a restore?

Thanks
BVR





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

Default Re: who can tell me some free newsgroup server - 02-11-2004 , 05:39 AM



what's wrong with msnews.microsoft.com ?

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"NorthSky" <ju_feng (AT) 163 (DOT) net> wrote

Quote:
who can tell me some free newsgroup server?
Thanks
"Uhway" <vbhadharla (AT) sbcglobal (DOT) net> 写入消息新闻
:ewRwqT56DHA.1368 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
What's the best way to restore or create a copy of production db (15 GB)
on
development server and also another copy on same sql server with
different
name.

The copies need to be refreshed on a monthly basis.

1. For doing above things what's best and can some one post sctips or
TSQL
statements to do so...

2. what's the importance of move statement in a restore?

Thanks
BVR







Reply With Quote
  #6  
Old   
Ross McKay
 
Posts: n/a

Default Re: who can tell me some free newsgroup server - 02-11-2004 , 07:26 AM



On Wed, 11 Feb 2004 16:47:09 +0800, "NorthSky" wrote:

Quote:
who can tell me some free newsgroup server?
http://news.individual.net/
--
Ross McKay, WebAware Pty Ltd
"Words can only hurt if you try to read them. Don't play their game" - Zoolander


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.