tables_to_dump as $key => $table ) { if ( $wpdb->prefix != substr( $table,0 , strlen( $wpdb->prefix ) ) ) unset( $sql_dump->tables_to_dump[ $key ] ); } $sql_dump->execute(); unset( $sql_dump ); } catch ( Exception $e ) { die( $e->getMessage() ); } die(); } } /** * Enqueue script. * * @return void */ public static function admin_print_scripts() { wp_enqueue_script( 'backwpupgeneral' ); } /** * Print the markup. * * @return void */ public static function page() { // get wizards $wizards = BackWPup::get_wizards(); ?>

/wp-content/. Push them to an external storage service if you don’t want to save the backups on the same server.','backwpup'); ?>

expert mode for full control over all options.','backwpup'), network_admin_url( 'admin.php') . '?page=backwpupeditjob' ); echo ' '; _e( 'Please note: You are solely responsible for the security of your data; the authors of this plugin are not.', 'backwpup' ); ?>

First steps box to plan and schedule backup jobs.','backwpup' ); echo ' '; _e('Use your backup archives to save your entire WordPress installation including /wp-content/. Push them to an external storage service if you don’t want to save the backups on the same server.','backwpup'); ?>

Add a new backup job and plan what you want to save.','backwpup'), network_admin_url( 'admin.php') . '?page=backwpupeditjob' ); ?>
Please note: You are solely responsible for the security of your data; the authors of this plugin are not.', 'backwpup' ); ?>


' . sprintf( __('RSS Error: %s', 'backwpup' ), $rss->get_error_message() ) . '

'; } elseif ( ! $rss->get_item_quantity() ) { echo '
  • ' . esc_html__( 'An error has occurred, which probably means the feed is down. Try again later.', 'backwpup' ) . '
'; $rss->__destruct(); unset( $rss ); } else { echo '
    '; $first = TRUE; foreach ( $rss->get_items( 0, 4 ) as $item ) { $link = $item->get_link(); while ( stristr($link, 'http') != $link ) { $link = substr($link, 1); } $link = esc_url(strip_tags($link)); $title = esc_attr(strip_tags($item->get_title())); if ( empty($title) ) { $title = __( 'Untitled', 'backwpup' ); } $desc = str_replace( array("\n", "\r"), ' ', esc_attr( strip_tags( @html_entity_decode( $item->get_description(), ENT_QUOTES, get_option( 'blog_charset' ) ) ) ) ); $excerpt = wp_html_excerpt( $desc, 360 ); // Append ellipsis. Change existing [...] to […]. if ( '[...]' == substr( $excerpt, -5 ) ) $excerpt = substr( $excerpt, 0, -5 ) . '[…]'; elseif ( '[…]' != substr( $excerpt, -10 ) && $desc != $excerpt ) $excerpt .= ' […]'; $excerpt = esc_html( $excerpt ); if ( $first ) { $summary = "
    $excerpt
    "; } else { $summary = ''; } $date = ''; if ( $first ) { $date = $item->get_date( 'U' ); if ( $date ) { $date = ' ' . date_i18n( get_option( 'date_format' ), $date ) . ''; } } echo "
  • $title{$date}{$summary}
  • "; $first = FALSE; } echo '
'; $rss->__destruct(); unset($rss); } ?>
info[ 'cap' ] ) ) continue; //get info of wizard echo '
'; echo '

' . $wizard_class->info[ 'name' ] . '

'; echo '

' . $wizard_class->info[ 'description' ] . '

'; $conf_names = $wizard_class->get_pre_configurations(); if ( ! empty ( $conf_names ) ) { echo ''; } else { echo ''; } wp_nonce_field( 'wizard' ); echo ''; echo ''; echo '
'; echo '
'; } } ?>

OSTraining

OSTraining

OSTraining

OSTraining

OSTraining

<?php esc_html_e( 'BackWPup banner', 'backwpup' ); ?>

  • dedicated support at backwpup.com.', 'Pro teaser box', 'backwpup' ); ?>
  • %s', _x( 'And more…', 'Pro teaser box, link text', 'backwpup' ) ); ?>

job[ 'jobid' ] ) && ! in_array($job_object->job[ 'jobid' ], $mainsactive, true ) ) $mainsactive[ ] = $job_object->job[ 'jobid' ]; foreach ( $mainsactive as $jobid ) { $name = BackWPup_Option::get( $jobid, 'name' ); if ( ! empty( $job_object ) && $job_object->job[ 'jobid' ] == $jobid ) { $runtime = current_time( 'timestamp' ) - $job_object->job[ 'lastrun' ]; if ( ! $alternate ) { echo ''; $alternate = TRUE; } else { echo ''; $alternate = FALSE; } echo ''; echo '"; } else { if ( ! $alternate ) { echo ''; $alternate = TRUE; } else { echo ''; $alternate = FALSE; } if ( $nextrun = wp_next_scheduled( 'backwpup_cron', array( 'id' => $jobid ) ) + ( get_option( 'gmt_offset' ) * 3600 ) ) echo ''; else echo ''; echo ''; } } if ( empty( $mainsactive ) and ! empty( $job_object ) ) { echo ''; } ?>
' . sprintf( '' . esc_html__( 'working since %d seconds', 'backwpup' ) . '', $runtime ) . '' . esc_html ( $job_object->job[ 'name' ] ) . '
'; echo "" . esc_html__( 'Abort', 'backwpup' ) . ""; echo "
' . sprintf( __( '%1$s at %2$s', 'backwpup' ), date_i18n( get_option( 'date_format' ), $nextrun, TRUE ), date_i18n( get_option( 'time_format' ), $nextrun, TRUE ) ) . '' . esc_html__( 'Not scheduled!', 'backwpup' ) . '' . esc_html($name) . '
' . esc_html__( 'none', 'backwpup' ) . '
isReadable() && $file->isFile() && strpos( $file->getFilename(), 'backwpup_log_' ) !== false && strpos( $file->getFilename(), '.html' ) !== false ) { $logfiles[ $file->getMTime() ] = clone $file; } } krsort( $logfiles, SORT_NUMERIC ); } catch ( UnexpectedValueException $e ) { echo ''; } } if ( count( $logfiles ) > 0 ) { $count = 0; $alternate = TRUE; foreach ( $logfiles as $logfile ) { $logdata = BackWPup_Job::read_logheader( $logfile->getPathname() ); if ( ! $alternate ) { echo ''; $alternate = TRUE; } else { echo ''; $alternate = FALSE; } echo ''; $log_name = str_replace( array( '.html', '.gz' ), '', $logfile->getBasename() ); echo ''; echo ''; $count ++; if ( $count >= 5 ) break; } } else { echo ''; } ?>
' . sprintf( __( 'Could not open log folder: %s', 'backwpup' ), $log_folder ) . '
' . sprintf( __( '%1$s at %2$s', 'backwpup' ), date_i18n( get_option( 'date_format' ) , $logdata[ 'logtime' ] ), date_i18n( get_option( 'time_format' ), $logdata[ 'logtime' ] ) ) . '' . esc_html( $logdata['name'] ) . ''; if ( $logdata['errors'] ) { printf( '' . _n( "%d ERROR", "%d ERRORS", $logdata['errors'], 'backwpup' ) . '
', $logdata[ 'errors' ] ); } if ( $logdata['warnings'] ) { printf( '' . _n( "%d WARNING", "%d WARNINGS", $logdata['warnings'], 'backwpup' ) . '
', $logdata['warnings'] ); } if ( ! $logdata['errors'] && ! $logdata['warnings'] ) { echo '' . __( 'OK', 'backwpup' ) . ''; } echo '
' . __( 'none', 'backwpup' ) . '