From df52a53026c2eadda1affdcb9d6a6992d115531f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 22 Sep 2025 19:06:29 +0800 Subject: [PATCH] =?UTF-8?q?docs(postgres-dump-zstd-docker-sock):=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=A4=BA=E4=BE=8B=E5=91=BD=E4=BB=A4=E4=B8=AD?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=9A=84=E9=A1=BA=E5=BA=8F=E4=BB=A5=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E5=AE=9E=E9=99=85=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- postgres-dump-zstd-docker-sock.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgres-dump-zstd-docker-sock.sh b/postgres-dump-zstd-docker-sock.sh index a5bd4cc..58a37ed 100755 --- a/postgres-dump-zstd-docker-sock.sh +++ b/postgres-dump-zstd-docker-sock.sh @@ -2,8 +2,8 @@ set -eu # PostgreSQL backup triggered through the Docker Engine unix socket. -# Example: ./postgres-dump-zstd-docker-sock.sh --socket=/var/run/docker.sock --api-version=v1.51 --container=postgres17 --backup-dir=/backups --backup-prefix=pgvector17_all_databases_zstd_ -# Remote example: curl -fsSL https://git.1-h.cc/Scripts/Linux/raw/branch/main/postgres-dump-zstd-docker-sock.sh | sh -s -- --socket=/var/run/docker.sock --api-version=v1.51 --container=postgres17 --backup-dir=/backups --backup-prefix=pgvector17_all_databases_zstd_ +# Example: ./postgres-dump-zstd-docker-sock.sh --socket=/var/run/docker.sock --api-version=v1.51 --backup-dir=/backups --container=postgres17 --backup-prefix=pgvector17_all_databases_zstd_ +# Remote example: curl -fsSL https://git.1-h.cc/Scripts/Linux/raw/branch/main/postgres-dump-zstd-docker-sock.sh | sh -s -- --socket=/var/run/docker.sock --api-version=v1.51 --backup-dir=/backups --container=postgres17 --backup-prefix=pgvector17_all_databases_zstd_ log() { printf '%s\n' "[cron] $(date -u '+%Y-%m-%dT%H:%M:%SZ') $*" }