<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Open WebUI :: Ay Docs</title><link>https://aaronyang0628.github.io/docs/buckup/openwebui/index.html</link><description>Backup Chat History (SQLite) Open WebUI 的数据默认存储在 SQLite 数据库中：
# 备份数据库文件 kubectl -n ai exec open-webui-0 -- cat /app/backend/data/webui.db &gt; open-webui-$(date +%Y%m%d).db Restore # 复制备份文件到 pod kubectl -n ai cp open-webui-20260512.db open-webui-0:/app/backend/data/webui.db # 重启 pod 以重新加载数据库 kubectl -n ai delete pod open-webui-0 注意事项 备份文件包含：聊天记录、用户设置、外部连接配置 不包含：对话中的文件附件（存储在 static/uploads/ 目录） 如需完整恢复，还需备份上传文件： kubectl -n ai exec open-webui-0 -- tar czf - /app/backend/data/uploads &gt; open-webui-uploads-$(date +%Y%m%d).tar.gz</description><generator>Hugo</generator><language>en</language><lastBuildDate/><atom:link href="https://aaronyang0628.github.io/docs/buckup/openwebui/index.xml" rel="self" type="application/rss+xml"/></channel></rss>