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
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:


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.
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.
 
 
* 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>
<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>




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

Latest revision as of 11:11, 23 February 2016

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

4. Re-enable the server.


Icon-note.png

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.