Skip to content

改进导出 Data 压缩包过程 #6961

Closed
@ad56583964

Description

@ad56583964

在什么情况下你需要该特性?In what scenarios do you need this feature?

我创建了一个siyuan_backup文件夹用于存放"导出 Data"的文件并使用百度网盘的自动同步来捕获每次在这里生成的压缩包。
但是每次在执行导出的过程中实际上还会在"此文件夹"产生文件夹,好像是在就地打包?这个过程中"百度网盘"也会捕获到然后抢占资源,有时会生成失败。

描述可能的最优解决方案 Describe the optimal solution

希望可以有一个选项指定生成压缩包时的temp文件夹然后导出目标文件夹可以在另一个位置

描述候选的解决方案 Describe the candidate solution

No response

其他信息 Other information

No response

Activity

88250

88250 commented on Dec 31, 2022

@88250
Member

最新版已经不会产生文件夹了。

ad56583964

ad56583964 commented on Dec 31, 2022

@ad56583964
Author

最新版已经不会产生文件夹了。

最新版是指2.6.0吗?是这样...它会在生成zip的过程中产生一个文件夹,在结束后这个文件夹会消失,但是导出有几十秒的时间,这个时候 网盘的自动同步已经开始工作在操作这个文件夹中的文件了(看里面应该是data文件夹的内容)
image

image

changed the title [-]分离导出 Data 时 生成中间文件的位置[/-] [+]改进导出 Data 压缩包过程[/+] on Dec 31, 2022
self-assigned this
on Dec 31, 2022
added this to the 2.6.1 milestone on Dec 31, 2022
88250

88250 commented on Dec 31, 2022

@88250
Member

明白了,我们下个版本把打包过程在工作空间/temp/export/ 下完成,然后将生成好的 zip copy 到目标路径。

reopened this on Dec 31, 2022
added a commit that references this issue on Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@ad56583964

      Issue actions

        改进导出 Data 压缩包过程 · Issue #6961 · siyuan-note/siyuan