DOKK / manpages / debian 12 / prosody / prosody-migrator.8.en
prosody-migrator(8) prosody-migrator(8)

prosody-migrator - Migrate data between Prosody data stores


prosody-migrator [OPTIONS] [SOURCE_STORE DESTINATION_STORE]

prosody-migrator is used to move data (user accounts, rosters, vcards, etc.) between different data stores. For example this allows you to migrate data from a file-based store to an SQL database, and vice-versa.

Note: the migrator assumes that the destination store is empty. Existing data that conflicts with data in the source store will be overwritten!

Specify an alternative config file to use. The default is /etc/prosody/migrator.cfg.lua.
The name of the store (defined in the config file) to migrate data from. Defaults to 'input'.
The name of the store (also defined in the config file) to migrate data to. Defaults to 'output'.

/etc/prosody/migrator.cfg.lua
The migrator config file.

prosody(8), prosodyctl(8)

Matthew Wild <mwild1@gmail.com>

22 February 2023 Prosody IM