Subject: Developers of Sympa
List archive
[sympa-dev] Re: Re: questions about subscriber import, export, deletion
- From: Olivier Salaün - CRU <address@concealed>
- To: Peter Farmer <address@concealed>
- Cc: address@concealed
- Subject: [sympa-dev] Re: Re: questions about subscriber import, export, deletion
- Date: Tue, 21 Nov 2006 09:47:11 +0100
|
Please submit an official feature request for the --load-subscribers
feature and either mention the additional fields issue or provide a
patch : https://sourcesup.cru.fr/tracker/?group_id=23 Note that exporting the user password is out of the scope for --dump. Thanks. Peter Farmer wrote: Thanks Olivier, On Monday 20 November 2006 8:35 pm, Olivier Salaün - CRU wrote:
this is a problem for me - I need to be able to dump & restore this info too. I can write my own script I guess - is there any plan to supply this functionality via sympa.pl or wwwsympa ?
Thats what I did. It needs a few tweaks 8-). For the record, to fix this program you need to add "use List;" to load the List module, and replace the direct DBI connection code in with &List:db_connect() || die "Cant connect to database" ; my $dbh = &List::db_get_handler(); It then happily slurps in the dumped database. OR transfer list members as follows : 1. dump address@concealed 2. copy subscribers.db.dump on new.server as ~sympa/expl/myList/subscribers 3. edit list config and set 'user_data_source' to 'file' 4. change this parameter to 'include2' from the admin web interface. It will automatically load list members from the subscribers file to the database. Of course this process is not well adapted to bulk processing for many lists. Neither load_subscribers.pl or the --import option allows db_additional_user_fields to be restored to the database. Obviously this is because the --dump option doesn't export them. It would be very useful if the upcoming sympa.pl dumps the additional user fields and imports them if the current config file enumerates them . I am adding this feature to my own installation, and will at some point submit the changes if someone has not already done something similar ...
My apologies - there is some documentation re format - in section 8.5. It would be a good idea to duplicate that info or link to from the running sympa section (4.1) where the --import command is introduced. Regards, Peter Farmer |
-
[sympa-dev] questions about subscriber import, export, deletion,
Peter Farmer, 11/20/2006
-
[sympa-dev] Re: questions about subscriber import, export, deletion,
Olivier Salaün - CRU, 11/20/2006
-
[sympa-dev] Re: Re: questions about subscriber import, export, deletion,
Peter Farmer, 11/21/2006
- [sympa-dev] Re: Re: questions about subscriber import, export, deletion, Olivier Salaün - CRU, 11/21/2006
-
[sympa-dev] Re: Re: questions about subscriber import, export, deletion,
Peter Farmer, 11/21/2006
-
[sympa-dev] Re: questions about subscriber import, export, deletion,
Olivier Salaün - CRU, 11/20/2006
Archive powered by MHonArc 2.6.19+.