IMD SolutionComputing LibraryShop main store

How-to

Transferring old WinCC tag logging data to Process Historian

Edge computing and IIoT Published 6 min read

Short answer

Old WinCC tag logging archives do not arrive on a newly commissioned Process Historian PC by themselves. Check version compatibility for your installed releases, back up and freeze the source archives, run the vendor's documented commissioning and historical-transfer procedure, then validate coverage by querying the same tag and interval in both systems.

On this page
  1. Can old WinCC tag logging archives reach a new Process Historian PC?
  2. Why doesn't new data collection prove the old months transferred?
  3. Which documentation covers the historical transfer for your installed versions?
  4. How do you protect the source archives before commissioning?
  5. How do you run the documented commissioning and transfer sequence?
  6. How do you prove the old history actually arrived?
  7. What if the supported import path does not accept your archives?
  8. Questions asked

A WinCC server that has run for months already holds tag logging archives, and a newly commissioned Process Historian PC will not import them by itself: new collection starts at commissioning time and covers nothing before it. The supported path is to verify version compatibility, protect the source archives, run the documented commissioning and historical-transfer procedure for your installed releases, and then prove coverage with side-by-side queries. This article walks through that sequence and ends with the decision for each outcome.

Can old WinCC tag logging archives reach a new Process Historian PC? #

Yes, but only through the historical-transfer procedure the vendor documents for your exact WinCC and Process Historian releases; there is no automatic copy when you connect the new historian PC. A tag logging archive stores process values with timestamps and quality status, and importing it means making those records queryable in the destination's own archive structure. That is a different operation from connecting a server to collect values from now onward, and the commissioning documentation treats it as such.

For PCS 7 installations, the application example "Installing and Commissioning of Process Historian and Information Server in a PCS 7 Environment" is the reference document; it is published on the Siemens Industry Online Support portal under document ID 66579062. Read it for your installed software combination, not just any page that mentions Process Historian.

Why doesn't new data collection prove the old months transferred? #

Because collection and historical import are separate mechanisms with separate prerequisites. When Process Historian starts collecting, it records values from the connection time forward; the months already stored on the WinCC server are simply not in its scope. Three operations look similar and are not: current collection, recovery of buffered data after a communication interruption, and import of archives created before the connection existed. A recovery mechanism written for a previously configured connection can have conditions that an import of pre-existing archives does not satisfy.

The practical consequence: if you accept the system after seeing today's values trending, you have accepted only the boundary onward. The earlier history needs its own check, which is the comparison procedure in the last section of this article.

Which documentation covers the historical transfer for your installed versions? #

The one that matches your recorded version inventory and deployment architecture. Before selecting a procedure, write down three things:

  1. The installed WinCC and Process Historian versions, including service packs and updates, read from each product's own information pages.
  2. Whether the WinCC server belongs to a PCS 7 installation or a standalone WinCC configuration, because PCS 7 commissioning documentation differs from generic WinCC guidance.
  3. The documented eligibility conditions of the historical-transfer function itself: accepted source archive formats, required components, transfer scope, and how overlap with existing destination records is handled.

A version mismatch found here is a commissioning-stopping finding, not a warning. Related reading: the failure mode where configured tags never arrive at all is covered in the article on WinCC tag data that never reaches Process Historian 2014 (article:why-wincc-tag-data-never-reaches-process-historian-2014), and plant-hierarchy faults after a project upload are covered in the article on the Process Historian plant hierarchy error (article:process-historian-plant-hierarchy-error-after-project-upload).

How do you protect the source archives before commissioning? #

Back up the WinCC configuration and the archive segments you must keep, verify the backups are readable, and freeze retention settings for the migration window. This is the one step you cannot redo: storage that retention has already overwritten cannot be reconstructed by installing a historian later.

Concretely, before you touch anything:

  • Inventory active archives, stored archive segments, backups, and the retention settings on the WinCC server.
  • Query representative tags at the start, middle, and end of the period you must retain, and confirm records are readable.
  • Make a supported backup, record its scope, and verify readability with the documented restore or read method.
  • Disable or extend retention so nothing required is deleted while the transfer runs.

How do you run the documented commissioning and transfer sequence? #

Commission the destination first, validate current collection second, and run the historical import only third. Work through the vendor's checklist in order:

  1. Install and configure the Process Historian PC per the documented procedure for your software combination, including source registration, communication paths, and archive storage locations.
  2. Validate collection with representative changing tags, and resolve any collection fault before using destination queries to judge history. A collection fault and an import gap look identical on a trend, so eliminate the first.
  3. Define the boundary: the oldest required timestamp, the historical transfer interval, and the moment current collection takes over, all expressed in one recorded time zone.
  4. Execute the documented historical path only, following its requirements for archive selection, tag association, sequence, and restart behavior. If the procedure offers a limited-scope test, run that before committing the full retained history.

How do you prove the old history actually arrived? #

By comparing the same tag and the same interval in both systems, not by watching a connection indicator turn green. Pick tags that exercise the logging types your installation actually uses, then run this check:

Worked example. Tag TI_101 logs cyclically at one sample per minute. Query 13 January 2025, 00:00 to 24:00 (site time) in WinCC: 24 h × 60 min/h = 1,440 samples. Run the identical query on the Process Historian PC. Accepted result: 1,440 matching records, with matching timestamps and quality codes. Repeat at the oldest retained interval and across the cutover boundary. If the destination returns 1,434 records, six samples are missing and the transfer scope, not collection, is the suspect. Also compare the earliest destination timestamp against your retention-start requirement; if it is later, the covered history is shorter than the requirement.

For direct database inspection, the supported query method is described in the article on reading default historian data in SQL Server (article:reading-default-historian-data-in-sql-server-the-supported-way), and what a migration does and does not carry across is detailed in the article on what a historian migration moves (article:what-a-historian-migration-moves-and-what-you-must-rebuild).

What if the supported import path does not accept your archives? #

Then you keep two documented archives and do not merge them. Retain the old WinCC history readable through its supported access method, record which system holds which date range, and let Process Historian own everything from the boundary onward. Presenting separate archives as one continuous history without a verified import is the failure to avoid; a clearly documented boundary is not.

The decision, then: if the documented procedure accepts your source format and your coverage check returns matching records across the retained interval, the migration is complete and you can decommission the old archive storage per your retention policy. If it does not, or coverage fails the comparison, keep the WinCC history in place, fix the transfer scope, and re-run the comparison before any cutover claim. When the old WinCC server itself is the reason for this project and must be replaced anyway, a current fanless industrial mini PC is the natural replacement host for the historian role, as in the mini PC collection (https://industrialmonitordirect.com/collections/all-mini-pc/). Treat any work on the live archive server as change-managed work: take the backup, freeze retention, and schedule the window, because a mis-step here is unrecoverable.

Questions asked

Can a historian recover WinCC archives that were already overwritten by retention settings?

No. Once a retention policy has deleted an archive segment, installing or commissioning a historian does not reconstruct it. Your migration scope can only cover intervals for which a readable archive segment or a backup still exists, so inventory and back up the retained history before you change any retention settings on the running WinCC server.

Does a copied archive folder count as imported history on the Process Historian PC?

No. A file copied to the destination disk is not registered in the historian's archive structure, so applications cannot query it and it proves nothing. Only records that arrive through the vendor's documented import or transfer procedure become queryable history, which is why acceptance is a query result, not a directory listing.

How do I stop duplicate values during the cutover?

Set an explicit boundary timestamp in one reference time zone, and make the historical transfer cover everything before it while current collection covers everything after it. Overlapping windows write the same interval twice, and the reader then sees two records for one timestamp. Document which system holds which date range if the archives cannot be merged.

Keep reading

  • Troubleshooting

    Why WinCC tag data never reaches Process Historian 2014

    An empty Outgoing Queues folder under Message Queuing on the WinCC host means the PH-Ready publisher never enqueued a message, so this is not a network or delivery fault. The fix is Process Historian 2014 SP2 Update 2 with Information Server 2014 SP2 Update 2 on both machines at the same level, a manually typed PH server name in the PH-Ready wizard, and the CCCAPHServer service account present with the same password on both machines.

    Edge computing and IIoT

  • Troubleshooting

    Running redundant InTouch historians with parallel tag logging

    InTouch has no dual-Historian target, so a partner Historian configured for redundancy stays empty. Log process data in parallel: the same tag list imported into both Historians, an IDAS on each node reading the OI Server. Handle historical alarms separately with A2ALMDB, because IDAS failover does not carry alarm data.

    Edge computing and IIoT

  • Troubleshooting

    Stale historian tag browse tree entries after a restore

    A historical tag browse tree lists the identities the edge historian has stored samples under, and a gateway restore replaces live tag configuration without touching that store. On a disposable development machine, stop the gateway, move the local .idb file out with a copy kept, and restart to clear them; Root Node Path trims the visible hierarchy without deleting data.

    Edge computing and IIoT