Store and Forward: 5 Essential Rules to Stop SCADA Data Loss

Share:
SCADA
Store and Forward: 5 Essential Rules to Stop SCADA Data Loss

Networks fail, servers reboot and cellular links drop, yet regulators and engineers still expect a complete record of every value. Local buffering keeps collecting data during the gap and fills the history once the link returns.

Data Buffering Historian Edge Gateway Backfill

Historians and cloud platforms depend on a network path from the plant. A local buffer captures readings when that path breaks and forwards them in order when it comes back.

Hello everyone, today we are going to learn how store and forward works in SCADA and historian systems, how to size the local buffer, and which rules prevent gaps in your process history.
store and forward

What Is Store and Forward?

Store and forward is a data handling method where a collector, gateway or SCADA node saves readings locally when the destination is unreachable, then sends them later in their original order with original time stamps. It protects the record kept by a process historian.

FlowFuse describes edge buffering that delivers stored data in full chronological order after an outage, so the history shows no gaps. Its example checks connectivity every 30 seconds and forwards records in batches of 50.

Edge device buffering production data locally during a network outage
Image credit: FlowFuse

The same idea is used in PI interfaces, Ignition gateways and cloud connectors described in SCADA historian integration. Names differ, but the principle is the same.

Without buffering, a one hour outage leaves a permanent hole in trends, reports and compliance records.

How Buffering Works

CollectValues read from PLCs and RTUs
Check LinkIs the historian reachable
Store LocallyWrite to memory then disk queue
ForwardSend oldest data first when the link returns
Confirm and DeleteRemove records only after acknowledgement

Records are removed from the buffer only after the destination confirms receipt. This avoids losing data if the link fails again during forwarding.

Most products use a small memory cache for speed and a disk cache for long outages. The disk cache must survive a power cycle.

Where Buffering Is Used

SCADA Servers

Tag historian caches when the database is down.

Best for: central control rooms
Server Side
Edge Gateways

Buffer field data before cloud upload.

Best for: IIoT and remote assets
Edge
RTUs and Loggers

Onboard logs backfill the master.

Best for: pipelines and water sites
Field
MQTT Clients

Queued messages published after reconnect.

Best for: IIoT platforms
Messaging

Nasby and co authors describe using DNP3 datalogging in RTUs to meet backup logging requirements at water sites. The RTU keeps the record and the master backfills it later.

Publish and subscribe systems such as MQTT offer persistent sessions with a similar effect.

5 Essential Buffering Rules

1
Size for the Worst Outage
Plan for the longest realistic link failure.
2
Use Disk, Not Only Memory
Keep data safe through reboots.
3
Keep Source Time Stamps
Never stamp data with arrival time.
4
Throttle Backfill
Forward in batches so live data is not delayed.
5
Alarm on Buffer Use
Warn operators when the buffer passes 50 percent.

Backfill can load a historian heavily after a long outage. Rate limiting keeps the server responsive, which also helps with issues in growing SCADA databases.

Redundant servers reduce outages, but buffering still covers network faults, as noted in SCADA redundancy architecture.

Buffer Size Formula

Buffer size = Tags × Samples per second × Bytes per sample × Outage seconds

Example:
2000 tags, 1 sample per second each
16 bytes per sample with time stamp and quality
Outage = 24 hours = 86400 s
Buffer ≈ 2000 × 1 × 16 × 86400 = 2.76 GB

Exception based collection lowers the sample count sharply, often by 80 percent or more. Use real change rates rather than scan rates when sizing.

Leave spare disk space for compression failures and log files.

Buffer Size Calculator

Local Cache Requirement
Result
Buffer about 2.76 GB, 2765 MB

Double the result if the gateway also buffers alarms and events. Check the product limit on maximum cache size.

Benefits
  • No gaps in history.
  • Compliance records stay complete.
  • Tolerates cheap unreliable links.
  • Simple to configure in most products.
Watch Outs
  • Late data may confuse live dashboards.
  • Backfill can overload servers.
  • Disk full means data loss.
  • Clock errors corrupt ordering.

Accurate clocks matter, so synchronise every node with NTP. Historian storage basics are covered in DCS historian data storage.

DNP3 Store and Forward Paper PDF

PDF
Solving the Backup Datalogging Requirement With DNP3
Nasby, Gribbons and Leskovec, WEAO Influents, 2018

Tag Historian Module Video

Store and Forward FAQ

What does store and forward mean?
It means data is saved locally when the destination is unreachable and sent later. The original time stamps keep the history accurate.
Why is it important?
Network or server outages would otherwise leave permanent gaps in trends and reports. Regulated industries often require complete records.
How big should the buffer be?
Multiply tags, samples per second, bytes per sample and outage seconds. Then add margin for alarms, events and file overhead.
Should data be deleted after sending?
Only after the destination confirms it has stored the data. Deleting earlier risks loss if the link fails again.
Does it slow the historian?
A large backfill can load the server heavily. Throttling the forward rate keeps live data flowing normally.
Which time stamp should be used?
Always the source time stamp from when the value was read. Arrival time would place backfilled data at the wrong point.
Do RTUs support it?
Many RTUs log data internally and let the master backfill it. DNP3 event buffers and datalogging features serve this purpose.

Related Articles

External References

What We Learn Today

  • Local buffering saves data during outages and backfills later.
  • Size the buffer from tags, rates and the worst outage.
  • Keep source time stamps and throttle backfill.
I hope you like above blog. There is no cost associated in sharing the article in your social media. Thanks for reading!! Happy Learning!!

Leave a Reply

Your email address will not be published. Required fields are marked *