---
name: "prosody-migrator"
section: "8"
platform: "linux"
package: "prosody"
version: "13.0.1-1+deb131u"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/prosody-migrator"
---

# prosody-migrator(8)

Migrate data between Prosody data stores

## NAME

**prosody-migrator** - Migrate data between Prosody data stores

## SYNOPSIS

```
      prosody-migrator [OPTIONS] [SOURCE_STORE DESTINATION_STORE]
```

## DESCRIPTION

**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!**

## OPTIONS

- **--config=FILENAME**

  **Specify an alternative config file to use. The default is** **/etc/prosody/migrator.cfg.lua.**

- ***SOURCE\_STORE***

  **The name of the store (defined in the config file) to migrate data from.** **Defaults to 'input'.**

- ***DESTINATION\_STORE***

  **The name of the store (also defined in the config file) to migrate data to.** **Defaults to 'output'.**

## FILES

- **/etc/prosody/migrator.cfg.lua**

  **The migrator config file.**

## SEE ALSO

**[prosody(8)](/prosody/8.md), [prosodyctl(8)](/prosodyctl/8.md)**

## AUTHOR

**Matthew Wild \<mwild1@gmail.com\>**
