Add backup before upgrading.

This commit is contained in:
fernvenue
2025-05-21 15:52:53 +08:00
parent efc73e1d7c
commit e9ec471133

View File

@@ -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