# HG changeset patch # User Kim Alvefur # Date 1486063177 -3600 # Node ID 854aaa1f01b2fb9e29c03859b432c97bb98ebcf4 # Parent c98b37d6d86c6d3c06d4c6fe8aa69ea1b09f3e4a mod_migrate/README: Document the ability to specify multiple comma separated stores to migrate diff -r c98b37d6d86c -r 854aaa1f01b2 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 @@ `` would be e.g. `accounts` or `private`. To migrate archives, the optional suffix `` 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. `` 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 =============