PC Review


Reply
Thread Tools Rate Thread

What is the best way to copy a database

 
 
David Thielen
Guest
Posts: n/a
 
      10th Oct 2008
From Sql Server 2000 on one system to Sql Server 2005 on another?

I've just spent an hour trying and no matter what approach and what
settings - it fails. It would have been faster if an hour ago I had
just started reading the schema of the source and typed it into the
destination.

I'm getting everything in the event log from null objects to shell
won't run to user already exists (but that user does not exist).

Any suggestions?

thanks - dave

david@at-at-(E-Mail Removed)
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      10th Oct 2008
Detach file and copy to server.

Other option. Backup database and restore on other server.

Other option. Download the Database Publishing Wizard and do data and schema
for entire database.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"David Thielen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> From Sql Server 2000 on one system to Sql Server 2005 on another?
>
> I've just spent an hour trying and no matter what approach and what
> settings - it fails. It would have been faster if an hour ago I had
> just started reading the schema of the source and typed it into the
> destination.
>
> I'm getting everything in the event log from null objects to shell
> won't run to user already exists (but that user does not exist).
>
> Any suggestions?
>
> thanks - dave
>
> david@at-at-(E-Mail Removed)
> Windward Reports -- http://www.WindwardReports.com
> me -- http://dave.thielen.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm


 
Reply With Quote
 
\Ji Zhou [MSFT]\
Guest
Posts: n/a
 
      10th Oct 2008
Hello Dave,

I have found this MSDN document
http://msdn.microsoft.com/en-us/library/ms188664.aspx. I quote the
following from it

"You can use the Copy Database Wizard to upgrade from a SQL Server 2000
database to a SQL Server 2005 or later database.

You also can simplify the administration and maintenance of your databases
by integrating multiple instances of SQL Server 2000 into a single instance
of SQL Server 2005 or later or into several named instances on a single
computer.

When using the detach-and-attach method of the Copy Database Wizard to
upgrade a database, make sure that no applications or services are trying
to access the database. Do not use read-only mode; doing so results in an
error. You can rename the database during this operation.

After upgrading databases from an earlier version of SQL Server, run
sp_updatestats against the database on the destination server to update
statistics and ensure optimal performance of the copied database."

Hope this helps! Please let me know if you are still suffering from the
issue, thus I will do my best to provide future help.

Have a nice weekend!

Best regards,
Ji Zhou (v-(E-Mail Removed), remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(E-Mail Removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/...tance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
David Thielen
Guest
Posts: n/a
 
      10th Oct 2008
THANK YOU!!!!!!!!!!!!!!

Much easier and unliek COpy Database, it works!!!

thanks - dave


On Thu, 9 Oct 2008 22:30:43 -0500, "Cowboy \(Gregory A. Beamer\)"
<(E-Mail Removed)> wrote:

>Detach file and copy to server.
>
>Other option. Backup database and restore on other server.
>
>Other option. Download the Database Publishing Wizard and do data and schema
>for entire database.



david@at-at-(E-Mail Removed)
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
Reply With Quote
 
Hillbilly
Guest
Posts: n/a
 
      11th Oct 2008
Which "it?"

"David Thielen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> THANK YOU!!!!!!!!!!!!!!
>
> Much easier and unliek COpy Database, it works!!!
>
> thanks - dave
>
>
> On Thu, 9 Oct 2008 22:30:43 -0500, "Cowboy \(Gregory A. Beamer\)"
> <(E-Mail Removed)> wrote:
>
>>Detach file and copy to server.
>>
>>Other option. Backup database and restore on other server.
>>
>>Other option. Download the Database Publishing Wizard and do data and
>>schema
>>for entire database.

>
>
> david@at-at-(E-Mail Removed)
> Windward Reports -- http://www.WindwardReports.com
> me -- http://dave.thielen.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm


 
Reply With Quote
 
David Thielen
Guest
Posts: n/a
 
      14th Oct 2008
Sorry - I was typing fast. The backup/restore approach worked fine.

The Copy Database wizard was a giant time suck that never worked. So I
would suggest avoiding it.

thanks - dave


On Fri, 10 Oct 2008 18:08:59 -0500, "Hillbilly"
<(E-Mail Removed)> wrote:

>Which "it?"
>
>"David Thielen" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> THANK YOU!!!!!!!!!!!!!!
>>
>> Much easier and unliek COpy Database, it works!!!
>>
>> thanks - dave
>>
>>
>> On Thu, 9 Oct 2008 22:30:43 -0500, "Cowboy \(Gregory A. Beamer\)"
>> <(E-Mail Removed)> wrote:
>>
>>>Detach file and copy to server.
>>>
>>>Other option. Backup database and restore on other server.
>>>
>>>Other option. Download the Database Publishing Wizard and do data and
>>>schema
>>>for entire database.

>>
>>
>> david@at-at-(E-Mail Removed)
>> Windward Reports -- http://www.WindwardReports.com
>> me -- http://dave.thielen.com
>>
>> Cubicle Wars - http://www.windwardreports.com/film.htm



david@at-at-(E-Mail Removed)
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
Reply With Quote
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      14th Oct 2008
Any of the tools to copy databases by reading schema and creating DDL and
DML work slow. This is largely from the large amount of lines of code they
create. The Database Publishing wizard will create a file rather quickly,
but running it for a huge database is a big waste of time. It is great for
creating seed database scripts, howvever.

Backup and restore, in general, is the easiest option.
Copy is fine for initial deployment.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"David Thielen" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> Sorry - I was typing fast. The backup/restore approach worked fine.
>
> The Copy Database wizard was a giant time suck that never worked. So I
> would suggest avoiding it.
>
> thanks - dave
>
>
> On Fri, 10 Oct 2008 18:08:59 -0500, "Hillbilly"
> <(E-Mail Removed)> wrote:
>
>>Which "it?"
>>
>>"David Thielen" <(E-Mail Removed)> wrote in message
>>news:(E-Mail Removed)...
>>> THANK YOU!!!!!!!!!!!!!!
>>>
>>> Much easier and unliek COpy Database, it works!!!
>>>
>>> thanks - dave
>>>
>>>
>>> On Thu, 9 Oct 2008 22:30:43 -0500, "Cowboy \(Gregory A. Beamer\)"
>>> <(E-Mail Removed)> wrote:
>>>
>>>>Detach file and copy to server.
>>>>
>>>>Other option. Backup database and restore on other server.
>>>>
>>>>Other option. Download the Database Publishing Wizard and do data and
>>>>schema
>>>>for entire database.
>>>
>>>
>>> david@at-at-(E-Mail Removed)
>>> Windward Reports -- http://www.WindwardReports.com
>>> me -- http://dave.thielen.com
>>>
>>> Cubicle Wars - http://www.windwardreports.com/film.htm

>
>
> david@at-at-(E-Mail Removed)
> Windward Reports -- http://www.WindwardReports.com
> me -- http://dave.thielen.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy an entire database and paste to new database in Access 2003 Chrystela Microsoft Access External Data 5 4th Jan 2008 07:12 PM
Copy table from open database to a closed database RW Microsoft Access VBA Modules 6 2nd Dec 2007 12:40 AM
programmingly remove records from one database and copy them to another database Andra Microsoft Access 5 3rd Oct 2006 08:26 PM
How to copy bulk copy MS Access queries from one database to another Ron Carr Microsoft Access Queries 4 27th Dec 2005 05:25 PM
Failure to import a table to other database & make a copy in the same database Ray Microsoft Access 0 2nd Oct 2004 09:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:26 AM.