1Panel-dev / 1Panel-dev/1Panel

[Feature] Scheduled task backup directory supports multiple compression types

Open
#8,417 1 comment 0 reactions 1 assignee View on GitHub

@wanghe-fit2cloud is already working on this.

Since Apr 18, 2025.

type: feature-request
Dominant language
Go
Stars
37k
Forks
3.4k
Avg merge
9h 16m
Merged PRs (30d)
105

Description

1Panel Version

v1.10.29-lts

Please describe your needs or suggestions for improvements

当前备份目录默认压缩为tar.gz格式,不支持自定义

Image

当备份的目录较大时,比如140GB,使用tar.gz压缩首先非常耗时,其次压缩效率并不是非常高

Image

服务器场景下IO读写其实是挺宝贵的,长时间占用有点浪费。

因此,希望后续版本可以支持自定义压缩类型,有些场景只需要tar归档压缩就可以,速度能快非常多!

Please describe the solution you suggest

实现也很简单,只需要把文件压缩功能的选项copy过来就行:

Image

Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.