Manual:The Dude v6/MigrationToNewDude: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
Line 39: Line 39:
2. In cli perform db import.
2. In cli perform db import.


<pre> /dude import-db file=(file_name_path) </pre>
<pre> /dude import-db backup-file=(file_name_path) </pre>


{{ Note | Larger DB files will take some time to process. Be patient! }}
{{ Note | Larger DB files will take some time to process. Be patient! }}

Revision as of 10:55, 23 February 2016

Version.png

Applies to RouterOS: v6.34+

Important notice

Icon-warn.png

Warning: New The Dude server package is only made for CCR series, x86 and CHR hosts. It wont be supported on other devices. At least for now.


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.

Icon-note.png

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


Migration-0.jpeg Migration-1.jpeg

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) 
Icon-note.png

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


Icon-note.png

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