Lineage Maintenance
The CopyStorm/Medic Lineage Maintenance Tool is used to view lineage data & invalidate problematic lineage records.
Over time, a Record’s lineage may be invalidated:
- One of the legacy lineage entries may no longer exist in the CopyStorm Database or Snapshot.
- Records may have multiple children, causing split lineage.
For more details on Record Lineage, refer to this article.
Using the Tool
- Select “Other Tools” from the top-level menu.
- Select “Data Synchronization” and then “Lineage Maintenance”

- Optionally Configure Modified After & Modified Before
- This will control what date ranges are queried for lineage.
- Leaving these values Blank will query all time lineage.
- Optionally Enable Validators
- Purged Record Validation
- Identifies lineage entries that do not have a corresponding physical record in the CopyStorm Database or Snapshot.
- Branching Lineage Validation
- Identifies lineage entries that have multiple children.
- Purged Record Validation
- Optionally toggle “Only Show Invalid Lineages” checkbox
- This should be used when investigating invalid lineages.
- Click “Start Scan”

After clicking “Start Scan”, the application will render a view of:
- All Lineage within the provided Modified After / Modified Before values.
- The Status of each Lineage.
- Valid
- If there are no branches and all lineage entries exist in the CopyStorm Database or Snapshot
- Invalid
- If branch(es) are detected or any entry is missing from the CopyStorm Database or Snapshot
- Valid
- The associated Salesforce Table for the Lineage.
- The Salesforce ID of the Lineage HEAD
- HEAD is the most recent entry in the Lineage.
Use the “Invalidate Selected Lineage” to mark problematic Lineage Entries as Invalid in the database.
Note: Invalidating Lineage will prevent CopyStorm/Restore from considering invalid entries as recovery candidates.

An example of viewing a full lineage is shown below:
