diff mod_migrate/README.markdown @ 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 cd36e5bf00b3
children e4b04c0c4b15
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
 =============