equal
deleted
inserted
replaced
|
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. |