Detach and attach system databases during upgrade

I am upgrading sql server 2005 to 2008R2 and I have used detach and attach to move databases of the application. Do I also need to detach and attach the system databases too.

more ▼

asked Apr 06, 2012 at 01:02 PM in Default

avatar image

140 37 42 45

Good point Shawn, I have never looked into that, I always use the scripts to move it.

Apr 06, 2012 at 03:36 PM Chris shaw
(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

you cannot attach or restore backups of the system databases from a lower version of SQL Server to a higher version. Your easiest option is probably to script everything out (logins, roles, Agent jobs, etc).

more ▼

answered Apr 06, 2012 at 03:31 PM

avatar image

6.6k 21 26 34

(comments are locked)
10|1200 characters needed characters left

The system databases contain a lot of information, however there is a little more information that we need to know before we can point you in the right direction.

When you did the upgrade, how did you do it? Did you run the Upgrade path from the disk or did you put it on a new server, in a side by side mode.

Some of the things that you could lose depending on how you upgraded could include logins, jobs, linked servers, SQLMail configurations. But if you did the upgrade path and detached and attached so that you protect the database then you may not need to do anything outside test and monitor. It may help us a lot if you had a check list that you could post.

more ▼

answered Apr 06, 2012 at 02:58 PM

avatar image

Chris shaw
530 3 5 9

I am working on a side by side upgrade. I have built a new server where I have sqlserver 2008R2 installed. I have detached and attached the application databases. Is there a way to automatically recreate the logins? At this time I have manually recreated the logins.

Apr 06, 2012 at 03:20 PM Chitrarekha

There are a couple ways that you can move the logins, the way that I perfer to use the revlogin sp. You can find more information here.


Apr 06, 2012 at 03:34 PM Chris shaw
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Apr 06, 2012 at 01:02 PM

Seen: 1652 times

Last Updated: Apr 07, 2012 at 03:21 AM

Copyright 2018 Redgate Software. Privacy Policy