forked from coop-cloud/backup-bot-two
Work-in-progress: split S3 & SSH storage
This commit is contained in:
@ -11,6 +11,9 @@ restic_repo="sftp:$restic_sftp_host:/$server_name"
|
||||
backup_path="${BACKUP_DEST:?BACKUP_DEST not set}"
|
||||
|
||||
if [ -n "$SERVICES_OVERRIDE" ]; then
|
||||
# this is fine because docker service names should never include spaces or
|
||||
# glob characters
|
||||
# shellcheck disable=SC2206
|
||||
services=($SERVICES_OVERRIDE)
|
||||
else
|
||||
mapfile -t services < <(docker service ls --format '{{ .Name }}')
|
||||
|
Reference in New Issue
Block a user