Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Using Encrypted Backups in SQL Server 2014 Expand / Collapse
Author
Message
Posted Wednesday, May 14, 2014 11:15 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:33 PM
Points: 6,626, Visits: 14,197
Comments posted to this topic are about the item Using Encrypted Backups in SQL Server 2014

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

"Ya can't make an omelette without breaking just a few eggs"
Post #1571115
Posted Thursday, May 15, 2014 3:52 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 10:21 AM
Points: 5,886, Visits: 13,042
Perry, thanks for the article.

If you have a test server on which you may restore backups from multiple prod servers how is that handled? Do you need to copy down the certificate from each prod server to a different location on the test server, or do you go for using a password instead and using the same password across your environment.



p.s. might be a line comment missing from the restore TSQL shown?


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

Post #1571207
Posted Thursday, May 15, 2014 4:20 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:33 PM
Points: 6,626, Visits: 14,197
george sibbald (5/15/2014)
Perry, thanks for the article.

If you have a test server on which you may restore backups from multiple prod servers how is that handled? Do you need to copy down the certificate from each prod server to a different location on the test server, or do you go for using a password instead and using the same password across your environment.


Take this scenario

I have ServerA with 1 default instance and database called BOB, backups for BOB are protected by the server certificate BobsBackups
I have ServerB with 1 default instance and database called FRED, backups for FRED are protected by the server certificate FredsBackups
I have ServerC with 1 default instance which is a test server, i want to restore to this test server backups of BOB and FRED.

I need to backup the cert BobsBackups on ServerA and also the cert FredsBackups on ServerB. On ServerC i then create the certs from the backup files using the CREATE CERT ... FROM FILE ....


Is this the scenario you were thinking of?



george sibbald (5/15/2014)
p.s. might be a line comment missing from the restore TSQL shown?

not sure what you mean by this


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

"Ya can't make an omelette without breaking just a few eggs"
Post #1571222
Posted Thursday, May 15, 2014 5:17 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 10:21 AM
Points: 5,886, Visits: 13,042
Perry,

yes thats the scenario.



Above the line 'When restoring the certificate backup, if you wish to encrypt by password, uncomment the line above.' - there were no comments in the code for the restore? Just wanted to clarify that, i might have misunderstood.


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

Post #1571252
Posted Thursday, May 15, 2014 5:34 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:33 PM
Points: 6,626, Visits: 14,197
ah right i see, yes it was commented out :-(
I've asked Steve to fix this


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

"Ya can't make an omelette without breaking just a few eggs"
Post #1571259
Posted Thursday, May 15, 2014 7:14 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 7:09 AM
Points: 1,329, Visits: 2,616
Nice article Perry. Thanks for sharing.


Sujeet Singh
Post #1571295
Posted Thursday, May 15, 2014 10:14 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:33 PM
Points: 6,626, Visits: 14,197
Divine Flame (5/15/2014)
Nice article Perry. Thanks for sharing.

Thank you, you're welcome


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

"Ya can't make an omelette without breaking just a few eggs"
Post #1571405
Posted Thursday, May 15, 2014 10:17 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:33 PM
Points: 6,626, Visits: 14,197
george sibbald (5/15/2014)
p.s. might be a line comment missing from the restore TSQL shown?

This has now been fixed


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

"Ya can't make an omelette without breaking just a few eggs"
Post #1571409
Posted Thursday, May 15, 2014 10:28 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 10:21 AM
Points: 5,886, Visits: 13,042
thanks, and thanks once again for the article.

Its nice that this feature is included in the standard edition as well.


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

Post #1571415
Posted Friday, May 16, 2014 6:55 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Thursday, November 13, 2014 1:03 AM
Points: 732, Visits: 407
Perry Whittle (5/15/2014)
george sibbald (5/15/2014)
Perry, thanks for the article.

If you have a test server on which you may restore backups from multiple prod servers how is that handled? Do you need to copy down the certificate from each prod server to a different location on the test server, or do you go for using a password instead and using the same password across your environment.


Take this scenario

I have ServerA with 1 default instance and database called BOB, backups for BOB are protected by the server certificate BobsBackups
I have ServerB with 1 default instance and database called FRED, backups for FRED are protected by the server certificate FredsBackups
I have ServerC with 1 default instance which is a test server, i want to restore to this test server backups of BOB and FRED.

I need to backup the cert BobsBackups on ServerA and also the cert FredsBackups on ServerB. On ServerC i then create the certs from the backup files using the CREATE CERT ... FROM FILE ....


Is this the scenario you were thinking of?


Perry, may sound like a stupid question but the certificates you create on the test server don't have to be the same name as on the source servers, right? I'm asking because of what would happen if the certificates on ServerA and ServerB had the same name.
Thx
Thierry


george sibbald (5/15/2014)
p.s. might be a line comment missing from the restore TSQL shown?

not sure what you mean by this
Post #1571700
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse