Vector Database Migration
Migrate from Weaviate to another database
-
Update configuration
Source code deployment (
.env):Docker Compose (docker-compose.yaml): -
Run migration
Storage Migration
Move from local to cloud storage
Migrate files from local storage to cloud providers (e.g., Alibaba Cloud OSS):-
Configure cloud storage
.envordocker-compose.yaml: -
Migrate data
Source code:
Docker:
Data Cleanup
Delete old logs
-
Get tenant ID
-
Delete logs older than X days
-
Remove exported logs (optional)
Remove orphaned files
Warning: Back up database and storage before running. Run during maintenance window.-
Clean database records
-
Delete orphaned files from storage
STORAGE_TYPE=opendal).
Backup & Recovery
Create backup before upgrade
What to backup
For Docker Compose deployments:- Entire
dify/docker/volumesdirectory
- Database
- Storage configuration
- Vector database data
- Environment files