From 13c6f807e09767eafd8963c4d974ae1c5655c02c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 22 Sep 2025 18:46:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(postgres-dump-zstd-docker-sock):=20?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=A4=87=E4=BB=BD=E6=96=87=E4=BB=B6=E6=89=A9?= =?UTF-8?q?=E5=B1=95=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- postgres-dump-zstd-docker-sock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres-dump-zstd-docker-sock.sh b/postgres-dump-zstd-docker-sock.sh index edbec1f..697d716 100755 --- a/postgres-dump-zstd-docker-sock.sh +++ b/postgres-dump-zstd-docker-sock.sh @@ -121,7 +121,7 @@ if [ ! -S "$DOCKER_SOCKET" ]; then fi 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}" exec_create_endpoint="${docker_api_base}/containers/${PG_CONTAINER_NAME}/exec"