Manual:The Dude v6/DB import export: 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 1: Line 1:
{{Versions|v6.34+}}
== Overview ==
== Overview ==


The Dude server package supports database imports current releases as well as from older dude versions: v3 and v4.
The Dude server package supports database backup import from current releases as well as from older the Dude versions: v3 and v4.


== Export ==
Note that database import and export process may take some time depending on how big the dude database on your server is.


<pre>
First v6.34rc builds came with plain import/export command that didn't provide any feedback on how far in the process action is. So be patient, if console throws out time out error that does not mean that import/export process
/dude export-db file=(file_name_path)
has failed.
</pre>


== Import ==
Starting with v6.34rc45 both import and export processes now have added progress bars


To import database upload db file to ROS host and run import command. Note that importing large databases will take some time.
<pre>[admin@MikroTik] > /dude import-db backup-file=dude-backup
  status: importing: 63% complete</pre>


<pre>
=== Up to v6.34rc44 build ===
/dude import-db file=(file_name_path)
 
</pre>
* Export
 
<pre>/dude export-db file=(file_name_path)</pre>
 
* Import
 
<pre>/dude import-db file=(file_name_path)</pre>
 
=== Starting with v6.34rc45 build ===
 
* Export
 
<pre>/dude export-db backup-file=(file_name_path)</pre>
 
* Import
 
<pre>/dude import-db backup-file=(file_name_path)</pre>
 
 
[[Category:Dude]]

Latest revision as of 16:51, 26 January 2016

Applies to RouterOS: v6.34+

Overview

The Dude server package supports database backup import from current releases as well as from older the Dude versions: v3 and v4.

Note that database import and export process may take some time depending on how big the dude database on your server is.

First v6.34rc builds came with plain import/export command that didn't provide any feedback on how far in the process action is. So be patient, if console throws out time out error that does not mean that import/export process has failed.

Starting with v6.34rc45 both import and export processes now have added progress bars

[admin@MikroTik] > /dude import-db backup-file=dude-backup
  status: importing: 63% complete

Up to v6.34rc44 build

  • Export
/dude export-db file=(file_name_path)
  • Import
/dude import-db file=(file_name_path)

Starting with v6.34rc45 build

  • Export
/dude export-db backup-file=(file_name_path)
  • Import
/dude import-db backup-file=(file_name_path)