- this guide adheres to the recommendation of the postgres documentation to use the version of
pg_dumpallfrom the postgres version you're upgrading to, not the old/curent one https://www.postgresql.org/docs/current/upgrading.html#UPGRADING-VIA-PGDUMPALL - shutdown paperless-ngx and postgres
- write a
temp.yamlcompose file:
services:
old:
image: postgres:13
container_name: pg13
volumes: