Skip to Content.
Sympa Menu

en - Re: [sympa-users] Recovering Database from Config Files

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Recovering Database from Config Files
  • Date: Thu, 30 Jan 2020 09:49:20 +0100

Yes !

Just run sympa.pl --sync_list_db. All your lists will be synced to the database.

Regards,

David

On 30/01/2020 00:59, Dave Page wrote:
Hi all,

So this is one of those stupid questions, I expect, but I'm trying to recover a list server from partial backups. I have the list configs from /var/lib/sympa/list_data which gives list names, and they're all at the same domain. However, I don't have a database dump.

Is there a way I can recreate the list_table from this data? That'll at least let me regenerate aliases, and the list owners can do a password reset to gain access to their lists. For most of them they'll know who should be subscribed.

I reckon I could script something from the config files to generate SQL to do this, but I am wondering if there's a better way.

Cheers,
Dave

--
"Mieux vaut viser la perfection et la rater que viser la médiocrité et
l'atteindre."
- Francis Blanche


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page