Security Onion backup and restore

Security Onion backup and restore planning covers what the platform saves on its own, what you must copy off the manager, and how to restore config, PostgreSQL and case data. This page helps you decide what to protect before you need it.

On this page

Security Onion backup and restore: what you must protect before an outage

When a manager or grid needs recovery, the first question is what Security Onion keeps without help and what your team must copy elsewhere. In a Distributed deployment, which the Security Onion architecture docs recommend for production, the manager node coordinates the grid. The docs note that if the manager goes down, search nodes stop indexing because they cannot reach Redis. Sensors and search nodes can keep capturing, but the data they hold is only useful once the manager is back, so backup planning is centered on the manager and the configuration it serves to the rest of the grid.

This page works from the supplied facts only. It does not list exact backup commands, file paths or restore steps. Before you write a runbook, confirm the backup scope, the commands and the restore order against the current 3.x documentation for the version you run, because those details change between releases and between 3.x point versions. Ask your vendor or implementation partner to walk through the restore on a lab grid with the same version, including how the manager is rebuilt and how sensors and search nodes re-enroll.

Decide early who owns each item: the manager configuration, the database that holds Security Onion Console state, the Elasticsearch snapshot repository used for cases and Kibana objects, and the off-box copy. Each has a different recovery path and a different owner, and a gap in any one of them can leave a rebuilt manager unable to resume work. Write these decisions down before an incident, and record the version and the date each backup was verified.

What Security Onion backs up on its own and what it does not

A deployed grid is not automatically a backed-up grid. The manager carries the state other nodes depend on, and the architecture documentation notes that search nodes stop indexing when they cannot reach the manager's Redis service. Plan protection around the manager first, then confirm which parts of the platform's own behavior cover each node role in your release.

  • Manager dependency: Losing the manager stops indexing across search nodes even when their disks are intact, so the manager is the node to protect first.
  • Scheduled jobs: Confirm whether your release runs any scheduled backup, what it captures and where its output is written.
  • Local retention: Confirm how many copies the product keeps on disk and whether it prunes older ones automatically.
  • Sensors and search nodes: Confirm whether their data needs protection beyond what the manager holds, since indexed logs and packet data are often treated as rebuildable.
  • Restore scope: Confirm whether a restore rebuilds the manager in place or onto new hardware, and which node roles it expects to rejoin.

Check these answers on your release before you write a backup policy, and record them in the runbook so the next operator does not have to rediscover them.

How to set up off-manager backup copies

This sequence produces backup copies of a Security Onion manager and its configuration that live outside the manager's failure domain, are readable by the team, and are limited to named administrators. Each step ends with a check so the copy is proven usable before anyone relies on it.

  1. Inventory the manager and grid

    The administrator who owns the grid lists every node, its role (manager, search, sensor, receiver or heavy node), its hostname and the data that matters on the manager, including configuration, PostgreSQL data, Kibana saved objects and any Elasticsearch snapshots used for cases. Confirm against the architecture documentation which pieces the grid already backs up on its own and which pieces the team must copy itself. Done means a written inventory that the reviewer has signed off, with each backup item assigned an owner.

  2. Confirm the manager's failure domain

    The security engineer records where the manager runs, which hypervisor, cloud account, data center or storage system it depends on, and which credentials can administer that platform. The destination for copies must not share those dependencies, so a single outage or compromised administrator account cannot remove both the manager and its copies. Done means a short statement of the manager's failure domain that names the platform, the accounts with control over it, and the separate domain chosen for copies.

  3. Choose an off-host destination the manager can write to

    The platform team selects a destination such as a network file share, object storage bucket or backup server in a separate failure domain, then tests that the manager's service account can write to it over the network path the grid uses. Confirm with the storage team the protocol, the retention controls they offer and whether the destination supports versioning or write-once settings. Done means a successful test write from the manager to the destination, performed with the exact account the scheduled job will use.

  4. Limit access to named administrators

    The identity team creates a dedicated account for the copy job with write access to the destination only, then grants read and restore rights to a named list of administrators. Remove shared or generic accounts from the destination, enable audit logging on it where the platform supports it, and record who can delete copies. Done means an access list with named people, a review of the audit setting, and proof that the job account cannot read or change other data on the destination.

  5. Schedule the copy job

    The administrator adds the copy job to the manager's scheduler, using a job that writes the inventoried items to the destination on a fixed schedule and keeps dated copies. Record the schedule, the local staging path if one is used, and the command or script in version control so that changes are reviewed. Confirm that the job's exit status is logged and that a failure triggers an alert to the team that owns the grid. Done means the first scheduled run has completed and its log shows each item was copied.

  6. Verify that each copy can be read

    After each run, a second administrator opens a copy from the destination, checks its file integrity with a stored checksum, and confirms the configuration and database dumps are complete and readable. Do this from a host outside the manager, so the check does not depend on the manager being available. Done means a recorded verification result with the checksum comparison and the name of the reviewer for at least one copy per item.

  7. Document the restore path and test it

    The team writes the restore steps for the manager, including which copy to use, where to place each item and which Security Onion documentation to follow for the restore itself. Plan a restore test on a non-production system, using a copy from the destination, and record gaps such as missing keys or credentials. Done means a restore runbook that names the people who can perform it and a test record showing the restored system was checked against the inventory.

  8. Review the setup on a schedule

    The owner reviews the inventory, the destination access list and the verification records whenever the grid changes, such as a manager rebuild, a new search node or an upgrade. Ask any service provider to confirm in writing what they back up, how often they verify copies and who approves changes to the job. Done means a dated review record that shows the inventory, access list and job configuration still match the grid.

Elasticsearch snapshots for cases and Kibana objects

Case records and saved Kibana objects need their own recovery path because they are not the same kind of data as raw log indices. Raw indices hold high-volume events that age out under retention, and losing them affects historical hunting. Cases, notes, saved searches and dashboards are small, low-volume and written by analysts over weeks or months, so losing them can erase investigation work that cannot be regenerated from the logs. Elasticsearch snapshots are the general mechanism for this: a snapshot repository is a registered storage location, and snapshots are point-in-time copies of selected indices or data streams taken into that repository. Before relying on this for a Security Onion grid, confirm with your own deployment documentation and the Security Onion release you run which snapshot repository the grid is configured to use, where it lives, who can write to it and whether its contents are included in your grid backups at all.

The central decision is scope. Snapshotting full log indices protects historical data but can be large, slow and expensive to store, and it competes for disk and I/O with the grid that is ingesting events. Protecting only case-relevant data, such as the indices that hold case records and the saved object store behind Kibana objects, is much smaller and faster to restore, but it means analysts who need the underlying events for an old case must rely on the evidence they exported or on raw sources kept elsewhere. Write this decision down with your incident response and records owners before the first snapshot runs. Ask the team that runs your grid which indices the case and Kibana object data lives in for your version, and test a restore of only those indices into a scratch cluster to confirm the case, note and dashboard content comes back intact.

Treat the snapshot repository as a dependency that can fail independently of the grid. A repository that fills, loses credentials, or sits on the same host as the data it protects gives false comfort. Plan for snapshot failures to be visible, so someone notices a stalled schedule before the next incident, and plan for the repository to be readable from a rebuilt cluster. Ask your provider or internal team to document the snapshot schedule, retention of snapshots themselves and the steps to register the repository on a replacement cluster. Those steps should be tested, not assumed, because a snapshot that cannot be restored provides no recovery.

Restore paths for config, PostgreSQL and Elasticsearch

A backup is only useful if each component can be restored and checked afterward. The cards below cover the restore paths a grid operator is likely to need, and each one names what must exist before work starts and what proves the restore worked. Work through them in order on a rebuilt manager, because later steps depend on the configuration and database coming back first.

Restoring configuration on a rebuilt manager

Start by confirming which configuration backup you hold and that it came from the same Security Onion version you are installing. Restore the manager configuration before enrolling any other node, so the grid comes back with the same pillar and Salt state it had. Check that the Grid page lists the expected nodes with their roles and that node configuration values match what you recorded before the failure. Treat any drift as a finding to resolve before analysts return.

Restoring PostgreSQL data

PostgreSQL holds the Console's stored state, so restore it only after the manager is running the same version it was backed up from. Confirm that the database dump file is intact and readable before you stop any services. After the restore, sign in to the Console and confirm that saved items and case records you expect are present. Record which backup timestamp you used, because any events after that point must be recovered from another source.

Restoring Elasticsearch snapshots

Elasticsearch snapshots cover case evidence and Kibana objects you chose to preserve, and they are not a full copy of every index. Confirm that the snapshot repository is registered and reachable from the rebuilt manager, and that the snapshot you plan to restore lists the indices you need. Restore into a cluster whose health you have checked first. Verify success by opening a restored case and confirming that its linked data and dashboards load.

Re-enrolling sensors and search nodes

Sensors and search nodes keep their own certificates and roles, so they must be re-enrolled or re-associated with the rebuilt manager. Confirm that the manager's identity and address are the same as before, or that you have a plan to update them on each node. Re-enroll one node at a time and watch its status on the Grid page before moving to the next. Success means each node reports as online with its expected role and begins sending data again.

Verifying Salt-managed state after restore

After the configuration returns, Salt should apply the restored state to every node without conflicts. Confirm that local overrides you kept are still present and that no outside configuration tool is rewriting the same files. Run the state check on the manager and each node, then review the configuration audit history for unexpected changes. The check that proves success is a clean run with no pending changes that you cannot explain.

Validating analyst access

Restore access last, because it depends on the manager, identity settings and Console data working together. Confirm that a test analyst account can sign in with the expected role and that users cannot reach functions outside that role. If your deployment uses single sign-on or multi-factor authentication, confirm that those settings were restored and that the identity provider still trusts the Console. Success means an analyst can open an alert, run a hunting query and see the expected data sources.

How backup copies move from the manager to off-host storage

The flow starts on the Security Onion manager, which writes its own backup output locally. A copy job, run by your team, moves that output to storage outside the manager's host, and that storage sits inside a trust boundary you must control. During a restore, a rebuilt manager pulls its configuration and PostgreSQL data back from that copy. Check that the copy is complete and readable before you rely on it, because search nodes stop indexing when they cannot reach the manager.

Manager backup output moves through a copy job into a boundary-controlled store, then back to a rebuilt manager.

Backup options and when each fits

This table compares the four ways a Security Onion team can protect manager config, case evidence and Kibana objects. Read each row for when the option fits and what you must confirm before relying on it. The main takeaway is that no single option covers config, Elasticsearch data and PostgreSQL, so most grids combine two or more.

ApproachWhen it fitsWhat you must confirm
Built-in manager backup output copied off the managerConfig, PostgreSQL and Kibana object recovery on a grid you can rebuild the nodes forWhich backup files the built-in process writes, the copy schedule, and that the off-box copy is readable on a clean rebuild
Elasticsearch snapshot repository for casesKeeping case evidence and selected indices beyond normal retentionRepository location, retention of snapshots, encryption at rest, and a tested restore into a separate cluster
Filesystem or hypervisor snapshot of the managerFast point-in-time capture of a manager VM in a virtualized deploymentSnapshot consistency while services run, storage location, and whether restored state matches the Salt and PostgreSQL state
Rebuild from configuration and reinstallSensor and search nodes where data is disposable and the design is documentedCurrent configuration is stored outside the grid, install media and versions are recorded, and a rebuild has been rehearsed

Security risks in backup copies and restore access

A Security Onion backup holds the same investigation data, alerts and credentials that the grid protects day to day, so the copy inherits the same risk. The cards below cover where that exposure appears, from the backup files themselves to the restored system that comes back online.

Backups hold sensitive data and credentials

Backups carry investigation records, case content, alert data, packet captures and configuration that can include secrets. Treat every backup set as sensitive as the live manager and search nodes. Before you copy anything, list what each backup contains and who can read it, including the Elasticsearch snapshot repository and any PostgreSQL dumps used for case data. Confirm which secrets appear in configuration files so you know what must be rotated after a suspected exposure.

Restore paths can bypass access controls

A restore often runs with root or administrative rights and writes data back without the access rules the analysts normally pass through. Check who is allowed to run restore steps, and whether restored roles, users and API tokens return with the same permissions they had when the backup was taken. Review restored accounts before analysts log in, because an old role or account can reappear with access it should no longer have.

Off-host copies need encryption and access logs

Copying backups off the manager moves the data to storage with its own administrators and failure modes. Confirm how the chosen storage encrypts data at rest and in transit, who holds the keys, and whether access to backup objects is logged. Ask the storage provider or your platform team to confirm these options in writing, since they differ between object stores, network shares and tape or vault services.

Architecture docs

Retention of backups must match policy

Backups that outlive their retention policy keep investigation data past the point where your organization meant to delete it. Decide how long backup copies live separately from the live data retention settings, and confirm that deletion also removes off-host copies. Record who approves retention changes so the deletion schedule can be shown during an audit or data request.

Restored systems need re-hardening

A restored manager or search node is not automatically back in its hardened state. Rebuild or re-check firewall rules, host access, MFA settings, patch levels and any changed defaults before you connect the grid to the network again. Confirm the restored node is the version you expect, and run your standard hardening checks on it.

Restores need verification before trust

A backup that has never been restored is an assumption, not a recovery plan. After each restore, verify that configuration applied cleanly, that analysts can sign in with the right roles, that case data is readable and that sensor traffic reaches the expected nodes. Record the results so the next restore test can be compared against them.

Questions teams ask before restoring a Security Onion grid

How much effort does a Security Onion backup program take?

The effort depends mainly on how many nodes the grid has, how much data and configuration each node holds, and how often you need to prove that a restore works. No effort figure is supplied for this topic, so ask any vendor or partner to show their estimate against your node count. A one-time part covers defining what to back up, choosing an off-manager destination, setting schedules and writing a restore runbook. A recurring part covers watching that jobs succeed, rotating copies, managing storage capacity and retesting restores after upgrades or node changes. Ask any quote to split the work into those two parts and to name who owns the recurring checks.

Can our own team run Security Onion backups and restores?

Many teams can, if they already administer Linux servers, can reach the manager and sensors, and have time to test restores before they need them. The risk sits in the untested part: a backup job that runs without errors still proves little until someone has rebuilt a node from it. Your team should own the schedule, the off-host copies and the access controls on backup storage. Bring in a partner if no one on staff has restored a Security Onion component before, or if the restore must happen under a deadline. Decide this before an incident, since a first restore during an outage is the most expensive time to learn the steps.

What does a backup project need from our team?

A backup project needs decisions and access from your side before any tooling is set up. Plan to provide:

  • An inventory of every manager, search, sensor and receiver node, with current versions and operating system builds.
  • A named storage target for off-host copies and the access rules for it.
  • Retention decisions for case evidence and Elasticsearch data, since those drive how much storage the copies need.
  • Change windows for test restores on a non-production copy of the grid.
  • Credentials and a named owner for the Security Onion Console, plus sign-off on the restore runbook.

Ask the partner to list these inputs in the written scope, so each one has an owner and a due date.

How long does a Security Onion restore take for a large grid?

The restore time depends on how much data must come back, how fast the storage path is, and how many nodes must be rebuilt before the grid can index and search again. No restore duration is supplied for this topic, so the only reliable number is one you measure on your own hardware in a test. Larger Elasticsearch snapshots take longer to read and write, and a restore that also rebuilds a manager or search node adds time before data can flow. Minimum hardware for a manager or search node is 4 cores and 16 GB RAM, according to the hardware requirements, so a rebuilt node that falls below those specs will not come back cleanly. Ask for a timed test restore as part of the scope.

What changes for backups after a Security Onion 3.x upgrade?

A 3.x upgrade changes the platform under your backups, so treat backups from 2.x as needing verification before you rely on them. Security Onion 3.0.0 was released on March 31, 2026, and supports only Oracle Linux 9. It also replaced Stenographer with Suricata for full packet capture. A 2.4 installation on Oracle Linux 9 can upgrade to 3 after that capture move, while other distributions need a fresh install. Your restore procedure must reflect which path you took, and the packet capture storage layout differs between the two. Confirm the upgrade path in the 3.0.0 release post, then run a restore test on the new version.

What happens to search nodes if the manager fails?

If the manager goes down, search nodes stop indexing because they cannot reach Redis, according to the Security Onion architecture documentation. That makes the manager the critical path in any recovery. Search nodes holding data keep that data, but new events stop being indexed until the manager is back. Receiver nodes add pipeline redundancy and load balancing, so they reduce the chance of a single point of failure in ingest, though they do not replace a manager backup. Plan the restore order so the manager comes back first, then search nodes resume indexing. Test that order during your restore exercise.

Should Security Onion backups stay on the manager they protect?

No. A backup kept only on the manager it protects is lost if that manager's disk, host or cloud account fails. Copy backups to a separate system, such as storage in a different failure domain or a separate account, and encrypt them in transit and at rest. Elasticsearch snapshots need a repository that the cluster can reach, so confirm which repository types your version supports before you design the copy path. Restrict who can delete or overwrite the off-host copies, and keep at least one copy that the manager's administrators cannot alter alone. Record how each copy is verified, since a copy that cannot be restored provides no protection.

How DeployOpen scopes Security Onion recovery work

DeployOpen scopes Security Onion backup and restore work as a fixed-scope engagement with written deliverables agreed before any work starts. The scope turns on a few decisions that only the client can make: which node holds the authoritative configuration, where backup copies must live, how long they must be kept, and who is allowed to restore them. Those answers determine the deliverables, such as a backup inventory covering the manager configuration, the PostgreSQL databases and the Elasticsearch snapshot repository, a copy-off procedure, and a restore runbook that has been exercised on a test grid. A quote follows from that written scope, so the reader should expect the first conversation to focus on what must be protected and what recovery must look like, not on a generic checklist.

The work runs inside the client's own infrastructure, including their cloud accounts, data centers or air-gapped networks, so the client supplies the environment details that a restore plan depends on. That means a current grid layout listing the manager, search, sensor and any receiver nodes, the Security Onion version and operating system, the backup storage targets and their retention and access rules, and the accounts and privileges DeployOpen needs on the manager and on the storage platform. Clients should confirm early whether backup storage is reachable from the manager, whether a separate restore host is available for testing, and who approves changes to production. Anything the client cannot supply, such as an offline copy location or a change window, should be recorded as an open item in the scope rather than assumed.

DeployOpen does not publish a price list, and this section does not state prices, timelines or service levels for recovery work. Ask the quote to separate the one-time items, such as the initial backup design, the copy-off setup and the first restore test, from any recurring items, such as periodic restore drills or retainer support, and ask which of them depend on the grid size, the number of nodes and the number of storage targets. Ask for the acceptance criteria for each deliverable, the client responsibilities and the process for changes that surface during the work. Where a restore test needs spare hardware or a separate environment, confirm in writing who provides it.

How DeployOpen delivers Security Onion backup and restore

DeployOpen plans, implements and documents Security Onion backup and restore inside your own infrastructure, starting from a written scope. The work covers what the platform protects on its own, what you must add, and how restores are proven before anyone relies on them.

How we scope

  • Inventory which Security Onion nodes hold configuration, PostgreSQL data and Elasticsearch indices on your grid.
  • Agree where manager backups are copied off the manager, and who owns the destination and its access controls.
  • Define which Elasticsearch snapshots and Kibana objects are in scope for cases, and set the restore expectations in writing.

How we build

  • Configure off-manager copies and snapshot repositories in your environment, following the platform's documented procedures for your version.
  • Set up scheduled jobs for configuration and PostgreSQL backups, with alerting when a job fails or a copy is missing.
  • Test restores of configuration, PostgreSQL and a sample case snapshot on a separate system before the design is accepted.

How we hand over

  • Deliver a runbook with restore steps for the manager, PostgreSQL and snapshot scenarios, written for your operators.
  • Record the retention settings, backup locations, credentials ownership and test results in a handover document.
  • Walk your team through a restore drill so they can run the procedure without DeployOpen present.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrade checks and periodic restore testing are available as a retainer.
  • Ask any provider to confirm the restore test evidence and version-specific steps for your Security Onion release.

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.