SYNAPSE_PORT_DB(1) | General Commands Manual | SYNAPSE_PORT_DB(1) |
synapse_port_db - 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.
synctl(1), synapse_hash_password(1), synapse_register_new_matrix_user(1)
March 2022 |