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