This commit is contained in:
Your Name
2025-05-05 21:12:50 +12:00
parent e727fc518f
commit 63490d9ce3
16 changed files with 127 additions and 75 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
source "${AGENT_PATH}/_common.sh"
_check_required_env_vars
_check_required_env_vars "VOLUME_NAME"
# Simple Object Storage Backup Script
# Creates a backup tarball of the volume contents.
@ -8,6 +8,6 @@ _check_required_env_vars
# HOT backup is fine for simple-object-storage
autobackup "volume=${VOLUME_NAME}" $1 $2 || _die "Failed to create backup"
autobackup "$1" "$2" "volume=${VOLUME_NAME}" || _die "Failed to create backup"
echo "Backup complete: ${BACKUP_FILE}"