Import after export all data in OFBiz

397 views Asked by At

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 :-)

2

There are 2 answers

1
David E. Jones On BEST ANSWER

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.

2
Bilgin Ibryam On

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