public function convert() {

        try {
            $this->log('creating the target directory', backup::LOG_DEBUG);
            $this->create_workdir();

            $this->log('executing the conversion', backup::LOG_DEBUG);
            $this->execute();

            $this->log('replacing the source directory with the converted version', backup::LOG_DEBUG);
            $this->replace_tempdir();
        } catch (Exception $e) {
        }

        // clean-up stuff if needed
        $this->destroy();

        // eventually re-throw the execution exception
        if (isset($e) and ($e instanceof Exception)) {
            throw $e;
        }
    }
public function convert() {

        try {
            $this->log('creating the target directory', backup::LOG_DEBUG);
            $this->create_workdir();

            $this->log('executing the conversion', backup::LOG_DEBUG);
            $this->execute();

            $this->log('replacing the source directory with the converted version', backup::LOG_DEBUG);
            $this->replace_tempdir();
        } catch (Exception $e) {
        }

        // clean-up stuff if needed
        $this->destroy();

        // eventually re-throw the execution exception
        if (isset($e) and ($e instanceof Exception)) {
            throw $e;
        }
    }
public function convert ( ) { try { $ this -> log ( 'creating the target directory' , backup :: LOG_DEBUG ) ; $ this -> create_workdir ( ) ; $ this -> log ( 'executing the conversion' , backup :: LOG_DEBUG ) ; $ this -> execute ( ) ; $ this -> log ( 'replacing the source directory with the converted version' , backup :: LOG_DEBUG ) ; $ this -> replace_tempdir ( ) ; } catch ( Exception $ e ) { } // clean-up stuff if needed $ this -> destroy ( ) ; // eventually re-throw the execution exception if ( isset ( $ e ) and ( $ e instanceof Exception ) ) { throw $ e ; } }
Converts the backup directory
Converts the backup directory