Skip to content

Backup compression program customization (tar can be slow) #1205

@stere0123

Description

@stere0123

I have noticed that the backup command takes a very long time to backup certain larger servers, especially if they have many files (e.g. a 5GB+ Minecraft server with Dynmap), since the script uses tar, which only utilizes one core for compression. As I have a 16-core server, using only one core is slow and inefficent, to say the least.

I think the backup command should be customizable in each server script, so that the command can be optionally changed to something else like 7-Zip, which uses multiple cores. This would also have the added benefit of allowing users to change the compression presets (since some users may find the backups using 100% of their CPU to be undesirable), and it allows them to exclude certain files/folders directly in the commandline (at least partially fixing #1163).

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    👀 In Review

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions