You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/guides/v2.4/config-guide/remote-storage/config-remote-storage.md
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@ functional_areas:
7
7
- Setup
8
8
---
9
9
10
-
The Remote Storage module provides the option to store media files and schedule imports/exports in a persistent, remote storage container using a storage service, such as AWS S3 or Azure Blob Storage. By default, Magento stores media files in the same filesystem that contains the application. This is not efficient for complex, multi-server configurations, which can result in degraded performance when sharing resources. With this module, you can store `pub/media`files and import and export-related `var`files in remote object storage and take advantage of server-side image resizing.
10
+
The Remote Storage module provides the option to store media files and schedule imports/exports in a persistent, remote storage container using a storage service, such as AWS S3 or Azure Blob Storage. By default, Magento stores media files in the same filesystem that contains the application. This is not efficient for complex, multi-server configurations, which can result in degraded performance when sharing resources. With this module, you can store media files in the `pub/media`directory and import/export files in the `var`directory in the remote object storage and take advantage of server-side image resizing.
11
11
12
12
![schema image]
13
13
14
14
## Remote storage options
15
15
16
-
You can configure remote storage using the `remote-storage` option with the `setup` CLI command. The `remote-storage` option uses the following syntax:
16
+
You can configure remote storage using the `remote-storage` option with the [`setup` CLI command][setup]. The `remote-storage` option uses the following syntax:
@@ -32,13 +32,13 @@ The `parameter-name` refers to the specific remote storage parameter name. The f
32
32
33
33
### Storage adapters
34
34
35
-
The default storage location is the local filesystem. A _storage adapter_allows you to connect to a storage service and store your files anywhere. Magento supports configuring the following storage services:
35
+
The default storage location is the local filesystem. A _storage adapter_enables you to connect to a storage service and store your files anywhere. Magento supports configuring the following storage services:
36
36
37
37
-[Amazon Simple Storage Service (Amazon S3)][AWS S3]
38
38
39
39
## Enable remote storage
40
40
41
-
You can install remote storage during a new Magento installation or add it to an existing Magento instance using `remote-storage` parameter name-and-value pairs with `setup` CLI commands. Minimally, you must supply the storage driver, bucket, and region.
41
+
You can install remote storage during a new Magento installation or add it to an existing Magento instance using `remote-storage` parameter name-and-value pairs with `setup` CLI commands. Minimally, you must supply the storage `driver`, `bucket`, and `region`.
42
42
43
43
The following examples enable the remote storage with an AWS S3 storage adapter in the US:
44
44
@@ -56,16 +56,19 @@ The following examples enable the remote storage with an AWS S3 storage adapter
56
56
57
57
## Migrate content
58
58
59
-
After you enable remote storage for a specific adapter, you can use the CLI to migrate existing media files to the remote storage.
59
+
After you enable remote storage for a specific adapter, you can use the CLI to migrate existing _media_ files to the remote storage.
60
60
61
61
```bash
62
62
./magento2ce/bin/magento remote-storage:sync
63
63
```
64
64
65
-
This functionality only migrates files in the `pub/media` directory, _not_ the import and export-related files in the `var` directory.
65
+
{:.bs-callout-info}
66
+
The sync command only migrates files in the `pub/media` directory, _not_ the import/export files in the `var` directory. See [Scheduled Import/Export][import-export] in the _Magento 2.4 User Guide_.
0 commit comments