docs(storage): replace Alarik with RustFS
Heimdall Gitea / Build and tests (pull_request) Failing after 23m28s
Heimdall Gitea / Publish versioned release (pull_request) Skipped

This commit is contained in:
Arnaud Dartois committed 2026-10-21 16:03:16 +02:00
1 parent 2cc39e9d09
commit 1c8cd508bd
17 files changed
+191 -203

No files matched your search

+5 -5
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# ─── Heimdall — PostgreSQL Restore from Backup ───────────────────
# Downloads a backup from Alarik/S3 (or uses a local file) and
# Downloads a backup from RustFS/S3 (or uses a local file) and
# restores it to the PostgreSQL database.
#
# Usage:
@@ -36,10 +36,10 @@ PG_DB="${POSTGRES_DB:-heimdall}"
PG_USER="${POSTGRES_USER:-heimdall}"
PG_PASSWORD="${POSTGRES_PASSWORD:-heimdall}"
S3_ENDPOINT="${ALARIK_ENDPOINT:-${S3_ENDPOINT:-}}"
S3_ACCESS_KEY="${ALARIK_ACCESS_KEY:-${S3_ACCESS_KEY:-}}"
S3_SECRET_KEY="${ALARIK_SECRET_KEY:-${S3_SECRET_KEY:-}}"
S3_BUCKET="${ALARIK_BUCKET:-${S3_BUCKET:-heimdall}}"
S3_ENDPOINT="${RUSTFS_ENDPOINT:-${ALARIK_ENDPOINT:-${S3_ENDPOINT:-}}}"
S3_ACCESS_KEY="${RUSTFS_ACCESS_KEY:-${ALARIK_ACCESS_KEY:-${S3_ACCESS_KEY:-}}}"
S3_SECRET_KEY="${RUSTFS_SECRET_KEY:-${ALARIK_SECRET_KEY:-${S3_SECRET_KEY:-}}}"
S3_BUCKET="${RUSTFS_BUCKET:-${ALARIK_BUCKET:-${S3_BUCKET:-heimdall}}}"
LOCAL_DIR="${BACKUP_LOCAL_DIR:-/var/lib/heimdall/backups}"
RESTORE_TMP="${LOCAL_DIR}/.restore-tmp"