|
|
@ -85,7 +85,7 @@
|
|
|
|
--network={{ matrix_docker_network }}
|
|
|
|
--network={{ matrix_docker_network }}
|
|
|
|
--env-file={{ matrix_postgres_base_path }}/env-postgres-psql
|
|
|
|
--env-file={{ matrix_postgres_base_path }}/env-postgres-psql
|
|
|
|
--entrypoint=/bin/sh
|
|
|
|
--entrypoint=/bin/sh
|
|
|
|
-v {{ postgres_dump_dir }}:/out
|
|
|
|
--mount type=bind,src={{ postgres_dump_dir }},dst=/out
|
|
|
|
{{ matrix_postgres_detected_version_corresponding_docker_image }}
|
|
|
|
{{ matrix_postgres_detected_version_corresponding_docker_image }}
|
|
|
|
-c "pg_dumpall -h matrix-postgres
|
|
|
|
-c "pg_dumpall -h matrix-postgres
|
|
|
|
{{ '| gzip -c ' if postgres_dump_name.endswith('.gz') else '' }}
|
|
|
|
{{ '| gzip -c ' if postgres_dump_name.endswith('.gz') else '' }}
|
|
|
@ -131,7 +131,7 @@
|
|
|
|
--network={{ matrix_docker_network }}
|
|
|
|
--network={{ matrix_docker_network }}
|
|
|
|
--env-file={{ matrix_postgres_base_path }}/env-postgres-psql
|
|
|
|
--env-file={{ matrix_postgres_base_path }}/env-postgres-psql
|
|
|
|
--entrypoint=/bin/sh
|
|
|
|
--entrypoint=/bin/sh
|
|
|
|
-v {{ postgres_dump_dir }}:/in:ro
|
|
|
|
--mount type=bind,src={{ postgres_dump_dir }},dst=/in,ro
|
|
|
|
{{ matrix_postgres_docker_image_latest }}
|
|
|
|
{{ matrix_postgres_docker_image_latest }}
|
|
|
|
-c "cat /in/{{ postgres_dump_name }} |
|
|
|
|
-c "cat /in/{{ postgres_dump_name }} |
|
|
|
|
{{ 'gunzip |' if postgres_dump_name.endswith('.gz') else '' }}
|
|
|
|
{{ 'gunzip |' if postgres_dump_name.endswith('.gz') else '' }}
|
|
|
|