1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

debug pg_upgrade command

This commit is contained in:
Sylvain 2019-10-22 11:54:37 +02:00
parent a04fc168ee
commit a787814c6a

View File

@ -121,6 +121,7 @@ ensure_pg_down()
pg_upgrade() pg_upgrade()
{ {
echo "docker run --rm -v $PG_PATH:/var/lib/postgresql/$OLD/data -v $NEW_PATH:/var/lib/postgresql/$NEW/data tianon/postgres-upgrade:$OLD-to-$NEW"
docker run --rm \ docker run --rm \
-v "$PG_PATH:/var/lib/postgresql/$OLD/data" \ -v "$PG_PATH:/var/lib/postgresql/$OLD/data" \
-v "$NEW_PATH:/var/lib/postgresql/$NEW/data" \ -v "$NEW_PATH:/var/lib/postgresql/$NEW/data" \