Hello,
I have used the Search function but found no similar question.
I have a new Zikula 1.2 site up, and would like to "manually" migrate the users from the Postbuke .764 database to the new zikula 1.2 database. I'm thinking of these steps:
-backup the Zikula DB
-assess wich PN .764 tables contain the user data
-use phpMyAdmin to generate a backup of those tables to SQL
-use a search and replace to change the table prefix
-use phpMyAdmin to put these tables into the Zikula 1.2 database.
Some questions:
Is this feasible at all?
Any special considerations about the admin account?
Will the users passwords stay the same (can they logon using their PN .764 passwords after this?)
For many reasons I would like to take this approach instead of using the provided upgrade script. One reason being: The site is completely changed, and things like categories and group permissions and such I would like to start from scratch with.
Thanks, GC
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Migrate just the database tables containing pn .764 userdetails to Zikula 1.2 database feasible?
-
- Rank: Registered User
- Registered: Dec 23, 2009
- Last visit: Mar 09, 2010
- Posts: 43
-
- Rank: Team Member
- Registered: Feb 27, 2005
- Last visit: Apr 12, 2010
- Posts: 665
This will not work, as the structure of the users table and it's data is different. The migration distribution takes care of this.
You could try something else. This requires some time and is not guaranteed to work, so depending on the importance you could give it a go. This is from the top of my head:
- backup your .764 DB and import it on a separate machine / database / host / whatever environment you can create for yourself.
- download a clean migration distribution for 1.1.2
- in that clean unpacked distribution:
- change the config/config.php to match your dbuname / dbpass / dbname of that backupped .764db
- change the config/config.php to read $...['installed'] = 1
- change the config/config.php to match your dbuname / dbpass / dbname of that backupped .764db
- read the online migration doc…764 -> Zikula 1.1.2
- migrate the database to zikula-1.1.2 compatible version
You should end up with a running core of the migrated database. Then figuring out what tables contain the user data is the next step... Backing Up and importing those have a bigger chance of success. Needless to say, you should test it first on a copy of your current 1.2 site...
I remember that the passwords stay the same, and their storage method gets converted as users login to the new zikula site for the first time, from an old md5 hash to a new sha* hash. However, not sure if a separate config variable is needed for this.
Good luck.
--
-- Teb
-- Dutch Zikula Community
Support questions in a Personal Message will be ignored. Use the forums at all times!
- Moderated by:
- Support
