comparison 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
comparison
equal deleted inserted replaced
5740:100110d539d3 5741:5232d12eb74d
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