Mercurial > prosody-modules
comparison mod_migrate/README.wiki @ 1791:8df071457dee
mod_migrate: Provides a prosodyctl mod_migrate command for copying data between storage backends
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 26 Aug 2015 18:03:31 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1790:4c2146f5bf39 | 1791:8df071457dee |
---|---|
1 #summary prosodyctl cross storage driver migration tool | |
2 | |
3 = Description = | |
4 | |
5 This module adds a command to `prosodyctl` for copying data between storage drivers. | |
6 | |
7 Usage: {{{prosodyctl mod_migrate example.com <source-store> <targer-driver> [users]*}}} | |
8 | |
9 `<source-store>` would be e.g. `accounts` or `private` | |
10 | |
11 `<target-driver>` is the storage driver to copy data to, sans the `mod_storage_` prefix. | |
12 | |
13 The process is something like this: | |
14 | |
15 1. Decide on the future configuration and add this to your prosody config. | |
16 2. With Prosody shut down, run `prosodyctl mod_migrate example.com accounts sql` | |
17 3. Repeat for each store, substituting 'accounts'. E.g. vcards, private... | |
18 4. Change the `storage` configuration to use the new driver. | |
19 5. Start prosody again. |