PtokaX forum

PtokaX => Support => Topic started by: theAntagonist on 16 February, 2013, 23:42:52

Title: How to transfer registered users to new version
Post by: theAntagonist on 16 February, 2013, 23:42:52
I'm playing around with the latest version of ptokax (0.5.0.0), and one of the big changes was making the registered user DB a binary file instead of the old XML style.  This is problematic when trying to transition over a hub that's been running on the previous version.  Is there any provided way to convert the old xml user file to the new binary version?
Title: Re: How to transfer registered users to new version
Post by: PPK on 17 February, 2013, 00:27:51
Do you tryed to run PtokaX 0.5.0.0 ? That is all what you need to do to convert xml registered users to binary :P You don't even notice that something changed ;D
Title: Re: How to transfer registered users to new version
Post by: theAntagonist on 17 February, 2013, 01:52:17
Thanks for the reply!  So let me make sure I understand correctly. :)  If I remove the new hub's (0.5.0.0) RegisteredUsers pbx file, and copy my old hub's (0.4.1.2) RegisteredUsers.xml in its place, the new hub will read it and convert it?  I tried renaming the RegisteredUsers.xml to be pbx, but it wouldn't accept it...
Title: Re: How to transfer registered users to new version
Post by: PPK on 17 February, 2013, 02:33:20
Yes when you remove pxb file then regs will be loaded from xml  ;)
Title: Re: How to transfer registered users to new version
Post by: theAntagonist on 17 February, 2013, 02:38:17
Awesome!!  I will try that.  Thank you so much. :)