Commit 9f21a620 by Avi Junowicz

Export and Import OrientDB database

parent bf1783f7
Showing with 31 additions and 0 deletions
Export DB from a work environment:
cd /opt/orientdb/bin ./console.sh
orientdb> CONNECT REMOTE:172.16.1.50/MCX root giptmgr
orientdb> EXPORT DATABASE /root/MCX
Login to the new server:
cd /opt/orientdb/bin ./console.sh
Create new DB via web example 172.16.1.9:2480
orientdb> CONNECT REMOTE:172.16.1.31/MCX root giptmgr
orientdb> IMPORT DATABASE /root/MCX_1.gz -preserveClusterIDs=true
From the web:
CREATE INDEX Entity.lat_lon ON Entity(lat,lon) SPATIAL ENGINE LUCENE
rebuild
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment