cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Minimum data set for Hybris

0 Kudos
273

Hello,

we want to create a minimum data set for our test environment out of an already populated DB, it can be either from a production environment or another test environment.

We need something that has just few products, customers, etc.. so we can restore a test environment from fresh data.

What's the best way to accomplish this?

The DB is on RDS MySQL on AWS.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

adiputera
Active Participant
0 Kudos

You can use impex export. You can combine it with flexible search to fetch only some data

for example:

INSERT_UPDATE Product;code[unique=true];
"#% impex.exportItemsFlexibleSearch(""select {pk} from {product} where {coode} is not null"");"

After then you can re-import it in other environment