https://www.postgresqltutorial.com/postgresql-backup-database/
docker exec -t your-db-container pg_dump -U strapi -W -F t database-name > mypostgres_strapi_`date +%d-%m-%Y"_"%H_%M_%S`.sql
docker exec -t your-db-container pg_dumpall -c -U postgres > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql
docker exec -it ubuntu_postgres_1 psql -U strapi
docker exec -it ubuntu_postgres_1 psql -U strapi postgres
\l
\dt
\q
docker exec -it ubuntu_postgres_1 dropdb -U strapi strapi
https://www.postgresqltutorial.com/postgresql-restore-database/
docker exec -it ubuntu_postgres_1 createdb -U strapi strapi
cat dump_strapidb.sql | docker exec -i ubuntu_postgres_1 psql -U strapi