Solved

SQL server restore and database integrity ?

Posted on 2016-08-22
10
53 Views
Last Modified: 2016-08-22
People,

I'm currently migrating SQL server 2012 running on AD domain joined Windows server 2008 R2 to another physical box.

Assuming the image backup is able to capture both drives C and D drives, but disjoint the AD domain, is there anything that I need to know before starting the SQL server ?

The restored server will not be domain joined but the name will remain the same.

Does SQL server going to crash or complained when I rejoin the server again to AD under same name ?
0
Comment
  • 4
  • 3
  • 3
10 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 41764958
you only need to stop sql server before the image to make sure the sql file image will be consistent
after the join, the only "issues" you may have is to recreate and regrant the logins based on windows (domain) accounts, if any
2
 
LVL 16

Expert Comment

by:Shaik M. Sajid
ID: 41765055
Guy Hengel is right,

before that make sure you have the sql authentication enabled on that database and you have the password for that

all the best
1
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 41765095
Thanks for the clarification guys.

I will reset the SA account first.

The backup will be using Symantec System Recovery 2013 R2, so it is offline using bootable CD.

recreate and regrant the logins based on windows (domain) accounts
How to do that ?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 41765130
here is what I referred to:
https://msdn.microsoft.com/en-us/library/ms175475.aspx

you may need to create new logins, and then map the users (from the databases) to the new logins
1
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 41765176
you may need to create new logins, and then map the users (from the databases) to the new logins

Guy,

So do I just remap the AD domain account or the SQL account ?
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 41765177
only the domain accounts, The sql based logins will not be touched.
1
 
LVL 16

Assisted Solution

by:Shaik M. Sajid
Shaik M. Sajid earned 250 total points
ID: 41765183
i don't think this could happen in your case of "orphaned User" as SID of the user is same as existing ...because domain user is not changing i believe...

the best option is if it's in production environment first of all take DB backup safe side, test it on any of VM

then proceed to production.

all the best
1
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 41765210
@Shaik M. Sajid,

Cool, that does make sense.

I suppose if I commission new server with new name & IP address from scratch, I can then just restore the SQL database backup ?
0
 
LVL 16

Assisted Solution

by:Shaik M. Sajid
Shaik M. Sajid earned 250 total points
ID: 41765265
yes that's true...

but same conditions applied the  u must know the SQL authentication id and password...
1
 
LVL 7

Author Closing Comment

by:Senior IT System Engineer
ID: 41766435
Thanks !
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question