Xpersona
L

Langfuse Backup

CLAWHUB · Unverified

Docker volume backup and restore for self-hosted Langfuse. Use when: backing up a self-hosted Langfuse instance, restoring Langfuse after a crash or migratio... Skill: Langfuse Backup Owner: nissan Summary: Docker volume backup and restore for self-hosted Langfuse. Use when: backing up a self-hosted Langfuse instance, restoring Langfuse after a crash or migratio... Tags: latest:1.0.2 Version history: v1.0.2 | 2026-03-28T04:25:09.440Z | user Added metadata.openclaw block and version field — scanner compliance v1.0.1 | 2026-03-01T22:09:25.399Z | user Added version, metadata.op

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: medium.

clawhub skill install s17f2fw07zktjmcgagf5c29tbd83rt7v:langfuse-backup
  1. Setup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-nissan-langfuse-backup/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

11,496 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: langfuse-backup
version: 1.0.2
metadata:
  openclaw:
    emoji: "💾"
    requires:
      bins: ["docker"]
      env: []
    network:
      outbound: false
      reason: "Backs up local Docker volumes only. No data is sent to remote servers."
    security_notes: "All operations are local Docker volume copies. No data leaves the local machine. Backup files are stored in a local directory specified by the user."
description: "Docker volume backup and restore for self-hosted Langfuse. Use when: backing up a self-hosted Langfuse instance, restoring Langfuse after a crash or migration, setting up daily cron backups for Langfuse postgres/clickhouse/minio/redis volumes. Backs up postgres (traces, scores), minio (blobs), with optional clickhouse and redis. Includes restore script with validation and 14-day retention pruning."
---
**Last used:** 2026-03-24
**Memory references:** 2
**Status:** Active


# langfuse-backup

Backup and restore Docker volumes for a self-hosted Langfuse instance.

## Scripts

- `scripts/backup_langfuse.sh` — back up postgres + minio volumes (primary data)
- `scripts/restore_langfuse.sh` — restore from a specific backup date

## Quick start

```bash
# Configure (env vars or edit the script defaults)
export LANGFUSE_BACKUP_DIR="$HOME/.langfuse-backups"
export LANGFUSE_COMPOSE_DIR="/path/to/langfuse"   # directory with docker-compose.yml
export LANGFUSE_DB_CONTAINER="langfuse-db-1"       # postgres container name
export LANGFUSE_MINIO_CONTAINER="langfuse-minio-1" # minio container name
export LANGFUSE_DB_NAME="langfuse"                  # postgres database name
export LANGFUSE_DB_USER="langfuse"                  # postgres user

# Run a backup
bash scripts/backup_langfuse.sh

# List available backups
ls "$LANGFUSE_BACKUP_DIR"

# Restore from a date
bash scripts/restore_langfuse.sh 2026-02-27
```

## Env vars

| Var                       | Default                              | Description                         |
|---------------------------|--------------------------------------|-------------------------------------|
| `LANGFUSE_BACKUP_DIR`     | `~/.langfuse-backups`                | Root backup directory               |
| `LANGFUSE_COMPOSE_DIR`    | `~/langfuse`                         | Docker Compose project directory    |
| `LANGFUSE_DB_CONTAINER`   | `langfuse-db-1`                      | Postgres container name             |
| `LANGFUSE_MINIO_CONTAINER`| `langfuse-minio-1`                   | MinIO container name                |
| `LANGFUSE_DB_NAME`        | `langfuse`                           | Postgres database name              |
| `LANGFUSE_DB_USER`        | `langfuse`                           | Postgres user                       |
| `LANGFUSE_RETENTION_DAYS` | `14`                                 | How many days of backups to keep    |

## What gets backed up

| Volume    | Backed up? | Notes                                       |
|-----------|------------|---------------------------------------------|
|

_meta.json

{
  "ownerId": "kn72rbtybr3jzhcj2260qz6p2181x1mr",
  "slug": "langfuse-backup",
  "version": "1.0.2",
  "publishedAt": 1774671909440
}

skill-card.md

## Description:

Backs up and restores local Docker volumes for self-hosted Langfuse deployments, including Postgres and MinIO data, with optional ClickHouse coverage and retention pruning.

This skill is ready for commercial/non-commercial use.

## Publisher:

[nissan](https://clawhub.ai/user/nissan)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use this skill to back up, prune, and restore data for self-hosted Langfuse deployments running in Docker. It is intended for local operational workflows around Postgres, MinIO, and optional related Langfuse storage services.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Restore operations can overwrite the current Langfuse database and MinIO data.

Mitigation: Test restores on disposable data first, confirm the selected backup date, and stop Langfuse services before restoring production data.

Risk: Backup and restore scripts use a mutable container image for file copy operations.

Mitigation: Pin or pre-vet the container image before operational use.

Risk: Weakly validated backup dates, database names, and backup contents can lead to restoring the wrong data or accepting incomplete backups.

Mitigation: Validate backup dates and database names, require manifests or hashes, and verify them before restore.

Risk: Local backup files may contain sensitive Langfuse data.

Mitigation: Restrict backup directory permissions and store backups only in approved local or secured storage locations.

## Reference(s):

- [Langfuse Backup on ClawHub](https://clawhub.ai/nissan/skills/langfuse-backup)
- [Publisher profile](https://clawhub.ai/user/nissan)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with shell command examples and executable shell scripts]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires Docker and operates on local Docker volumes and local backup directories.]

## Skill Version(s):

1.0.2 (source: frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Langfuse Backup and adjacent AI workflows.