Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Download and extract the 3.0.35 38 release of OrientDB community edition or later (You can download the 3.0.35 38 release from here.)

Code Block
$ cd /tmp
$ wget https://s3.us-east-2.amazonaws.com/orientdb3/releases/3.0.3538/orientdb-3.0.3538.tar.gz
$ tar xf orientdb-3.0.3538.tar.gz
  • Export your current database using the following steps below. This process may take a while to run depending on the size of your database and the hardware configuration of your server. Make sure you have sufficient disk space and available memory for this operation.

Code Block
$ cd /sysnet/openempi/openempi-3.5.7/data
$ /tmp/orientdb-3.0.3538/bin/console.sh
OrientDB console v.3.0.3538 - Veloce (build b636a4c891bc1b0f93df5bb16ec72dedee7a63e7, branch 3.0.x) https://www.orientdb.com
Type 'help' to display all the supported commands.
orientdb> connect plocal:./person-db openempi openempi

Connecting to database [plocal:./person-db] with user 'openempi'...OK
orientdb {db=person-db}> export database person-db
Database export completed in XXXXXXms
orientdb {db=person-db}> quit

...

Code Block
$ /tmp/orientdb-3.0.3538/bin/console.sh
$ cd /sysnet/openempi/
$ mkdir tmp
$ cd tmp
$ mv /sysnet/openempi/openempi-3.5.7/data/person-db.json.gz .
$ /tmp/orientdb-3.0.3538/bin/console.sh 
Here
OrientDB console v.3.0.3538 - Veloce (build b636a4c891bc1b0f93df5bb16ec72dedee7a63e7, branch 3.0.x) https://www.orientdb.com
Type 'help' to display all the supported commands.
orientdb> create database plocal:./person-db admin admin

Creating database [plocal:./person-db] using the storage type [PLOCAL]...
Database created successfully.

Current database is: plocal:./person-db
orientdb {db=person-db}> import database person-db.json.gz

Database import completed in XXXXX ms
orientdb {db=person-db}> quit

...