Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
dhoko wants to merge 1 commit into strapi:main
base: main
Choose a base branch
Loading
from dhoko:feat/transfer-proxy
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
View file Open in desktop
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

AltStyle によって変換されたページ (->オリジナル) /