Important

You are browsing the documentation for version 4.2 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Gaufrette

The ImportExport bundle uses Gaufrette for the file storage. The Gaufrette configuration is stored in Resources/config/oro/app.yml.

By default, the ImportExport bundle configured to use the private File Storage.

Gaufrette Configuration for Amazon S3 Storage

This configuration allows to use Amazon S3 cloud service for the importing and exporting. It is applicable if consumers run on different servers.

Example

services:
    aws_s3.client:
        class: AmazonS3
        arguments:
            -
                key: {your amazon s3 key}
                secret: {your amazon s3 secret}

knp_gaufrette:
    adapters:
        importexport:
            amazon_s3:
                amazon_s3_id: aws_s3.client
                bucket_name: {your bucket name}
                options:
                    directory: 'import_export'
                    create: true
                    region: {your amazon s3 bucket region}