* dumpBackup can optionally compress via dbzip2
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 27 Jun 2006 04:42:53 +0000 (04:42 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 27 Jun 2006 04:42:53 +0000 (04:42 +0000)
RELEASE-NOTES
maintenance/backup.inc

index ac73873..440687e 100644 (file)
@@ -572,6 +572,8 @@ Some default configuration options have changed:
   if it's not there, instead of throwing a fatal error
 * (bug 672) Add MathAfterTexvc hook
 * Update to Piedmontese localization (pms)
+* dumpBackup can optionally compress via dbzip2
+
 
 == Compatibility ==
 
index 02c158b..d3603bd 100644 (file)
  * @subpackage SpecialPage
  */
 
+class DumpDBZip2Output extends DumpPipeOutput {
+       function DumpDBZip2Output( $file ) {
+               parent::DumpPipeOutput( "dbzip2", $file );
+       }
+}
 
 class BackupDumper {
        var $reportingInterval = 100;
@@ -44,6 +49,7 @@ class BackupDumper {
                $this->registerOutput( 'file', 'DumpFileOutput' );
                $this->registerOutput( 'gzip', 'DumpGZipOutput' );
                $this->registerOutput( 'bzip2', 'DumpBZip2Output' );
+               $this->registerOutput( 'dbzip2', 'DumpDBZip2Output' );
                $this->registerOutput( '7zip', 'Dump7ZipOutput' );
 
                $this->registerFilter( 'latest', 'DumpLatestFilter' );