OrientDB Export Database - OrientDB

What is OrientDB Export Database?

Like RDBMS, OrientDB also provides features like Export and Import the database. OrientDB uses the JSON format to export the data. By default export command is by means of the GZIP algorithm to compress the files.
While exporting a database it is not locking the database, which means you can execute concurrent read and write operations on it. It also means that you can generate an accurate copy of that data because of concurrent read and write operations.
In this episode, you can learn how to export the database from the OrientDB command line.
The subsequent statement is the basic syntax of the Export database command.
Note − You can use this command only after connecting to a particular database.


In this example, we will use the same database named ‘demo’ that we created in the previous chapter. You can use the subsequent command to export the database to a file named ‘export-demo’.
If it is productively executed, it will create a file named ‘export-demo.zip’ or ‘exportdemo.gz’ based on the operating system and you will get the following output.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

OrientDB Topics