fix(postgres-dump-zstd-docker-sock): 修正备份文件扩展名
This commit is contained in:
@@ -121,7 +121,7 @@ if [ ! -S "$DOCKER_SOCKET" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
timestamp=$(date +%Y-%m-%d_%H-%M-%S)
|
timestamp=$(date +%Y-%m-%d_%H-%M-%S)
|
||||||
backup_path="$BACKUP_DIR/${BACKUP_PREFIX}${timestamp}.zst"
|
backup_path="$BACKUP_DIR/${BACKUP_PREFIX}${timestamp}.sql.zst"
|
||||||
docker_api_base="http://localhost/${DOCKER_API_VERSION}"
|
docker_api_base="http://localhost/${DOCKER_API_VERSION}"
|
||||||
exec_create_endpoint="${docker_api_base}/containers/${PG_CONTAINER_NAME}/exec"
|
exec_create_endpoint="${docker_api_base}/containers/${PG_CONTAINER_NAME}/exec"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user