SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Backup encrypted database


Backup encrypted database

Author
Message
cidr
cidr
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1009 Visits: 286
Hi,

I've reviewed articles and forums but don't seem to find a succinct answer to my issue.

I have an encrypted columns on the database and I want to make an independent backup from the backup set.
I'm using the option Copy-only backup but, I'm getting the error

System.Data.SqlClient.SqlError: The backup cannot be performed because 'ENCRYPTION' was requested after the media was formatted with an incompatible structure. To append to this media set, either omit 'ENCRYPTION' or create a new media set by using WITH FORMAT in your BACKUP statement. If you use WITH FORMAT on an existing media set, all its backup sets will be overwritten.

Is there any strait forward documentation to assist in creating the backup?

Thanks!
Sue_H
Sue_H
SSC Guru
SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)

Group: General Forum Members
Points: 77410 Visits: 15517
cidr - Wednesday, February 28, 2018 1:14 PM
Hi,

I've reviewed articles and forums but don't seem to find a succinct answer to my issue.

I have an encrypted columns on the database and I want to make an independent backup from the backup set.
I'm using the option Copy-only backup but, I'm getting the error

System.Data.SqlClient.SqlError: The backup cannot be performed because 'ENCRYPTION' was requested after the media was formatted with an incompatible structure. To append to this media set, either omit 'ENCRYPTION' or create a new media set by using WITH FORMAT in your BACKUP statement. If you use WITH FORMAT on an existing media set, all its backup sets will be overwritten.

Is there any strait forward documentation to assist in creating the backup?

Thanks!


It's pretty much in the error message. You are trying to append the backup to an existing device, file or whatever you are using and the media set has non-encrypted backups. You can't append encrypted backups to a set of non-encrypted backups. Create a different device, backup to a different file or tape.
You can't do the encrypted backup to the existing media set that has non-encrypted backups.

Sue



cidr
cidr
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1009 Visits: 286
Sue_H - Wednesday, February 28, 2018 2:24 PM
cidr - Wednesday, February 28, 2018 1:14 PM
Hi,

I've reviewed articles and forums but don't seem to find a succinct answer to my issue.

I have an encrypted columns on the database and I want to make an independent backup from the backup set.
I'm using the option Copy-only backup but, I'm getting the error

System.Data.SqlClient.SqlError: The backup cannot be performed because 'ENCRYPTION' was requested after the media was formatted with an incompatible structure. To append to this media set, either omit 'ENCRYPTION' or create a new media set by using WITH FORMAT in your BACKUP statement. If you use WITH FORMAT on an existing media set, all its backup sets will be overwritten.

Is there any strait forward documentation to assist in creating the backup?

Thanks!


It's pretty much in the error message. You are trying to append the backup to an existing device, file or whatever you are using and the media set has non-encrypted backups. You can't append encrypted backups to a set of non-encrypted backups. Create a different device, backup to a different file or tape.
You can't do the encrypted backup to the existing media set that has non-encrypted backups.

Sue

Thanks Sue. Will creating a new media set not delete the old media set?

John Mitchell-245523
John Mitchell-245523
SSC Guru
SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)SSC Guru (135K reputation)

Group: General Forum Members
Points: 135288 Visits: 19486
cidr - Thursday, March 1, 2018 1:37 AM
Sue_H - Wednesday, February 28, 2018 2:24 PM


It's pretty much in the error message. You are trying to append the backup to an existing device, file or whatever you are using and the media set has non-encrypted backups. You can't append encrypted backups to a set of non-encrypted backups. Create a different device, backup to a different file or tape.
You can't do the encrypted backup to the existing media set that has non-encrypted backups.

Sue

Thanks Sue. Will creating a new media set not delete the old media set?

What command are you using to do the backup?

John

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum









































































































































































SQLServerCentral


Search