修复自动备份真实挂载解析(07-27-automatic-offhost-backup)
这个提交包含在:
@@ -239,11 +239,11 @@ if [[ "${1:-}" == "inspect" ]]; then
|
||||
printf 'POSTGRES_DB=hyb_oa\nPOSTGRES_USER=backup_user\nPOSTGRES_PASSWORD=fixture\n'
|
||||
fi
|
||||
;;
|
||||
*Mounts*)
|
||||
*json*.Mounts*)
|
||||
if [[ "$container" == "server-id" ]]; then
|
||||
printf '/app/storage\t%s\n' "$MOCK_STORAGE"
|
||||
printf '[{"Destination":"/app/storage","Source":"%s"}]\n' "$MOCK_STORAGE"
|
||||
else
|
||||
printf '/var/lib/postgresql/data\t%s\n' "$MOCK_PG"
|
||||
printf '[{"Destination":"/var/lib/postgresql/data","Source":"%s"}]\n' "$MOCK_PG"
|
||||
fi
|
||||
;;
|
||||
*Image*) printf 'sha256:%064d\n' 0 ;;
|
||||
|
||||
在新工单中引用
屏蔽一个用户