Community discussions

MikroTik App
 
reymysterio
just joined
Topic Author
Posts: 3
Joined: Mon Sep 19, 2011 11:52 am

Transferin the users from the user manager V 3.22 to 5.5

Mon Sep 19, 2011 10:01 pm

Hi
I would like to transfer the users from the old user manager version to the new one (User manager 4).
I tried to take a backup from winbox 3.22 and transfer it to thewinbox 5.5 but i found.
That the users date will be missed up . so i did not do that?!
Is there any solution for this problem?
Is it applicable if i try to transfer the users one by on?
Can i define a specific date for the remained users? ( for example 2w5d16h ).
Your assistant in this way would be much appreciated.
 
reymysterio
just joined
Topic Author
Posts: 3
Joined: Mon Sep 19, 2011 11:52 am

Re: Transferin the users from the user manager V 3.22 to 5.5

Tue Sep 20, 2011 3:06 pm

help plzzzzzzz :( :( :(

Is it applicable if i try to transfer the users one by on?
Can i define a specific date for the remained users? ( for example 2w5d16h ).
 
imrankosi
Member Candidate
Member Candidate
Posts: 153
Joined: Wed Oct 15, 2008 4:51 pm

Re: Transferin the users from the user manager V 3.22 to 5.5

Mon Sep 26, 2011 4:01 pm

just simply update the verson of mt to the new one 5.5 all your data base will also be updated



d't forget to give karma if i solved your problem
 
User avatar
tgrand
Long time Member
Long time Member
Posts: 667
Joined: Mon Aug 21, 2006 2:57 am
Location: Winnipeg, Manitoba, Canada

Re: Transferin the users from the user manager V 3.22 to 5.5

Tue Oct 04, 2011 7:11 am

That is the worst advise possible!!!
You have obviously NEVER tryed this......


You can attempt this, however, be prepared for hours (possibly days in our case) of adding profiles for each user through the web interface (the only way).
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26322
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Transferin the users from the user manager V 3.22 to 5.5

Tue Oct 04, 2011 11:22 am

if you simply upgrade user manager from v3 to v5, the user database will be kept, but they will not have profiles assigned, and they will all be disabled. this is due to new approach in user manager, previously you had credits, now you have profiles.
 
Percanta
newbie
Posts: 39
Joined: Tue Feb 24, 2009 1:00 am

Re: Transferin the users from the user manager V 3.22 to 5.5

Fri Nov 18, 2011 3:54 pm

I made this short script trying to reduce efforts of migration

:global nam;
:global pass;
:global loc;
:global firstnam;
/too u u
:foreach e in=[find] do={:set nam [get $e name]; :set pass [get $e password]; :set loc [get $e location]; :set firstnam [get $e first-name]; remove $e; ad copy-from=TEMPLATE name=$nam password=$pass location=$loc first-name=$firstnam; };

you need create a TEMPLATE user with assigned profile (another user did this great workaround), if you need you can add more parameters as last name, phone ... etc

step by step since old db um.rsc, remember pool-name and rate-limit parameter isnt anymore (profile has that now), so it must be erased before /too u u set [fin] pool-name=""; /too u u set [find] rate-limit=""

1) in notepad replace "subscriber" by "customer", save it

2)now on box with new um, run or paste oldum.rsc to add all users

3)now run this script

4)now u'll have all users with profile

as fact if you need different profiles you can do it having more template user and using [find] in the script as you consider

Who is online

Users browsing this forum: No registered users and 9 guests