Re: [Setup] Migrating members from one instance to the other

2011-03-16 Thread Taito Horiuchi
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
___
Setup mailing list
Setup@lists.plone.org
https://lists.plone.org/mailman/listinfo/setup


Re: [Setup] Migrating members from one instance to the other

2011-03-13 Thread Laurence Rowe

taito wrote:
 
 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

--
View this message in context: 
http://plone.293351.n2.nabble.com/Migrating-members-from-one-instance-to-the-other-tp6160681p6166094.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
___
Setup mailing list
Setup@lists.plone.org
https://lists.plone.org/mailman/listinfo/setup


[Setup] Migrating members from one instance to the other

2011-03-11 Thread Taito Horiuchi
Hello,

What is the best practice to migrate members from one instance to the
other which are located in the same zope instance?
I need member password and roles to be migrated.

Plone version 2.5.5

Taito
___
Setup mailing list
Setup@lists.plone.org
https://lists.plone.org/mailman/listinfo/setup


Re: [Setup] Migrating members from one instance to the other

2011-03-11 Thread chris
Laurence Rowe wrote:

 taito wrote:
 What is the best practice to migrate members from one instance to the
 other which are located in the same zope instance?
 I need member password and roles to be migrated.
 
 Plone version 2.5.5
 
 
 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.

Anyway, how should I copy  paste? I tried to export/import via ZMI, but 
ended up with all members orphaned in portal_memberdata. How to do it right?



___
Setup mailing list
Setup@lists.plone.org
https://lists.plone.org/mailman/listinfo/setup