Page 1 of 1

Hotspot user configeration

Posted: Tue Aug 10, 2010 6:10 pm
by namo
how can I make a file of the hotspot users and profile setting. I don't want all the routerOS setting. This is useful if I want to move the same users to a new Mikrotik server

Re: Hotspot user configeration

Posted: Tue Aug 10, 2010 6:31 pm
by russk
You can run the export command in the particular section you want to export. For example:
/ip hotspot user export file=users_and_profiles
That command would export /ip hotspot user and /ip hotspot user profile which is beneath /ip hotspot user. Give it a try. It will generate a file called "users_and_profiles.rsc" in this case.

Russell Kaiser

Re: Hotspot user configeration

Posted: Wed Aug 11, 2010 6:22 pm
by namo
You can run the export command in the particular section you want to export. For example:
/ip hotspot user export file=users_and_profiles
That command would export /ip hotspot user and /ip hotspot user profile which is beneath /ip hotspot user. Give it a try. It will generate a file called "users_and_profiles.rsc" in this case.

Russell Kaiser
what the command to import the files?
Is it "/ip hotspot user import file=users_and_profiles" ?

Re: Hotspot user configeration

Posted: Wed Aug 11, 2010 6:36 pm
by fewi
It's "/import file-name=whatever", it'll automatically put it in the right section. You can also just open the file in a text editor and copy and paste it in.

http://wiki.mikrotik.com/wiki/Manual:Co ... figuration
Importing Configuration

Command name: /import

The root level command /import [file_name] executes a script, stored in the specified file adds the configuration from the specified file to the existing setup.