Shopware 6: Plugin status
A successful online shop produces a lot of data over time. In addition to article images and database entries, the volume of generated PDF documents in the form of invoices and delivery notes is also increasing. If you want to keep this data safe, a proper backup strategy is essential.
This plugin provides automatic storage of all order documents on the Amazon S3 cloud storage and thus ensures that your invoices are protected against a possible server failure. Besides, one does not have to worry about possible storage space bottlenecks, since the S3 system provides practically unlimited capacities.
To use the plugin an Amazon AWS (Amazon Web Services) account is required. After installation of the plugin only the AWS access data must be stored and in the future all order documents such as invoices and delivery notes will be stored directly on Amazon S3.
The plugin is completely subshop-capable, i.e. it can be individually defined for each subshop whether Amazon S3 should be used and in which so-called bucket the documents should be saved.
Note: The use of the Amazon service S3 may incur additional costs. There is also a free contingent for the first 12 months, more details here: https://aws.amazon.com/free/.
Installation manualInstall the plugin as usual via the Plugin Manager. An AWS Access Key and an AWS Secret Key must then be stored. You can obtain this data in the AWS Management Console under the service point IAM (Identity and Access Management). A user with the access type Programmatic access will be created. This then has the necessary access data.In addition, an S3 bucket is required, i.e. a storage location for the documents. This can be created using the service S3 and there using Create Bucket. If possible, no special characters should be used for the bucket name and an EU location should be selected as region in order to comply with EU data protection regulations (If a region other than Frankfurt is selected, this must also be adapted in the plugin settings).
Next, additional services can be activated, such as encrypted data storage and access rights for the previously created user. Read and write permissions for objects and object permissions are required for the plugin to function correctly. Also make sure that public access is not active.
After the bucket has been created, it must also be entered in the plugin settings and the plugin must still be activated for all desired subshops. After activating the plugin, documents created in the future will be stored in the Amazon S3 Cloud Storage.
It is also recommended to transfer existing order documents to Amazon S3. An assistant is available for this under the menu item Customers > Document S3 Migration. With the help of this module, the documents for each subshop can be transferred separately from the Shopware storage location to Amazon. After selecting a subshop, the number of documents found is displayed first. Click Start Migration to start the upload process.
Note: For security reasons, the documents are not deleted from the Shopware installation. If required, this can be done manually via FTP or shell access. In this case, make sure that all documents have been transferred to Amazon S3!