Hi Andrey,
Here you are,
"
orientdb {Test}> import database D:\Test.gz -preserveClusterIDs=true
Importing database D:\Test.gz -preserveClusterIDs=true...
Started import of database 'remote:localhost/Test' from D:\Test.gz...
Non merge mode (-merge=false): removing all default non security classes
Removed 0 classes.
Importing database info...OK
Importing clusters...
- Creating cluster 'internal'...OK, assigned id=0
- Creating cluster 'default'...OK, assigned id=3
- Creating cluster 'orole'...OK, assigned id=4
- Creating cluster 'ouser'...OK, assigned id=5
- Creating cluster 'orids'...OK, assigned id=6
- Creating cluster 'ofunction'...OK, assigned id=7
- Creating cluster 'oschedule'...OK, assigned id=8
- Creating cluster '_studio_bookmark'...OK, assigned id=9
- Creating cluster 'user'...OK, assigned id=10
- Creating cluster 'contact'...OK, assigned id=11
- Creating cluster 'emailaddress'...OK, assigned id=12
- Creating cluster 'contactlist'...OK, assigned id=13
- Creating cluster 'listcompany'...OK, assigned id=14
- Creating cluster 'address'...OK, assigned id=15
- Creating cluster 'emailsender'...OK, assigned id=16
- Creating cluster 'customfield'...OK, assigned id=17
- Creating cluster 'fieldtype'...OK, assigned id=18
- Creating cluster 'segment'...OK, assigned id=19
- Creating cluster 'campaignstatistics'...OK, assigned id=20
- Creating cluster 'statistics'...OK, assigned id=21
- Creating cluster 'fieldeditor'...OK, assigned id=22
- Creating cluster 'campaign'...OK, assigned id=23
- Creating cluster 'emailcontent'...OK, assigned id=24
- Creating cluster 'emailcontenttemplate'...OK, assigned id=25
- Creating cluster 'contentcategory'...OK, assigned id=26
- Creating cluster 'links'...OK, assigned id=27
- Creating cluster 'daterange'...OK, assigned id=28
- Creating cluster 'recipientsource'...OK, assigned id=29
- Creating cluster 'server'...OK, assigned id=30
- Creating cluster 'account'...OK, assigned id=31
- Creating cluster 'mailaccount'...OK, assigned id=32
- Creating cluster 'pop3server'...OK, assigned id=33
- Creating cluster 'mailserver'...OK, assigned id=34
- Creating cluster 'smtpserver'...OK, assigned id=35
- Creating cluster 'creditinfo'...OK, assigned id=36
- Creating cluster 'bouncemail'...OK, assigned id=37
- Creating cluster 'task'...OK, assigned id=38
- Creating cluster 'campaigntask'...OK, assigned id=39
- Creating cluster 'campaignmailtask'...OK, assigned id=40
- Creating cluster 'contacttask'...OK, assigned id=41
- Creating cluster 'linkinfo'...OK, assigned id=42
- Creating cluster 'foldertask'...OK, assigned id=43
- Creating cluster 'emailtask'...OK, assigned id=44
- Creating cluster 'bouncemailtask'...OK, assigned id=45
- Creating cluster 'contactaction'...OK, assigned id=46
- Creating cluster 'request'...OK, assigned id=47
- Creating cluster 'auditlog'...OK, assigned id=48
Rebuilding indexes of truncated clusters ...Error on database import
happened just before line 0, column 2573
com.orientechnologies.orient.core.exception.OCommandExecutionException:
Index 'Accounts' not found
at
com.orientechnologies.orient.core.sql.OCommandExecutorSQLRebuildIndex.execute(OCommandExecutorSQLRebuildIndex.java:85)
at
com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:60)
at
com.orientechnologies.orient.core.storage.OStorageEmbedded.executeCommand(OStorageEmbedded.java:94)
at
com.orientechnologies.orient.core.storage.OStorageEmbedded.command(OStorageEmbedded.java:83)
at
com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:59)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1151)
at
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:342)
at
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:169)
at
com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:45)
Error: com.orientechnologies.orient.core.db.tool.ODatabaseExportException:
Error on importing database 'Test' from file: D:\Test.gz
Error:
com.orientechnologies.orient.core.exception.OCommandExecutionException:
Index 'Accounts' not found
"
On Fri, Jun 13, 2014 at 5:23 PM, Andrey Lomakin <[email protected]>
wrote:
> Hi,
> Could you provide full import log ?
>
>
>
> On Fri, Jun 13, 2014 at 1:06 PM, Hung Tran <[email protected]> wrote:
>
>> Hi,
>>
>> Today, i try to export database from test server and import it to my
>> development machine, and I get an error. I don't know how to get it work.
>> Notes, my machine and server are running the same version of Orient DB v1.7.
>>
>> "
>> connect remote:localhost/Test admin admin
>> import database D:\Test.gz -preserveClusterIDs=true
>> ...
>> ....
>> Rebuilding indexes of truncated clusters ...Error on database import
>> happened just before line 0, column 2573
>> com.orientechnologies.orient.core.exception.OCommandExecutionException:
>> Index 'Accounts' not found
>> at
>> com.orientechnologies.orient.core.sql.OCommandExecutorSQLRebuildIndex.execute(OCommandExecutorSQLRebuildIndex.java:85)
>> at
>> com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:60)
>> at
>> com.orientechnologies.orient.core.storage.OStorageEmbedded.executeCommand(OStorageEmbedded.java:94)
>> at
>> com.orientechnologies.orient.core.storage.OStorageEmbedded.command(OStorageEmbedded.java:83)
>> at
>> com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:59)
>> at
>> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1151)
>> at
>> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:342)
>> at
>> com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:169)
>> at
>> com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:45)
>>
>> Error:
>> com.orientechnologies.orient.core.db.tool.ODatabaseExportException: Error
>> on importing database 'Test' from file: D:\Test.gz
>>
>> Error:
>> com.orientechnologies.orient.core.exception.OCommandExecutionException:
>> Index 'Accounts' not found
>> "
>>
>> Any help will be very appreciated!
>>
>> My Best,
>> Hung Tran
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Best regards,
> Andrey Lomakin.
>
> Orient Technologies
> the Company behind OrientDB
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "OrientDB" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/orient-database/H--3WiBX3hY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
Hung Tran
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.