Solved

Best way to move an encrypted MS SQL2005 database

Posted on 2009-04-08
2
359 Views
Last Modified: 2013-11-10
Dear experts,

Please can you suggest the best way to move an encrypted database / table - MS SQL 2005 from one server to another?

We have moved it once but the user with the cert doesn't seem to be able to login to the db and i think we might be having the same problem as in this thread...

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_21962666.html

Many thanks....
0
Comment
Question by:pjordanna
2 Comments
 
LVL 4

Accepted Solution

by:
Veerabhadraiahhv earned 500 total points
ID: 24106071
hi

try this

--on primary server: backup service master key
backup service master key to file = 'service.key' encryption by password = 'MyPwd';
--on secondary server: restore service master key
restore service master key from file = 'service.key' decryption by password = 'MyPwd';

for more info:
http://www.sqlservercentral.com/articles/SQL+Server+2005+-+Security/3058/
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now