How OpenCTI backup connectors fit into recovery planning
The Backup Files stream connector exports a live OpenCTI stream to STIX JSON files on disk, and the Restore Files connector reads those files back into the platform. Together they give a threat intelligence team a way to keep a portable copy of the knowledge graph outside the running stack, which matters when a team cannot afford to lose the entities, relationships and file attachments it has curated over months. Teams usually need this when intelligence is hand-analyzed rather than purely imported from feeds, when the platform holds data that exists nowhere else, or when they want an offline copy that does not depend on the live Elasticsearch index or the database volumes.
The connectors are one layer of a recovery plan, not the whole plan. The Backup Files connector captures changes as they happen, so its output reflects the stream it consumed, not a point-in-time snapshot of every dependency. The platform's own configuration, the connector settings, the S3-compatible storage holding uploaded files, the Elasticsearch or OpenSearch data, and your authentication and access settings each need their own backup and restore procedure. Before you rely on the connectors, confirm with your deployment team which of these components you back up at the infrastructure level and what the connector output does and does not contain for your version.
Plan the recovery test before the first backup runs. Decide who owns the restore runbook, which OpenCTI version the restore target will run, and how often you will restore into a separate instance to confirm that entities, relationships and attachments come back intact. Read the Backup Files connector documentation and the Restore Files connector documentation against your platform version, and record the gaps they leave so your recovery plan covers them.
How data flows from the live platform to disk and back
The flow starts at the OpenCTI platform, which publishes changes to a live stream. The Backup Files stream connector consumes that stream and writes STIX bundles as JSON files into hourly buckets in a local directory. That directory is the trust boundary: the files there are the only copy of the backed-up knowledge, so control who can read and write it. The Restore Files connector later reads the folder and loads its contents into a target platform. Elasticsearch, RabbitMQ, Redis and S3 storage sit outside this flow and need their own backups.
Backup and restore path through a local directory, with dependency stores excluded.
Which backup approach fits which recovery goal
The Backup Files stream connector follows an OpenCTI live stream and writes the intelligence it sees to a local directory as STIX bundles in JSON, grouped into hourly buckets. It handles create, update and delete events and file attachments, so the folder becomes a portable, human-readable copy of the knowledge that flowed through the stream. It is a practical choice when the goal is to keep a recoverable record of knowledge rather than a byte-for-byte image of the platform.
- What it captures: Objects that pass through the stream after the connector is registered, including the updates and deletions that happen after that point.
- What it misses: Anything created before the connector was running, platform settings, users, groups and other configuration that is not expressed as stream events, and the internal state of the stores.
- Who it suits: Teams that need an offsite or portable copy of intelligence, want a format they can inspect, and accept a restore that rebuilds data rather than reinstating an exact snapshot.
- Operational note: The output folder needs its own capacity planning, retention and protection, because a backup on the same disk as the platform does not protect against losing that disk.
Before relying on this option, confirm the connector version and its supported OpenCTI version with the connectors repository, and run a test restore into a separate instance.
Infrastructure-level backups copy the stores that hold OpenCTI's state: the data layer behind the platform (Elasticsearch or OpenSearch for indexed data), object storage for uploaded files, and the other dependencies that the deployment uses. Restoring them reinstates the platform as it was at the snapshot point, including data that a stream-based export never saw. The trade-off is that the copies are opaque and only meaningful when the versions, configuration and secrets around them are also recovered.
- What it captures: The full state of each storage component at the snapshot time, including indices and stored files, usually with consistent snapshot tooling for that component.
- What it misses: Consistency across stores unless the snapshots are coordinated, and configuration, secrets and environment files unless they are backed up separately.
- Who it suits: Platform and infrastructure teams that already run storage backup programs and need a fast, whole-system recovery path.
- Operational note: A snapshot restored into a different OpenCTI version or a different dependency version can fail, so record the exact versions with every backup.
Confirm the snapshot and replication tooling supported by each of your dependencies, the schedule and retention they offer, and how they coordinate timing with each other.
The combined approach runs both methods side by side. Infrastructure snapshots provide a fast, complete path back to a known state, and the Backup Files export provides an independent, portable record of intelligence that does not depend on the same storage system or platform version. Each method covers the other's blind spots, which is why teams with strict recovery expectations often choose it, even though it means operating two processes.
- Fast recovery: Use infrastructure snapshots for same-version, same-site recovery of the whole platform.
- Independent copy: Use the STIX export for recovery into a new or rebuilt instance, or when the original storage is unavailable.
- Gap coverage: Keep configuration, secrets, connector settings and version records in a separate, controlled store that both methods can be checked against.
- Separate ownership: Assign the export to the security or intelligence team that depends on the data, and the snapshots to the platform team, with a shared runbook.
- Cost drivers: Storage for two copies, the effort of two schedules and the testing needed to prove both paths work.
Check that the two copies are taken close enough in time to be consistent for your needs, and document which one you restore first in each scenario.
Configuration options for the Backup Files connector
This table lists the settings a team must decide before running the Backup Files stream connector, with the fit for each option and what to verify in the connector repository. Read it as a checklist: confirm each setting against the connector's current configuration documentation before writing the deployment file, because the connector's exact config keys and defaults are not stated here.
| Setting | What it controls | When it fits and what to check |
|---|---|---|
| Target directory | Local path where the connector writes STIX bundle JSON files | Choose a volume with enough free space and write access for the connector process. Check that the path survives container restarts and is included in your host-level backup. |
| Live stream scope | Which OpenCTI live stream the connector consumes | Scope the stream to the data you must recover. Confirm whether the stream can be filtered by entity type or marking, and test that out-of-scope objects are excluded from the output. |
| Stream filters | Criteria that limit which create, update and delete events are written | Use filters only when a full export is not needed. A narrower filter means a restore may not rebuild the whole platform, so document exactly what is excluded. |
| File attachment handling | Whether files attached to objects are written alongside the bundles | Confirm the connector handles attachments in your OpenCTI version. Test with a sample uploaded file and check that the file is present and readable in the output folder. |
| Hourly bucket layout | How output is grouped into time-based folders | The connector groups output into hourly buckets. Plan retention and copy jobs around this layout, and confirm the naming with a test run on your version. |
| Storage location and copy | Where exported files go after they are written | Keep at least one copy off the OpenCTI host. Ask who owns the copy job, how often it runs, and whether the destination is encrypted and access controlled. |
| Retention of exported files | How long old bucket folders are kept on disk or in the copy | Set retention by your recovery point objective and legal hold needs. Note that the connector does not prune files for you unless your tooling does, so confirm that behavior in your environment. |
| Connector scheduling and restarts | How the connector runs, restarts and recovers its position in the stream | Run it as a persistent service with monitoring. After a restart, verify that no events were silently skipped by comparing counts for a known interval. |
Setting up the Backup Files and Restore Files connectors
This sequence gives you a working backup of OpenCTI data written to disk and a proven way to load that data into a separate instance. Each step ends with a check you can run before moving on.
Confirm the OpenCTI version and connector fit
The platform administrator records the running OpenCTI version from the platform settings or the deployment image tag. The Restore Files connector needs OpenCTI 5.0.0 or later, so confirm that before planning a restore path. Check the Backup Files connector's own requirements in the connectors repository for the release you run, since connector versions are maintained separately from the platform. The step is done when you have a written version number for both the production platform and the instance you will use for restore testing.
Prepare a backup directory with write access
The infrastructure owner creates a dedicated directory on a host or volume that the connector container or process can reach, and sets ownership so the connector user can write to it. Keep this location separate from the OpenCTI data stores and from the restore test location. Confirm the write permission by creating and deleting a test file as the connector user. The step is done when that test succeeds and the directory's owner, group and free space are recorded, because the backup size grows with the volume of intelligence you store.
Register and start the Backup Files connector
The platform administrator registers the Backup Files stream connector in the OpenCTI connector configuration, sets the connection to the platform, and points its output setting at the directory created in the previous step. Start the connector and review its startup log for successful authentication to the platform and for the live stream being opened. The step is done when the connector shows as connected in the platform and the log reports no permission or path errors.
Verify the first create events in hourly buckets
Create a test report or indicator in OpenCTI, attach a small file to it, and wait for the connector to process the event. Open the output directory and confirm that a folder for the current hour exists and contains a JSON file holding a STIX bundle that includes the new object. Check that the attachment was also written alongside the bundle. The step is done when you can locate the test object inside the bundle and the attachment file is present with the expected size.
Verify update and delete events are captured
Edit the test object you created, changing a field such as its description, then delete a second test object. Wait for the connector to process both events and check the hourly bucket for the current period. The update should appear as a bundle containing the changed object, and the delete should be recorded in its bundle. Note that the connector writes bundles per event as the stream reports them, so the check is about the presence of records for each action, not about a single merged file. The step is done when both actions are visible in the output.
Test a restore into a separate OpenCTI instance
Deploy or select a separate OpenCTI instance at the same version or a compatible one, with its own dependencies so nothing writes to production. Point the Restore Files connector at a copy of the backup directory and run it against the test instance. Afterwards, confirm that the test objects, relationships and attachments exist, and compare counts with the source for the sample you backed up. The step is done when the restored test objects match the source and any gaps are written down. Repeat this test on a schedule you set, because a backup that has never been restored is unproven.
What the connectors do not back up
The Backup Files and Restore Files connectors move knowledge, meaning STIX bundles of entities, relationships and attached files. They do not capture the running platform. A restored bundle assumes a working OpenCTI deployment beneath it, so a full recovery plan must also cover the state that sits outside those bundles. Treat the connector output as one layer of the backup set, not the whole set.
The dependencies are the main gap. The Elasticsearch or OpenSearch indices hold the search and query state, and they can be rebuilt only from the data that exists in the platform, so you should decide whether you need index snapshots or accept a reindex after restore. PostgreSQL-style or other relational state is not part of the bundle files, and neither are RabbitMQ queues, Redis contents or objects in S3-compatible storage such as MinIO. Each needs its own backup method, its own retention and its own restore test. Also record the deployment configuration, environment secrets, the encryption keys used by the platform, user accounts, group and role assignments, and the authentication strategy settings. Connector state, which records where each live stream or import connector is in its processing, is also separate. Confirm with the connector documentation exactly which objects each connector writes and reads.
Retention deletes and the trash are a separate concern. A backup that predates a retention deletion will reintroduce that data on restore, so your restore procedure must account for deletes that happened after the backup point. Confirm how the Backup Files connector records delete events and how your retention settings interact with a restored bundle set before you rely on either. Because the connectors are not a complete platform backup, a restore test should start from an empty environment and verify the full stack, including logins, search results and connector behavior, not only that bundles were imported.
Ask your team or your partner to write down, for each dependency, the backup owner, frequency, storage location and the command or runbook that restores it. Check the OpenCTI Backup Files connector documentation for the current coverage before you finalize that list, because connector behavior changes across releases.
Security risks of exported intelligence on disk
A backup written by the Backup Files connector is a full copy of threat intelligence in plain files outside the platform's own access model. The cards below cover the risks that follow from that copy and the control your team sets for each one before the first export runs.
Directory permissions on exported bundles
The connector writes STIX bundles as JSON files in hourly buckets, and file attachments can be included. Anyone with read access to that directory can read intelligence that OpenCTI would otherwise show only to users with the right roles. Set the owner and group of the output directory to a dedicated service account, remove world-read permissions, and confirm that the platform's own users and shared hosts cannot read it. Test the permissions on a fresh export, not only on the directory.
Backup Files connectorEncryption at rest for backups
The directory is a plain file store, so disk encryption on the host does not protect the bundles from anyone who can mount the volume or copy the files. Decide whether the backup volume is encrypted with a key that the backup operators, not the platform administrators, control. Ask your storage team whether the backup target supports encryption and where the keys are held. Record the decision, because an auditor will ask how exported intelligence is protected outside the platform.
Restored data reintroducing deleted content
A restore loads the bundles back, so anything that was later deleted, retracted or removed under a retention rule can return if an older bundle is loaded. Before restoring, decide which point in time is the correct one and check the bundles covering the period after that point. Ask whether retention deletions are excluded from the export, and test a restore on a non-production instance to see what reappears. Retention deletes cannot be restored from a backup you do not hold, so the restore plan must say what happens to them.
Markings and segregation may not carry over
Markings, organization segregation and access rules are part of how OpenCTI limits who sees what. Confirm in a test restore whether the markings and organization assignments on objects survive the round trip, because a restored object that loses its marking can become visible to users who should not see it. Keep the export scope aligned with the most restrictive marking in use, and do not restore into an instance with different groups or organizations until the mapping is checked.
Backup integrity and tamper evidence
A backup that has been edited, truncated or partially written can restore silently wrong data. Set a checksum process for each hourly bucket, store checksums apart from the bundles, and check that a bucket count matches the expected number of hours. Compare a sample of restored objects with the source after each test restore. Ask whether your team needs write-once storage for the backup target to show that bundles were not changed after export.
Who may run a restore
A restore writes large volumes of data into a live platform, so the ability to run it is as sensitive as the ability to delete. Limit restore execution to named operators, require a change record and a second approver, and keep the restore connector off production unless a restore is underway. Log who ran each restore and which bundles were loaded, and review that log after every test.
Restore Files connectorHow to test a restore so it works when you need it
A backup that has never been restored is unproven. The restore test is the only way to know whether the files written by the Backup Files connector can be loaded back into a working OpenCTI platform, so treat it as a standing control rather than a one-time project. Run it into an isolated instance, never over the production platform, and use a target on the same OpenCTI version as the source or a newer supported version. Confirm the target version against the OpenCTI releases page before you start, and keep the Restore Files connector's own requirements in view, since it needs OpenCTI 5.0.0 or later and a directory with write access.
Define the pass criteria before the restore runs. Compare object counts by type between the source and the restored instance, then pick a sample of records from each major type (threat actors, indicators, reports and observables, for example) and check that their names, markings, dates and descriptions match. Confirm that relationships survive by opening a few known entities and checking their connected objects, because a count match alone can hide missing links. Open a sample of file attachments to confirm they are present and readable. Record the elapsed time from start to a usable platform, since that figure is what your recovery time expectations depend on. Ask your team to confirm how many hours of outage the business can accept before the test is scheduled.
Write each run down as evidence: the source and target versions, the backup folder and its date range, the connector configuration, the counts, the sampled records, the failures and their fixes, and the elapsed time. Keep these records with your change and incident documentation so internal reviewers or an external auditor can see that restores were tested, not assumed. Repeat the test on a schedule you set through your risk process, and always repeat it after an OpenCTI upgrade, a change to the storage or dependency stack, or a change to the backup connector configuration. Retention deletes cannot be restored, so the test should also confirm that the backup set you rely on still contains the data you expect to keep.
Questions teams ask before backing up OpenCTI
Are the Backup Files and Restore Files connectors enough for disaster recovery?
No. The connectors export and reload OpenCTI knowledge as STIX bundles, which is a data-level copy, not a full disaster recovery plan. The Backup Files stream connector consumes a live stream and writes STIX bundles as JSON files to a local directory in hourly buckets, handling create, update and delete events and file attachments. Your recovery plan also needs backups of the platform's stateful dependencies, the configuration and secrets, and the infrastructure to rebuild the stack. Confirm with your team which recovery point and recovery time objectives apply, then test whether the bundles alone meet them. Review the OpenCTI Backup Files connector documentation for exactly what each event type produces.
How much effort do a basic backup setup and a restore test take?
Effort depends on the environment, so no duration is given here. The basic setup involves deploying the stream connector against your platform, choosing a directory with enough storage and write access, and scheduling the copy of that directory to storage you control. A restore test adds a separate target OpenCTI instance, the Restore Files connector, and a comparison of record counts and sample objects against the source. Drivers include the volume of knowledge and files, the number of connectors and workers, network and storage throughput, and how much of the restore must be scripted and documented. Ask any partner for a written effort breakdown by task, with assumptions on data volume and environment access.
What does a partner need from us to start a backup engagement?
A partner needs enough access and information to see the real deployment, and a written scope that both sides sign before work begins. Typical inputs include access to the OpenCTI platform and its host or cluster, the deployed OpenCTI version, the dependency layout for Elasticsearch or OpenSearch, Redis, RabbitMQ and S3-compatible storage, the storage location and retention policy you want for bundles, and the people who approve the recovery targets. Fixed-scope work is agreed in writing before work starts, so sign-off covers which environments, which connectors and which restore test outcomes are in scope. Confirm your change approval process and any data handling rules, since bundles contain threat intelligence that may be sensitive.
Can our internal team run OpenCTI backups and restores alone?
Yes, if you have an engineer who can operate the OpenCTI stack and its dependencies, and who can document and rehearse the restore. The connectors are open source and the steps are documented in the repositories, so the work is operational rather than exotic. The risk is that backups run unnoticed and a restore has never been rehearsed. Make sure at least two people know where bundles are stored, how the connectors are configured, and how the restore is run. Set a recurring restore test, record its results, and treat any gap as a defect. A partner can build the runbook, test it, and hand it over with documentation.
How do OpenCTI upgrades affect restores from older bundles?
Restore compatibility depends on the OpenCTI version of the target instance, so check it before you upgrade or restore. The Restore Files connector needs OpenCTI 5.0.0 or later, and OpenCTI uses date-based versions such as x.YYMMDD.z, with LTS lines of the form x.YYMMDD.z-lts.n. Bundles written by one release should be restored into a target running a compatible release, and the restore test should use the same version you plan to run in production. Record the source and target versions with every bundle set. Before a major upgrade, take a fresh backup, restore it into a staging instance on the new version, and compare results. Confirm version support with Filigran's release notes and life cycle documentation.
What should a quote for backup and restore work include?
A useful quote lists each deliverable, the environments covered, and the assumptions behind the effort. Ask for line items for discovery and the current deployment review, backup connector configuration and scheduling, storage and retention design, a restore runbook, a restore test into a separate instance with pass criteria, and handover training. Each item should state whether it is one-time or recurring, such as a periodic restore test or retainer support. Ask what is excluded, for example dependency backups, infrastructure rebuilds, or data cleanup, and what a retest costs if the first restore fails. Because DeployOpen does not publish a price list, the quote follows from the written scope.
How DeployOpen scopes and tests OpenCTI backup and restore
DeployOpen treats OpenCTI backup and restore as a written scope with a tested result, not a connector switched on and forgotten. We plan the Backup Files stream connector and the Restore Files connector around your platform, storage and recovery targets, then test a restore on a separate instance before handover.
How we scope
- Engagements are fixed-scope, with the backup and restore deliverables agreed in writing before work starts.
- We confirm which data classes must be recoverable, including knowledge, file attachments and the stream events the backup writes.
- We document what the connectors do not cover, such as infrastructure state and dependency data, so gaps are owned by someone before go-live.
- We agree the restore test criteria, the target environment and who signs off the result.
How we build
- We deploy the Backup Files stream connector against your OpenCTI instance and set the local output directory and its access controls.
- We configure the backup location with write access and confirm retention of the hourly JSON bundle folders against your storage plan.
- We run the Restore Files connector against a separate test instance to confirm the bundles load back into a matching OpenCTI version.
- We check the Restore Files connector version requirement and the platform version before any restore run.
How we hand over
- You receive a written runbook covering how backups are produced, where they are stored and how a restore is started.
- The handover includes the documented restore test results, the versions tested and the known limitations of the connectors.
- We walk your platform and security teams through the steps, the logs to check and the decisions that remain with your organization.
- Where your auditors or compliance team ask for evidence, we provide the configuration and test records for their review.
How we support
- Ongoing support, upgrades and periodic restore testing are available as a retainer, scoped in writing.
- When the OpenCTI platform is upgraded, we retest the backup and restore path against the new version before relying on it.
- We help you confirm with Filigran or the connector maintainers any capability we have not verified in your environment.

