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