Software /
code /
prosody-modules
Changeset
6173:f99f730f2b84
mod_storage_metronome_readonly: Add documentation about how to migrate a MUC domain
author | Link Mauve <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 28 Jan 2025 22:27:35 +0100 |
parents | 6172:983549664bd4 |
children | 6174:877416deacfa |
files | mod_storage_metronome_readonly/README.markdown |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_storage_metronome_readonly/README.markdown Tue Jan 28 21:22:05 2025 +0100 +++ b/mod_storage_metronome_readonly/README.markdown Tue Jan 28 22:27:35 2025 +0100 @@ -31,9 +31,10 @@ storage = "metronome_readonly" data_path = "/var/lib/metronome" -To run the actual migration, run this command: +To run the actual migration, run these two commands (replace `<host>` with the domain you want to migrate): - ./prosodyctl mod_migrate <host> roster,vcard,private,cloud_notify,pep,pep_data-archive,offline-archive,archive-archive,uploads-archive sql + prosodyctl mod_migrate <host> roster,vcard,private,cloud_notify,pep,pep_data-archive,offline-archive,archive-archive,uploads-archive sql + prosodyctl mod_migrate muc.<host> config,persistent,vcard_muc,muc_log-archive sql It will create a file in `/var/lib/metronome/prosody.sqlite`, after which you can change your configuration file to point to it, or alternatively you can