Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9f21a620
authored
Jun 14, 2017
by
Avi Junowicz
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Export and Import OrientDB database
parent
bf1783f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
common/docs/Export_Import_OrientDB.txt
common/docs/Export_Import_OrientDB.txt
0 → 100644
View file @
9f21a620
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment