mod_migrate/README: Document the ability to specify multiple comma separated stores to migrate
authorKim Alvefur <zash@zash.se>
Thu, 02 Feb 2017 20:19:37 +0100
changeset 2485 854aaa1f01b2
parent 2484 c98b37d6d86c
child 2486 c96a53b0b820
mod_migrate/README: Document the ability to specify multiple comma separated stores to migrate
mod_migrate/README.markdown
--- 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
 =============