Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 2f35130

Browse files
committed
some fixes for the notes
1 parent c7c69b0 commit 2f35130

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/cloud/live/stage-prod-migrate.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ You can use the [Magento Cloud CLI commands]({{ site.baseurl }}/cloud/reference/
132132

133133
### Migrate files using the CLI
134134

135-
You can use the `mount:upload` and `mount:download` CLI commands to migrate files. Both commands use the `rsync` utility, but the CLI provides options and prompts tailored to the {{site.data.var.ece}} environment. For example, if you use the simple command, the CLI prompts you to select which mount or mounts to upload or download.
135+
You can use the `mount:upload` and `mount:download` CLI commands to migrate files between the local and remote environment. Both commands use the `rsync` utility, but the CLI commands provide options and prompts tailored to the {{site.data.var.ece}} environment. For example, if you use the simple command with no options, the CLI prompts you to select which mount or mounts to upload or download.
136136

137137
```bash
138138
magento-cloud mount:download
@@ -197,22 +197,21 @@ This command uses the following options:
197197

198198
See the [rsync man page](http://linux.die.net/man/1/rsync).
199199

200-
{:.procedure}
201-
To migrate static files from remote-to-remote environments directly (fast approach):
202-
203200
{:.bs-callout-info}
204201
To transfer media from remote-to-remote environments directly, you must enable SSH agent forwarding, see [GitHub guidance](https://developer.github.com/v3/guides/using-ssh-agent-forwarding/).
205202

206-
1. Use SSH to log in to the source environment. Do not use the `magento-cloud` CLI.
203+
{:.procedure}
204+
To migrate static files from remote-to-remote environments directly (fast approach):
205+
206+
1. Use SSH to log in to the source environment. Do not use the `magento-cloud` CLI. Using the `-A` option is very important because it enables forwarding of the authentication agent connection.
207207

208+
{:.bs-callout-tip}
208209
To find the **SSH access** link in your Project Web Interface, select the environment and click **Access Site**.
209210

210211
```bash
211212
212213
```
213214

214-
Using the `-A` option is very important because it enables forwarding of the authentication agent connection.
215-
216215
1. Use the `rsync` command to copy the `pub/media` directory from your source environment to a different remote environment.
217216

218217
```bash

0 commit comments

Comments
 (0)