Database export and import is used to make a copy of a database content in a single file. It can be used to backup a database or to copy a database between computers that do not share file systems.
Exporting a database is done using the eyedbadmin command:
eyedbadmin
database export
{database
} {file
}
Command arguments are:
{database
}
name of database to export
{file
}
file for export (- means export to standard output)
Importing a database is done using the eyedbadmin command:
eyedbadmin
database import
[options...] {database
} {file
}
Options are:
--filedir=directory
specifies the directory that will contains the database files
--mthdir=directory
specifies the directory that will contains the database methods
--list
list only, do not import
Command arguments are:
{database
}
name of database to import
{file
}
file for import (- means import from standard output)