Skip to main content

Backup & Restore

Persistent data is a core feature in DaoFlow. The backup system supports database dumps, volume archives, and S3-compatible remote storage.

When DAOFLOW_ENABLE_TEMPORAL=true, both scheduled backups and one-off backup run executions are dispatched through Temporal. The operator backup surfaces expose the backing workflow ID so you can jump directly into Temporal Web when a run needs deeper diagnosis.

When Temporal mode is disabled, one-off backup requests fail fast instead of being silently queued without an execution engine behind them. Enable DAOFLOW_ENABLE_TEMPORAL=true before relying on manual backup run operations.

Overview

FeatureDescription
PoliciesDefine what to backup, when, and retention rules
RunsView backup execution history
RestoreRestore from a specific backup
S3 StorageConfigure remote backup storage

Backup Types

TypeWhat It Captures
Database dumpLogical dump of PostgreSQL databases
Volume archiveTar archive of Docker named volumes
Compose packageFull service state including config and volumes

Quick Start

# Run a manual backup
daoflow backup run --policy bkp_pol_123 --yes

# List recent backups
daoflow backup list --json

# Restore from a backup
daoflow backup restore --backup-run-id bkp_run_123 --yes

Permissions

ActionRequired Scope
View policiesbackup:read
View backup historybackup:read
Preview restorebackup:read
Run a backupbackup:run
Restore a backupbackup:restore