espidev / ebackup

An easy and reliable plugin for backups on Spigot servers! Supports SFTP!
https://www.spigotmc.org/resources/ebackup-simple-and-reliable-backups-for-your-server-supports-ftp-sftp.69917/
GNU General Public License v3.0
54 stars 16 forks source link

Backup Size #24

Closed Romvnly-Gaming closed 3 years ago

Romvnly-Gaming commented 3 years ago

Hi, I've recently switched from ServerRestorer and I've just ran a test backup and it seems a low amount of compression is being applied to the backups which are causing huge file sizes. Perhaps add a compression level option in the configuration files?

espidev commented 3 years ago

I added it here: https://ci.espi.dev/job/ebackup/12/

If your config is already generated, add compression-level, like here: https://github.com/espidev/ebackup/blob/master/src/main/resources/config.yml

Just a word of warning that high compression levels take substantially longer.

Romvnly-Gaming commented 3 years ago

Like how longer are we talking here? With server restorer's level 9 compression it took around 7 minutes which is totally acceptable.

espidev commented 3 years ago

You can try it out for yourself. Java's zip API gives me compression levels from 0-8.

espidev commented 3 years ago

You can download it here: https://ci.espi.dev/job/ebackup/12/

Romvnly-Gaming commented 3 years ago

Alright, I will!

Romvnly-Gaming commented 3 years ago

fixed!