synapse_port_db
A script to port an existing synapse SQLite database to a new PostgreSQL database.
- Provided by: matrix-synapse (Version: 1.53.0-1)
- Report a bug
A script to port an existing synapse SQLite database to a new PostgreSQL database.
synapse_port_db [-v] --sqlite-database=dbfile --postgres-config=yamlconfig [--curses] [--batch-size=batch-size]
synapse_port_db ports an existing synapse SQLite database to a new PostgreSQL database.
SQLite database is specified with --sqlite-database option and PostgreSQL configuration required to connect to PostgreSQL database is provided using --postgres-config configuration. The configuration is specified in YAML format.
The postgres configuration file must be a valid YAML file with the following options.
Following example illustrates the configuration file format.
database:
name: psycopg2
args:
dbname: synapsedb
user: synapseuser
password: ORohmi9Eet=ohphi
host: localhost
synchronous_commit: false
This man page was written by Sunil Mohan Adapa <sunil@medhas.org> for Debian GNU/Linux distribution.