Backing up and restoring Security Onion detection overrides

Tuning work in Security Onion lives on the manager, so a rebuild or migration can erase weeks of suppressions and thresholds. This page explains what to back up, how the nightly NIDS override backup and so-detections-overrides-import fit together, and what to export before replacing a manager.

On this page

Backing up Security Onion detection overrides before a manager rebuild

Tuning work in Security Onion is only as durable as your backup of it, so overrides must be protected and restored deliberately, not reconstructed from memory after a rebuild. If your team has modified, suppressed or thresholded NIDS alerts in the Detections interface, those changes live in the manager's configuration and will not survive a replacement unless you capture them first. Treat that capture as a required step in any rebuild plan.

The Detections interface manages three rule families. NIDS rules are loaded into Suricata, and for those you can apply modify, suppress and threshold overrides. Sigma rules are loaded into ElastAlert, where your changes take the form of custom filters that wrap the original condition. YARA rules are loaded into Strelka. Each of these overrides records a decision your analysts made about a specific alert, so losing them means losing the reasoning behind coverage as well as the settings.

Teams need a backup plan whenever the manager is going to be rebuilt or replaced. Common triggers include a migration to a new manager host, a reinstall driven by end-of-life timing, a move from an older release line to a newer one, and an airgap refresh from new ISO media. Before any of these, confirm with your own environment's documentation which override files and settings the current release stores, where they sit on the manager, and whether your restore path reapplies them through the import process. Test the restore on a non-production manager before you rely on it.

Which tuning artifacts to protect beyond NIDS overrides

The nightly NIDS override backup protects one slice of detection work. Analysts also build Sigma filters, custom rules, rule repositories, Zeek intel and package choices, and playbook or BPF decisions, and each can be lost during a rebuild or manager replacement. For every artifact below, confirm whether the built-in backup captures it or whether it needs a manual export.

NIDS modify, suppress and threshold overrides

These are the Suricata overrides made in Detections that change how an existing rule fires: modify, suppress and threshold entries. The nightly NIDS override backup is designed for this part, so it is the artifact most likely to be covered. Confirm that the backup restores into a rebuilt manager with the so-detections-overrides-import step, and check that each override still matches a rule ID and signature in the new ruleset version before you trust the restore.

Detections docs

Sigma custom filters

Custom filters wrap a Sigma rule's original condition to exclude known-good activity, such as scanner IPs or patch systems. They are authored in the Console against the ElastAlert-loaded Sigma rules, so they are not part of the NIDS override set. Without an export, a rebuild restores the Sigma rules but leaves every exclusion behind, and noisy alerts return on the first day of production. Confirm whether your version captures filters in the backup or needs a manual export.

Custom Suricata rules

Local Suricata rules written in Detections or placed in the local rules directory encode detections your team wrote, often for internal applications. They are not vendor content, so a fresh ruleset download will not recreate them. Keep a copy of the rule text, its unique ruleset name and the sensor paths it was promoted to. Confirm with the product documentation whether local rules are included in the nightly backup or require a separate copy of the file.

Custom Sigma and YARA rule repositories

Repository definitions under rulesRepos tell the grid where to pull your own Sigma and YARA content, over HTTPS or from a local path, and how often to update. If the configuration is lost, the grid can silently stop receiving your detections while the default content keeps loading. Export the repository list and the Git history behind it, and check access credentials for private repositories, since those are rarely stored in the same place as the rules.

Zeek intel and zkg package choices

Zeek intel files hold indicators your team loaded for matching against traffic, and zkg packages are the extensions your team chose to enable. Both live partly in the manager's Salt-managed directories, so a rebuild may restore the defaults rather than your selections. Record the intel file source, its format and update cadence, plus the list of installed and enabled packages with their versions. Confirm which of these the backup covers before relying on it.

Playbooks and BPF filters

Playbook plays encode the investigative questions your analysts agreed on, and BPF filters record which traffic you chose not to inspect and why. Neither is a detection in the usual sense, but losing them removes the reasoning behind your triage and the accepted blind spots. Export your custom plays and the BPF expressions with a short note on each trade-off, and confirm with the product documentation how the grid stores and restores them.

Which backup method fits which change

This table compares five ways to protect detection tuning work in Security Onion, showing what each method protects, when it fits and what it leaves out. Read it by matching the change you are about to make to the row that covers it, then check the gaps column before you replace a manager or rebuild a grid.

MethodWhat it protectsWhen it fitsWhat it leaves out
Built-in nightly NIDS override backupSuricata suppress, threshold and modify overrides saved from DetectionsRoutine protection of NIDS tuning between changesSigma filters, YARA changes, rule repository content and non-detection settings
so-detections-overrides-import restoreRe-applies saved NIDS override files to a rebuilt or replacement managerRestoring NIDS tuning after a rebuild or migrationAnything that was never written to the override backup, so confirm the backup is current first
Manual export of Sigma filters and other settingsCustom Sigma filters and settings configured in the ConsoleBefore a manager replacement or a major version changeAutomatic coverage, so exports must be repeated after each tuning session
Repositories kept under version controlCustom Sigma and YARA rules, and any local Suricata rule files your team maintainsDetection content you author, review and promote across environmentsConsole-only changes made outside the repository, and tuning that was never committed
Full manager backup or virtual machine snapshotThe manager's full state, including configuration and data at the time of captureRecovering the whole manager, or rolling back a failed upgradePortability to a new platform, and it must be restored to a matching version and layout

How overrides move from the Detections interface to a rebuilt manager

The flow starts with analyst changes to NIDS overrides in the Detections interface on the manager. The nightly NIDS override backup writes a copy, which must be stored off the manager so it survives a rebuild. Manual exports of Sigma filters and repository settings take a parallel path into the same off-box store. After a new manager is installed, so-detections-overrides-import restores the overrides, and the team verifies alerts on the rebuilt grid before retiring the old manager.

Override backups and manual exports flow off the manager and back into a rebuilt one.

How to back up and restore overrides in order

This sequence protects tuning work by inventorying every override, confirming the nightly NIDS backup, moving copies off the manager, and restoring them onto a replacement manager. It ends with a check that alerts behave as they did before the rebuild.

  1. Inventory every tuning artifact

    Before touching the grid, list everything your team has tuned: NIDS modify, suppress and threshold overrides, custom Suricata rules, Sigma custom filters, Sigma and YARA repository settings, Zeek intel files, zkg packages, playbook edits, BPF filters and HOME_NET changes. For each item, record where it lives, who owns it and the reason for the change. Confirm each storage location against the Security Onion documentation for your release in use. The step is done when the list covers every artifact and each entry has a location and an owner.

  2. Confirm the nightly NIDS override backup runs

    Check that the scheduled NIDS override backup ran on the manager during the last cycle and produced output. Compare the file timestamp and contents with the overrides you expect to see in the Detections interface. Take the job name, schedule and output path from the Security Onion detections documentation for your release, not from memory or older guides. The step is done when you can name the backup file, its date, and the number of override entries it holds.

  3. Copy backups and manual exports off the manager

    Copy the nightly backup and the manual exports from Step 1 to storage outside the manager, so a failed manager does not take your only copy with it. Include any configuration files that the backup job does not capture. Record the checksum of each file at the source and at the destination. Confirm with the vendor or your own documentation which files the backup job covers. The step is done when every file in your inventory exists off the manager and the checksums match.

  4. Record the release and operating system

    Write down the exact Security Onion release, the operating system version, the deployment type and the grid layout. Security Onion 3.0.0 supports only Oracle Linux 9, and Security Onion 2.4 reaches end of life on October 1, 2026, so a 2.x grid may need a different path than a 3.x grid. Confirm the upgrade or fresh-install route in the end-of-life and release documentation before you plan the rebuild. The step is done when a change record names the release, the operating system and the replacement target.

  5. Install the replacement manager

    Build the replacement manager on the release and operating system recorded in Step 4, matching the original configuration as closely as your documentation allows. Plan the cutover knowing that if the manager goes down, search nodes stop indexing because they cannot reach Redis. Keep sensors and search nodes pointed at the manager you intend to keep. The step is done when the replacement manager is running and the grid nodes check in to it with healthy status.

  6. Run the override import and reapply settings

    On the new manager, run so-detections-overrides-import against the backup file you copied in Step 3. Confirm the exact syntax and file argument for your release in the detections documentation. Then re-enter or re-point Sigma filters, repository settings and any other items from your inventory that the import does not restore. The step is done when the Detections interface lists the expected overrides and each re-entered item matches its entry in the inventory.

  7. Verify with a test alert and suppression counts

    Generate or replay a known test event that matches a modified or suppressed rule, then confirm the override behaves as recorded in your inventory. Compare suppressed alert counts for a set period with the baseline you exported from the original manager, and investigate any large difference. Check that Sigma filters still exclude the expected known-good activity. The step is done when the test alert and the override behavior match your records and you have signed off the restored configuration.

How the backup changes for standalone, distributed and airgap grids

A standalone node runs the Console, Elasticsearch, Suricata, Zeek and the other components on one box, so most of the state you would need to rebuild sits in one place. For this model, a full backup of the node together with an export of your detection overrides covers most of the risk. The export gives you a portable copy of tuning work that you can read, review and reapply if the node is replaced.

  • Full node backup: Capture the whole system state on a schedule and store it off the node, so a failed disk does not take your tuning with it.
  • Override export: Keep a copy of the NIDS override file outside the node, since it is the artifact you will reimport during a rebuild.
  • Single restore path: Plan one restore order: reinstall the same Security Onion version, restore configuration, then import overrides and check alerts.
  • Version match: Record the exact release on the node, because an override set tested on one version may need review on another.
  • Local rule files: Include any local rules directory content in the backup, since it is not always covered by the override export.

Before you rely on this model, confirm with your own test rebuild that the restored node reproduces the same alert behavior.

Security risks in backup files and restore paths

Detection overrides are security-relevant configuration, so the backup and restore path needs the same care as the manager itself. The four risks below cover what the files reveal, what a restore changes, which secrets may be inside, and how to prove a restore is safe before it touches production.

Backup files reveal blind spots

A nightly override backup records which NIDS alerts were suppressed, thresholded or modified, and why the team stopped watching certain traffic. Anyone who reads that file learns what the defenders do not see. Restrict read access on the manager to the people who maintain detections, and encrypt any off-box copy before it leaves the manager. Confirm where the nightly backup is written on the manager, which local accounts and service users can read that path, and whether copies are replicated to other systems automatically.

Detections docs

Restores can reshape detections

Importing overrides replays earlier suppressions, thresholds and modifications onto a manager that may have newer rule versions or different rule identifiers. A restore can therefore re-disable an alert someone later re-enabled, or attach an old threshold to a rule whose logic changed. Before accepting an import, compare the imported overrides with the current Detections state and review every suppression that removes coverage. Treat the restore as a change request with a named reviewer.

Keep secrets out of plain text

Rule repositories, integrations and API access can depend on tokens or credentials held in configuration on the manager. These should not be copied into override backups or ad hoc archives in plain text. Inventory which custom rule repositories, Sigma or YARA sources and external integrations need credentials, then store those values in your approved secret store and reference them during the rebuild. Confirm with your own configuration review which values Security Onion writes to files you intend to back up.

Test restores on an isolated manager

A backup that has never been restored is an assumption. Rehearse the full restore on a separate, isolated manager that has no sensor feeds or forwarding to production systems, then compare the resulting detection state with the source. Use this rehearsal to check that imported overrides load, that rule identifiers still match and that alert volume behaves as expected. Only after the rehearsal passes should the same steps run against production.

Questions teams ask before a Security Onion manager rebuild

What does the effort for a manager rebuild depend on?

The effort depends mainly on four things: the size of the grid, the number of NIDS overrides and custom artifacts you have accumulated, and whether the restore has to match an exact Security Onion release. A small standalone node with a handful of suppressions is a very different job from a distributed grid with sensors, search nodes, custom Suricata rules, Sigma filters and custom YARA or Sigma repositories. Exact release matching matters because overrides and rule sets are tied to the version that loaded them, so a rebuild onto a different release adds compatibility checks. Ask your team to inventory each category before estimating, and ask any partner to quote from that inventory rather than from a generic template.

Can our internal team rebuild the manager and restore overrides alone?

Yes, if the team already administers Security Onion and has a test manager where it can practice the restore before touching production. The work involves exporting the nightly NIDS override backups, exporting the rest of the detection state, rebuilding the manager, running the import, and then confirming that sensors and search nodes reconnect and that alerts still match the documented tuning. Teams without recent hands-on experience with the grid, or without a safe place to rehearse, usually benefit from an outside review of the plan. Whichever route you choose, write down who owns each step and who signs off on the cutover.

What would an outside partner need from us before starting?

A partner needs access to the grid, the change records behind your tuning, a maintenance window, and the target release. Access should cover the manager and a representative set of sensors and search nodes, with a non-production copy where restores can be tested. Change records are the most important input: the reason each suppression, threshold or modify override exists, who approved it and when it was last reviewed. Without them, a restore can preserve rules that nobody can justify. Confirm the target release in writing, since restoring onto a release that differs from the current one changes the work. The scope, deliverables and timeline are agreed in writing before work starts.

How long does a rebuild take, and what drives the duration?

Duration is driven by the same factors as effort, plus the number of test cycles and the length of your change window. The main drivers are grid size, the volume of overrides that must be reviewed rather than copied blindly, the number of custom rule repositories that must resync, how many rehearsals your test environment supports, and how quickly your change board can approve the cutover. Ask for a schedule that lists each phase and its dependency on the previous one, and ask which phases need your staff in person. This page does not give a duration because the answer depends on your environment.

What happens to alert history on the new manager?

Restoring override files does not automatically carry over the full alert and event history that lived on the old manager's search tier, so you should confirm exactly what your backup and retention processes preserve. Overrides and rule configuration are the detection state you export; stored events and alerts depend on how your search nodes and indexes were kept and backed up. If investigations need older alerts, decide before the cutover whether you will keep the old manager readable for a defined period, export the relevant records, or accept a gap. Record that decision, because analysts and auditors will ask where historical alerts went.

What recurring work remains after the restore?

Restoring the overrides is a one-time step, but the tuning behind them is not. Your team still needs to keep the nightly NIDS override backups running and verified, review new alerts for noise, add change records for every new suppression or threshold, and check that custom Sigma and YARA repositories keep syncing. After any future upgrade, re-check overrides against the new rule versions, since rule identifiers and content can change. Plan these as recurring tasks with an owner, and test a restore periodically so the backup process is proven before you need it in an emergency.

Limits to confirm before you rely on the restore path

A backup only protects tuning work if it captures every override type your team relies on and restores cleanly on the release you will run. The cards below list the limits to test on a non-production grid, and who to ask for each answer.

Override types covered by the nightly backup

Confirm whether the nightly NIDS override backup captures every override type your analysts create, including modify, suppress and threshold entries in Detections. Do not assume that custom rule files, Sigma filters or YARA changes are included. Ask your Security Onion contact or check the release documentation for your version, then compare the backup contents against a list of every override your team has made in the last year.

Detections docs

Restore behavior of the import command

Confirm exactly what so-detections-overrides-import does on your release: whether it overwrites existing overrides, merges them, or skips entries it cannot match to a current rule. Run it on a lab manager with a known set of overrides and check the result in the Detections interface. Ask your platform team to record the output so the behavior is documented before a production migration.

Sigma filters and repository settings

Confirm whether custom Sigma filters and rulesRepos settings are exported by any backup step or must be copied by hand. These settings live in configuration rather than in the override set, so a restore may leave Sigma tuning behind even when NIDS overrides come back. Ask the people who maintain your detection content repositories to list each setting and where it is stored.

Source and target release compatibility

Confirm that your source and target releases are in the same line before you restore. Security Onion 3.0.0 was released on March 31, 2026 and supports only Oracle Linux 9, and the latest tagged release is 3.3.0. Ask your architect whether a 2.x backup can move into a 3.x grid, and whether your operating system matches the 3.x requirement before you plan the cutover.

3.0.0 release post

End-of-life dates that force a rebuild

Check your current release against the published end-of-life dates. Security Onion 2.4 reaches end of life on October 1, 2026, and 2.3 reached end of life on April 6, 2024. If you run 2.4 on a distribution other than Oracle Linux 9, a fresh install may be required, so restore testing must happen early. Ask your security operations lead to set the rebuild date with these dates in view.

Security Onion EOL

Topology changes during restore

Confirm whether a backup taken from one grid layout can be restored onto a different topology, such as a standalone node replacing a distributed grid or a new search node count. The architecture requires a manager, sensors and search nodes to work together, so a restore into a different layout needs a tested plan. Ask your architect to document which components the restore changes and which must be rebuilt by hand.

Architecture docs

How DeployOpen scopes and delivers detection override backup work

DeployOpen plans and builds Security Onion detection override backup and restore work as a written, fixed-scope engagement inside infrastructure you control. The work covers which tuning files are exported, how they are protected, how they come back on a rebuilt or migrated manager, and how your team operates the routine afterward.

How we scope

  • Inventory your current NIDS overrides, custom rules and rule repository settings before any backup design starts.
  • Agree in writing which tuning artifacts, Sigma and YARA content, and configuration files are in scope for export.
  • Record the target grid layout, manager replacement plan and restore acceptance tests so the quote follows from a defined scope.

How we build

  • Configure the nightly NIDS override backup job and confirm that exported files are complete and readable.
  • Test so-detections-overrides-import against a restored copy of your overrides on a non-production manager first.
  • Document the export and restore procedure, then verify alert behavior against imported PCAP samples after each restore.

How we hand over

  • Deliver runbooks covering backup schedules, storage locations, access controls and the restore sequence for each manager rebuild.
  • Walk your engineers through a supervised restore so they can repeat the procedure without outside help.
  • Provide a written record of what was exported, where it is stored and which tests passed, for your change records.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the handover.
  • Review backup jobs and restore tests again when Security Onion releases change the detection or override layout.
  • Confirm the restore path again before each planned migration, rebuild or major upgrade of the grid.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.