Skip to main content
Call Eric:863-698-8266
CURRYCONTROLS.COMControls & Automation Knowledge Hub
ReferenceSCADADocumentationStandardsDesignWater

Long-Term Storage

Keeping historian data for years: a retention policy by data class that follows the record rules, tiered storage from online to offline copies, downsampling, archive management, exports that outlive the historian, and the annual proof that old data reads.

9 min readUpdated Sep 5, 2026Published Sep 5, 2026By Eric Sullivan

The short answer

Long-Term Storage

Long-term storage starts with a retention policy that says, for each class of data, how long it is kept and at what resolution, driven by the record-keeping rules that apply to a water system and by the operational value of history for trending and investigation. The historian keeps recent data online at full resolution, rolls older archives to cheaper storage, and may downsample very old data to aggregates while keeping raw data for the tags that regulations or investigations need. Archive files are backed up off the server and off site, re-registered after any restore, and exported periodically in a plain format so that the data survives a change of historian vendor or version. Once a year someone reads an archive from the beginning of the retention period and confirms it opens.

Key points

  • Retention is a policy per data class, written down, that the historian configuration implements.
  • Regulatory records for a water system run five to ten years; keep the tags that back them at least that long.
  • Tier the storage: recent data fast and online, old data cheap and slower, a copy off site.
  • Downsample old data only where the policy allows, and never the compliance tags.
  • Archive files are the data; back them up and re-register them after a restore.
  • Export compliance data in a plain format on a schedule; the historian will be replaced one day.

Retention by class

Data classExamplesRetentionResolution
Compliance measurementsTurbidity per filter and combined effluent, chlorine residual, pH, flows reported to the regulatorThe regulatory record period, commonly five years for turbidity and microbiological records and ten for chemical, longer where the state requires; treat it as permanentFull resolution as collected; never downsampled
Process valuesLevels, pressures, flows, analyzer readings used for operationTwo to five years online, longer in archiveFull resolution online; aggregates acceptable beyond the online period if the policy says so
Equipment dataRun times, starts, currents, vibration, drive dataLife of the equipmentAggregates and events
Alarm and event journalAlarms, acknowledgments, operator actionsFive years or longer; small in sizeEvery record
DiagnosticsCommunication statistics, server health, scan timesOne to two yearsAggregates
Audit and security logsLogins, configuration changes, firewall logsAs the security policy requires, often a year or moreEvery record
Check the federal and state record rules that apply to the system; the policy cites them

The policy is a document, owned by the utility, that names each class, the retention, the resolution, the storage tier, and the regulation or reason behind it. The historian configuration is derived from it, and an audit compares the two. Without the document, retention is whatever the integrator set at installation, and nobody knows whether the turbidity from ten years ago is still there until the regulator asks.

Tiers

Online
Recent archives on the historian server storage, fast, full resolution, the data trends and reports use daily. One to a few years.
Near-line
Older archive files moved to larger, slower, cheaper storage that the historian can still read, attached when needed. Several years.
Offline copy
A backup of every archive file, off the server and off site, on media or a service that will still be readable in ten years. The whole retention period.
Exported records
The compliance data, and anything else the policy names, exported to a plain format such as comma-separated text on a schedule and kept with the offline copy, independent of any historian software.

Downsampling

Very old process data is rarely examined sample by sample; a trend of a tank level five years ago is looked at by the day, not by the minute. Downsampling stores hourly or daily averages, minimums, and maximums for old data and discards the raw samples, which cuts storage by orders of magnitude. It is a policy decision per class, and it is never applied to the compliance tags or to anything whose raw record might be needed in an investigation. Where it is applied, the aggregates are computed before the raw data is removed, stored as their own tags, and checked against the raw data on a sample before the raw data goes.

Archive files

A historian stores its data in archive files that it creates, fills, closes, and indexes itself, and the files are the only place the data lives. They are backed up as files on a schedule, kept off the server, and copied off site. When a historian is restored from backup, the application comes back with its configuration and its list of archives, and the archives themselves have to be present at the paths it expects or be registered with it; a restore that forgets the archives is a working historian with no past. The procedure for a restore includes the archive step, and the annual restore test includes opening a trend from the oldest archive.

Outliving the software

Historians are replaced: a vendor discontinues a product, a utility changes platforms, a version upgrade cannot read the old files. Data that exists only in a proprietary archive format is at the mercy of that. The defense is export: the compliance data and whatever else the policy names, written on a schedule to a plain, documented format with the tag names, timestamps in universal time, values, units, and quality, and kept with the offline copies. When the historian is migrated, the vendor tools move what they can, the export covers the rest, and the retention clock does not restart.

  1. 1

    Write the policy

    Classes, retention, resolution, tier, and the rule behind each, signed by the utility.

  2. 2

    Configure the historian to it

    Retention, archive roll, storage locations, downsampling jobs, and export jobs.

  3. 3

    Back up the archives

    Scheduled file backup off the server and off site, monitored for completion.

  4. 4

    Export the records

    Compliance data to plain files on a schedule, checked for completeness.

  5. 5

    Test annually

    Restore an archive from the oldest year to a test historian and open a trend. Read an exported file with a spreadsheet.

  6. 6

    Audit

    Compare the configuration with the policy and the storage with the retention; correct the drift.

Frequently asked questions

How long must turbidity records be kept?
Federal drinking water record rules require turbidity and microbiological analysis records to be kept for at least five years and chemical analysis records for ten, and states may require longer. Treat the historian tags that back those records as permanent, at full resolution, with an exported copy.
Is cloud storage acceptable for archives?
For the offline copy and the exported records, cloud object storage is a reasonable off-site tier, subject to the utility security policy and to keeping a local copy as well. The online historian and its live archives stay on the control network; the cloud receives a copy through the DMZ, one direction.
Can old data be deleted to save disk?
Only what the policy says can be deleted, after its retention has passed, and never the compliance classes. Storage is cheap compared with the cost of a missing record. If disk is short, add disk or move old archives to near-line storage; do not purge.
What format should the export use?
One that a person can read with common tools in ten years: comma-separated text with a header, one file per tag or per period, timestamps in universal time in a standard format, values, units, and quality flags. Compressed if large. Document the layout in the policy.

Direct contact

Have a controls question?

Reach Eric Sullivan directly about anything on this site, a controls or automation topic, or one of his personal projects.