Rong Nguyen
Rong Nguyen

Reputation: 4189

Import after export all data in OFBiz

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

Upvotes: 0

Views: 413

Answers (2)

David E. Jones
David E. Jones

Reputation: 1776

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.

Upvotes: 2

Bilgin Ibryam
Bilgin Ibryam

Reputation: 3395

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

Upvotes: 2

Related Questions