Re: [Mailman-Users] List state db is corrupt
On Mon, 2001-10-29 at 23:01, John W Baxter wrote: As I read config_list, it produces Python code which can be exec-ed in order to rebuild the list configuration. Umm.. it looks to me as though config_list dumps some pythonish code that can be read by config_list to set the list parameters *other* than the membership roster. dumpdb dumps the whole list state, but there is no corresponding restore tool, and the format ends up being a little odd (there are 3 membership lists - normal, digest and member options). My wish list item goes beyond that to include the membership, with the various status options for each member. Some sort of extension of bin/list_members Absolutely - the ability to dump the state into a text file and dicker with it appeals to me greatly :-) And the ability to take the snapshot and add the other membership data I can derive from elsewhere and come up with a very current version would be nice. Nigel. -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
Re: [Mailman-Users] List state db is corrupt
On Mon, 2001-10-29 at 15:32, J C Lawrence wrote: Restoring a dumpdb file is a bit of a pain as you end up having to wrap it in a bit of python that mays it look like an object and marshalling that to disk. Not a big pain to be sure, but more pain than you get with configdb. Using configdb gets a dumpt of the DB which can be re-imported by the same tool to re-create to state of the DB. configdb is a separate tool or have I missed something? Nigel. -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
Re: [Mailman-Users] List state db is corrupt
On Mon, 29 Oct 2001 12:29:12 -0800 John W Baxter John wrote: At 11:12 -0800 10/29/2001, Dan Mick wrote: JC means config_list, but I'm missing something; if you just want to back the files up, why don't you just back them up? They don't need to be transmogrified on the way out and back in. I think I'd feel more comfortable with a tool which takes a (non-corrupt) Mailman database and writes it to (tab-delimited? XML?) text for later conversion back. config_list does precisely that. -- J C Lawrence -(*)Satan, oscillate my metallic sonatas. [EMAIL PROTECTED] He lived as a devil, eh? http://www.kanga.nu/~claw/ Evil is a name of a foeman, as I live. -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
Re: [Mailman-Users] List state db is corrupt
On 29 Oct 2001 15:39:50 + Nigel Metheringham [EMAIL PROTECTED] wrote: On Mon, 2001-10-29 at 15:32, J C Lawrence wrote: Restoring a dumpdb file is a bit of a pain as you end up having to wrap it in a bit of python that mays it look like an object and marshalling that to disk. Not a big pain to be sure, but more pain than you get with configdb. Using configdb gets a dumpt of the DB which can be re-imported by the same tool to re-create to state of the DB. configdb is a separate tool or have I missed something? Aorry, try config_list. -- J C Lawrence -(*)Satan, oscillate my metallic sonatas. [EMAIL PROTECTED] He lived as a devil, eh? http://www.kanga.nu/~claw/ Evil is a name of a foeman, as I live. -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users