Difference between revisions of "Manual:The Dude v6/Change DB path"

From MikroTik Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Versions|v6.34+}}
{{Versions|v6.34+}}


{{Versions|v6.34+}}
== Database path change ==
== Database path change ==


Line 6: Line 7:




* To change where the Dude servers stores it's stuff you need to use following command.


<pre> /dude set data-directory=(new_db_path) </pre>
<br >
* To move already existing dude data dir to new path.


To change where the Dude servers stores it's stuff you need to use following command.
<p>1. Disable dude server.</p>
 
<p>2. Move existing data dir to new location via winbox or ftp/sftp.</p>
<pre> /dude set data-directory=(new_db_path) </pre>
<p>3. Re-enable the server.</p>




{{ Note | We do not suggest to using flashes/disks that are formatted with FAT32 file-system, better before use re-format it as EXT3. For more details on how to do that consult  
{{ Note | We do not suggest to using usb flash or usb HDD/SSD that are formatted with FAT32 file-system, better before use re-format it as EXT3. For more details on how to do that consult  
[[http://wiki.mikrotik.com/wiki/Manual:System/Disks this ]] wiki article.}}
[[http://wiki.mikrotik.com/wiki/Manual:System/Disks this ]] wiki article.}}



Revision as of 11:09, 23 February 2016

Version.png

Applies to RouterOS: v6.34+

Version.png

Applies to RouterOS: v6.34+

Database path change

If you do not wish for The Dude server to use your on-board flash memory you can specify data path in which server should keep all relevant data.


  • To change where the Dude servers stores it's stuff you need to use following command.
 /dude set data-directory=(new_db_path) 


  • To move already existing dude data dir to new path.

1. Disable dude server.

2. Move existing data dir to new location via winbox or ftp/sftp.

3. Re-enable the server.


Icon-note.png

Note: We do not suggest to using usb flash or usb HDD/SSD that are formatted with FAT32 file-system, better before use re-format it as EXT3. For more details on how to do that consult [this ] wiki article.