Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with libzip with a lot off large files #123

Open
unclesamwk opened this issue Oct 13, 2022 · 0 comments
Open

Problem with libzip with a lot off large files #123

unclesamwk opened this issue Oct 13, 2022 · 0 comments

Comments

@unclesamwk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant