import21 detailed usage instructions in 2024
 
             1 Soon, I will be executing the first test imports fromMailman2.1 to Mailman3.9.
 2 Planning to copy over the entire production Mailman2.1 to a newdirectory structure on the Mailman 3.9 machine.
 3 Expecting that all .mbox and .pkl files will be present and nospecial work has to be done to bring them over will a "full" mailman2.1 copy.
 4 Can the import21 program find the mailman2.1 .mbox and .pklfiles on its own and process them?
 5 Other than the mailman2.1 instance being shut down, any otherprep that needs to be done?
 6 Any special command line parameters to be aware of for import21?
 7 Is there a list of troubleshooting steps for commonlyencountered migration issues?
Thanks.
------------------ Keith
 
            On 6/2/24 4:28 PM, Keith Christian wrote:
1 Soon, I will be executing the first test imports fromMailman2.1 to Mailman3.9.
2 Planning to copy over the entire production Mailman2.1 to a newdirectory structure on the Mailman 3.9 machine.
3 Expecting that all .mbox and .pkl files will be present and nospecial work has to be done to bring them over will a "full" mailman2.1 copy.
That's correct.
4 Can the import21 program find the mailman2.1 .mbox and .pklfiles on its own and process them?
No. mailman import21 needs to be given the path to the config.pck to
import and hyperkitty_import needs to be given the path to the .mbox.
5 Other than the mailman2.1 instance being shut down, any otherprep that needs to be done?
Ideally there are no held messages or other moderator requests for the MM 2.1 list, i.e. deal with these before shutting down the list.
If there is a MM 2.1 digest.mbox it needs to be moved and converted for MM 3
I have attached a bash script I use on mail.python.org to migrate lists. Paths and some other things are specific to that installation, but you may find it useful. It calls a move_digest script which I've also attached
6 Any special command line parameters to be aware of for import21?
Usage: mailman import21 [OPTIONS] LISTSPEC PICKLE_FILE
Import Mailman 2.1 list data.  Requires the fully-qualified name of the list to import and the path to the Mailman 2.1 pickle file.
Options: -c, --charset TEXT Specify the encoding of strings in PICKLE_FILE if not utf-8 or a subset thereof. This will normally be the Mailman 2.1 charset of the list's preferred_language. -h, --help Show this message and exit.
7 Is there a list of troubleshooting steps for commonlyencountered migration issues?
Not that I'm aware of.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
- 
                 Keith Christian Keith Christian
- 
                 Mark Sapiro Mark Sapiro