refactor(script): 重命名脚本文件以更准确反映其功能

This commit is contained in:
严浩
2025-09-23 09:49:34 +08:00
parent 56daed00cc
commit 9b51fb1575

View File

@@ -2,8 +2,8 @@
set -eu set -eu
# PostgreSQL backup triggered through the Docker Engine unix socket. # PostgreSQL backup triggered through the Docker Engine unix socket.
# 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 # Example: ./postgres-dump-zstd-via-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 # Remote example: curl -fsSL https://git.1-h.cc/Scripts/Linux/raw/branch/main/postgres-dump-zstd-via-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() { log() {
printf '%s\n' "$(date -u '+%Y-%m-%dT%H:%M:%SZ') $*" printf '%s\n' "$(date -u '+%Y-%m-%dT%H:%M:%SZ') $*"
} }