Skip to content

feat: proxy support inside transfer command #2514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docusaurus/docs/cms/data-management/transfer.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ server {

:::


## Generate a transfer token

:::prerequisites
Expand Down Expand Up @@ -146,6 +147,14 @@ Initiating a data transfer depends on whether you want to push data to a remote
</TabItem>
</Tabs>

### Proxy support

We support a proxy if you have `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` avaiable inside your env.

:::prerequisites
You must set an extra variable `GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE=''` [inside your env](https://github.com/gajus/global-agent?tab=readme-ov-file#environment-variables).
:::

## Bypass all `transfer` command line prompts

When using the `strapi transfer` command, you are required to confirm that the transfer will delete the existing database contents. The `--force` flag allows you to bypass this prompt. This option is useful for implementing `strapi transfer` programmatically. You must pass the `to-token` option with the transfer token if you use the `--force` option.
Expand Down