quarta-feira, 20 de julho de 2011

'COMPRESSION' was requested after the media was formatted with an incompatible structure

Sintoma: The backup cannot be performed because 'COMPRESSION' was requested after the media was formatted with an incompatible structure. To append to this media set, either omit 'COMPRESSION' or specify 'NO_COMPRESSION'. Alternatively, you can 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. [SQLSTATE 42000] (Error 3098)  BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013).  The step failed.

 

Causa: Alterei o JOB de Backup de um banco de dados recém convertido de 2005 para o 2008, para realizar a compressão dos backups. Porém um das restrições da compressão de backups é que o media set de destino deve também ter sido gerado com compressão ou não existir.

 

Solução: Exclui os backups anteriores realizados sem compressão e rodei o backup novamente, desta vez com sucesso.

 

Mais informações: http://blogs.msdn.com/b/sql_pfe_blog/archive/2010/08/09/backup-compression-behavior-when-appending-backups-to-an-existing-media-set.aspx

 

Att.

 

 

Nenhum comentário:

Postar um comentário

Leave your comment here!