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

From MikroTik Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:




* 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.
<p>1. Disable dude server.</p>
<p>2. Move existing data dir to new location via winbox or ftp/sftp.</p>
<p>3. Change the data-directory to new path</p>
<p>4. Re-enable the server.</p>




To change where the Dude servers stores it's stuff you need to use following command.
{{ Note | We do not suggest to use data stores 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.}}


<pre> /dude set data-directory=(new_db_path) </pre>




{{ 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
[[Category:Dude]]
[[http://wiki.mikrotik.com/wiki/Manual:System/Disks this ]] wiki article.}}

Latest revision as of 13:11, 23 February 2016

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. Change the data-directory to new path

4. Re-enable the server.


Note: We do not suggest to use data stores 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.