diff mod_storage_xmlarchive/README.markdown @ 5740:100110d539d3

mod_storage_xmlarchive: Migrate all users/rooms if no JID argument given
author Kim Alvefur <zash@zash.se>
date Tue, 28 Nov 2023 19:48:34 +0100
parents 591c643d55b2
children 5232d12eb74d
line wrap: on
line diff
--- a/mod_storage_xmlarchive/README.markdown	Mon Nov 27 17:16:15 2023 +0100
+++ b/mod_storage_xmlarchive/README.markdown	Tue Nov 28 19:48:34 2023 +0100
@@ -63,12 +63,13 @@
 `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 the JID of the
-user or MUC room to be migrated, which can be repeated.
+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.
 
 ::: {.alert .alert-danger}
 Since this is a destructive command, don't forget to backup your data