* dumpBackup can optionally compress via dbzip2
This commit is contained in:
parent
72f3084353
commit
ea047767eb
2 changed files with 8 additions and 0 deletions
|
|
@ -572,6 +572,8 @@ Some default configuration options have changed:
|
||||||
if it's not there, instead of throwing a fatal error
|
if it's not there, instead of throwing a fatal error
|
||||||
* (bug 672) Add MathAfterTexvc hook
|
* (bug 672) Add MathAfterTexvc hook
|
||||||
* Update to Piedmontese localization (pms)
|
* Update to Piedmontese localization (pms)
|
||||||
|
* dumpBackup can optionally compress via dbzip2
|
||||||
|
|
||||||
|
|
||||||
== Compatibility ==
|
== Compatibility ==
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,11 @@
|
||||||
* @subpackage SpecialPage
|
* @subpackage SpecialPage
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
class DumpDBZip2Output extends DumpPipeOutput {
|
||||||
|
function DumpDBZip2Output( $file ) {
|
||||||
|
parent::DumpPipeOutput( "dbzip2", $file );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
class BackupDumper {
|
class BackupDumper {
|
||||||
var $reportingInterval = 100;
|
var $reportingInterval = 100;
|
||||||
|
|
@ -44,6 +49,7 @@ class BackupDumper {
|
||||||
$this->registerOutput( 'file', 'DumpFileOutput' );
|
$this->registerOutput( 'file', 'DumpFileOutput' );
|
||||||
$this->registerOutput( 'gzip', 'DumpGZipOutput' );
|
$this->registerOutput( 'gzip', 'DumpGZipOutput' );
|
||||||
$this->registerOutput( 'bzip2', 'DumpBZip2Output' );
|
$this->registerOutput( 'bzip2', 'DumpBZip2Output' );
|
||||||
|
$this->registerOutput( 'dbzip2', 'DumpDBZip2Output' );
|
||||||
$this->registerOutput( '7zip', 'Dump7ZipOutput' );
|
$this->registerOutput( '7zip', 'Dump7ZipOutput' );
|
||||||
|
|
||||||
$this->registerFilter( 'latest', 'DumpLatestFilter' );
|
$this->registerFilter( 'latest', 'DumpLatestFilter' );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue