Migrations and backups
The Migrations or Backups tab exports the whole store to one file and imports it back, to keep a backup or to move the data to another OpenCart store.
What it is for
A backup is one file with the data of the store, to restore later. A migration is the same file, adapted to the OpenCart version of the destination store. This tab works with complete database tables, unlike profiles, which work with the columns you choose.
Export
The first block is EXPORT: Export all store data.
| Setting | What it does |
|---|---|
| Select profile | Loads a migration profile saved before. Optional. |
| Destination | This is a backup, not a migration. keeps the data as it is. The other options adapt the data to the OpenCart version of the destination store: Opencart 1.5.x, Opencart 2.x, Opencart 3.x, Opencart 4.x or Opencart 4.1+. The versions offered depend on the OpenCart version you export from. |
| Format | .xlsx, .xls, .ods or .xml. |
| Select all categories | Switches every data group on or off. |
| Data groups | One switch per group of tables: products, categories, attributes, options, filters, manufacturers, customers, customer groups, addresses, orders, coupons, vouchers, returns, reviews, information pages, banners, layouts, SEO URLs, stores, taxes, zones, countries, currencies, languages, stock statuses, weight and length classes, downloads, and the profiles of Import Export PRO, among others. |
| Launch export process | Starts the export. Select at least one group first. |
The file is named Migration-Export- followed by the date and time. For stores with many orders, the .ods and .xml formats process orders in batches to keep memory use low.
Saving a migration profile
To repeat the same export, or to schedule it:
- Choose destination, format and data groups.
- Type a Profile Name and press Save Migration Profile.
The profile appears in the lists of profiles with the prefix Migration Export. A saved migration profile writes its file to the folder iepro/backups inside the root of your store, so it can run without a browser: add it to the CRON Jobs tab to get an automatic backup. See CRON jobs.
Each run creates a new file, so delete the old ones from time to time.
Import
The second block is IMPORT: Import file from another Opencart store or restore a full backup.
- Press Upload file and choose the file exported from the other store or from your backup. Accepted formats:
.xlsx,.xls,.odsand.xml. Do not change the structure of the file. - Read the link IMPORTANT: CLICK HERE BEFORE LAUNCHING THE IMPORT PROCESS.
- Press Launch import process.
- The progress window shows each table and its counter, and ends with Import finished successfully!
File already on server (OpenCart 4)
For files too big to upload from the browser, on OpenCart 4:
- Upload the file by FTP to the folder
ie_proin the root of your store. - Switch on File already on server.
- Type its name in Server filename, for example
Migration-Export.xml. - Press Launch import process.
Migrating step by step
- Install Import Export PRO in both stores and validate the licence in each. See Licence and activation for a second domain.
- In the old store, export with Destination set to the version of the new store.
- In the new store, make a backup, then import the file.
- Copy the
imagefolder of the old store to the new one by FTP. The file carries data, not image files.
If you migrate from OpenCart 1.5.x to 2.x or 3.x and a language warning appears at the end, go to System → Localisation → Languages, edit each language and press Save.
Still need help?
Open a support ticket from your account and our team will look at your store with you.