Skip to content

Add a documented backup/restore path for Docker Compose #1

Description

@shanzez

Problem

The Helm chart ships scheduled backups (helm/huly/templates/backup/), but the Docker Compose deployment - the primary, recommended path in the README - has no backup tooling and no backup guide. MIGRATION.md tells operators to back up before upgrading but not how.

This is a recurring, unanswered request upstream in hcengineering/huly-selfhost:

  • huly-selfhost#273 - How to backup all with version 0.7?
  • huly-selfhost#223 - Backups & restore process for v0.7?
  • huly-selfhost#62 - Any tool to backup data?

Proposal

Add backup.sh / restore.sh plus a guides/backup-restore.md for Compose deployments:

  • Cold (crash-consistent) snapshot of the CockroachDB and MinIO volumes plus config/secrets.
  • Skip the rebuildable search index (elastic) and transient event log (redpanda) by default, matching the Helm chart's backup scope; --full to include them.
  • Restore with a confirmation prompt and a stop-before-overwrite safeguard.

A PR implementing this follows. Contributed by Exaviz (exaviz.com).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions