equal
deleted
inserted
replaced
61 |
61 |
62 To mitigate this, an migration command has been added to |
62 To mitigate this, an migration command has been added to |
63 `mod_storage_xmlarchive`: |
63 `mod_storage_xmlarchive`: |
64 |
64 |
65 ``` bash |
65 ``` bash |
66 prosodyctl mod_storage_xmlarchive convert $DIR internal $STORE [$JID] |
66 prosodyctl mod_storage_xmlarchive convert $DIR internal $STORE $JID+ |
67 ``` |
67 ``` |
68 |
68 |
69 Where `$DIR` is `to` or `from`, `$STORE` is e.g. `archive` or `archive2` |
69 Where `$DIR` is `to` or `from`, `$STORE` is e.g. `archive` or `archive2` |
70 for MAM and `muc_log` for MUC logs. Finally, `$JID` is one or more JID |
70 for MAM and `muc_log` for MUC logs. Finally, `$JID` is one or more JID |
71 of the users or MUC rooms to be migrated. If omitted, all users/rooms |
71 of the users or MUC rooms to be migrated. |
72 are migrated. |
72 |
|
73 To migrate all users/rooms on a particular host, pass a bare hostname. |
73 |
74 |
74 ::: {.alert .alert-danger} |
75 ::: {.alert .alert-danger} |
75 Since this is a destructive command, don't forget to backup your data |
76 Since this is a destructive command, don't forget to backup your data |
76 first. |
77 first. |
77 |
78 |