usage: synapse_port_db [-h] [-v] --sqlite-database SQLITE_DATABASE --postgres-config POSTGRES_CONFIG [--curses] [--batch-size BATCH_SIZE] A script to port an existing synapse SQLite database to a new PostgreSQL database. options: -h, --help show this help message and exit -v --sqlite-database SQLITE_DATABASE The snapshot of the SQLite database file. This must not be currently used by a running synapse server --postgres-config POSTGRES_CONFIG The database config file for the PostgreSQL database --curses display a curses based progress UI --batch-size BATCH_SIZE The number of rows to select from the SQLite table each iteration [default=1000]