문제

I like to know the command to export data from orient db 1.6 and import into 1.7 . The export from 1.6 admin UI and import using command line into 1.7 doesn't seem to work . I like to know the proper sequence . Thank you!!

도움이 되었습니까?

해결책

With OrientDB 1.6:

(1) Open the console with 1.6:

cd $ORIENTDB_HOME/bin ./console.sh

(2) Connect to database and export it:

orientdb> connect plocal:/mydirectory/mydb admin admin

orientdb> export database /temp/mydb

orientdb> exit

(3) Now open the console with 1.7 and:

orientdb> create database plocal:/mydirectory/mydb2 admin admin plocal

orientdb> import database /temp/mydb

By the way once 1.7-rc2 will be ready it will allow to "old" database to get used without export/import.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top