Repairs inconsistencies in the versioning system tables of a geodatabase that contains traditional versions.
Usage
Run the Diagnose Version Metadata tool to determine if there are inconsistencies in your geodatabase versioning tables before you run the Repair Version Metadata tool.
This tool can only be run on an enterprise geodatabase.
This tool does not support geodatabases in SAP HANA because they don't support traditional versioning.
Only the geodatabase administrator can run this tool.
Always create a database backup before running this tool.
The database connection (.sde file) to the enterprise geodatabase in which versioning system table inconsistencies exist. The connection must be made as the geodatabase administrator.
Workspace
Repair Version Metadata Log
The output log file. The log file is an ASCII file containing the results of the repair operation.
The database connection (.sde file) to the enterprise geodatabase in which versioning system table inconsistencies exist. The connection must be made as the geodatabase administrator.
Workspace
out_log
The output log file. The log file is an ASCII file containing the results of the repair operation.
File
Derived output
Name
Explanation
Data type
out_workspace
The repaired geodatabase.
Workspace
Code sample
RepairVersionMetadata example 1 (Python window)
You can alter and run the following from a Python window to repair inconsistencies in the version system tables.
This example connects through the productiongdb.sde database connection file.