October 10, 2003 at 2:08 pm
I have a database on my Pc.I wanted to move this database onto a production server(tables,veiws,sps,udfs and users and logins).Which is the best way to do this.
Thanks in advance.
October 10, 2003 at 2:20 pm
If your have Enterprise edt. and have access to Enterprise mgr, then make a back up file (.BAK) transfer the file to the new server and restore database from the device, click add and then you browse out to the file location to load the device. You'll need to go to the options tab and edit the "move to physical file name" file path and name for both the log file and the mdf to be what the should be on the new server machine.
Hope that helps.
-kel
K Leb
October 10, 2003 at 5:13 pm
In addition to the above you will want to script out the users/logins and move them manually first. Then once the database has been restored I would double check to make sure the users have been mapped correctly.
Gary Johnson
Microsoft Natural Language Group
DBA, Sr. DB Engineer
Gary Johnson
Microsoft Natural Language Group
DBA, Sr. DB Engineer
This posting is provided "AS IS" with no warranties, and confers no rights. The opinions expressed in this post are my own and may not reflect that of my employer.
October 11, 2003 at 1:41 pm
I think the Copy Database Wizard does quite an acceptable job. You can invoke him by right-clicking on the target server in EM ->All tasks->Copy Database wizard.
The wizard will also take care of logins, role, permissions.
However, one pitfall I've noticed with the wizard is when it comes to Full Text Catalogs. It failed to copy these correctly. If you have full text catalogs I would manually built them anew on the target server.
Could save you a lot of trouble.
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
October 13, 2003 at 7:41 am
It helps me in moving to destination server but its not available on source server,But i need that database on source server too.How can i do that.
Thanks.
October 13, 2003 at 7:47 am
On one of the wizard pages there is a check box where you can specify if want to copy or to move the db. Check the copy option. Maybe you have to increase that column width to see this option.
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
October 13, 2003 at 8:02 am
should they be linked servers?
October 13, 2003 at 8:08 am
No, you only must have access to both servers. That's ok
Frank
Edited by - Frank Kalis on 10/13/2003 08:08:22 AM
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
October 13, 2003 at 8:12 am
I got the following errors while doing the task.
Step Error Source: Microsoft Data Transformation Services (DTS) Package
Step Error Description:Unspecified error
Step Error code: 80004005
Step Error Help File:sqldts80.hlp
Step Error Help Context ID:1100
How should i resolve this?
Thanks.
October 13, 2003 at 8:20 am
On which action did you receive this message?
For resolving I would start here
Also, I found that although some error messages do appear, everything is working properly.
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
October 13, 2003 at 8:23 am
I am getting this error while doing the DTS.
I think there are 2 active connections to the database and they have to be inactive...
October 13, 2003 at 8:24 am
This might also be helpful
http://support.microsoft.com/default.aspx?scid=kb;EN-US;274463
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
October 13, 2003 at 9:20 am
I have done it by disconnecting the active connections that are existing on the source database.
Thanks for all the help in this process.
October 28, 2003 at 12:37 pm
should the source database be offline?or can we do this when it's online?
Viewing 14 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic. Login to reply