Mercurial > prosody-modules
diff mod_storage_xmlarchive/README.markdown @ 5741:5232d12eb74d
mod_storage_xmlarchive: Pass hostname to converter for converting all users
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 28 Nov 2023 19:55:43 +0100 |
parents | 100110d539d3 |
children |
line wrap: on
line diff
--- a/mod_storage_xmlarchive/README.markdown Tue Nov 28 19:48:34 2023 +0100 +++ b/mod_storage_xmlarchive/README.markdown Tue Nov 28 19:55:43 2023 +0100 @@ -63,13 +63,14 @@ `mod_storage_xmlarchive`: ``` bash -prosodyctl mod_storage_xmlarchive convert $DIR internal $STORE [$JID] +prosodyctl mod_storage_xmlarchive convert $DIR internal $STORE $JID+ ``` Where `$DIR` is `to` or `from`, `$STORE` is e.g. `archive` or `archive2` for MAM and `muc_log` for MUC logs. Finally, `$JID` is one or more JID -of the users or MUC rooms to be migrated. If omitted, all users/rooms -are migrated. +of the users or MUC rooms to be migrated. + +To migrate all users/rooms on a particular host, pass a bare hostname. ::: {.alert .alert-danger} Since this is a destructive command, don't forget to backup your data