Why backing up a self-hosted Shuffle needs more than a volume copy
Recovering a self-hosted Shuffle depends on several components, not one disk, and the SHUFFLE_ENCRYPTION_MODIFIER secret is as important as the data itself. Shuffle stores saved app credentials and API keys in OpenSearch encrypted with AES-256 using that secret, so an OpenSearch snapshot restored without the matching secret leaves playbooks present but their app authentications broken. Teams should treat the secret, the .env file that holds it, and the OpenSearch data as one recovery set that is captured and stored together.
Teams need this capability before go-live, so they can prove a restore works before anyone depends on the platform. They also need it after each upgrade, since a failed upgrade is one of the more common reasons to restore, and before any change to the encryption secret or deployment layout. For audit and incident review, the same backups provide evidence of workflow definitions and execution history as they stood on a given date. Confirm with your own compliance team how long that history must be retained, because the answer sets your snapshot schedule and retention rules.
On the server side, the frontend, the Go backend API on port 5001 and the OpenSearch document database hold the state that matters: workflows, users, configuration and execution records live in OpenSearch, while files that the backend and frontend reference need their own copy. The runtime side is different. Orborus polls the backend for jobs and starts a worker for each execution, and the worker starts app containers. Runtime nodes hold no data you must keep, so the practical approach is to rebuild them from your deployment definition and reconnect them to the restored backend, rather than restore them from a backup. Confirm the exact file locations and API calls for your version in the Shuffle configuration docs before you write the runbook.
How the backup components fit together
The diagram starts at the Shuffle frontend and backend, which hold the state that must be saved: OpenSearch documents, files and apps. OpenSearch snapshots flow to an external snapshot repository, which is the copy you restore from. The .env file with the SHUFFLE_ENCRYPTION_MODIFIER secret is stored separately from every data copy, because saved app credentials cannot be decrypted without it. Orborus and the app containers are shown as rebuilt on restore rather than backed up. Check that the secret and the snapshot repository are stored outside the Shuffle host.
Data copied off the host versus components rebuilt on restore.
Backup options for each Shuffle component
This table compares the backup method, frequency considerations and best-fit situation for each part of a self-hosted Shuffle stack. Read it as a checklist: every row is a component that must be covered, and a gap in any one of them can leave a restore incomplete. The main takeaway is that OpenSearch data, the encryption secret and the configuration files have to be backed up together, because saved app credentials cannot be decrypted without the matching secret.
| Component | Backup method | When it fits and what to confirm |
|---|---|---|
| OpenSearch indexes | OpenSearch snapshot repository, taken on a schedule | Holds workflows, executions and saved app credentials. Confirm the snapshot repository location is outside the Shuffle hosts and check the OpenSearch version compatibility for restore. |
| Uploaded files and shared storage | File-level copy of the shared volume or NFS export | Needed when several backends share files. Copy while the backend is idle or use storage-level snapshots, then confirm paths match the running configuration. |
| Custom apps | Copy of app source, OpenAPI specs and versioned images in your registry | Apps run as versioned Docker containers, so keep both the source and the image tags. Confirm each app version can be rebuilt or pulled after a restore. |
.env and configuration | Version-controlled copy of the file, stored with restricted access | Holds deployment settings and secrets. Store it in a secrets-aware location, and confirm the restored file matches the Shuffle version you are restoring onto. |
| Encryption secret (SHUFFLE_ENCRYPTION_MODIFIER) | Secure, offline copy kept separately from other backups | Without the original value, saved app authentications cannot be used after restore. Record it at deployment and confirm it is never changed during recovery. |
| Orborus and runtime configuration | Configuration files and deployment manifests kept in source control | Orborus reconnects to the backend once configuration is restored. Confirm runtime locations and the backend address are correct in the restored environment. |
Why the encryption secret must travel with the data
Treat the SHUFFLE_ENCRYPTION_MODIFIER value as part of the backup, not as a side note. Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256 using this secret, and the configuration docs warn that losing or changing it breaks all saved app authentications. An OpenSearch snapshot restores the encrypted records, but without the matching secret those records cannot be decrypted, so every workflow that calls a saved app will fail on its first run after restore. A restore that looks successful at the data layer can still leave the platform unusable for its main job.
Store the secret in a separate location from the data snapshots, and restrict who can read it. Good candidates include a dedicated secrets manager, a sealed vault entry or an offline copy held by two named custodians, with access logged and limited to the people who perform restores. Keep the snapshot repository and the secret apart so that a copy of one does not expose the other. Record which secret version corresponds to which backup set, so that after a rotation you can still restore an older snapshot with the value it was written under. Confirm with your own change process how rotation of this value is handled, because the docs do not give a supported rotation procedure in the sources available to this page.
Before you rely on a backup, confirm that the restore environment uses the identical value. Check that .env on the rebuilt host sets SHUFFLE_ENCRYPTION_MODIFIER to the stored value exactly, including whitespace and quoting, and that the backend starts cleanly against the restored data. Then open one saved app authentication and run a low-risk action against it. If that call fails, stop and compare the secret before running any production workflow, since a silent mismatch is the most likely reason a restore appears complete while saved integrations stay broken.
How to set up OpenSearch snapshots for Shuffle
This sequence gives you a registered snapshot repository outside the Shuffle host, a verified first snapshot, a schedule, and a controlled copy of the configuration and encryption secret that a restore needs. Each step ends with a check you can record as evidence.
Choose storage outside the Shuffle host
The platform owner and the storage team agree on a location for snapshots that does not depend on the Shuffle servers, such as an NFS export, a shared file system, or an object store the OpenSearch nodes can reach. Confirm the location is separate from the disks that hold the OpenSearch data, that it has enough space for several snapshots, and that access is limited to the OpenSearch nodes and the backup administrators. The output is a written decision with the storage owner's name and the access list. Ask the vendor or your storage team which repository types your OpenSearch version supports before you commit.
Register the snapshot repository
The OpenSearch administrator registers the repository through the snapshot API, pointing it at the location chosen in the previous step. The path must be listed in the OpenSearch path settings for the snapshot location, and every node that can write snapshots must be able to read and write that location with the same ownership. Repository setup steps differ by OpenSearch version and by repository type, so confirm the exact settings against the OpenSearch documentation for your version before running them. The step is done when the registration call returns success and the repository appears in the repository listing.
Confirm OpenSearch can write to the repository
Run the repository verification call from the OpenSearch snapshot API so that each node confirms it can write to the location and report back. A failure here usually means a permissions, ownership, mount, or path configuration problem, and it should be fixed before any snapshot is attempted. Record the verification output in the change record. The check passes when every node listed in the response has verified access and no errors appear in the OpenSearch logs during the call.
Take the first snapshot
Create a snapshot of the Shuffle indices with a clear name that includes the date and the Shuffle version running at the time. Include the indices that hold workflows, apps, and execution data, and check the index list against the Shuffle configuration in your environment so nothing is skipped. Snapshots are incremental, so later snapshots take less work, but the first one is the baseline you will test against. The step is done when the snapshot reaches a success state rather than still running or partially failed.
Verify snapshot contents and status
Query the snapshot status and the snapshot listing to confirm the expected indices, shard counts, and start and end times, and that no shards failed. Check the repository size and free space on the storage location, then look at the OpenSearch logs for warnings from the snapshot process. Keep a copy of the status output with the backup record. The check passes when the snapshot lists every expected index as successful and the failure count is zero. A snapshot that exists but is partial should not be treated as a usable backup.
Schedule recurring snapshots
Configure snapshot lifecycle management or an equivalent scheduler in your environment so snapshots run on a fixed cadence and old snapshots are removed by a retention rule. Choose the frequency and retention period based on how much data loss your security and operations teams accept, and write that decision down. Confirm the scheduler's support for your OpenSearch version in the OpenSearch documentation. The step is done when the first scheduled run completes and the retention rule has been reviewed by the owner of the storage location.
Store the .env file and encryption secret
Snapshots of OpenSearch do not hold the Shuffle configuration file or the secret used to encrypt saved app credentials, so these must be backed up separately. Copy the .env file and the value of SHUFFLE_ENCRYPTION_MODIFIER into a controlled secrets store with restricted access, versioning, and an audit trail. The Shuffle configuration docs warn that losing or changing this secret breaks every saved app authentication, so treat it as the most critical item in the backup set. The check is a documented restore test in which someone who is not the original administrator can locate both items within the store.
Protecting backups that contain credentials
A Shuffle backup is more sensitive than a typical application backup because it can hold saved app credentials and the means to decrypt them. The cards below cover the controls that keep those copies protected from the moment they are written until the moment they are deleted.
Encrypt the snapshot repository
OpenSearch snapshots contain the encrypted credential documents, but the key that decrypts them lives outside the snapshot. Treat the repository as sensitive anyway, because a copy of the data plus a copy of the encryption secret is enough to recover saved app authentications. Ask whether the storage backend encrypts data at rest and who holds its keys. Check that transport to the repository uses TLS where the backend supports it.
Shuffle configuration docsSeparate the encryption secret from backups
Store SHUFFLE_ENCRYPTION_MODIFIER in a secrets manager or a sealed location, not in the same bucket as the snapshots. Losing or changing this value breaks all saved app authentications, so keep a tested, access-controlled copy of it that is recorded separately from the data. Restrict who can read the .env file on the host and in backups to the people who run the platform.
Limit access to the `.env` file
The .env file holds the encryption value and other service settings, so it needs the same protection as the secret it contains. Set file permissions so only the service account and the on-call administrators can read it. Confirm that copies in configuration management, chat threads or ticket attachments are removed. Review access whenever someone who knew the file leaves the team.
Set snapshot retention and deletion
Keep snapshots only as long as the recovery objectives and your records policy require, then delete them on schedule. Old snapshots can still hold credentials that were later revoked, and an unmanaged archive grows without limit. Write the retention period into the backup runbook, confirm that OpenSearch snapshot policies or your storage lifecycle rules enforce it, and verify that deletion removes every copy, including replicas in other regions.
Control network paths to backup storage
Only the OpenSearch nodes that write snapshots should reach the backup repository, and only on the ports it requires. Avoid giving the Shuffle frontend, workers or app containers a route to the storage target. Place the repository on a segment that administrators reach through a controlled path, and log the connections that succeed. Confirm this in your own network design rather than assuming the default topology.
Handle backups in air-gapped networks
In an isolated environment, backups usually leave the network on removable media or through an approved transfer process. Record each transfer, hash the files before and after they move, and keep the encryption secret on a separate transfer path from the snapshots. Ask your security team to approve the media handling procedure and the people who may open the transfer. Test the restore inside the isolated network before you rely on it.
How to rehearse a Shuffle restore before you need one
This sequence runs a restore test on a separate host so you learn, before an incident, whether your Shuffle backups bring back working logins, workflows, saved app authentications and executions. It ends with a written record of what worked and what did not.
Prepare a separate host at the backup version
The platform team provisions an isolated host or stack that is not connected to production runtimes or production app credentials. They install the same Shuffle version that produced the backup, using the same deployment method (Docker Compose, Swarm or Kubernetes) and the same OpenSearch major version. Do not upgrade during the test. Upgrades should be planned and tested separately, because a restore onto a newer release mixes two changes and makes failures hard to attribute. The step is done when the empty stack starts cleanly and the version reported matches the backup record.
Restore the .env file and encryption secret
The engineer copies the backed-up .env file and confirms that the SHUFFLE_ENCRYPTION_MODIFIER value is byte-for-byte identical to the production value. The Shuffle configuration docs warn that losing or changing this secret breaks all saved app authentications, so this is the step where a silent mismatch is most likely. Store the secret in your secrets manager, not in the test host's shell history. The step is done when a checksum or stored comparison of the secret matches the production record and the stack starts with the restored file.
Restore the OpenSearch snapshot
The engineer registers the snapshot repository on the test OpenSearch cluster, lists the available snapshots, and restores the one matching the backup date. They confirm that the snapshot restores the indices Shuffle needs for workflows, apps, users and execution history, and that the cluster health returns to a usable state. Snapshot restore fails when repository paths, permissions or index names conflict, so record any errors verbatim. The step is done when the cluster reports healthy and the index counts for key indices match the figures recorded at backup time.
Restore files and apps
The engineer restores the file storage, including any NFS-shared files if the production system runs several backends, and the custom app images or app definitions your team built. They verify that the Shuffle backend can read the restored files and that the app images are available to the runtime, either from your registry or from a restored image archive. Confirm the expected app versions are present. The step is done when the apps list shows every custom app at the version recorded in the backup inventory.
Start services and check the backend
The engineer starts the backend, frontend, Orborus and any Memcached instance, in the same topology as production but on the isolated network. They check that the backend API responds on its configured port and that Orborus connects to it. Watch the logs for decryption errors, which indicate a secret mismatch, and for missing index or file errors. The step is done when all services report running, the backend responds, and logs show no decryption or index errors.
Confirm logins, workflows and saved authentications
A named tester signs in with a local admin account and with a standard user account through the same identity method used in production, including MFA if enforced. They open a sample of workflows and confirm that the definitions match the backup. They then open a saved app authentication and confirm it is still listed as valid, without re-entering the credential. A broken authentication here is the clearest sign of a secret or snapshot problem. The step is done when each login succeeds and each sampled authentication shows as working.
Run a test execution and record the results
The tester runs a harmless test workflow that uses a restored app authentication against a non-production target, and confirms the execution completes and appears in history. They then write a restore record: Shuffle version, backup identifier, snapshot name, time taken for each stage, every error and its fix, and who signed off. Store the record with the runbook and schedule the next rehearsal. The step is done when the test execution completes and the signed record is filed with the backup set it verified.
What to confirm before relying on your restore plan
A restore plan is only as good as the assumptions behind it. The items below are the ones most likely to differ between the documented setup and your own environment, and each one changes what a backup actually contains.
Supported Shuffle version
Confirm your installed release is still supported before you build a restore procedure around it. Shuffle stopped supporting versions older than v2.1.1 after January 31, 2026, so a backup taken on an unsupported release may be harder to restore cleanly onto a current stack. Record the exact version alongside every backup set so the restore target matches the source.
Configuration docsDocker image tag pinning
Check whether your Compose or Helm files pin Shuffle images to a specific tag or follow a floating tag. A restore onto a host that pulls a newer image than the one that wrote the data can fail in ways the backup never tested. Keep the tags in version control next to the backup so the restored stack starts on the same images.
Shared files on NFS
If you run several backends, the Shuffle docs recommend NFS for shared files. Confirm whether your backup job covers that NFS export or only the local volumes on each host. Files left out of the backup will be missing after a restore, and the OpenSearch data alone will not bring them back.
Configuration docsKubernetes volume handling
On Kubernetes, confirm which PersistentVolumes hold OpenSearch data and Shuffle files, and whether your storage class supports snapshots. Check whether the Helm values and secrets are exported as manifests or only live in the cluster. Test that a restored namespace can bind the same volumes, because a volume that reattaches under a new name will leave the workloads pointing at empty storage.
OpenSearch snapshot behavior
Confirm that the OpenSearch cluster has a snapshot repository the Shuffle stack can reach and that the indexes you need are included in the snapshot policy. Check how retention and deletion of old snapshots are handled, and whether the repository is on separate storage from the cluster. A snapshot that exists only on the same disk as the data offers little protection against disk failure.
In-flight executions at backup time
Decide what happens to workflow runs that are still executing when a backup starts. A snapshot taken mid-run can capture partial execution records that restore as stuck or incomplete. Agree on a quiet window or a pause of new executions before the snapshot, and confirm with a test restore how stuck runs appear afterwards.
Questions teams ask before backing up Shuffle
How much effort does a Shuffle backup and restore rehearsal take?
The effort depends on how many components the stack has and how much of it you want to prove works. A single-server Docker Compose install has a short list: OpenSearch data, uploaded files, apps, the .env file and the encryption secret. A distributed Swarm or Kubernetes install adds shared file storage, several OpenSearch nodes and more than one Orborus node, each needing its own restore check. The rehearsal itself is a sequence of work: taking snapshots, copying files, standing up a clean test host, restoring, then checking that workflows, saved app credentials and logins behave as before. Each step takes time, and the rehearsal is repeated whenever the platform version or the stack layout changes. Ask any partner to show the component list and the verification steps in writing before agreeing a price.
Can our own team back up and restore Shuffle without a partner?
Often yes, if you have engineers who already run Docker, Kubernetes and OpenSearch and who can read the Shuffle configuration documentation closely. The parts that need the most care are the ones that are easy to miss: keeping the SHUFFLE_ENCRYPTION_MODIFIER value with the backup, restoring OpenSearch snapshots into a cluster that is configured to accept them, and confirming that saved app authentications still work after a restore. Teams that lack this experience tend to discover gaps only during a real incident. An outside review can help you decide which parts to automate, which to document as a runbook, and how often to repeat the test. Your team still owns the production data and the decision to restore it.
What does a backup and restore project need from our team?
Plan to provide the following before work starts:
- Read access to the running stack, including the
.envfile, Compose or Helm configuration and the OpenSearch settings - Storage for snapshots and file copies that is separate from the Shuffle host, with an agreed retention period
- A test host or test namespace with enough capacity to run the same Shuffle version, ideally isolated from production networks
- Access to the encryption secret through your approved secrets process, handled under the same controls as production credentials
- A named owner who can approve a restore into a non-production environment and confirm the results
Agree in writing who holds the secret, where it is stored and who can read it.
How long does a Shuffle restore test take, and what changes that time?
No general duration applies, because the time depends on your environment. The main drivers are the size of the OpenSearch data and file store, how fast your storage and network can move snapshots, the number of nodes you must rebuild, and how many workflows and apps you need to verify after the restore. Checks that involve external systems, such as an identity provider or a ticketing tool, add time because they need coordination with other owners. A small single-server install with a modest data set can be verified in a short working session once the test host is ready. Ask for the expected duration in the written scope, with the assumptions that produce it, and rerun the test whenever the data size or topology changes significantly.
What happens if we lose the Shuffle encryption secret?
Losing or changing the SHUFFLE_ENCRYPTION_MODIFIER value breaks every saved app authentication, according to the Shuffle configuration documentation. Saved app credentials and API keys in OpenSearch are encrypted with AES-256 using that secret, so a restored data set cannot decrypt them without the original value. Workflows may still exist after a restore, but the apps that depend on those credentials will fail until each one is re-authenticated by hand. For that reason the secret should be stored with the backup, in a secrets manager or sealed store that you control, and it should be included in every restore rehearsal. Treat a missing secret as a serious incident that needs an agreed recovery plan, not a minor configuration issue.
Do Shuffle backups cover the runtime nodes that run workflows?
Runtime nodes are different from the server, so a backup of the backend and OpenSearch does not automatically capture them. In the Shuffle architecture, Orborus polls the backend for jobs and starts a worker for each execution, and the worker starts app containers. Orborus configuration, the container image versions it runs and any runtime-specific settings should therefore be recorded and reproducible from your deployment files, rather than treated as data to restore. Execution history stored in OpenSearch is part of the backup, but running containers are rebuilt on the new host. Confirm with your deployment method, whether Docker Compose, Swarm or Helm, how each runtime node is recreated and checked after a restore.
What would a partner scope for a Shuffle backup and restore engagement?
A written scope usually names the deployment architecture, the components in the backup set, the storage and retention rules, the restore target and the acceptance checks. It should also state how the encryption secret is handled, who signs off the restore, and what happens to findings during the test. Ask for the deliverables explicitly, such as a runbook, a restore checklist, a tested snapshot procedure and a record of the rehearsal results. Also ask whether the engagement is one-time or recurring, since repeated rehearsals after upgrades are a separate cost. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and a quote follows from that scope.
How DeployOpen scopes and delivers Shuffle backup and restore
DeployOpen plans, implements and documents backup and restore for self-hosted Shuffle inside your own infrastructure. We start from what your instance stores, including OpenSearch data, files, apps, the .env file and the encryption secret, then build and rehearse a restore your team can run again. Engagements are fixed-scope, with scope agreed in writing before work starts.
How we scope
- Inventory every item Shuffle holds: OpenSearch indexes, uploaded files, custom apps, the .env file and the encryption secret.
- Record where each item lives in your deployment, whether Docker Compose, Swarm or Kubernetes, and who owns it.
- Agree in writing the recovery target, the backup locations, the restore environment and the rehearsal evidence you will receive.
How we build
- Configure OpenSearch snapshot repositories and a schedule that matches your retention rules and storage location.
- Script capture of the .env file and encryption secret, stored separately from the data they protect and access-controlled.
- Test a full restore into a separate environment, confirming saved app authentications work after the encryption secret is restored.
How we hand over
- Deliver runbooks for backup, restore and secret recovery, written for the engineers who will run them.
- Walk your operations team through a restore rehearsal and record the steps, timings and any gaps found.
- Document what to confirm with your vendor or environment each time the Shuffle version or deployment architecture changes.
How we support
- Ongoing support, upgrades and periodic restore rehearsals are available as a retainer.
- Review backup jobs and snapshot health after Shuffle upgrades, OpenSearch changes or storage moves.
- Retest the restore path whenever the encryption secret, backup target or cluster layout changes.

