Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««123

Disable TDE Expand / Collapse
Author
Message
Posted Wednesday, July 6, 2011 7:24 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, July 10, 2012 9:02 AM
Points: 1, Visits: 167
Can you make sure you backup database to a different .bak file after you turn off the encryption?
Post #1137256
Posted Wednesday, January 9, 2013 10:58 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, January 11, 2013 4:23 AM
Points: 1, Visits: 3
Did you use this query to turn off the TDE.

USE MASTER
GO
ALTER DATABASE DBNAME
SET ENCRYPTION OFF
GO
USE DBNAME
GO
DROP DATABASE ENCRYPTION KEY
GO
Post #1405183
Posted Thursday, June 27, 2013 11:52 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Thursday, December 10, 2015 12:04 PM
Points: 372, Visits: 416
nice one....thats right code

Prakash Heda
Lead DBA Team - www.sqlfeatures.com
Video sessions on Performance Tuning and SQL 2012 HA
Post #1468279
Posted Friday, March 4, 2016 9:56 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, March 4, 2016 9:48 AM
Points: 1, Visits: 0
Hello,
u need to create master key and restore the certificate with the private key on the new server before starting restore the database . After that open the master key and run the restore command. It worked for me. waiting encryption state to change to 3 is not gone work. It will take forever.

use master
open master key encryption by password ='xxxxxxxx'
restore database xyz from disk=N'c:\xyz.bak'
go
Post #1766890
Posted Sunday, March 6, 2016 6:21 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Monday, September 26, 2016 11:57 PM
Points: 8,234, Visits: 16,383
you do not need to restore the DMK or even open it to restore a TDE protected database to another server!

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1767108
« Prev Topic | Next Topic »

Add to briefcase «««123

Permissions Expand / Collapse