Manual:The Dude v6/MigrationToNewDude

From MikroTik Wiki
Revision as of 06:02, 19 July 2019 by Elans (talk | contribs)
Jump to navigation Jump to search

Applies to RouterOS: v6.34+


Exporting databases from old your old Dude servers

Log into your current The dude server with v4.0beta3 or v3.6 application. Click on Export button in upper left window corner and save your database. Depending on your dude version you will get .tgz or .xml file.

Note: If you have problems exporting dude database try moving/deleting log files in the Dude installation directory and repeat export process after that.


Prepare / Install new The Dude Server and Client

Client:

  • Old Dude client should be uninstalled before installing new version client.

Server:

  • Upgrade host to ROS v6.34rcXX or newer version if available.
  • Upload dude package and reboot the device.
  • After the host has started up again, check if The Dude server is running with command: "/dude print". By default it will be disabled and you will need to enable it.
/dude set enabled=(yes/no)
[admin@MikroTik] > /dude print 
         enabled: yes
  data-directory: dude
  • If you wish to change the Dude data directory, you can do it with the command: "/dude set data-directory=(path)"

Import DB into new dude server

1. Upload the backup file to ROS host on which you installed dude package via winbox, webfig or ftp.

2. In cli perform db import.

 /dude import-db backup-file=(file_name_path) 

Note: Larger DB files will take some time to process. Be patient!


Note: It is no longer possible to perform this action from client application, only option is to do it from server host.


Connect to new the Dude server with new Client application