Solved

Best way to move an encrypted MS SQL2005 database

Posted on 2009-04-08
2
360 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
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
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

895 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

12 Experts available now in Live!

Get 1:1 Help Now