How to migrate Django from SQLite to PostgreSQL Dump existing data: python3 manage.py dumpdata > datadump.json Change settings.py to Postgres backend. Make sure you can connect on PostgreSQL. Then: