📜  备份 postgres 数据库 docker - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:36.103000             🧑  作者: Mango

代码示例3
docker exec -t your-db-container pg_dumpall -c -U postgres > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql