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
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” ?
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:Configuration_Management#Importing_Configuration
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.