mod_storage_xmlarchive/README.markdown
changeset 2819 d48d4d9ccae7
parent 2363 33e85070dc60
child 2821 f052b62c653c
equal deleted inserted replaced
2818:1ffbd73c54ba 2819:d48d4d9ccae7
    43   ------ ---------------
    43   ------ ---------------
    44   0.10   Works
    44   0.10   Works
    45   0.9    Should work
    45   0.9    Should work
    46   0.8    Does not work
    46   0.8    Does not work
    47   ------ ---------------
    47   ------ ---------------
       
    48 
       
    49 Conversion to or from internal storage
       
    50 --------------------------------------
       
    51 
       
    52 This module stores data in a way that overlaps with the more recent
       
    53 archive support in `mod_storage_internal`, meaning eg [mod\_migrate]
       
    54 will not be able to cleanly convert to or from the `xmlarchive` format.
       
    55 
       
    56 To mitigate this, an migration command has been added to
       
    57 `mod_storage_xmlarchive`:
       
    58 
       
    59 ``` bash
       
    60 prosodyctl mod_storage_xmlarchive convert $DIR internal $STORE $JID
       
    61 ```
       
    62 
       
    63 Where `$DIR` is `to` or `from`, `$STORE` is eg `archive` or `archive2`
       
    64 for MAM and `muc_log` for MUC logs. Finally, `$JID` is the JID of the
       
    65 user or MUC room to me migrated, which can be repeated.