7 require_once( dirname(__FILE__
).'/commandLine.inc' );
9 if ( $wgAllDBsAreLocalhost ) {
10 # Can't fool the backup script
15 if( isset( $options['group'] ) ) {
16 $db = wfGetDB( DB_SLAVE
, $options['group'] );
17 $host = $db->getServer();
20 $i = $lb->getReaderIndex();
21 $host = $lb->getServerName( $i );