What an openDesk backup and restore plan must cover before go-live
An operator who runs openDesk in their own cluster has to show that data comes back after a failure, and that means the backup and restore plan covers every stateful store, and the database is only one of them. The plan starts from openDesk's data storage inventory and lists each store with the data it holds, how it is backed up and who restores it. The candidate stores are PostgreSQL, MariaDB, the S3 object storage buckets, the primary LDAP volume and, where the Enterprise edition is in use, Cassandra. Caches need a separate check: for each one, confirm whether it holds anything that cannot be rebuilt from another store or whether losing it only means a cold start, and record that decision in the plan so an auditor or reviewer can follow it.
The production expectations in openDesk's requirements make the operator the owner of these services. The requirements expect external production-grade services, including PostgreSQL 15, MariaDB 10, Redis 7, Memcached, Cassandra, an SMTP relay, ClamAV over ICAP, object storage and a TURN server. Confirm, for each service, who takes the backup, where it is stored, how long it is kept and who holds the credentials needed to restore it. Record the owner of each service in the plan before go-live, since an unowned store is the one most likely to be missing from the first restore test. Community Edition is supported only by the community on openCode, with no SLA, so no vendor stands behind a recovery commitment. That puts the recovery responsibility with the operator even more than it would with an Enterprise customer, who has SLA-backed 2nd and 3rd level support and patches.
Which openDesk data stores to back up, rebuild or skip
This table compares each external data store that openDesk expects in production, the backup approach to consider for it, and what to confirm before you commit. Read it as a starting point: which application uses which database or bucket depends on your deployment and edition, so verify that mapping first. The main takeaway is that databases and object storage usually need backups with tested restores, while caches are skip candidates only after you confirm they hold no state.
| Store | What it typically holds | Backup approach to decide | When it fits and what to confirm |
|---|---|---|---|
| PostgreSQL 15 | Relational application data for services that use PostgreSQL in your deployment | Base backup with WAL archiving for point-in-time recovery, plus logical dumps as a supplement | Fits databases that need point-in-time recovery. Confirm which services use it and where WAL archives are stored. |
| MariaDB 10 | Relational data for components that use MariaDB in your deployment | Logical dump of each database, taken on a schedule and consistent with the application | Fits smaller databases where a dump restores within your recovery target. Confirm the database list per application and the dump consistency method. |
| S3-compatible object storage buckets | Files and attachments stored by applications that write to object storage | Bucket copy to a second target, with versioning or retention where the platform supports it | Fits file content a dump cannot capture. Confirm bucket-to-application mapping and that the second target sits outside the primary failure domain. |
| Primary LDAP volume in the identity layer | Directory entries for users and groups, some of which can be re-imported from your source directory | Volume snapshot, taken with the LDAP service quiesced or in a consistent state | Fits restoring the store as it was. Confirm which entries the one-way directory import can rebuild and what exists only locally. |
| Enterprise-only Cassandra | Data for Enterprise-only components, present only if your edition uses it | Per-node snapshot with copies kept off the cluster. Confirm the exact procedure with your support provider. | Fits Enterprise deployments only. Confirm whether your edition uses Cassandra, which services write to it, and the node-level procedure. |
| Redis 7 and Memcached | Cache entries, session data or queues, depending on the application | Skip candidate: no backup, provided you confirm no state is kept there | Fits only after you confirm no user or application depends on stored state. Otherwise back it up like a database. Confirm this per application. |
How backup sources, the backup target and the restore order connect
The diagram starts with the Helmfile environments and secrets, which the team needs to rebuild the cluster before any data returns. Each data store has its own backup path: the identity volume, PostgreSQL, MariaDB, object storage buckets and, in Enterprise only, Cassandra. All paths end at a backup target outside the cluster, so copies survive a cluster loss. The restore lane runs identity volume first, then databases, object storage, application workloads and smoke tests. Treat this order as proposed and confirm it in a rehearsal, because application dependencies differ by edition and version.
Backup paths from each store, then the proposed restore order.
Why PostgreSQL needs point-in-time recovery as well as replicas
Replicas keep a PostgreSQL service available when a server fails, but they are not a backup. openDesk expects PostgreSQL 15 as an external production service, so the operator owns the cluster behind the applications that store data in it. A hot standby, whether it replicates synchronously or asynchronously, applies every change the primary makes, including a DELETE run by mistake, a bad migration or a corrupted write. The standby then holds the same damage as the primary. Hot standbys can also serve read-only queries for reporting, which helps capacity but protects no data. Ask the database team to show the replica design and the backup design separately in the review, with a named owner for each.
Point-in-time recovery restores a base backup and then replays archived write-ahead log up to a chosen moment, so the restore can stop just before a known error. This requires continuous archiving: an archive_command that ships WAL segments to storage outside the primary, base backups taken on a schedule, and a restore_command on the recovery side. A recovery target setting such as recovery_target_time defines the stop point. Read the PostgreSQL continuous archiving documentation before writing the runbook. Automatic failover is a separate concern. PostgreSQL does not detect a failed primary or promote a standby by itself, so the operator must select an external tool for that job and test it. Record who chooses the stop point during an incident, because the restore is only as precise as the timestamp chosen.
Minor PostgreSQL updates keep the storage format, so they replace executables and restart the server. Major upgrades change the format and need a dump and restore with pg_dumpall, pg_upgrade or logical replication, so a verified backup and a tested restore should exist before each major change. Confirm the exact version in use now. The PostgreSQL versioning policy lists version 15 as supported until November 11, 2027, and version 14 only until November 12, 2026. That second date has passed as of this page's date, so any cluster still running version 14 is out of support and should be scheduled for upgrade. Write the confirmed major and minor version into the restore runbook, because a base backup can only be restored onto a compatible server.
How to build and test the openDesk backup plan in sequence
This sequence turns the backup design into a tested routine for openDesk's data stores. Each step closes with a check you can record, so the plan proves it can restore before you rely on it. Work through the steps in order, because later steps depend on the inventory and owners recorded earlier.
Inventory every data store from the deployment
Start from the deployment configuration of your openDesk installation and list every store it writes to: PostgreSQL databases, MariaDB, the primary LDAP volume, object storage buckets and, if your edition includes it, Cassandra. Record the exact openDesk release and edition you run, because the backup scope and any restore procedure depend on that version. For each store, note whether it holds state that users or applications cannot recreate, such as documents, chat history or directory records. Cache-only stores, such as Redis or Memcached, are candidates to skip, but confirm that with each application owner first. The check: a table with one row per store, the release and edition, and a yes or no on state, reviewed by the platform team and the application owners together.
Choose method, retention and owner per store
For each store in the inventory, choose a backup method that matches how that store writes data. Set retention from your recovery objectives, and define a target outside the cluster that cluster administrators cannot change alone. Record the basis for each retention value in the table instead of copying a default from documentation. Name one owner per row, the person who approves changes to that store's backup and accepts its restore evidence. The check: every store has a method, a retention value, an off-cluster target and a named owner, and the owners and the security team have signed off the table.
Configure database, volume and bucket backup jobs
Set up PostgreSQL continuous archiving with base backups so you can recover to a chosen point in time, following the PostgreSQL documentation on continuous archiving and point-in-time recovery. Create matching jobs for MariaDB, for snapshots of the primary LDAP volume through your storage driver, and for copies of object storage buckets to the off-cluster target. Each job should write to the target and log the store name, the outcome and the size written. The check: a manual run of each job completes, the target shows new objects with a current timestamp, and the job log identifies the store for every entry.
Encrypt backups and separate key custody
Encrypt every backup before it lands on the target, and keep the decryption keys in a custody location the cluster cannot read, such as a separate key management service or sealed escrow held by a different team. Do not store decryption keys in the Kubernetes secrets that the openDesk workloads use. Restrict write and read access on the target to the backup service identities and a named list of administrators, and enable access logging on the target. The check: a backup file decrypts with a key held outside the cluster, a cluster administrator cannot read or delete the target alone, and the key custodians and access list are recorded.
Schedule every job and alert on failures
Schedule each job using frequencies set from your recovery objectives, and record each schedule in the same table as its retention. Keep the job definitions in version control so changes to timing or overlap rules are reviewed. Route failed runs and missed runs to the on-call channel, and treat a run that finishes with errors as a failure. The check: force one failed run in a test environment, confirm the alert reaches the on-call channel, and confirm that the deployed schedules match the approved table.
Restore a copy into a separate environment
Restore at least one copy of each store into a separate namespace or cluster, following the restore order in your runbook. Confirm the restore order in your runbook, and start with stores that other services depend on, such as the identity and directory stores, so that dependent applications find the data they expect. Once the applications start, compare record counts or checksums with the source where the store allows it, and note any gap. Record the release used, the backup timestamp, the checks performed, the time the restore took and any open issues. The check: a signed restore record for each store, reviewed by its owner, with the restore repeated on the schedule the owner sets.
Protecting backups that hold identity data and secrets
Backups of openDesk hold the same identity and secret material as the live system, so they need controls at least as strict as production. The six cards cover what the backup contains, how encryption keys and restore rights are handled, how long data is kept, how each set is verified, and what openDesk's image signing does and does not protect.
Backups hold identity and secrets
The LDAP volume, the databases and the object storage in an openDesk backup contain user records, group memberships, application credentials and the Kubernetes secrets that hold passwords and keys. Treat every backup set as identity-grade data, with the same classification and handling as the live directory. Inventory which secrets the backup stores and which your secret source regenerates during a restore, and confirm this list with each component owner before the first backup runs.
Keys held outside the cluster
Encrypt backup sets before they leave the cluster, and keep the encryption keys in a custody system that workloads in the cluster cannot read by default, such as a separate key management service or a hardware-backed store you operate. If the keys sit beside the backup job, one compromise exposes both the data and the means to read it. Agree with your security team who can recover keys, how they rotate, and how older sets stay readable after rotation.
Restore rights are privileged
Backup targets need their own access policy. The backup job writes with a write-only identity, operators read through a separate role, and no routine account can delete the most recent sets. Restore rights count as privileged access, because a restore can overwrite live identity data or expose secrets. Grant them per event, log every restore request and require a second approver. Review who holds these roles at each release cycle and after staff changes.
Retention needs DPO sign-off
Set a retention period for each backup tier, and document how a deleted user or closed account leaves future backup sets and when older sets expire. The data protection officer must confirm these periods for personal data before the first backup runs, because retention decides how long former staff records stay restorable. Ask the DPO whether restoring an older set that holds a deleted person's data requires a second deletion pass.
Verify every backup set
Record a checksum for each backup set when it is written, and check it again before any restore or retention decision. A set that cannot be read is not a backup, so run scheduled test restores of a sample into an isolated namespace and compare the results with live data. Log failed checks as incidents, and confirm that the job covers every store in your data inventory, including the primary LDAP volume, the databases and the object buckets.
Signed images do not replace backups
openDesk signs and validates most Helm charts against GPG keys, pins every container image by tag and digest, and signs the images it builds with cosign. These controls help you rebuild workloads from known artifacts, but the images hold no user records, passwords or documents. Restore data from your backup sets, then redeploy the pinned release on top of them. Check the signing and pinning controls in the openDesk security docs as part of your restore runbook.
Rehearsing an openDesk backup and restore before you need it
A backup you have never restored is an assumption, so the first decision is to rehearse the restore on a schedule you set and treat the rehearsal as a test of the whole plan. Restore the databases, the object storage buckets, the primary LDAP volume and, where your edition uses it, Cassandra into a separate cluster or namespace that has no route to production users, production mail relays or the production identity source. Then deploy openDesk into that target using the same release version that production runs. The restored data was written under that release's schemas and configuration, so a version mismatch turns a restore test into an upgrade test. Confirm that the target uses its own hostnames and DNS names before anything starts.
Run five checks and record each one. Sign in through the identity provider with a restored test account and confirm that the user, group and role mappings came back as they were. Open a file from the restored object storage in Nextcloud and compare it with a copy you recorded before the backup. Open a restored document in Collabora, make an edit and save it. Load an Element chat history and confirm that older rooms and messages appear. Finally, open a test mailbox in OX App Suite and confirm that mail, calendar entries and contacts written before the backup are present. A check counts as a pass only when it has a documented result: the expected outcome, the observed outcome, the person who verified it, and evidence such as screenshots or command output. Measure elapsed time for each step and for the full run in your own environment. Those numbers describe your infrastructure and should be recorded, not copied from another team's rehearsal.
The rehearsal output becomes the runbook. Write down the exact restore order, the commands and Helmfile environment used, the waits between steps and each measured duration, so that an on-call engineer can follow the procedure without the person who built the rehearsal. A failed check is a finding to fix: log the failure and its cause, correct the backup configuration, restore procedure or documentation, and rerun the affected checks. Do not skip the next rehearsal because this one failed. Repeat the full rehearsal after any upgrade, any change to a data store or any change of edition, and record the date and openDesk version each time, so your own team and your auditors can see that the plan was exercised and not only written down.
What to confirm in your environment before trusting the plan
The plan assumes a specific edition, release line and set of external services. Each card names one limit that can change the backup scope, the restore order or who is responsible when a restore fails, along with the check to run before you rely on the plan.
Edition decides what you back up
Cassandra is Enterprise-only, so a Community Edition deployment may not have the same data store to back up as the plan describes. Enterprise also adds SLA-backed 2nd and 3rd level support and patches, which changes who you call when a restore fails. Confirm which edition you run and whether your backup scope matches its bundled components. Ask your openDesk contact which Enterprise-only modules hold data that must be backed up.
Enterprise Edition docsOnly the latest minor is supported
Only the latest minor version receives support, and in-place upgrades between majors are not guaranteed. A backup taken immediately before each upgrade is your rollback point if an upgrade fails, so the plan makes it a required step. Check whether your release is the latest minor and whether skipped minor versions need intermediate steps. Schedule the pre-upgrade backup and a test restore against the target release.
Release management docsCache and state mapping
Redis 7 and Memcached are expected as external services, and the plan has not verified which of their contents must survive a restore. Session data and cached state may be safe to rebuild, while anything used for locks, queues or sign-in state could leave users signed out or jobs stuck. Map every cache and state store to its owner, its persistence setting and its recovery behavior. Test a restore with an empty cache to see what breaks.
Restore order against your release
The proposed restore order is a starting sequence, and it has not been run against the release you operate. Dependencies between identity, databases and file storage can make a different order necessary. Run the sequence on a non-production copy of your release and record the checks after each step. Repeat the run after every upgrade, because a new release can change which components depend on which.
Split responsibility with platform teams
If your platform team already runs PostgreSQL or object storage, some backup duties may sit outside the openDesk team. Confirm who owns backup schedules, retention, encryption keys, point-in-time recovery and restore tests for each store. Also confirm the PostgreSQL major version, since openDesk expects PostgreSQL 15, which is supported until November 11, 2027. Write the handoff into both teams' runbooks so each restore step has one named owner.
PostgreSQL recovery docsConfirm supported backup tools
Confirm the exact backup tools your storage supports before you choose a method. Object storage products differ in snapshot, versioning and replication features, so a tool that works on one may not work on yours. Ask your storage vendor or platform team which tools they support, whether those tools handle your bucket layout and how they keep bucket backups consistent with database backups taken the same day. Record the answer in the plan.
Questions buyers ask about openDesk backup and restore cost and effort
What does an openDesk backup plan cost to set up?
The cost is set by a written scope, and DeployOpen publishes no price list, so a quote follows from the scope you agree before work starts. The scope usually has five components. Discovery maps every store that holds data, including the PostgreSQL databases, S3 buckets, the primary LDAP volume and, in Enterprise deployments, Cassandra. Backup configuration sets up the jobs, schedules and retention inside your own infrastructure. Runbook writing turns the restore order into steps your operators can follow. Restore rehearsal proves those steps work on your data and records the results. Ongoing rehearsals can run under a retainer, which recurs, while the other four components are usually one-time work. Costs rise with the number of stores, environments and rehearsals in scope. Ask for a quote that lists each component, who performs each step and which items recur.
How long does an openDesk backup and restore engagement take?
The duration depends on three factors: how large each data store is, how many environments need a backup plan and how many restore rehearsals are in scope. Store size matters most during the restore rehearsal, because restoring a large database or object bucket takes longer to run and check than a small one. Each additional environment, such as staging alongside production, adds discovery and configuration work. Each rehearsal adds a full restore run and a review of the results. DeployOpen confirms the timeline during scoping, once your store sizes and environment count are known, and writes it into the agreed scope. Before scoping, gather approximate sizes for the PostgreSQL databases, S3 buckets and LDAP volume, and count the environments. Those inputs let the scoping conversation produce a timeline you can check against your own change calendar.
What does an openDesk backup engagement need from our team?
The work needs access and decisions from four groups. First, access to the Kubernetes cluster, including read rights on the openDesk namespaces, the storage classes and the volumes behind each store. Second, storage targets: the bucket or repository where backups will be written, with credentials, location and retention settings inside your infrastructure. Third, named contacts for the database team, who own PostgreSQL and its credentials, and for the identity team, who own the LDAP volume and directory data. Fourth, retention decisions: how long each store keeps backups, how many restore points you need and who approves changes. Retention is a policy decision, so have your compliance and records owners make it before configuration begins.
Can our own team build an openDesk backup and restore plan?
Yes, if your team already has PostgreSQL, Kubernetes and storage skills. Most of the work is configuration and rehearsal, so you need people who can dump and restore databases, manage Kubernetes volumes and set policies on object storage. Check these points before you decide. Confirm that someone can restore a PostgreSQL 15 database, the version openDesk expects for production, and that your PostgreSQL major version is still supported, since PostgreSQL 14 support ended on November 12, 2026. Confirm that your volume provisioner supports the snapshot or copy method you plan to use. Confirm that you can create backup credentials and retention rules on your storage. Confirm that someone owns the LDAP volume backup and the restore order for identity. If a skill is missing, a partner can fill the gap through scoping, while your team still runs the rehearsals.
Does high availability replace backups for openDesk?
No. High availability keeps a service running when a node or database fails, but it does not give you an older copy of the data. PostgreSQL hot standby servers receive changes from the primary, so a bad delete, a faulty migration or a corrupted write reaches the standby too. Synchronous replication makes commits wait for standbys, and asynchronous replication lags behind, but neither keeps a version from before the mistake. You need backups stored separately from the primary, with point-in-time recovery for the databases, so you can return to a moment before the error. Replicas also do not protect the S3 buckets or the LDAP volume unless you protect those separately. PostgreSQL does not detect a failed primary by itself, so any automatic failover depends on external tools that you must choose and test.
Does openDesk Enterprise change the backup and restore plan?
Yes, in two ways. Enterprise adds the Cassandra store to the data inventory, so the backup plan must cover Cassandra alongside the PostgreSQL databases, S3 buckets and LDAP volume. Cassandra needs its own backup method, retention and restore steps, which discovery confirms in your environment. Enterprise also includes SLA-backed 2nd and 3rd level support and patches. That affects how you schedule a restore after a patch or incident, because the support path and response terms come from your agreement with ZenDiS. Confirm which delivery model applies to you, SaaS or on-premises installation, before you depend on those terms. Ongoing restore rehearsals can run under a retainer, so the plan keeps testing restores as openDesk releases change.
How DeployOpen scopes, builds and rehearses your openDesk backup plan
DeployOpen plans, implements, backs up and documents openDesk inside your own infrastructure, including the cloud accounts, data centers or air-gapped networks you control. For backup and restore, the work starts from your actual data stores, agrees the scope in writing, and ends with a restore you have rehearsed. Engagements are fixed-scope, with ongoing support available as a retainer.
How we scope
- The written scope names each openDesk data store, including Cassandra only if you run the Enterprise edition.
- Scope also records what is skipped and why, such as caches you agree can be rebuilt.
- Fixed-scope terms set the deliverables, the restore targets and the acceptance tests before any work starts.
How we build
- Build PostgreSQL backups with continuous archiving, then test point-in-time recovery against a separate target.
- Map a restore order that restores the identity directory, databases and object storage before dependent applications.
- Align the backup job with openDesk release and patch steps, since only the latest minor version is supported.
How we hand over
- Deliver a runbook with backup schedules, retention settings, restore order, and the commands used in each step.
- Document the rehearsal: which data stores were restored, into which target, and what checks confirmed the result.
- Hand over configuration files, access records and evidence that compliance and security reviewers can review.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer, and can cover repeat restore rehearsals after upgrades.
- Revisit the plan at each openDesk upgrade, because schema and data changes can alter what must be restored.
- Confirm in the quote how often the restore rehearsal repeats and who reviews the results.

