[Setup] Migrating members from one instance to the other

Taito Horiuchi taito.horiuchi at gmail.com
Wed Mar 16 12:54:28 UTC 2011


Thanks Laurence.

Actually your link did not solve my problem but I found that the
member password can be found protected in:

acl_users.source_users._user_passwords

Then those password can be added to the other plone instance with:

acl_users.source_users.addUser(member_id, member_id, password)

Taito

>>> Copying and pasting acl_users between the instances should do the right
>>> thing, but you'll need to test it to be sure. Member properties (full
>>> name,
>>> email address, etc) are stored in portal_memberdata not in acl_users, so
>>> you
>>> might want to copy and paste that too.
>>
>> Thanks for the advice.
>>
>> Well, actually one instance already has its own members and the other
>> also has other members.
>> So copy and paste portal_memberdata and acl_users does not solve this
>> issue.
>>
>> I should have said that how I can merge members between two plone
>> instances.
>>
>> Is password stored under acl_users since it could not be fetched from
>> portal_memberdata?
>>
>> If I can manage to merge members (maybe users?) then I can relate
>> memberdata based on member ids later on.
>>
>
> In that case I suggest exporting both sets of members to csv, working out
> which need to be merged and re-importing. See:
> http://plone.org/documentation/kb/export-member-data-to-csv and
> http://plone.org/documentation/kb/batch-adding-users for inspiration.
>
> Laurence


More information about the Setup mailing list