On 7/30/21 3:48 PM, Mark Sapiro wrote:
Is there a way that I can "dump" the configuration from an existing mailman3 server, and "import" it into a new instance? I'd really like to avoid re-doing all of the configuration, etc, as there are quite a few lists and everything is set up pretty much the way I want it.
If you use the same database manager it should be no problem to get a dump of the existing Mailman database to load into the new instance, or if these are on the same server, just point the new instance to the existing database. In either case, the database should be loaded and the Django commands
migrate
, collectstatic,
compressand
compilemessages` run[1] before starting Mailman services. Mailman core will run any necessary updates to its database upon startup.You may also need to rebuild the HyperKitty search index with the
update_index
Django command, but you may be able to use the existing one if the search engine is the same.[1] See https://docs.mailman3.org/en/latest/install/virtualenv.html?highlight=collec... et seq.
Understood. I am not at all fluent in django interactions (I'm still not entirely sure of what django actually *is*) so I have some reading to do. Any pointers on "django wrangling for n00bs" would be great. As I mentioned, I've not been hacking on mm3, just using it. I'm an accomplished programmer, but embedded C and assembler are a few galaxies away from python and web services!
-Dave
-- Dave McGuire, AK4HZ New Kensington, PA