Using Encrypted Backups in SQL Server 2014

  • 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" 😉

  • 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?

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

  • 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" 😉

  • 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.

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

  • 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" 😉

  • Nice article Perry. Thanks for sharing.


    Sujeet Singh

  • 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" 😉

  • 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" 😉

  • thanks, and thanks once again for the article.

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

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

  • 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

  • Hi Perry,

    Can you take a look on the following topic http://www.sqlservercentral.com/Forums/Topic1659105-3411-1.aspx

    Thanks,

    Igor Micev,My blog: www.igormicev.com

Viewing 11 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic. Login to reply