Hi all,
I am using VSS snapshot to backup the SQL and Exchange server applications data.
My application was done in C++ language.
I was using IVssBackupComponents::SaveAsXML() to save the Backup Components Document xml. I am calling this function once after the the snapshot process completed correctly.
The problem i had is for exchange server application, the backup document has the component information correctly like below,
<COMPONENT logicalPath="Microsoft Exchange Server\Microsoft Information Store\WINTEST3" componentName="53a4c3d7-fab9-4ef3-becd-a2b61d677ca1" componentType="filegroup"><BACKUP_METADATA xmlns="" metadata="<?xml version="1.0"?>
<EXWRITER_METADATA><VERSION_STAMP>14.02.0247.003</VERSION_STAMP><DATABASE_NAME>SmallDB01</DATABASE_NAME><DATABASE_GUID>53a4c3d7-fab9-4ef3-becd-a2b61d677ca1</DATABASE_GUID><EDB_LOCATION_ORIGINAL>N:\SmallDB01</EDB_LOCATION_ORIGINAL><EDB_FILENAME_ORIGINAL>SmallDB01.edb</EDB_FILENAME_ORIGINAL><PRIVATE_MDB>yes</PRIVATE_MDB><LOG_SIGNATURE_ID>623689592</LOG_SIGNATURE_ID><LOG_SIGNATURE_TIMESTAMP>406849652923395</LOG_SIGNATURE_TIMESTAMP><LOG_BASE_NAME>E0A</LOG_BASE_NAME><LOG_PATH_ORIGINAL>N:\SmallDB01\</LOG_PATH_ORIGINAL></EXWRITER_METADATA>
"/></COMPONENT></WRITER_COMPONENTS>
But for SQL server application, the components meta-data are encrypted like below,
<WRITER_COMPONENTS xmlns="x-schema:#VssComponentMetadata" instanceId="765eb3bf-53b6-40c1-833c-68c20dbdd92a" writerId="a65faa63-5ea8-4ebc-9dbd-a0c4db26912a" instanceName="SQL Server 2008 R2:SQLWriter" backupSchema="881"><COMPONENT logicalPath="DOMAINNAME\SQLEXPRESS" componentName="Data01-G" componentType="filegroup"><BACKUP_METADATA xmlns="" metadata="BBwAAFRBUEUAAAMAjAAOAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAhwWRiB6ZBQAAAAEAAAACAAMAAAAAAAAAAAAAAAAALABeAAAEABIfedkS7QFNAGkAYwByAG8AcwBvAGYAdAAgAFMAUQBMACAAUwBlAHIAdgBlAHIAAAAAAAAAUkFJRAAAAAAgAAAAAAAAAAAAAAA7BRb7iolRMuhFl0o8SB0IDkKtAADwAQABAAEAAAAAAAEAAABTUEFEAAAAACYDAAAAAAAAAAAAADQXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.../></COMPONENT>
So whether the meta-data attribute value is encrypted in the backup component by default for sql server application?
If so how to decrypt to get the component information?
Can anyone aware of this?
I need to collect the database component information which is added in the snapshot.
Appreciate your help on this.
Thanks,
Kumar
I am using VSS snapshot to backup the SQL and Exchange server applications data.
My application was done in C++ language.
I was using IVssBackupComponents::SaveAsXML() to save the Backup Components Document xml. I am calling this function once after the the snapshot process completed correctly.
The problem i had is for exchange server application, the backup document has the component information correctly like below,
<COMPONENT logicalPath="Microsoft Exchange Server\Microsoft Information Store\WINTEST3" componentName="53a4c3d7-fab9-4ef3-becd-a2b61d677ca1" componentType="filegroup"><BACKUP_METADATA xmlns="" metadata="<?xml version="1.0"?>
<EXWRITER_METADATA><VERSION_STAMP>14.02.0247.003</VERSION_STAMP><DATABASE_NAME>SmallDB01</DATABASE_NAME><DATABASE_GUID>53a4c3d7-fab9-4ef3-becd-a2b61d677ca1</DATABASE_GUID><EDB_LOCATION_ORIGINAL>N:\SmallDB01</EDB_LOCATION_ORIGINAL><EDB_FILENAME_ORIGINAL>SmallDB01.edb</EDB_FILENAME_ORIGINAL><PRIVATE_MDB>yes</PRIVATE_MDB><LOG_SIGNATURE_ID>623689592</LOG_SIGNATURE_ID><LOG_SIGNATURE_TIMESTAMP>406849652923395</LOG_SIGNATURE_TIMESTAMP><LOG_BASE_NAME>E0A</LOG_BASE_NAME><LOG_PATH_ORIGINAL>N:\SmallDB01\</LOG_PATH_ORIGINAL></EXWRITER_METADATA>
"/></COMPONENT></WRITER_COMPONENTS>
But for SQL server application, the components meta-data are encrypted like below,
<WRITER_COMPONENTS xmlns="x-schema:#VssComponentMetadata" instanceId="765eb3bf-53b6-40c1-833c-68c20dbdd92a" writerId="a65faa63-5ea8-4ebc-9dbd-a0c4db26912a" instanceName="SQL Server 2008 R2:SQLWriter" backupSchema="881"><COMPONENT logicalPath="DOMAINNAME\SQLEXPRESS" componentName="Data01-G" componentType="filegroup"><BACKUP_METADATA xmlns="" metadata="BBwAAFRBUEUAAAMAjAAOAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAhwWRiB6ZBQAAAAEAAAACAAMAAAAAAAAAAAAAAAAALABeAAAEABIfedkS7QFNAGkAYwByAG8AcwBvAGYAdAAgAFMAUQBMACAAUwBlAHIAdgBlAHIAAAAAAAAAUkFJRAAAAAAgAAAAAAAAAAAAAAA7BRb7iolRMuhFl0o8SB0IDkKtAADwAQABAAEAAAAAAAEAAABTUEFEAAAAACYDAAAAAAAAAAAAADQXAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.../></COMPONENT>
So whether the meta-data attribute value is encrypted in the backup component by default for sql server application?
If so how to decrypt to get the component information?
Can anyone aware of this?
I need to collect the database component information which is added in the snapshot.
Appreciate your help on this.
Thanks,
Kumar
kumar nathan