I am having difficulty doing a simple use case with Orientdb and teleporter
Stack:
OS: Windows 10 / Java: v8 / Orientdb: 2.2 beta2 / Teleporter: 1.0.0 / Database: MS SQL Express 2014
Setup:
Created new oteleporter_graphdb.bat
oteleporter.bat -jdriver sqlserver -jurl jdbc:sqlserver://:54963;instance:SQL2014;databaseName:graphdb -juser sa -jpasswd -ourl plocal:$ORIENTDB_HOME/databases/graphdb -s naive -nr java -v 2
Test Case:
This test case read the db and created warnings for table’s part of sql metadata but Country & Province were not part of it.
Modify oteleporter_graph.bat to include both Country and Province table
oteleporter.bat -jdriver sqlserver -jurl jdbc:sqlserver://:54963;instance:SQL2014;databaseName:graphdb -juser sa -jpasswd -ourl plocal:$ORIENTDB_HOME/databases/graphdb -s naive -nr java -v 2 –include Country,Province
This test aborted!
Modify oteleporter_graph.bat to include only Country table.
oteleporter.bat -jdriver sqlserver -jurl jdbc:sqlserver://:54963;instance:SQL2014;databaseName:graphdb -juser sa -jpasswd -ourl plocal:$ORIENTDB_HOME/databases/graphdb -s naive -nr java -v 2 –include Country
This test case ran without any error but didn’t read any table from the database nor output anything out.
Questions:
Thanks in advance
I'll try to answer your questions in order.
orientdb-teleporter-1.0.0.jar
in your ORIENTDB_HOME/plugins
path.oteleporter.bat
and oteleporter.sh
scripts in your ORIENTDB_HOME/bin
path and launch them from that location with the expected arguments.-include <tableName1>,<tableName2>,...,<tableNameX>
but if you are running Teleporter on Windows probably you need to add quotes to the last argument, so try with:
–include "Country,Province"
If you have any doubt you can refer to official page, documentation and blog posts here:
http://orientdb.com/orientdb-labs/teleporter/ (Official Teleporter Page)
https://github.com/orientechnologies/orientdb-labs/blob/master/Teleporter-Index.md (Official Documentaion)
http://orientdb.com/orientdb-teleporter-making-migrations-easier/ (Blog Post: OrientDB Teleporter - Making Migrations Easier (Part 1) )
http://orientdb.com/orientdb-teleporter-making-migrations-easier-part-2/ (Blog Post: OrientDB Teleporter - Making Migrations Easier (Part 2) )