Import, Export, and Drop to a current database:
How To OrientDB Database Export:
How To OrientDB Database Export:
$ cd /opt/orientdb/bin
$ sudo bash console.sh
OrientDB console v.2.2.13 (build 2.2.x@r90d7caa1e4af3fad86594e592c64d c1202558ab1; 2016-11-15 12:04:05+0000) www.orientdb.com Type 'help' to display all the supported commands.Installing extensions for GREMLIN language v.2.6.0orientdb> CONNECT remote:localhost/demo root rootConnecting to database [remote:localhost/demo] with user 'root'...OKorientdb {db=demo}> EXPORT DATABASE /home/manish/demo.gzExporting database DATABASE /home/manish/demo.gz... Started import of database 'plocal:/opt/orientdb/databases/demo' from /tmp/demoexport109189296875394 444demo.gz... ....
How To OrientDB Database Import:
$ cd /opt/orientdb/bin
$ sudo bash console.sh
OrientDB console v.2.2.13 (build 2.2.x@r90d7caa1e4af3fad86594e592c64d c1202558ab1; 2016-11-15 12:04:05+0000) www.orientdb.com Type 'help' to display all the supported commands.Installing extensions for GREMLIN language v.2.6.0orientdb> CONNECT remote:localhost/demo root rootConnecting to database [remote:localhost/demo] with user 'root'...OKorientdb {db=demo}> IMPORT DATABASE /home/manish/demo.gzImporting database DATABASE /home/manish/demo.gz... Started import of database 'plocal:/opt/orientdb/databases/demo' from /tmp/demoimport109189296875394 444demo.gz... ....
How To OrientDB Database Drop:
$ cd /opt/orientdb/bin
$ sudo bash console.sh
OrientDB console v.2.2.13 (build 2.2.x@ r90d7caa1e4af3fad86594e592c64d c1202558ab1; 2016-11-15 12:04:05+0000) www.orientdb.com
Type 'help' to display all the supported commands.
Installing extensions for GREMLIN language v.2.6.0
orientdb> DROP DATABASE remote:localhost/demo root root
Deleted to database sucessfully...OK
Comments
Post a Comment