Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 User db move

Author  Topic 

sqlfresher2k7
Aged Yak Warrior

623 Posts

Posted - 2012-03-29 : 22:32:05
I m planning to move few user database from server to new server.
I have few things to know.

1. Can i restore the db on to server without making the server to single user mode as there are other db exists on server.

2.there are some linked server dependents procedures for the db how should I move or create on to new server

3.if I scripted the user db and executed on target server how I find out the dependent job,linked server etc.


Thanks for your help in advanced.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-03-30 : 13:19:09
1. Single user mode is not required to backup/restore a database.
2. I just recreate them by hand, but you can certainly script them out.
3. We name our jobs so that the database name is the first thing in the job name.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

sqlfresher2k7
Aged Yak Warrior

623 Posts

Posted - 2012-03-30 : 16:28:16
Thanks

Do we have a script/query to verify and scripts the dependant jobs and Linked servers.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-03-30 : 16:55:37
I don't have one, not sure if one exists or not.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2012-03-30 : 19:51:00
how do you name your job if it touches many databases?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-03-31 : 00:26:30
It depends if there's any grouping. If they are part of a larger project, then I'd use the project. For DBA-type jobs that touch all/user databases, we prefix with DBA.

If there isn't any type of grouping that can be done and they aren't general DBA scripts, then I'd probably use something like ALL.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -