Backup and restore a single list
Hello, I am new to mailman3 . I am looking for the procedure to backup and restore a single mailing list from mailman3. If any one know the procedure or the documentation , please point me
On 6/16/22 23:53, sherin@raidm.com wrote:
Hello, I am new to mailman3 . I am looking for the procedure to backup and restore a single mailing list from mailman3. If any one know the procedure or the documentation , please point me
Unlike Mailman 2.1, Mailman 3 stores all it's list specific data in a database. The database contains data for all lists, so backing up all lists would be a backup procedure for the database which depends on the database manager, i.e., sqlite, MySQL/MariaDB or PostgreSQL.
A procedure to backup/restore a single list would require a script to extract/restore the data for that list from the DB. There is an open issue for this at https://gitlab.com/mailman/postorius/-/issues/13
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark, Which database store the list data and archives. I am using Mailman3 with Hyperkitty. Does the hyperkity store the mails of the list ? I can write a python script to import the data. I am at the end of completion of a fully pyhton based modern hosting control panel ( better than cpanel ) and at the final stage of backup and restore procedure.
Thank you for your help
On 6/17/22 22:08, sherin@raidm.com wrote:
Hi Mark, Which database store the list data and archives. I am using Mailman3 with Hyperkitty. Does the hyperkity store the mails of the list ? I can write a python script to import the data. I am at the end of completion of a fully pyhton based modern hosting control panel ( better than cpanel ) and at the final stage of backup and restore procedure.
Mailman core's database is defined in the database
section of mailman.cfg.
mailman conf -s database
The database for HyperKitty, Postorius, django_mailman3 and other Django
modules is defined in the DATABASES
dictionary in Django's settings.
Normally these define the same database as the tables don't conflict.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hello,
Wondering if there has been any update on this? I would appreciate your advice.
Thank you!
Hello,
This question was asked before, but there was no answer, and it's been over 2 years.
I'm wondering if there is a procedure to restore one mailing list in mm3?
Thank you!
On 11/5/24 09:15, advorkin@cs.princeton.edu wrote:
Hello,
This question was asked before, but there was no answer, and it's been over 2 years.
I'm wondering if there is a procedure to restore one mailing list in mm3?
Currently, this is complicated. It involves multiple database queries to get the relevant information for a single list and restore it.
I have just created https://gitlab.com/mailman/mailman/-/issues/1182 for this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
advorkin@cs.princeton.edu
-
Mark Sapiro
-
sherin@raidm.com