diff --git a/en/getting-started/install-self-hosted/docker-compose.mdx b/en/getting-started/install-self-hosted/docker-compose.mdx index 6ef75c35..508157e2 100644 --- a/en/getting-started/install-self-hosted/docker-compose.mdx +++ b/en/getting-started/install-self-hosted/docker-compose.mdx @@ -122,6 +122,12 @@ With these steps, you should be able to install Dify successfully. ### Upgrade Dify +Before upgrading, make sure your data backed up: + +```bash +cp -r dify "dify.bak.$(date +%Y%m%d%H%M%S)" +``` + Enter the docker directory of the dify source code and execute the following commands: ```bash