sonic icon indicating copy to clipboard operation
sonic copied to clipboard

备份出错

Open soease opened this issue 2 years ago • 3 comments

检查清单

是什么版本出现了此问题?

1.02

使用的什么数据库?

SQLite3

使用的哪种方式部署?

Executable file

在线站点地址

No response

发生了什么?

小工具--整站备份 出错

相关日志输出

ERROR   admin/backup.go:86      err=CreateFile D:\temp\sonic-backup\options: The system cannot find the path specified

附加信息

No response

soease avatar Nov 16 '22 04:11 soease

  1. 未自动创建目录?
  2. 将压缩目录设为当前目录时,压缩程序压缩正在建立的文件,导致无限大的压缩包,且一直在运行压缩。是否在utile/file.go->ZipFile 中排除压缩文件本身?

soease avatar Nov 16 '22 06:11 soease

感谢使用和反馈,我会研究下这个问题并且修复。如果有你兴趣,欢迎PR!

1379 avatar Nov 16 '22 14:11 1379

请问解压后安装配置那个./sonic 程序在哪啊 解压后目录下都没有./sonic这个命令 也没有sonic这个文件夹

evahere avatar Nov 17 '22 08:11 evahere

没有创建临时目录且获取备份的filename应该使用mustquerystring而不是路径参数获取方法param

hooxuu avatar Nov 28 '22 14:11 hooxuu