Add 4 and update 16 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 20s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 20s
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#!/bin/bash
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
source "$(dirname "$0")/_volumes.sh"
|
||||
_check_required_env_vars
|
||||
|
||||
_stop_container "$CONTAINER_NAME"
|
||||
|
||||
databackup "$1" "$2" "volume=$DATA_VOLUME" "volume=$CONFIG_VOLUME" || _die "Failed to create backup"
|
||||
# shellcheck disable=SC2046
|
||||
backup_items $(get_caddy_volumes) || _die "Failed to create backup"
|
||||
|
||||
_start_container "$CONTAINER_NAME"
|
||||
|
||||
|
Reference in New Issue
Block a user