IMD SolutionComputing LibraryShop main store

Troubleshooting

Historian migration schema conversion leaves tags missing

Edge computing and IIoT Published 8 min read

Short answer

A Wizard transfer that finishes proves only that the files arrived, not that the schema conversion ran to completion. When tag names are missing after a historian migration, read the transfer and conversion results separately, confirm the destination application points at the converted database, and check the source tag metadata against the migration guide for the release before touching anything. Reconvert only from a fresh, verified source copy.

On this page
  1. A completed transfer proves the copy, not the conversion
  2. Read four results in order
  3. Confirm the migration path from the release guide
  4. Rule out the destination connection first
  5. Verify the source baseline before changing anything
  6. Working the V2.05-to-R5 case in order
  7. Reconvert from a fresh copy, never the failed destination
  8. Accept the migration on a demonstrated restore
  9. Questions asked

A migration Wizard that finishes has proven one thing: the database files arrived on the new machine. When the transfer completes but the tag names never appear in the destination historian, the schema conversion that turns copied tables into a usable archive stopped short — or the application is pointed somewhere other than the result you think you produced. Those are different faults with different fixes, and treating transfer success as migration success is what sends these hunts in circles.

Work it in a fixed order: read the transfer and conversion messages as two separate results, confirm which database the destination application is connected to, check the source's own tag metadata, and only then compare all of it against the migration guide written for your release. Keep a demonstrated-good backup and a fixed data boundary before you reconvert anything.

A completed transfer proves the copy, not the conversion #

A database schema is the structure underneath the data: which tables exist, what columns they carry, and how keys and relationships tie the records together. Copying a database moves stored contents; converting a schema reshapes those contents into the structures a new release knows how to read. A historian adds one more layer on top, the tag metadata that binds each stored sample to a name an operator recognizes.

Missing tag names are therefore a metadata and conversion question, not a data-loss question, and they take a different investigation than values that fail to retrieve. The destination can hold every transferred record and still show nothing, because the application reads through converted metadata and relationships. Read the transfer result and the conversion result separately before deciding to repeat either one.

Read four results in order #

Each result tells you where the fault sits. Read them in this order and stop at the first failure:

  1. Transfer completion status and messages. A reported failure or interruption means the copy itself is broken; resolve it before evaluating anything downstream.
  2. Conversion completion status and messages. A stage that stops, skips work or reports an error is the defect. Capture the exact message, the affected object and the operation before changing the destination.
  3. Tag listing in the destination application. Names absent behind a reported-good transfer point at the metadata, the connection or the wrong database.
  4. Retrieval of a known tag. Names present while older values stay unreachable is a history-access problem, separate from metadata visibility.

Do not rename tables or write replacement tag records to make the display look populated. That conceals the conversion defect and disconnects names from the history they claim to identify.

Confirm the migration path from the release guide #

Before a second attempt, read the migration guide written for your exact source and target releases. For the case this article works, that document is the R5 Migration Guide, identifier CG39PSR5MIGRATE-1, distributed on the ProcessSuite 5.00 Electronic Manuals CD and available through the vendor's official support channel. Get it from that media or that channel. Every historian family publishes an equivalent release-specific guide, so use the one written for your versions.

The guide answers three questions before anything is re-run: whether the source release follows the intended path directly or must pass through a documented intermediate step; what the destination must have installed and configured; and what each stage's completion check looks like. If the conversion left an SQL error in the destination log, trace that log against the guide's stage list before touching the database again — the walkthrough for reading a SQL log error after a historian migration starts exactly there.

Rule out the destination connection first #

An application connection selects a database and an access context, so a valid connection to the wrong database looks exactly like a migration failure. Read the destination connection configuration through the application's supported interface and confirm it names the converted database you intended. If it does not, correct it there and repeat the tag-list check before anything else.

Two connection-side causes produce the same empty list. If the configuration view shows system tags but none of the application tags, the application is reading metadata that is not yours — the pattern behind a historian configuration that shows only system tags. And where the migration path provisions SQL users for the historian runtime, an account that did not map onto the new instance leaves the service unable to read tables it otherwise owns, so check what the Historian Runtime migration script's SQL users mean on your release before assigning the cause to conversion.

Verify the source baseline before changing anything #

Establish that the source can answer questions before the migration sequence changes. Four checks:

  • The source application lists its own tags. Names already missing at the source mean a source fault, not a conversion fault; repair the source first.
  • The source returns values and timestamps for representative tags from an old window and a recent one. Record tag names, requested intervals and returned values as comparison references.
  • A backup exists, made with the documented method, and it includes the configuration and history storage components that method names — not only the database file that looks easiest to move.
  • The migration boundary is fixed: one recorded final timestamp that the copied system carries. Without it, collection continuing on the old machine makes every source-to-destination comparison ambiguous.

If the baseline passes, continue to the guide's prerequisites. If it fails, keep the original data where it is and repair source readability first.

Working the V2.05-to-R5 case in order #

Inputs. Source: a ProcessSuite Historian at release V2.05 running on Windows NT. Destination: release R5 on Windows 2000, on separate hardware, so the operating system changes with the migration. History to preserve: more than ten years. Symptom: the transfer Wizard completes, the converted tag names never appear. Documented procedure: the R5 Migration Guide, CG39PSR5MIGRATE-1, on the ProcessSuite 5.00 Electronic Manuals CD.

The rule, in words. A completed transfer proves the file copy and nothing more. The migration is proven only when three checks hold: the conversion stages report completion without unresolved errors, the destination application lists the source tags, and a known tag returns expected values and timestamps from both an old window and a recent one.

The arithmetic, written out. Transfer: complete — stage one passes, as reported by the Wizard. Conversion: unverified — its completion check was never read, so stage two is unknown. Tag list: empty — stage three fails. Known-tag retrieval: untestable while stage three fails. An empty tag list sitting behind a completed transfer therefore localizes the fault between the copied files and the application's view of them. The copy is exonerated; conversion and connection are the only two suspects left. The connection check — does the application point at the intended converted database, and can its runtime account read it — costs minutes, so it runs first.

Result. If the connection and the runtime account check out against the intended converted database, the fault is the conversion stage. If the application points elsewhere or its account cannot read the converted database, the fault is the connection, and the conversion result has not even been reached yet.

Decision. Nothing is re-run until the guide confirms the V2.05-to-R5 path directly or names the required intermediate step, and the destination prerequisites — read from the guide, not inferred from Windows 2000 alone — are confirmed on the new machine. The restart then runs from a fresh verified copy of the V2.05 source, never from the Windows 2000 destination the failed attempt already touched. Acceptance threshold: the destination lists the source tags and a known tag returns values from both windows. Anything less is an incomplete conversion, not a completed migration.

Reconvert from a fresh copy, never the failed destination #

A partial conversion leaves mixed table structures and partly populated metadata, and a second pass over that wreckage stacks a new defect on the old one. Re-run the migration from a known source copy — restore the verified backup or copy the source again — so the conversion sees the shape it was documented to convert. Whether a conversion stage can safely run again on its own output is a property of that stage; where the guide gives a restart or recovery procedure for it, follow that procedure.

Treat the original source machine as read-only from the first step: it holds the only original of the history, and improvised repairs against the live store are how a recoverable migration becomes an unrecoverable one.

When the documented sequence still produces an incomplete conversion, preserve the failed destination, its conversion logs and the exact messages, and take the documented path through the vendor's support channel. Speculative SQL updates, guessed table mappings and manual key edits are the repairs that turn a diagnosable fault into a silent one.

Accept the migration on a demonstrated restore #

Acceptance is positive evidence, not the absence of error messages. Restore the migrated system in isolation and read a known tag at a known timestamp from the restored copy, from an old window and a recent one. A confirmed tag, value and timestamp is the minimum evidence.

Do not judge completeness by row counts; logging triggers, insert-or-update behavior, buffering and retention all move them, so counts alone prove neither loss nor completeness. Judge on named evidence.

Conversion defects usually surface as read or write failures against the converted tables rather than as copy errors, and the same asymmetry appears in live logging, where ODBC logging halts when the target table schema is fixed instead of quietly writing partial rows. That is why acceptance includes a write test: store a fresh value for a known tag on the converted historian and read it back. A store-and-read pass proves the converted structures carry data, not just names.

If the isolated restore returns the known tag with the known value and timestamp, cut over. If it does not, the migration is not finished — and the untouched source still holds everything.

Questions asked

Why does the Wizard report success if the conversion never finished?

The Wizard's success report covers the stage it ran: moving the files. Schema conversion is a separate stage with its own result, and a tool can complete the copy and still stop, skip work or report an error during conversion without undoing the copy. That is why the checklist reads transfer status and conversion status as two independent results before anyone looks at the tag list.

Can I confirm the migration kept everything by counting rows?

No. A row count depends on what triggered each tag to log, whether the historian inserts or updates, how much was buffered before a write and what retention removes. An unequal count is not by itself proof of loss, and an equal count is not proof of completeness. Accept on named evidence instead: a known tag, an expected value and a matching timestamp from both an old and a recent window.

Can I finish faster by writing the missing tag names in by hand?

No. A hand-written tag record points at history it was never tied to, so the name displays but its trends return nothing, and the edit buries the conversion message that explains the real defect. Capture the exact conversion message, the affected object and the operation instead, preserve the failed destination and its logs, and work the vendor's documented support path.

The migration guide names an intermediate version step. Can that be skipped?

No. A Wizard that accepts your source database is not a compatibility statement for the whole path: a schema that an intermediate release was documented to reshape arrives at the target between releases, and that in-between shape is exactly what reads as missing tag names. Run the intermediate step on the working copy, in the documented order, recording each stage's completion result before the next.

Keep reading

  • How-to

    Do you need Citect Historian for alarms and trends

    No. Citect SCADA 7.2 stores alarm and trend history natively: a trend tag samples each variable and an alarm category controls logging. Add Citect Historian only for report generation and retention beyond the disk you size.

    Edge computing and IIoT

  • Troubleshooting

    Edge tags unreachable after a PC replacement

    Keep the remote tag provider as it is. After an Edge PC replacement, the SecurityException on provider access traced to the MQTT Transmission module, whose entitlement did not survive the backup, license transfer and restore; reinstalling the module restored browsing from the central gateway. Confirm zones and tag-access policy first, then check module licensing before touching the provider.

    Edge computing and IIoT

  • Troubleshooting

    Historian gaps after copying history blocks between servers

    When every tag loses the same whole 24-hour intervals after a block copy, the data is almost always present and the destination index is stale. Count the destination's blocks against the days covered; if the count matches, rebuild the historian index per the documented procedure before you drop and recreate the database.

    Edge computing and IIoT