docs(storage): replace Alarik with RustFS
This commit is contained in:
1 parent
2cc39e9d09
commit
1c8cd508bd
17 files changed
+191
-203
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user