Community discussions

MikroTik App
 
Premier
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Mon Jul 19, 2010 8:52 pm

Transferring database

Wed Nov 10, 2010 10:50 am

Hi, up to now I have been running UserManager on a RB450. It started out as a test, but soon ended up been production.
Now I am trying to transfer the Usermanager database from the rb450 on to a proper x86 machine.

When I do
/tool user-manager save

....it is unable to finish but creates a file. When I ftp ths file to the donor box it tells me the file is broken.

What could be wrong?
 
Premier
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Mon Jul 19, 2010 8:52 pm

Re: Transferring database

Thu Nov 11, 2010 12:35 pm

Almost 20,000 subscribers on this forum and not one single reply so far?
Do the Mikrotik software guys not use this forum?
 
gzohop
newbie
Posts: 39
Joined: Sat May 29, 2010 10:54 pm

Re: Transferring database

Fri Nov 12, 2010 7:41 pm

Often it seems so..

Give some more info on the config how big is the date base?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Transferring database

Fri Nov 12, 2010 8:23 pm

Do the Mikrotik software guys not use this forum?
This forum is a community forum, and not an official support venue. Mikrotik staff may or may not read or respond to any of the posts. If you need to contact Mikrotik directly email support@mikrotik.com.
 
Premier
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Mon Jul 19, 2010 8:52 pm

Re: Transferring database

Sat Nov 13, 2010 2:47 am

Often it seems so..

Give some more info on the config how big is the date base?
Thanks for your reply. It seems my problem is that there is not enough space on the rb450 to create the file. I only have 50 users on it.
I think if I can clear all the logs I should be fine, but that part is proving slow.
I am issuing the command

/tool user-manager log remove
numbers: 1-10000

I am also doing it 1000 at a time via http.

Surely there is a quicker way than this? At this stage this also worries me as what is going to happen to my x86 server when all the logs build up on it after months?
 
Premier
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Mon Jul 19, 2010 8:52 pm

Re: Transferring database

Sat Nov 13, 2010 2:51 am

Do the Mikrotik software guys not use this forum?
This forum is a community forum, and not an official support venue. Mikrotik staff may or may not read or respond to any of the posts. If you need to contact Mikrotik directly email support@mikrotik.com.

Yes I have contacted them via support@mikrotik.com but it takes nearly 48 hours to get a reply, and the conversation just seems to go on and on and on with no resolution in sight.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Transferring database

Mon Nov 15, 2010 3:02 pm

User Manager logs could be cleared by,
/tool user-manager log remove [find]

or alternative option by removing them from WEB interface.

If accounting settings are not too important. User Manager users and routers could be transferred by export command,
/tool user-manager router export
/tool user-manager user export.

P.S. support is not working on Saturday/Sunday. Maybe too fast answer is not possible due to difference with timezone.
 
User avatar
bax
Member Candidate
Member Candidate
Posts: 268
Joined: Mon Dec 20, 2004 8:45 pm
Location: Croatia

Re: Transferring database

Thu Nov 25, 2010 8:00 pm

Into your rb450 do: /tool user-manager database save name=userman.umb
then via ftp transfer userman.umb to x86 machine and into x86 do:
/tool user-manager database load name=userman.umb
And that is it :)
 
onowojemma
Member Candidate
Member Candidate
Posts: 129
Joined: Sun Sep 11, 2005 5:27 pm
Location: Nigeria

Re: Transferring database

Mon Jan 31, 2011 12:07 am

hi every one y log is kiilling my server i use RB 1000 and a cfi card now i want to clear the log using
tool user-manager log remove [remove ] sfter 20min i got this massage "failed to find logs: database disk image is malforme" please help me removing them with web is something else.
"
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Transferring database

Mon Jan 31, 2011 12:44 am

Did you try to export the users profiles, reset the UM to defaults and re-import the User profiles?

I am switching from UM v5RC4 to PPP Secrets until MT has a solid UM. I am done testing it and learning it.
 
dssmiktik
Forum Veteran
Forum Veteran
Posts: 732
Joined: Fri Aug 17, 2007 8:42 am

Re: Transferring database

Mon Jan 31, 2011 9:53 am

I am switching from UM v5RC4 to PPP Secrets until MT has a solid UM. I am done testing it and learning it.
I'm waiting as well, I'm still using the "old" version v4. I'm hoping the learning curve for the v5 UM isn't too much when it becomes usable.
 
User avatar
bax
Member Candidate
Member Candidate
Posts: 268
Joined: Mon Dec 20, 2004 8:45 pm
Location: Croatia

Re: Transferring database

Fri Feb 04, 2011 10:14 pm

hi every one y log is kiilling my server i use RB 1000 and a cfi card now i want to clear the log using
tool user-manager log remove [remove ] sfter 20min i got this massage "failed to find logs: database disk image is malforme" please help me removing them with web is something else.
"
Try with this:
/tool user-manager database rebuild

NetworkPro:
My userman in ver 3.x and now with 4.15 is working ok for more than 1 year ... why using beta ?
It is normal to be unstable ...
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: Transferring database

Fri Feb 04, 2011 10:24 pm

I agree.

If I wanted stable - I should have used the stable User Manager in v3 to 4.16.

For a new HotSpot project I would use a stable one.

Thank you.

I do hope MT releases a new v5 UM because I like it. And we need it for our business.

Who is online

Users browsing this forum: No registered users and 16 guests