After setup for new ecommerce business, I would like to export all data, and stored as seed-ext data.

Now, I setup new ofbiz instance, and run ant task load-extseed to load previous ext seed data, but many errors occured which caused by key in database.

My question is "Is there any ways to import data after export all data"?

Thank for any comments, ideas or answers :-)

有帮助吗?

解决方案

To resolve FK errors in loaded data you have a couple options:

  1. change the files to reorder the data to satisfy dependencies
  2. use the dummy FKs option Bilgin mentioned

The dummy FKs option can also be done on the command line with "createfks=true". If you are using the ant target you may need to modify it to add this argument.

其他提示

You can try importing the data from webtools data import page. Use "Create Dummy FKs" option

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top