Changeset

2481:854aaa1f01b2

mod_migrate/README: Document the ability to specify multiple comma separated stores to migrate
author Kim Alvefur <zash@zash.se>
date Thu, 02 Feb 2017 20:19:37 +0100
parents 2480:c98b37d6d86c
children 2482:c96a53b0b820
files mod_migrate/README.markdown
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mod_migrate/README.markdown	Tue Jan 31 17:26:04 2017 +0100
+++ b/mod_migrate/README.markdown	Thu Feb 02 20:19:37 2017 +0100
@@ -15,7 +15,8 @@
 
 `<source-store>` would be e.g. `accounts` or `private`. To migrate
 archives, the optional suffix `<store-type>` would be set to `archive`,
-so e.g. `archive2-archive` or `muc_log-archive`.
+so e.g. `archive2-archive` or `muc_log-archive`. Multiple stores can be
+given if separated by commas.
 
 `<target-driver>` is the storage driver to copy data to, sans the
 `mod_storage_` prefix.
@@ -36,9 +37,9 @@
 Examples
 ========
 
-    for store in accounts roster private blocklist vcard archive2-archive; do
-      prosodyctl migrate example.com $store sql
-    done
+``` sh
+prosodyctl migrate example.com accounts,roster,private,vcard sql
+```
 
 Compatibility
 =============