Software / code / prosody-modules
Comparison
mod_migrate/README.markdown @ 1803:4d73a1a6ba68
Convert all wiki pages to Markdown
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 28 Aug 2015 18:03:58 +0200 |
| parent | 1791:mod_migrate/README.wiki@8df071457dee |
| child | 1812:22b799c7b50a |
comparison
equal
deleted
inserted
replaced
| 1802:0ab737feada6 | 1803:4d73a1a6ba68 |
|---|---|
| 1 --- | |
| 2 labels: | |
| 3 summary: prosodyctl cross storage driver migration tool | |
| 4 ... | |
| 5 | |
| 6 Description | |
| 7 =========== | |
| 8 | |
| 9 This module adds a command to `prosodyctl` for copying data between | |
| 10 storage drivers. | |
| 11 | |
| 12 Usage: | |
| 13 `prosodyctl mod_migrate example.com <source-store> <targer-driver> [users]*` | |
| 14 | |
| 15 `<source-store>` would be e.g. `accounts` or `private` | |
| 16 | |
| 17 `<target-driver>` is the storage driver to copy data to, sans the | |
| 18 `mod_storage_` prefix. | |
| 19 | |
| 20 The process is something like this: | |
| 21 | |
| 22 1. Decide on the future configuration and add this to your prosody | |
| 23 config. | |
| 24 2. With Prosody shut down, run | |
| 25 `prosodyctl mod_migrate example.com accounts sql` | |
| 26 3. Repeat for each store, substituting 'accounts'. E.g. vcards, | |
| 27 private... | |
| 28 4. Change the `storage` configuration to use the new driver. | |
| 29 5. Start prosody again. |