question: private void performRestore ( File memberDir , File backupDir ) throws Exception { List < File > ifFiles = FileUtil . findAll ( memberDir , ".*\\.if$" ) ; for ( File file : ifFiles ) { file . delete ( ) ; } List < File > oplogs = FileUtil . findAll ( memberDir , OPLOG_REGEX ) ; for ( File file : oplogs ) { file . delete ( ) ; } File restoreScript = new File ( backupDir , "restore.sh" ) ; if ( ! restoreScript . exists ( ) ) { restoreScript = new File ( backupDir , "restore.bat" ) ; } assertTrue ( restoreScript . exists ( ) ) ; assertEquals ( 0 , execute ( restoreScript . getAbsolutePath ( ) ) ) ; }
target:  Peforms an operation log restore for a member.