From e5ed660dc76309f06c2594d4093c30e6d776ff4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 22 Sep 2025 23:42:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(postgres-dump-zstd-docker-sock):=20?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=97=A5=E5=BF=97=E4=B8=AD=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=20cron=20=E5=89=8D=E7=BC=80?= 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 d30fb8c..35c0bb1 100755 --- a/postgres-dump-zstd-docker-sock.sh +++ b/postgres-dump-zstd-docker-sock.sh @@ -5,7 +5,7 @@ set -eu # Example: ./postgres-dump-zstd-docker-sock.sh --container=postgres17 --backup-prefix=pgvector17_all_databases_zstd_ --socket=/var/run/docker.sock --api-version=v1.51 --backup-dir=/backups # Remote example: curl -fsSL https://git.1-h.cc/Scripts/Linux/raw/branch/main/postgres-dump-zstd-docker-sock.sh | sh -s -- --container=postgres17 --backup-prefix=pgvector17_all_databases_zstd_ --socket=/var/run/docker.sock --api-version=v1.51 --backup-dir=/backups log() { - printf '%s\n' "[cron] $(date -u '+%Y-%m-%dT%H:%M:%SZ') $*" + printf '%s\n' "$(date -u '+%Y-%m-%dT%H:%M:%SZ') $*" } log_stream() {