1Panel-dev / 1Panel-dev/1Panel
[Feature] Scheduled task backup directory supports multiple compression types
Open
@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格式,不支持自定义
当备份的目录较大时,比如140GB,使用tar.gz压缩首先非常耗时,其次压缩效率并不是非常高
服务器场景下IO读写其实是挺宝贵的,长时间占用有点浪费。
因此,希望后续版本可以支持自定义压缩类型,有些场景只需要tar归档压缩就可以,速度能快非常多!
Please describe the solution you suggest
实现也很简单,只需要把文件压缩功能的选项copy过来就行:
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.