How to Archive Files After Magento 2 Import
In the following article, we describe a resource-saving feature for import-heavy websites. If you regularly receive updates, your storage may be full of data files. The bigger and more frequent your updates are, the more resources are consumed. However, you can dramatically reduce the use of space by adding update files to archives after every Magento 2 import. You will need the Improved Import & Export extension to get the desired functionality. The module offers the Archive file after import feature described below. So, let’s see how to archive all Magento 2 update files after import, and don’t forget to visit our Magento 2 Developer’s Cookbook for other useful tips.
Archive file after import: The Option’s Definition & Impact
Archive file after import does exactly what it says. If enabled, it archives files imported by a direct file upload or from FTP/SFTP, putting it into a ZIP archive after the import process is complete. Thus, the original file is replaced with its compressed version. As we’ve already mentioned, the feature has been introduced to save storage space for import-heavy websites.
How to Import Products & Images Separately to Magento 2
The whole process of importing files to Magento 2 and then archiving them is reduced to a single click. You need to configure an import profile according to your preferences and then turn on the “Archive file after import” feature:
- Hit the “Add New Job” button under System -> Improved Import/Export -> Import Jobs to create a new import profile.
- Next, enable your job and type its title in General Settings. Configure the update frequency for regular data updates (that’s the reason why you need to compress data files).
- Now, you can your import entity on the Import Settings tab. Additional settings display. Configure them according to your import needs.
- Proceed to the Import Source tab, find the “Deferred Import Images” setting, and turn it on.
- Configure other parameters and save your import job.
Now, you can import files to Magento 2 and put them into ZIP archives afterward automatically. For further information on how to import Magento 2 products, follow this link: The Complete Guide to Magento 2 Product Import.
Improved Import & Export Features
Post-import file compression isn’t the sole advantage of Improved Import and Export. The plugin redesigns the platform’s default import and export functions altogether. Let’s see some of its core perks.
Because Magento 2 only accepts CSV files, all other file formats should be converted to CSV automatically. With the Improved Import & Export plugin, you may avoid time-consuming and unpleasant file modifications because it lets you import and export files in CSV, XML, JSON, ODS, and XLSX formats, as well as transmit them as archives, using the extension.
You may access files from a variety of sources, including Google Drive, Dropbox, or URL uploads. Note that only files provided from FTP/SFTP or via direct file uploads can be compressed. And you can eliminate the necessity to use data files with support for Google Sheets. This platform can be used as a source of updates:
You may also avoid using third-party services in data transfers thanks to our module’s extensive API support. The Improved Import & Export module links your e-commerce website to external systems via direct API transfers.
Scheduling is another important innovation that is implemented into every import and export profile. It allows you to update your e-commerce website automatically at predetermined intervals.
Furthermore, the extension’s powerful mapping capabilities enable you to convert third-party properties to Magento 2 attributes on the fly, as well as create new attributes and values. Use the following links for more information: