VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: EvanGR on August 06, 2020, 14:38:37 PM

Title: Faster way to export products with SQL?
Post by: EvanGR on August 06, 2020, 14:38:37 PM
The goal:
Export products from selected categories, in SQL format.
We want all the related tables that describe those products, and only containing the wanted products.

How I would do it (the hard way):
Perform a SELECT statement on each table, to gather the wanted products, and export the results. One table at a time.

Is there a better way?

Thank you

PS. Yes, it has to be SQL data. For the fastest transfers between development-->production sites.

Thanks
Title: Re: Faster way to export products with SQL?
Post by: pinochico on August 06, 2020, 20:00:39 PM
QuoteFor the fastest transfers between development-->production sites.

We use

1. component Jmigrator
or
2. own script for transfer increments only

QuoteIs there a better way?

No, use custom mysql scripts or custom php scripts only for increments from old production to develop version and then new production.

If we create update eshop from VM2, then sure use JMigrator.
After first migration we can connect to production mysql again (in mysql are history for imports) and import only increments.