An EVSVR ArchivesDirectory Repair operation fails to recreate an Archive if the Archive structured status has been modified

An EVSVR ArchivesDirectory Repair operation fails to recreate an Archive if the Archive structured status has been modified

Article: 100015803
Last Published: 2015-09-02
Ratings: 0 0
Product(s): Enterprise Vault

Problem

EVSVR is used to help in repairing Enterprise Vault (EV) SQL Database Inconsistencies, for example following a Disaster Recovery scenario involving a restore of an older version of the SQL Database. The Repair ArchivesDirectory option helps in synchronizing the Archive and ArchiveFolder records in the EnterpriseVaultDirectory with the ArchivePoint and Vault records in the Vault Store Databases.

A scenario has been identified where the Type value of certain archives was manually modified in the EV databases from Structured to Non-Structured.
During an EVSVR ArchivesDirectory repair operation, EVSVR would correctly identify any mismatches and attempt to the repair each archive by deleting and recreating the archive record. The recreation of the archive record will fail with error 0x80070057, hence preventing access to data within the affected archive(s).

To restore access to the archive(s), the EV databases will need to be restored from backup to the point in time before the EVSVR Repair was run.

Error Message

EVSVR Log Snippet

  1. During Step 3, the Type mismatch is identified

Step 3 - Verify that Vault Store Vault records have a corresponding and correct Directory ArchiveFolder record

  Type is unknown:                                                                   7
2015-04-10 09:35:12         
2015-04-10 09:35:12            ArchiveFolder EntryId: 12ADE2AE18C3E1748BA88F1D229B208FF1110000EV1, Items:       0
2015-04-10 09:35:12              Archive EntryId: 129CB92A25751F14DA300B95FE5D83EB71110000EV1

 
  1. In Step 4, as part of the repair, the Archives and associated folders are deleted
2015-04-10 09:35:12        Step 4 - Delete Archive records for Archives with incorrect ArchiveFolder records
2015-04-10 09:35:12        ---------------------------------------------------------------------------------
2015-04-10 09:35:12  
2015-04-10 09:35:12        Archives with incorrect Folders: 1
2015-04-10 09:35:13  
2015-04-10 09:35:13        Deleted Directory Archive record with incorrect ArchiveFolder records:
2015-04-10 09:35:13          Archive EntryId:       129CB92A25751F14DA300B95FE5D83EB71110000EV1
2015-04-10 09:35:13          ArchiveFolder records: 7

 
  1. In Step 5, the Archives with the Incorrect type which were previously deleted will be recreated, but will fail.
2015-04-10 09:35:13        Step 5 - Recreate missing Archive records
2015-04-10 09:35:13        -----------------------------------------
2015-04-10 09:35:13  
2015-04-10 09:35:13        Archive records missing: 1
2015-04-10 09:35:13        Error recreating Archive record, Archive EntryId: 129CB92A25751F14DA300B95FE5D83EB71110000EV1, Error: The parameter is incorrect.  (0x80070057)
2015-04-10 09:35:13                      Event Output: An exception has occurred.   [Internal reference CArchiveAssister/RA/ce]      (0xc0041945)

 

Cause

This issue is due to manual modifications performed in the EV SQL Databases.
 

Solution

This issue has been addressed in the following releases:
 
Enterprise Vault 11.0.1 CHF3
https://www.veritas.com/docs/000025726

Enterprise Vault 12
https://www.veritas.com/docs/000099905
 
Note: For information on how to obtain Enterprise Vault 12 see: How to obtain the license key and installation download for Veritas products

References

Etrack : 3763360

Was this content helpful?