Product15 min read

Backup and disaster recovery for self-hosted Plane

A recovery playbook for self-hosted Plane that covers what to back up, how to restore it safely on Docker or Kubernetes, and how to sign off on production readiness.

When evaluating self-hosted Plane for production, one of the key decisions is how it fits into your organization's existing disaster recovery strategy. Your infrastructure team needs to understand which recovery mechanisms Plane provides, how they work with your existing infrastructure, and whether the deployment can meet your recovery point objective (RPO) and recovery time objective (RTO).

This guide walks through Plane's recovery architecture, backup and restoration workflows across deployment models, and the technical evidence your team needs to establish production readiness.

TL;DR
  • A complete Plane recovery covers PostgreSQL, the Plane AI database when enabled, object storage, original encryption keys, deployment configuration, compatible release artifacts, and applicable licensing material.
  • Prime CLI provides backup and restore tooling for Commercial Edition installations set up through Prime CLI. Community Edition on Docker uses setup.sh and restore.sh, while Kubernetes deployments integrate with infrastructure-native recovery tools.
  • Validate recovery through isolated restore drills, functional application testing, and measured RPO and RTO. Use Prime CLI's healthcheck and Plane Doctor where supported to supplement recovery validation.

What recovery requirements should a production Plane deployment meet?

Plane supports Docker and Kubernetes deployments, with backup and restore mechanisms suited to each installation. Commercial Docker instances can use Prime CLI, Community Edition provides dedicated backup scripts, and Kubernetes deployments can integrate with existing infrastructure-native recovery tools.

Before approving Plane for production, platform teams should assess the following seven requirements against their organization's recovery objectives.

Recovery requirement
Plane-specific dependency
Evidence required

Complete recovery coverage

Databases, object storage, encryption keys, configuration, licensing, and release artifacts

Verified recovery inventory

Appropriate backup tooling

Prime CLI, Community scripts, or infrastructure-native tools

Successful backups, defined retention, and off-host copies

Consistent recovery points

PostgreSQL records and associated stored objects

Compatible database and object-storage recovery points

Achievable recovery objectives

Data protection and service restoration

Measured RPO and RTO within approved targets

Safe restoration

Instance identity, workers, schedulers, and integrations

Isolated recovery drill with controlled external activity

Functional validation

Web app, API, live service, workers, and enabled optional services

Completed application acceptance tests

Operational ownership

Plane deployment tooling and customer-managed infrastructure

Named owners, independently accessible runbook, and documented drill results

Which Plane components must be included in the recovery set?

A complete Plane recovery requires its persistent application data, original encryption material, and the configuration needed to reconstruct the installation. Understanding Plane's self-hosted architecture helps platform teams distinguish what must be backed up from what can be rebuilt.

1. Protect PostgreSQL and object storage

PostgreSQL stores Plane's workspaces, projects, Work Items, Pages, users, comments, and configuration, while MinIO or an external S3-compatible service holds attachments, images, and generated exports. Both must be recoverable to compatible states to preserve the relationship between application records and their associated files.

Plane AI uses a separate PostgreSQL database, commonly named plane_pi. When AI is enabled, include this database in the recovery set. A database-cluster backup can cover both databases if they reside on the protected server, whereas a logical dump of the main Plane database covers that database alone.

2. Preserve application encryption keys and service secrets

Each recovery point must retain the effective secrets used by the installation, including values inherited from deployment defaults.

  • SECRET_KEY: Plane derives encryption material from this key to protect stored instance settings, including SMTP passwords and OAuth client secrets. On the Commercial Edition, it also protects license private-key material, automation secrets, and audit-log webhook secrets. Preserve the original value associated with the recovered database.
  • AES_SECRET_KEY and AES_SALT: Preserve the original effective values across the API, Silo integration service, and Plane AI components to maintain access to encrypted workspace secrets, integration credentials, and MCP connection credentials.
  • LIVE_SERVER_SECRET_KEY: Maintains authenticated communication between the API, live collaboration service, and Plane AI components. This service-authentication key can be replaced by updating it on every service that uses it at the same time.
  • ARGUS_FINGERPRINT_SECRET: When sensitive data scanning is enabled, preserve this secret to maintain fingerprint matching, deduplication, stale-finding detection, and existing triage decisions. Rotating it makes the next scan report every match as a new finding, and earlier triage decisions no longer carry over. Before rotating, export existing findings. Afterwards, remove the old findings, run a full scan in each workspace, and repeat triage. Treat this secret like a database password and rotate it only when needed, such as after a leak or to replace a weak value.

3. Retain deployment configuration and compatible releases

For Docker, protect plane.env, Compose definitions, and effective service settings. Kubernetes deployments require Helm values, overlays, ConfigMaps, Secrets, and external-service references.

Record the Plane release, PostgreSQL version, container image references, and Helm chart version for Kubernetes deployments alongside each recovery point. Preserve licensing information and maintain access to compatible deployment artifacts.

Plane's environment variables reference provides the configuration details for individual services and optional components.

Classify the complete recovery set

Component
Recovery requirement
Operational impact if unavailable

Main PostgreSQL database

Restore authoritative application records

Core application data unavailable

Plane AI database

Restore when enabled

AI-specific persistent state unavailable

Object storage

Recover required files and objects

Historical attachments and uploads missing

Application keys and secrets

Preserve original encryption values and matching service secrets

Encrypted settings or service authentication affected

Deployment configuration

Restore effective Docker or Helm configuration

Service connections and startup affected

Application versions and images

Retain compatible release artifacts

Application or schema compatibility affected

License and entitlement

Preserve entitlement recovery procedures

Paid features may be unavailable

Redis/Valkey

Rebuild or recover according to deployment requirements

Temporary authentication and coordination state affected

RabbitMQ

Preserve customized broker definitions and assess queued work

Background operations may require retry or reconciliation

OpenSearch

Rebuild supported indexes or restore compatible snapshots

Search remains incomplete until recovery

Containers and pods

Redeploy from compatible release artifacts

Application services await redeployment

External dependencies

Recover DNS, TLS, SSO, SMTP, and integrations

Connectivity and external operations affected

Supporting services require particular consideration during recovery:

  • Redis/Valkey: Account for temporary authentication state, magic codes, SSO hand-offs, password-reset cooldowns, rate-limit counters, and caches. Where the self-hosted MCP server uses Redis or Valkey for OAuth token storage, clients may need to reconnect.
  • RabbitMQ: Unpublished events stored in the PostgreSQL outbox can survive database recovery. Operations already queued in RabbitMQ, including Plane AI jobs when AI is enabled, require separate assessment for retry, duplication, or manual reconciliation. Retain customized broker users, queues, and bindings.
  • OpenSearch: Standard search indexes can be reconstructed from PostgreSQL, while compatible snapshots can reduce recovery time. Assess specialized Plane AI indexes separately when defining the recovery set.

Which backup mechanisms apply to your Plane deployment?

Plane provides dedicated backup and restore tooling for Docker installations and supports infrastructure-native recovery for deployments using Kubernetes or externally managed services. Your choice of backup mechanism depends on where persistent application data resides.

1. Commercial Docker installations using Prime CLI

For Commercial Docker instances installed through Prime CLI, platform teams can manage backups, restoration, upgrades, and service health through the same command-line tool.

The backup workflow creates a compressed installation archive in /opt/plane/backups. It includes:

  • plane.env and Docker Compose configuration.
  • The data folder, including the bundled database and uploads.
  • Proxy certificates and logs.

Each archive is identified by the Plane version and backup timestamp, making it easier to select the appropriate recovery point. External databases and S3 buckets stay outside the archive.

How backup and restoration work in Prime CLI

  1. Prepare a consistent recovery point: Schedule a maintenance window and use sudo prime-cli stop to stop the bundled services before taking a physical backup. Prime CLI also supports online archive creation, while PostgreSQL-native backup methods are appropriate when continuous availability or finer-grained recovery is required.
  2. Create the backup: Run sudo prime-cli backup, verify the archive in /opt/plane/backups, and restart the services using sudo prime-cli start. Retain a protected copy outside the installation host.
  3. Restore the selected archive: In an isolated recovery environment, use sudo prime-cli restore to list available backups, then invoke the command with the selected filename. The documented workflow stops Plane, creates a safety backup, restores the selected state, and starts the application again.

Prime CLI also creates safety backups during its upgrade workflow, providing an additional recovery option if an upgrade fails. Maintain a separately secured copy of plane.env and verify archive coverage against the installed CLI version.

Watch the Prime CLI backup and restore walkthrough on Plane Academy for a demonstration of the commands, archive contents, and restoration sequence.

2. Commercial Docker with external PostgreSQL and object storage

Plane supports externally managed data services, allowing organizations to incorporate their existing PostgreSQL, Redis, and object-storage infrastructure into the deployment.

Prime CLI protects the supported local installation state, while external services follow their respective provider-managed or database-native backup procedures. Coordinate these recovery points to restore a usable application state.

3. Community Edition Docker installations

Community Edition provides a menu-driven setup.sh backup workflow and a separate restore.sh script.

Plane's backup and restore documentation illustrates archives for PostgreSQL, Redis, and uploads. The Community backup implementation also includes RabbitMQ data. Confirm the archive inventory against your installed release.

The script uses docker cp to copy data from running containers. For production PostgreSQL recovery, use a database-native backup method or a validated consistent physical backup procedure, since copying a live database directory alone provides insufficient consistency guarantees. Keep plane.env protected independently.

4. Kubernetes and externally managed infrastructure

Plane's Kubernetes deployment model integrates with established platform recovery practices. Teams can combine managed PostgreSQL backups, protected object-storage copies, Kubernetes resource backups, version-controlled Helm values, and secure secret management.

Kubernetes resource-backup tooling can also protect supported persistent volumes, depending on its configuration. Establish database and object-storage consistency through the recovery mechanisms appropriate to those services.

Compare backup mechanisms across Plane deployments

Deployment
What Plane provides
Additional recovery requirements

Commercial Docker, bundled services

Prime CLI backup and restore

Consistent backups and independent retention

Commercial Docker, external services

Prime CLI and external-service configuration

Provider-native backups and coordinated recovery points

Community Docker

Backup and restore scripts

Release-specific archive coverage and database consistency

Kubernetes

Helm deployment and recovery guidance

Infrastructure-native data and cluster recovery

Air-gapped

Offline deployment and licensing mechanisms

Independent data protection, offline artifacts, registry and entitlement recovery

For production implementation guidance, refer to self-hosted Plane on Docker and self-hosted Plane on Kubernetes.

How do you meet RPO and RTO requirements for self-hosted Plane?

The recovery point objective (RPO) defines the acceptable data-loss window, while the recovery time objective (RTO) sets how quickly you must restore service. For self-hosted Plane, organizations set these targets based on their infrastructure, operational requirements, and chosen recovery mechanisms.

1. Coordinate PostgreSQL and object-storage recovery points

Database records and their associated files must be recoverable to compatible states.

Consider an organization with a hypothetical one-hour RPO. PostgreSQL supports recovery to a point 15 minutes before an incident, while the latest recoverable object-storage copy is 24 hours old. Some restored Work Items may reference files uploaded after that copy was created. Meeting the application-level RPO therefore requires a compatible object recovery point.

PostgreSQL point-in-time recovery (PITR), combined with appropriate object versioning or independently retained copies, can support finer-grained recovery when retention and recovery procedures are coordinated.

Maintain a recovery manifest to associate these dependencies with each recovery point.

Recovery record
Information to retain

PostgreSQL

Backup ID, recovery timestamp, database and version

Object storage

Bucket, recovery source, and recovery timestamp

Application

Plane release, image references, and Helm chart or Compose file version

Secrets

Secure references to matching encryption and service keys

Configuration

Version-controlled deployment and external-service settings

Backup storage and retention

Backup location, retention period, and expiration

Ownership

Named recovery owner

Validation

Last restore test, observed data-loss window, and recovery time

Keep secret values in a protected store and retain only their references in the manifest.

2. Account for the entire restoration process in RTO

Measure recovery time from the agreed incident trigger through functional application acceptance. Account for infrastructure provisioning, data restoration, application startup, dependency reconnection, and any required search reindexing.

The RTO should reflect when users can resume the agreed Plane workflows. If historical records, attachments, and new Work Item creation are essential to operations, their availability determines when recovery is complete.

3. Match failure scenarios to the appropriate mechanism

High availability maintains service continuity through supported infrastructure failures, while disaster recovery addresses broader infrastructure loss and restoration of historical application state.

Failure scenario
Typical response
Recovery requirement

Container or pod failure

Restart or redundant instances

Service readiness

Node failure

Rescheduling or failover

Persistent data availability

Availability-zone failure

Multi-AZ infrastructure

Resilient data services and networking

Database service failure

Failover or restoration

Database integrity and availability

Corruption or accidental deletion

Historical backup or PITR

Earlier unaffected recovery point

Docker host or Kubernetes cluster loss

Replacement infrastructure

Independent recovery assets

Regional or site loss

Recovery in an unaffected location

Off-site recovery assets and infrastructure

Plane's documented Kubernetes high-availability architecture supports resilience across availability zones within a single region when the underlying services are configured accordingly. Organizations requiring regional or site-level disaster recovery can extend their infrastructure design to include an independent recovery location.

Since replication can propagate corruption or accidental deletions, retain historical recovery points alongside availability mechanisms.

How do you restore Plane safely on compatible infrastructure?

A controlled Plane restoration starts with an isolated environment, compatible recovery points, and the application version associated with those backups. This allows platform teams to validate recovered data and services while production remains unaffected.

1. Prepare an isolated recovery environment

Provision a separate Docker host or Kubernetes recovery environment with independent databases, object buckets, credentials, and service endpoints. For Kubernetes, combine namespace isolation with appropriate network and access controls. Always use a dedicated recovery bucket, since application cleanup processes can modify or delete stored objects.

A restored Plane database can retain production instance identity, licensing material, credentials, and scheduled operations. Configure network restrictions and control worker and scheduler activity to manage:

  • License refreshes, telemetry, and version checks.
  • Notification emails and identity-provider group synchronization.
  • Scheduled automations, integration events, and webhooks.
  • Publication of pending PostgreSQL outbox events.

Use approved test endpoints and narrowly scoped authentication or licensing exceptions where required.

For Commercial Docker installations, Prime CLI automatically starts Plane after restoring an archive, which may include the original plane.env settings. Establish isolation before invoking the restore command and maintain it throughout the drill. Verify recovery-specific service connections before permitting normal application activity.

2. Restore persistent data and configuration

For deployments using independently managed data services, prepare the application state before startup:

  1. Restore the main PostgreSQL database and the Plane AI database, where enabled.
  2. Recover the associated objects into the dedicated recovery bucket.
  3. Supply the matching encryption keys and service secrets.
  4. Reconstruct Docker or Helm configuration with recovery-specific service connections.
  5. Make compatible deployment artifacts and licensing material available.

Follow the restoration procedure appropriate to the backup type and database version. Installation-level archive restoration requires equivalent isolation and configuration safeguards before the restore command is invoked.

3. Start a compatible Plane release

Restore using the Plane release associated with the recovery point, including the corresponding Helm chart and configuration for Kubernetes. Verify version compatibility and migration state before starting services, as newer releases may introduce database schema changes.

Where the deployment method permits, control application, worker, and scheduler startup. Reconstruct standard search indexes or restore compatible snapshots as required.

Commercial Docker operators can use Prime CLI's healthcheck command to inspect service status before proceeding to functional application acceptance.

What evidence proves that a restored Plane instance is usable?

A successful Plane recovery should demonstrate that users can access historical data, resume their work, and use the services their organization depends on. Establish a reference state before the drill, including timestamped Work Item changes, Pages, and associated attachments, to validate the recovered data.

1. Validate application functionality

Use representative test accounts to exercise the following workflows within the isolated recovery environment.

Acceptance area
Evidence required

Historical data

Existing workspaces, projects, Work Items, Pages, and comments are accessible and match the expected recovery state

Attachments

Selected historical files can be downloaded and opened

Authentication

Configured sign-in methods function successfully

Application writes

A new Work Item or comment can be created

API functionality

Representative authenticated API requests succeed

Real-time collaboration

Changes are reflected across test user sessions

Background processing

A controlled queue-backed operation completes

Encrypted settings

Stored SMTP and authentication settings remain usable

Integrations

Encrypted credentials support approved test connections or webhook operations

Search

Expected historical records appear in search results

Plane AI, if enabled

A representative AI workflow operates using recovered dependencies and approved model endpoints

Argus, if enabled

A controlled scan confirms fingerprint matching, deduplication, and preservation of existing triage decisions

Licensing (Commercial and Airgapped Editions)

Entitlement and paid feature availability are verified without affecting production licensing

Allow for fresh authentication where temporary Redis-backed state has been lost. Validate stored configuration through controlled SMTP, SSO, and integration operations to confirm that the original encryption material remains effective.

For Argus, use unchanged test content to verify that recovered findings retain their existing triage state. Where search indexes require reconstruction, complete the documented reindexing procedure before testing search results.

2. Use Plane Doctor to validate supporting services

On Commercial Edition v4.1.0 and later, instance administrators can open Plane Doctor from the God Mode sidebar and select Run all checks. Plane Doctor groups the results by service, covering PostgreSQL, sign-in methods, SMTP, licensing, migrations, storage, background workers, and configured optional services, and each check shows its status, what it affects, and how to fix it.

The results provide additional diagnostic evidence alongside the application acceptance checklist. A full run skips the two AI checks, which contact the configured model provider, so run them separately only where the recovery environment allows it. Use Copy report to keep the full run with the drill evidence.

3. Measure recovery against acceptance criteria

Compare the recovered application state with the pre-drill reference to identify missing records or files and determine the observed data-loss window against the approved RPO.

Measure elapsed time from the agreed recovery trigger through functional acceptance to assess RTO. Document failed checks, manual interventions, corrective actions, and retest results.

A designated reviewer should verify the evidence and record formal sign-off once the required application checks and recovery objectives are satisfied.

How do upgrades, migrations, and infrastructure loss affect recovery?

Application upgrades and infrastructure changes introduce additional recovery considerations around database compatibility, licensing, and production cutover.

1. Preserve recovery points before upgrading Plane

Before upgrading, retain an independently protected recovery set associated with the current Plane release and database migration state.

For Commercial Docker installations, prime-cli upgrade creates a safety backup and restores it if a step fails after services have stopped. Prime CLI removes this temporary backup after a successful upgrade, so retain a separate pre-upgrade copy for subsequent recovery needs.

For Kubernetes deployments, Helm rollback restores Kubernetes release resources. Database schema changes require separate consideration, since Helm rollback alone cannot reverse them.

If recovery requires an earlier Plane release, restore the corresponding compatible database and application state. Account for changes made after the selected recovery point when assessing potential data loss.

Follow Plane's upgrade documentation for the procedure for your installation method.

2. Prepare for complete host or cluster loss

Maintain a tested infrastructure reconstruction process for replacing a Docker host or Kubernetes cluster. Recovery assets must remain accessible outside the original failure domain, including backups of any persistent services operated within the lost infrastructure.

Before resuming production service, validate network connectivity, DNS, TLS, identity-provider access, and licensing on the replacement installation.

3. Validate host migration and Airgapped dependencies

Plane's Commercial Docker migration workflow supports moving Prime CLI installations to replacement infrastructure while retaining the application domain.

For a planned migration:

  1. Coordinate the maintenance window and delink the license from the original instance.
  2. Stop Plane and establish a final consistent recovery point.
  3. Restore the backup on compatible destination infrastructure.
  4. Validate the recovered application before switching DNS and production traffic.
  5. Reactivate the license on the destination instance and complete functional acceptance before reopening service.

Maintain one authoritative writable production instance throughout the cutover. Domain changes require coordination with Plane support, while cross-topology migrations, such as Docker to Kubernetes, require separate compatibility and recovery validation.

Recover licensing after unexpected infrastructure loss

For the Commercial Edition, administrators can delink the license through the Prime portal when the original instance is inaccessible, then activate it on the replacement instance. Plane's license management documentation covers this recovery procedure.

Preserve Airgapped recovery dependencies

Airgapped recovery requires independently accessible container images, deployment files or Helm charts, internal registry access, and offline licensing material.

Restore the entitlement through God mode on the replacement instance, following the licensing procedure for the installed release. Where the original instance remains operational, coordinate license transfer to maintain a single authorized deployment.

Include license compatibility, instance identity, and any grant reissuance requirements in the recovery runbook. Our guide to Airgapped licensing and offline upgrades provides further context for planning recovery within an isolated environment.

What must be validated before approving self-hosted Plane for production?

Production approval should reflect demonstrated recovery readiness across the selected Plane edition, deployment architecture, and enabled services, with clear ownership of each recovery requirement.

1. Verify backup protection and recovery access

Treat backup archives as sensitive assets because they may contain application data, credentials, and TLS material. Encrypt backups at rest and in transit, restrict access, verify integrity, and enforce retention and deletion protection.

Maintain immutable copies where required, and ensure authorized operators can access recovery assets even if production credentials are compromised.

2. Maintain an independently accessible recovery runbook

Keep the runbook outside the Plane installation so operators can access it during an outage. Include the deployment details, recovery manifest, secret access procedures, restoration sequence, isolation controls, acceptance criteria, and escalation contacts.

Record the latest recovery drill results, measured RPO and RTO, and outstanding remediation actions.

3. Establish production approval criteria and ownership

Plane provides the application, supported deployment tooling, technical documentation, and product support. The following checklist helps infrastructure teams establish ownership and verify production recovery readiness.

Readiness check
Evidence required
Typical owner

Recovery coverage

Complete, protected recovery inventory

Platform/SRE team

Independent backup copies

Recovery assets accessible outside the relevant failure domain

Platform/Storage team

Compatible recovery points

Coordinated database and object recovery points

Database/Storage team

Encryption material

Original keys accessible through approved secret management

Security team

Backup security

Encryption, integrity, access, and retention controls verified

Platform/Security team

Safe restoration

Isolated recovery drill completed

Platform/SRE team

External dependencies

DNS, TLS, SSO, and connectivity validated

Network/Identity team

Application acceptance

Required workflows validated and reviewer sign-off recorded

Service owner

RPO and RTO

Measured recovery results meet approved targets

Service owner

Release artifacts and licensing

Compatible artifacts and entitlement recovery procedures validated

Platform/Licensing owner

Runbook and escalation

Accessible procedures, named owners, and approval records

Incident lead

Use the results to establish one of three production approval outcomes:

  • Ready for production: Recovery coverage, operational ownership, and tested results satisfy the approved criteria.
  • Further validation required: The recovery design is established, with specific dependencies or acceptance checks awaiting verification.
  • Technical blocker: A mandatory recovery requirement remains unmet and requires resolution before production approval.

Reassess these criteria following major upgrades or infrastructure changes. For a broader assessment of operational readiness, refer to Plane's self-hosting maturity model.

Bottom line

Plane's self-hosted deployment models allow organizations to build their recovery strategy around existing infrastructure, security policies, and operational requirements. With Prime CLI for Commercial Docker installations and support for infrastructure-native recovery mechanisms, teams can choose an approach that aligns with their production environment.

If you're evaluating Plane for a business-critical deployment, bring your infrastructure architecture, recovery objectives, and security requirements to the conversation. Book a demo with Plane to explore the deployment options, discuss backup and disaster recovery requirements, and determine the right path to production for your organization.

Frequently asked questions

Q1. What data must be backed up to restore self-hosted Plane?

Back up PostgreSQL, the Plane AI database when enabled, object storage, original encryption keys, and deployment configuration. Retain compatible application versions, licensing material, and any persistent supporting-service state required by your deployment.

Q2. Does Prime CLI back up external PostgreSQL and S3 storage?

No. Prime CLI archives the supported local installation state. Deployments using external PostgreSQL or S3-compatible storage require separate provider-managed or infrastructure-native backups, with recovery points coordinated across both services.

Q3. Does Plane provide a guaranteed RPO or RTO for self-hosted deployments?

Recovery objectives for self-hosted Plane depend on the organization's infrastructure, backup strategy, and restoration procedures. Platform teams define their RPO and RTO and validate them through recovery drills. Any contractual recovery commitments should be confirmed separately.

Q4. How can you verify that a restored Plane instance works?

Sign in, open historical Work Items and Pages, download attachments, and create a test Work Item. Validate encrypted settings, background operations, real-time functionality, and enabled optional services. Compare the recovered state and elapsed recovery time against the approved RPO and RTO.

Q5. Can Plane be recovered on another server after the original host fails?

Yes. Restore the recovery set on compatible replacement infrastructure and complete the licensing procedure for your edition. For the Commercial Edition, the Prime portal allows license delinking when the original instance is inaccessible. The Airgapped Edition follows a separate offline licensing procedure.

Plane
Nacelle