https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42028
Michał <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected], | |[email protected] | |om Status|NEW |Needs Signoff --- Comment #4 from Michał <[email protected]> --- Test plan: PATCH 1: 1. Before applying run `time koha-dump INSTANCE` 2. Apply patch 3. Run #1 again and compare the times, run `ls -lh /var/spool/koha/INSTANCE` and compare the file sizes for .gz and .zst Optionally you may run `koha-run-backups --days 7 --exclude-indexes --exclude-logs --output /var/spool/koha` to make sure it works as expected, altering file name and date with `touch -d` or so, to make sure the --days option still works as expected and old files are getting removed. PATCH 2: 1. Run old cron command: `koha-run-backups --days 2 --output /var/spool/koha` 2. Look at the generated file size of .tar.zst in /var/spool/koha/INSTANCE 3. Run new command: `koha-run-backups --days 7 --exclude-indexes --exclude-logs --output /var/spool/koha` 4. Compare the sizes. Note that production installations with sizable Zebra index and log files will only yield the proper difference effect. PATCH 3: Run `koha-dump INSTANCE` and in another terminal use a tool like htop and you can sort by "NI" column to make sure koha-dump and its children processes have value of 10. You may also check ionice with: ionice -p `pidof zstd` (or replace zstd with mysqldump or tar). Be quick, since zstd backup finished much more quickly, you'd need to check these values before it finishes. The error messages for renice and ionice should not be shown at the top of your koha-dump terminal output (own process normally can adjust own values, and also these scripts are in sbin to only run as root...). -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
