<img alt="" src="https://secure.intelligent-consortium.com/820374.png" style="display:none;">

Can OPC HDA data be migrated to an OPC UA historian?

Connor Mason
January 01, 1970

Yes, you can migrate OPC HDA data to an OPC UA historian if you can extract the stored samples and the destination accepts backdated records. Use a supported import path to copy the archive, then read it back through OPC UA Historical Access to verify what clients will see. An HDA-to-UA bridge can expose the old archive through OPC UA, but it does not move the records into a new historian.

TL;DR

  • To migrate OPC HDA data to an OPC UA historian, extract raw samples and use a supported historical backfill method.
  • OPC UA Historical Access can expose an OPC HDA archive through a bridge, but that leaves storage on the legacy system.
  • Verify timestamps, quality codes, and cutover boundaries before retiring the OPC HDA archive.

Why this matters

A live OPC UA connection proves that current values are flowing. It does not prove yesterday’s values are in the destination, that a bad-quality sample survived import, or that your batch reports return the same result. If you’re choosing a destination in 2026, treat historical import and historical readback as separate requirements in your historian evaluation for manufacturing.

Can OPC HDA data be migrated to an OPC UA historian?

Yes. Pick the path based on whether you need to retire the legacy historian, change how clients query it, or split old and new history across systems. The right choice depends on where the records must reside after cutover, not just which protocol the client uses.

Backfill into the destination

  • Best for: Retiring the source while retaining imported history
  • What you gain: Historical and new records in the destination for the tags and periods you migrate
  • What you still have to manage: Extraction, data mapping, import exceptions, and report reconciliation

Bridge the legacy archive

  • Best for: Moving clients to OPC UA without moving stored records
  • What you gain: A UA historical read interface where the bridge supports HDA-to-UA history mapping
  • What you still have to manage: The legacy archive, its host, and the dependencies the bridge still uses

Keep an archive and start fresh

  • Best for: Sites that can query pre-cutover and post-cutover history separately
  • What you gain: A new collection path without importing the entire archive
  • What you still have to manage: Separate query paths, archive access, and reports that span cutover

For a retirement project, choose backfill only after the destination proves it can ingest and return your representative source records. OPC Foundation’s OPC UA Part 11, Historical Access, describes historical reads and updates. A working HistoryRead call does not establish that the destination supports HistoryUpdate inserts, that your account can write history, or that historical updates are the preferred bulk-import route. Use the destination’s documented importer or write interface rather than assuming that an ordinary live OPC UA write can backdate a sample.

How do you migrate an OPC HDA archive?

A 2026 migration plan should name the source extraction method, the destination import method, and the client that will verify the result. Start with a pilot that includes ordinary production, a known outage, and a report period people still use. A pilot built only from clean, steady-state tags misses the cases that decide whether you can retire the source.

Five steps for migrating OPC HDA history, from archive inventory to cutover verification.

Verify the history through the destination client path before retiring the source.

  1. Inventory the archive. List the HDA item IDs, the date range you need per tag, and the applications that read those records. Separate raw trend data from annotations, modified history, and aggregate queries. Document which records must move and which can remain in a retained archive; those choices define what counts as complete.
  2. Extract raw records. Use an HDA raw read or a supported source export that returns stored samples. Capture item identity, value, timestamp, and quality where the source supplies them. Keep a record of each requested window and any read errors or limits, and confirm you have the full result before closing a window. Use processed reads separately to establish report baselines, not as a substitute for the raw archive.
  3. Map data semantics. Map every source item ID to a destination tag and, where applicable, the OPC UA NodeId that clients will query. Record how you handle types, source timestamps, and quality, including codes the destination cannot represent exactly. If the export contains local time, resolve ambiguous clock-change intervals before import. If the source carries finer timestamp precision than the destination retains, test whether rounding collapses distinct records.
  4. Load bounded batches. Use a destination-supported interface that accepts historical timestamps. Track each batch by tag and time window, and log rejected or altered records rather than treating a completed job as a successful import. Test what happens when you rerun the same batch. A retry must not create unintended duplicates or overwrite a corrected value without an explicit rule.
  5. Verify the cutover. Compare source and destination raw reads on the same tags and windows, following continuation points when the UA server returns them. Compare timestamps, values, quality, gaps, and samples at the handoff between backfill and live collection. Then run your actual trends and reports through the destination. Keep the old archive readable until the discrepancies that affect operations, reporting, or retention are resolved.

Why OPC HDA migration effort varies

For a 2026 project estimate, use what your pilot reveals about the following factors. Tag count alone does not show whether the migration is a repeatable bulk load or a series of exceptions that need engineering review.

  • Source extraction limits. Window size, vendor export behavior, and read limits determine how you split jobs and detect incomplete results. A successful response is not proof that you received the full requested time range.
  • Destination import behavior. Test backdated writes, handling of existing timestamps, and whether retention or compression rules affect imported samples. Confirm these settings before loading the oldest records.
  • Timestamp precision and quality mapping. Verify how the destination handles bad and uncertain values, duplicate timestamps, and unknown time offsets. Measure differences with raw reads instead of relying on how a trend renders them.
  • Historical features in use. Aggregate reads, modified history, and annotations need separate acceptance tests when your workflows depend on them. A matching raw trend does not prove that those features survived.
  • Access across OT and IT zones. Confirm who can read the legacy source and who can write to the destination. If the project uses a migration host or crosses a DMZ, review the approved data path, service identities, and UA certificate trust before the production run. Keep temporary import privileges separate from routine client access.

Can you keep the old historian and still give clients OPC UA access?

Yes, if the bridge supports the HDA reads your clients require and exposes the corresponding OPC UA historical reads. Test the bridge with the same time windows, quality cases, and aggregate calls your clients use. A bridge changes the read interface; it does not remove the source historian from your recovery plan.

For a 2026 architecture review, draw the read path all the way to the legacy store, including where any Classic OPC dependency remains. Software Toolbox supplies industrial connectivity software for teams linking plant systems to IT. If you discuss a design with Software Toolbox, specify whether you need historical access, bulk transfer, or both; a discussion about connecting live tags does not settle either historical requirement.

How do you prove the migrated archive is complete enough to use?

Compare like-for-like raw reads first, then compare the outputs that operations and reporting teams depend on. A matching point count can hide a timestamp shift, a quality conversion, or duplicated boundary samples. Define acceptance in terms of both the archive and the workflows that query it.

Raw record parity

  • What to compare: Tag, timestamp, value, and quality for the same window
  • What a mismatch tells you to investigate: Item mapping, conversion, rejected rows, or read boundaries

Continuity at handoff

  • What to compare: The last legacy samples and first live samples
  • What a mismatch tells you to investigate: A missing interval or overlap between backfill and collection

Report parity

  • What to compare: The same batch or shift report using the same interval settings
  • What a mismatch tells you to investigate: Aggregate rules, bounds, interpolation, or time-zone handling

Retained history

  • What to compare: The oldest required sample and any records held outside the new store
  • What a mismatch tells you to investigate: Destination retention settings or gaps in archive access

Agree on how to treat intended differences before you compare results. For example, if the destination intentionally normalizes a source quality code, record the mapping and verify that reports still exclude or flag the affected record as intended. Don’t accept an unexplained difference just because it appears on a tag outside the pilot’s main trend display.

Can you backfill OPC HDA data while OPC UA live collection runs?

Yes, if the destination accepts historical imports alongside live ingestion and you control which job owns records around the handoff. Choose a cutover timestamp and document which side owns the boundary sample; record the rule in both the import job and the reconciliation check. If live collection starts before cutover for testing, handle that overlap explicitly instead of relying on the importer’s default behavior.

Pick the recovery rule before you start. If a batch fails, you need to know whether to resume, replay, or remove an incomplete load using the destination’s supported tools. Keep the source export or another reproducible baseline until the load is reconciled. Changing the extraction query mid-retry makes it harder to tell whether a difference came from the source, the transformation, or the load.

FAQ

Does every OPC UA historian accept imports from OPC HDA?

No. OPC UA connectivity or Historical Access does not guarantee a writable history interface or a bulk importer. Verify how the destination accepts backdated records and which fields it retains.

Should I read raw or processed OPC HDA values for migration?

Read raw values if you need to preserve the stored samples. Use processed values to compare aggregate or report results, not to recreate the original timeline.

Can I preserve OPC HDA quality codes in an OPC UA historian?

You can preserve the quality distinctions that the import path and target data model support. Test bad and uncertain states through the destination’s historical read interface and record any lossy mappings.

Will the same shift average match after migration?

Not necessarily, even when the raw samples match. Compare interval boundaries, time weighting, interpolation, and treatment of bad-quality data before accepting a result.

What happens to historical annotations and edited values?

Annotations and edited-value history need separate verification. Confirm that the source can export the required records and that the destination can retain and expose them, or preserve them separately.

Do I still need DCOM after moving historical clients to OPC UA?

You still need DCOM wherever the deployed architecture relies on a remote Classic OPC connection. Changing the client-facing interface to OPC UA does not remove a Classic dependency between a bridge and the source.

When can I shut down the OPC HDA server?

Shut it down only after required history and reports pass acceptance and no retained workflow still depends on it. Confirm how your team will retrieve archived records and recover access before decommissioning the source.

One last thing

Make the first readback test an outage window, not a smooth trend. Pick a period with a known acquisition gap or bad-quality interval, bracket it with good samples, and retrieve raw history from both systems. If the new trend draws a continuous line through the gap, check whether the archive lost a status or whether the client simply interpolated across missing data. Those are different problems with different fixes.

Put that test into the 2026 cutover criteria before you schedule source retirement. A familiar-looking trend is not evidence that a report, investigation, or audit can still distinguish a recorded value from a gap.

Related guides

About the Author

Connor Mason

Connor Mason

Share this article

Stay Updated with Our Latest Insights

Subscribe to our newsletter for weekly technical articles, product updates, and industry news.