backwpup icon indicating copy to clipboard operation
backwpup copied to clipboard

Problem with libzip with a lot off large files

Open unclesamwk opened this issue 3 years ago • 0 comments

Hello,

in the default setting for a new backup job the zip module is used. It closes the zip file every 20 files and opens a new one and adds the next 20 files at the end. A temporary file is created as a copy of the original one and then the new data is added. The behavior is also libzip so wanted however with large files very much write load, partially over hours, is generated. In the operation of many wordpress websites, this is unfortunately not optimal. If you use e.g. tar for the backups, we do not notice the behavior. I suspect that many other users also find this behavior. Would it be possible to change the default setting to tar when creating new jobs?

https://github.com/inpsyde/backwpup/blob/ae442647ab9b9e7493b24843c7afb405bd6a5eff/inc/class-create-archive.php#L386

greetings Sam

unclesamwk avatar Oct 13 '22 14:10 unclesamwk