Page MenuHomePhabricator

dumpBackup.php: offer option to use 7za -mx=4 instead of -mx=5
Closed, ResolvedPublic

Description

See https://github.com/Wikia/app/pull/5799 : for some XML dumps, mx=4 is ten times faster than the default mx=5, for a negligible loss in compression.

I've tried passing the method with things like

php dumpBackup.php --current --output=7zip:'-mx3 3.7z'

but it seems wfEscapeShellArg() does its job. ;)

Event Timeline

Nemo_bis created this task.Dec 16 2014, 2:55 PM
Nemo_bis updated the task description. (Show Details)
Nemo_bis raised the priority of this task from to Needs Triage.
Nemo_bis changed Security from none to None.
Nemo_bis triaged this task as Low priority.
Nemo_bis added subscribers: Nemo_bis, TTO.

I claimed this on GCI.

Change 261755 had a related patch set uploaded (by Unicornisaurous):
Add 7zip compression level param to BackupDumper

https://gerrit.wikimedia.org/r/261755

Unicornisaurous added a blocking task: T122587: Make dumpBackup.php subclass Maintenance.

OMG look what I triggered. :)

Change 261755 merged by jenkins-bot:
Add 7zip compression level param to BackupDumper

https://gerrit.wikimedia.org/r/261755

Unicornisaurous closed this task as Resolved.Dec 31 2015, 10:11 PM

yay :)