-
- Lurker
- Posts: 1
- Liked: never
- Joined: Jun 10, 2021 10:04 pm
- Full Name: winnie xu
- Contact:
Backup and restore SQL Always encrypted database
Hi,
We are planning to enable SQL Always encrypted on databases. We would like to find out how Veeam Backup and Replication version 11 would handle the encryption? e.g. What are the configuration required from Veeam backup side to ensure the databases can be backedup and restored.
Thanks
Winnie
We are planning to enable SQL Always encrypted on databases. We would like to find out how Veeam Backup and Replication version 11 would handle the encryption? e.g. What are the configuration required from Veeam backup side to ensure the databases can be backedup and restored.
Thanks
Winnie
-
- Product Manager
- Posts: 14844
- Liked: 3086 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: Bakcup and restore SQL Always encrypted database
Hello,
and welcome to the forums.
It just works because we use native SQL APIs for backup (post321557.html#p321557)
I remember situations where manual certificate export is needed https://www.veeam.com/kb2006
Best regards,
Hannes
and welcome to the forums.
It just works because we use native SQL APIs for backup (post321557.html#p321557)
I remember situations where manual certificate export is needed https://www.veeam.com/kb2006
Best regards,
Hannes
-
- Enthusiast
- Posts: 93
- Liked: 14 times
- Joined: Apr 20, 2016 12:30 pm
- Full Name: Vassilis
- Contact:
Re: Backup and restore SQL Always encrypted database
Hi,
Hannes, that is not the case for us.
we have a AG Cluster SQL with TDE and it fails with error: Error: VSSControl: Failed to freeze guest over network, wait timeout
Unable to release guest. Error: VSSControl: Failed to freeze guest over network, wait timeout
yes, i have change the registry entry, i'm prety sure it is not a timeout but the TDE cause i test this
Backup the same VM without application awareness and it completed successfully.
Once i enable application awareness and SQL i get that error after 5 minutes.
I see on the VCENTER the snapshot created in seconds and deleted in seconds.
Any more ideas ?
Hannes, that is not the case for us.
we have a AG Cluster SQL with TDE and it fails with error: Error: VSSControl: Failed to freeze guest over network, wait timeout
Unable to release guest. Error: VSSControl: Failed to freeze guest over network, wait timeout
yes, i have change the registry entry, i'm prety sure it is not a timeout but the TDE cause i test this
Backup the same VM without application awareness and it completed successfully.
Once i enable application awareness and SQL i get that error after 5 minutes.
I see on the VCENTER the snapshot created in seconds and deleted in seconds.
Any more ideas ?
B&R v12, Suite
-
- Veeam Software
- Posts: 3626
- Liked: 608 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: Backup and restore SQL Always encrypted database
Hi Vassilis,
It looks like a technical issue which must be investigated by our support team. At first sight, I'd say that it cannot be fixed at the level of our code as the error happens at the level of VSS which comes into action as per request of the backup application. Anyway, I'd let our support team to dig deeper into it. Please provide us with a support case ID. In the meantime, you may have a look at this KB and also check Windows application event logs on the SQL server.
Thanks!
It looks like a technical issue which must be investigated by our support team. At first sight, I'd say that it cannot be fixed at the level of our code as the error happens at the level of VSS which comes into action as per request of the backup application. Anyway, I'd let our support team to dig deeper into it. Please provide us with a support case ID. In the meantime, you may have a look at this KB and also check Windows application event logs on the SQL server.
Thanks!
-
- Enthusiast
- Posts: 93
- Liked: 14 times
- Joined: Apr 20, 2016 12:30 pm
- Full Name: Vassilis
- Contact:
Re: Backup and restore SQL Always encrypted database
Yes, i believe a support ticket will be the next step first thing tomorrow.
As i manage to backup both disks C: and E: (which contains the databases) without Application Awareness so it is not the VSS.
thank you PetrM
As i manage to backup both disks C: and E: (which contains the databases) without Application Awareness so it is not the VSS.
thank you PetrM
B&R v12, Suite
-
- Veeam Software
- Posts: 3626
- Liked: 608 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: Backup and restore SQL Always encrypted database
I'd say it's vice versa: VSS is not invoked without AAIP, that's why a job works with AAIP disabled. Anyway, let's wait for what our engineers can figure out.
Thanks!
Thanks!
-
- Novice
- Posts: 3
- Liked: never
- Joined: Feb 03, 2022 3:59 pm
- Full Name: Mark Elsen
- Contact:
Re: Backup and restore SQL Always encrypted database
I'm testing restoring an encrypted dB from one server to another and the restore is failing. I made sure the same MASTER KEY ENCRYPTION BY PASSWORD = 'XXXXXXX' is the same on both servers the and ENCRYPTION BY SERVER CERTIFICATE Veeam_SQL_Certificate was the same as well. I got the error message "Failed to restore databases: Cannot find server certificate with thumbprint Object"
Any ideas as to how and make restoring an encrypted dB to another server work?
Any ideas as to how and make restoring an encrypted dB to another server work?
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Backup and restore SQL Always encrypted database
Hello Mark,
Please check the solution described in this KB article: Restoring Encrypted Databases with VESQL. If that does not help please raise a support case and share your case ID with us. Thank you!
Please check the solution described in this KB article: Restoring Encrypted Databases with VESQL. If that does not help please raise a support case and share your case ID with us. Thank you!
-
- Novice
- Posts: 3
- Liked: never
- Joined: Feb 03, 2022 3:59 pm
- Full Name: Mark Elsen
- Contact:
Re: Backup and restore SQL Always encrypted database
Ok Thanks. I'll take a look at it
-
- Novice
- Posts: 3
- Liked: never
- Joined: Feb 03, 2022 3:59 pm
- Full Name: Mark Elsen
- Contact:
Re: Backup and restore SQL Always encrypted database
So I would have to have Enterprise edition of Microsoft SQL Server installed ONLY on the staging server? or would it also be the Veeam SQL server? (or is it any server I want TDE)
Transparent Data Encryption requires the Enterprise edition of Microsoft SQL Server; this also applies to the staging server.
Transparent Data Encryption requires the Enterprise edition of Microsoft SQL Server; this also applies to the staging server.
-
- VP, Product Management
- Posts: 7081
- Liked: 1511 times
- Joined: May 04, 2011 8:36 am
- Full Name: Andreas Neufert
- Location: Germany
- Contact:
Re: Backup and restore SQL Always encrypted database
Only on the staging server.
Who is online
Users browsing this forum: Google [Bot] and 73 guests