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( '' . esc_html__( 'working since %d seconds', 'backwpup' ) . '', $runtime ) . ' | '; echo '' . 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 ) ) . ' | '; else echo '' . esc_html__( 'Not scheduled!', 'backwpup' ) . ' | '; echo '' . esc_html($name) . ' |
' . esc_html__( 'none', 'backwpup' ) . ' |
' . 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' ] ) ) . ' | '; $log_name = str_replace( array( '.html', '.gz' ), '', $logfile->getBasename() ); echo '' . esc_html( $logdata['name'] ) . ' | '; echo '';
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' ) . ' |