功能: - 自动查找更新时的备份目录 - 显示备份内容和大小 - 恢复数据库、用户文件、配置文件 - 如无备份,提供重新初始化选项 - 自动停止和重启服务 使用场景: - 更新脚本导致数据丢失时恢复 - 误删数据后恢复 - 从备份恢复系统 使用方法: curl -fsSL https://gitee.com/yu-yon/vue-driven-cloud-storage/raw/master/restore-data.sh | sudo bash 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
5.7 KiB
5.7 KiB