Module Prestashop

Archive & restore old orders, carts, customers and statistics data

Archive or purge orders, credit slips, carts, vouchers, inactive customers, statistics and logs by age and status. Identical restore, SQL backups, cron. A lighter database and a faster back office.

  • New

Over the years, a PrestaShop database piles up hundreds of thousands of rows that are no longer used day to day: orders older than three years, abandoned carts, expired vouchers, disabled customer accounts, visitor connections, 404 pages, system logs… The result: a slower back office, order and customer lists that take longer to load, sluggish statistics and ever-heavier backups.

EC Archive lets you clean up safely. Pick a data type, set your criteria (older than X days, order statuses, shops, account type…), run a simulation to see exactly what will be affected, then archive. Items are moved, together with all their related data, to compressed archive tables: they disappear from the back office and statistics, but nothing is lost.

Every run creates a traceable batch. At any time you can restore a whole batch, a single item (an order found by its reference, a customer by e-mail) or a selection: data comes back exactly as it was, with the same IDs. The module checks dependencies (an archived customer must be restored before their orders) and cancels any restore in case of conflict, without changing anything.

For data with no historical value (visit statistics, 404 pages, logs), the “Permanent deletion” mode frees up space directly. It is protected by an automatic SQL backup taken just before, restorable in one click.

The module includes a real backup tool: tables of a data type, selected tables, archive tables or the full database, as a downloadable .sql.gz file. Restore works in merge mode (only re-inserts missing rows) or replace mode (back to the exact state of the backup), table by table.

Everything is designed for large databases: batch processing in transactions with a progress bar, no execution timeout, automatic resume of interrupted jobs. A secure cron URL automates regular archiving, purging of old archives and backup rotation.

EC Archive understands the PrestaShop data model: an order is archived with its details, taxes, history, invoices, payments, credit slips, returns, messages and shipments; tables linked by a foreign key are detected automatically and your modules' tables can be added in one click.

The benefits: a lighter database, a faster back office, shorter backups, better control over the personal data you keep, and the peace of mind of being able to restore everything.

Features

  • Archive or delete 15 data types: orders, credit slips, abandoned carts, vouchers, specific prices, customer accounts, customer service threads, customer sessions, visitor connections, orphan guests, page views, 404 pages, internal searches, system logs, e-mail log
  • Custom tables: archive any database table (third-party modules, in-house statistics…) based on a date column
  • Combinable criteria: age in days (based on creation, update or last activity date), order statuses, shops (multistore), account type, expired / used up / disabled vouchers
  • Simulation before running, with item count, affected tables and preview
  • Complete archiving of related data (details, taxes, history, invoices, payments, credit slips, returns, messages, shipments, original cart…)
  • Automatic detection of tables linked by foreign key, and optional module tables (id_order, id_cart, id_customer…)
  • Active data protection: never a customer with orders, never a cart converted into an order, multi-shipping orders always processed together
  • Compressed archive tables in the same database, no data loss
  • Batch processing in SQL transactions, progress bar, can be stopped at any time
  • Batch history with criteria, volumes per table, author and status
  • Restore a whole batch, one item, a selection or all search results, with the same IDs
  • Dependency check and automatic rollback in case of conflict
  • SQL export (.sql.gz) of each batch and permanent purge of archives
  • SQL backups: tables of a data type, selected tables, archive tables or full database
  • Backup restore in merge or replace mode, table by table, with a prior safety backup
  • Automatic backup before each permanent deletion (and optionally before each archiving), configurable retention
  • Import of a .sql / .sql.gz file
  • Token-secured cron job: automatic archiving per type, resume of interrupted jobs, purge of archives after X months
  • Dashboard: database size, volumes per type, heaviest tables, table optimization (OPTIMIZE TABLE)
  • Security: restore and import restricted to SuperAdmins, protected backup and export folders
  • Compatible with PrestaShop 8 and 9, multistore
Tickets services
We intervene as soon as possible

It is sometimes necessary to intervene in an emergency agency to make changes to your Prestashop store. With the intervention ticket, Ether Creation, Prestashop solution expert, is committed to working on your shop during the day.

Installation and / or modification of a module, Adaptation of a theme, correction of graphic bugs, Graphic creation, Creation of an option or a feature, Training in the use of Prestashop, Etc.