comparison 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
comparison
equal deleted inserted replaced
5739:7e6bf0a5aef2 5740:100110d539d3
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 the JID of the 70 for MAM and `muc_log` for MUC logs. Finally, `$JID` is one or more JID
71 user or MUC room to be migrated, which can be repeated. 71 of the users or MUC rooms to be migrated. If omitted, all users/rooms
72 are migrated.
72 73
73 ::: {.alert .alert-danger} 74 ::: {.alert .alert-danger}
74 Since this is a destructive command, don't forget to backup your data 75 Since this is a destructive command, don't forget to backup your data
75 first. 76 first.
76 77