# BACKUP docker exec -i /bin/bash -c "PGPASSWORD= pg_dump --username " > ~/db.sql # RESTORE cat db.sql | docker exec -i psql -U