Version Description
- Prevent direct file loading
- job working in iframe
- colored logs
- HTML fixes
- spell check
Download this release
Release Info
Developer | danielhuesken |
Plugin | BackWPup – WordPress Backup Plugin |
Version | 0.6.5 |
Comparing to | |
See all releases |
Code changes from version 0.6.4 to 0.6.5
- app/dojob/after.php +7 -3
- app/dojob/bevore.php +6 -7
- app/dojob/check.php +5 -1
- app/dojob/db.php +4 -1
- app/dojob/destination-ftp.php +7 -3
- app/dojob/destination-mail.php +8 -4
- app/dojob/file.php +7 -1
- app/dojob/optimize.php +5 -1
- app/functions.php +20 -11
- app/iframe-dojob.php +21 -0
- app/{options-edit.php → options-jobs.php} +25 -37
- app/options-logs.php +10 -5
- app/options-runnow.php +12 -4
- app/options-save.php +29 -14
- app/options-settings.php +18 -12
- app/options-tools.php +7 -3
- app/options-view_log.php +23 -3
- app/options.php +10 -5
- backwpup.php +6 -2
- lang/backwpup.pot +461 -253
- readme.txt +24 -18
app/dojob/after.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
<?PHP
|
|
|
|
|
|
|
|
|
2 |
//Delete old Backupfiles
|
3 |
if (!empty($jobs[$jobid]['maxbackups']) and !empty($jobs[$jobid]['backupdir']) and is_dir($jobs[$jobid]['backupdir'])) {
|
4 |
unset($backupfilelist);
|
@@ -33,7 +37,7 @@ if (!empty($cfg['maxlogs'])) {
|
|
33 |
}
|
34 |
|
35 |
if (is_file($backupfile)) {
|
36 |
-
backwpup_joblog($logtime,sprintf(__('Backup
|
37 |
}
|
38 |
|
39 |
if (is_file(get_temp_dir().'backwpup/'.DB_NAME.'.sql') ) { //delete sql temp file
|
@@ -51,7 +55,7 @@ $jobs[$jobid]['lastrun']=$jobs[$jobid]['starttime'];
|
|
51 |
$jobs[$jobid]['lastruntime']=$jobs[$jobid]['stoptime']-$jobs[$jobid]['starttime'];
|
52 |
$jobs[$jobid]['scheduletime']=wp_next_scheduled('backwpup_cron',array('jobid'=>$jobid));
|
53 |
update_option('backwpup_jobs',$jobs); //Save Settings
|
54 |
-
backwpup_joblog($logtime,sprintf(__('Backup
|
55 |
//Write backupfile und worktime to log
|
56 |
$wpdb->update( $wpdb->backwpup_logs, array( 'worktime' => $jobs[$jobid]['lastruntime'], 'backupfile' => mysql_real_escape_string($backupfile)), array( 'logtime' => $logtime ));
|
57 |
?>
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
|
6 |
//Delete old Backupfiles
|
7 |
if (!empty($jobs[$jobid]['maxbackups']) and !empty($jobs[$jobid]['backupdir']) and is_dir($jobs[$jobid]['backupdir'])) {
|
8 |
unset($backupfilelist);
|
37 |
}
|
38 |
|
39 |
if (is_file($backupfile)) {
|
40 |
+
backwpup_joblog($logtime,sprintf(__('Backup ZIP File size is %1s','backwpup'),backwpup_formatBytes(filesize($backupfile))));
|
41 |
}
|
42 |
|
43 |
if (is_file(get_temp_dir().'backwpup/'.DB_NAME.'.sql') ) { //delete sql temp file
|
55 |
$jobs[$jobid]['lastruntime']=$jobs[$jobid]['stoptime']-$jobs[$jobid]['starttime'];
|
56 |
$jobs[$jobid]['scheduletime']=wp_next_scheduled('backwpup_cron',array('jobid'=>$jobid));
|
57 |
update_option('backwpup_jobs',$jobs); //Save Settings
|
58 |
+
backwpup_joblog($logtime,sprintf(__('Backup done in %1s sec.','backwpup'),$jobs[$jobid]['lastruntime']));
|
59 |
//Write backupfile und worktime to log
|
60 |
$wpdb->update( $wpdb->backwpup_logs, array( 'worktime' => $jobs[$jobid]['lastruntime'], 'backupfile' => mysql_real_escape_string($backupfile)), array( 'logtime' => $logtime ));
|
61 |
?>
|
app/dojob/bevore.php
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
-
<?
|
|
|
|
|
|
|
|
|
2 |
global $logtime;
|
3 |
-
ignore_user_abort(true);
|
4 |
-
// flush any buffers and send the headers
|
5 |
-
ob_start();
|
6 |
-
while (@ob_end_flush());
|
7 |
-
flush();
|
8 |
|
9 |
define( 'PCLZIP_TEMPORARY_DIR', get_temp_dir().'backwpup/' );
|
10 |
$cfg=get_option('backwpup');
|
@@ -39,7 +38,7 @@ if (!function_exists('memory_get_usage')) {
|
|
39 |
if (empty($cfg['memorylimit']))
|
40 |
$cfg['memorylimit']='128M';
|
41 |
ini_set('memory_limit', $cfg['memorylimit']);
|
42 |
-
backwpup_joblog($logtime,__('WARNING:','backwpup').' '.sprintf(__('Memory limit set to %1$s ,
|
43 |
}
|
44 |
|
45 |
//Look for and Crate Temp dir and secure
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
|
6 |
global $logtime;
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
define( 'PCLZIP_TEMPORARY_DIR', get_temp_dir().'backwpup/' );
|
9 |
$cfg=get_option('backwpup');
|
38 |
if (empty($cfg['memorylimit']))
|
39 |
$cfg['memorylimit']='128M';
|
40 |
ini_set('memory_limit', $cfg['memorylimit']);
|
41 |
+
backwpup_joblog($logtime,__('WARNING:','backwpup').' '.sprintf(__('Memory limit set to %1$s ,because can not use PHP: memory_get_usage() function.','backwpup'),ini_get('memory_limit')));
|
42 |
}
|
43 |
|
44 |
//Look for and Crate Temp dir and secure
|
app/dojob/check.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
<?PHP
|
|
|
|
|
|
|
|
|
2 |
//Optimize SQL Table
|
3 |
backwpup_joblog($logtime,__('Run Database check...','backwpup'));
|
4 |
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
|
6 |
//Optimize SQL Table
|
7 |
backwpup_joblog($logtime,__('Run Database check...','backwpup'));
|
8 |
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
app/dojob/db.php
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
<?PHP
|
2 |
-
|
|
|
|
|
3 |
|
|
|
4 |
|
5 |
function backwpup_dump_table($table,$status,$file) {
|
6 |
global $wpdb,$logtime;
|
1 |
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
|
6 |
+
backwpup_joblog($logtime,__('Run Database Backup...','backwpup'));
|
7 |
|
8 |
function backwpup_dump_table($table,$status,$file) {
|
9 |
global $wpdb,$logtime;
|
app/dojob/destination-ftp.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
<?
|
|
|
|
|
|
|
|
|
2 |
if (!empty($jobs[$jobid]['ftphost']) and !empty($jobs[$jobid]['ftpuser']) and !empty($jobs[$jobid]['ftppass'])) {
|
3 |
|
4 |
function ftp_raw_helper($ftp_conn_id,$command) { //FTP Comands helper function
|
@@ -69,9 +73,9 @@ if (!empty($jobs[$jobid]['ftphost']) and !empty($jobs[$jobid]['ftpuser']) and !e
|
|
69 |
ftp_raw_helper($ftp_conn_id,'ALLO '.filesize($backupfile));
|
70 |
|
71 |
if (ftp_put($ftp_conn_id, trailingslashit($jobs[$jobid]['ftpdir']).basename($backupfile), $backupfile, FTP_BINARY)) //transvere file
|
72 |
-
backwpup_joblog($logtime,__('Backup File
|
73 |
else
|
74 |
-
backwpup_joblog($logtime,__('ERROR:','backwpup').' '.__('Can not
|
75 |
|
76 |
unset($backupfilelist);
|
77 |
if ($jobs[$jobid]['ftpmaxbackups']>0) { //Delete old backups
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
|
6 |
if (!empty($jobs[$jobid]['ftphost']) and !empty($jobs[$jobid]['ftpuser']) and !empty($jobs[$jobid]['ftppass'])) {
|
7 |
|
8 |
function ftp_raw_helper($ftp_conn_id,$command) { //FTP Comands helper function
|
73 |
ftp_raw_helper($ftp_conn_id,'ALLO '.filesize($backupfile));
|
74 |
|
75 |
if (ftp_put($ftp_conn_id, trailingslashit($jobs[$jobid]['ftpdir']).basename($backupfile), $backupfile, FTP_BINARY)) //transvere file
|
76 |
+
backwpup_joblog($logtime,__('Backup File transferred to FTP Server:','backwpup').' '.trailingslashit($jobs[$jobid]['ftpdir']).basename($backupfile));
|
77 |
else
|
78 |
+
backwpup_joblog($logtime,__('ERROR:','backwpup').' '.__('Can not transfer backup to FTP server.','backwpup'));
|
79 |
|
80 |
unset($backupfilelist);
|
81 |
if ($jobs[$jobid]['ftpmaxbackups']>0) { //Delete old backups
|
app/dojob/destination-mail.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
<?
|
|
|
|
|
|
|
|
|
2 |
$sendmail=false;
|
3 |
$errorcount=$wpdb->get_var("SELECT error FROM ".$wpdb->backwpup_logs." WHERE logtime=".$logtime);
|
4 |
if ($errorcount>0 and $jobs[$jobid]['mailerroronly'])
|
@@ -10,7 +14,7 @@ if (!empty($jobs[$jobid]['mailaddress']) and $sendmail) {
|
|
10 |
//maillig method
|
11 |
add_action('phpmailer_init', 'backwpup_use_mail_method');
|
12 |
global $phpmailer;
|
13 |
-
backwpup_joblog($logtime,__('
|
14 |
if (is_file($backupfile) and !empty($jobs[$jobid]['mailefilesize'])) {
|
15 |
$maxfilezise=abs($jobs[$jobid]['mailefilesize']*1024*1024);
|
16 |
if (filesize($backupfile)<$maxfilezise) {
|
@@ -21,9 +25,9 @@ if (!empty($jobs[$jobid]['mailaddress']) and $sendmail) {
|
|
21 |
}
|
22 |
} else {
|
23 |
if (!empty($jobs[$jobid]['backupdir'])) {
|
24 |
-
backwpup_joblog($logtime,__('WARNING:','backwpup').' '.__('Backup Archive too big for
|
25 |
} else {
|
26 |
-
backwpup_joblog($logtime,__('ERROR:','backwpup').' '.__('Backup Archive too big for
|
27 |
}
|
28 |
unset($mailfiles);
|
29 |
}
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
|
6 |
$sendmail=false;
|
7 |
$errorcount=$wpdb->get_var("SELECT error FROM ".$wpdb->backwpup_logs." WHERE logtime=".$logtime);
|
8 |
if ($errorcount>0 and $jobs[$jobid]['mailerroronly'])
|
14 |
//maillig method
|
15 |
add_action('phpmailer_init', 'backwpup_use_mail_method');
|
16 |
global $phpmailer;
|
17 |
+
backwpup_joblog($logtime,__('Sending mail...','backwpup'));
|
18 |
if (is_file($backupfile) and !empty($jobs[$jobid]['mailefilesize'])) {
|
19 |
$maxfilezise=abs($jobs[$jobid]['mailefilesize']*1024*1024);
|
20 |
if (filesize($backupfile)<$maxfilezise) {
|
25 |
}
|
26 |
} else {
|
27 |
if (!empty($jobs[$jobid]['backupdir'])) {
|
28 |
+
backwpup_joblog($logtime,__('WARNING:','backwpup').' '.__('Backup Archive too big for sending by mail','backwpup'));
|
29 |
} else {
|
30 |
+
backwpup_joblog($logtime,__('ERROR:','backwpup').' '.__('Backup Archive too big for sending by mail','backwpup'));
|
31 |
}
|
32 |
unset($mailfiles);
|
33 |
}
|
app/dojob/file.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
<?PHP
|
|
|
|
|
|
|
|
|
2 |
global $backwupu_exclude ,$backwpup_allfilezise, $backwpup_jobs;
|
3 |
$backwpup_jobs=$jobs[$jobid];
|
4 |
backwpup_joblog($logtime,__('Run file backup...','backwpup'));
|
@@ -19,6 +23,8 @@
|
|
19 |
if (false !== stripos($folder.'/'.$file,str_replace('\\','/',$exclusion)))
|
20 |
continue 2;
|
21 |
}
|
|
|
|
|
22 |
if (!$backwpup_jobs['backupcontent'] and false !== stripos($folder.'/'.$file,str_replace('\\','/',WP_CONTENT_DIR)) and false === stripos($folder.'/'.$file,str_replace('\\','/',WP_PLUGIN_DIR)) and !is_dir($folder.'/'.$file))
|
23 |
continue;
|
24 |
if (!$backwpup_jobs['backupplugins'] and false !== stripos($folder.'/'.$file,str_replace('\\','/',WP_PLUGIN_DIR)))
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
|
6 |
global $backwupu_exclude ,$backwpup_allfilezise, $backwpup_jobs;
|
7 |
$backwpup_jobs=$jobs[$jobid];
|
8 |
backwpup_joblog($logtime,__('Run file backup...','backwpup'));
|
23 |
if (false !== stripos($folder.'/'.$file,str_replace('\\','/',$exclusion)))
|
24 |
continue 2;
|
25 |
}
|
26 |
+
if (!$backwpup_jobs['backuproot'] and false !== stripos($folder.'/'.$file,str_replace('\\','/',ABSPATH)) and false === stripos($folder.'/'.$file,str_replace('\\','/',WP_CONTENT_DIR)) and !is_dir($folder.'/'.$file))
|
27 |
+
continue;
|
28 |
if (!$backwpup_jobs['backupcontent'] and false !== stripos($folder.'/'.$file,str_replace('\\','/',WP_CONTENT_DIR)) and false === stripos($folder.'/'.$file,str_replace('\\','/',WP_PLUGIN_DIR)) and !is_dir($folder.'/'.$file))
|
29 |
continue;
|
30 |
if (!$backwpup_jobs['backupplugins'] and false !== stripos($folder.'/'.$file,str_replace('\\','/',WP_PLUGIN_DIR)))
|
app/dojob/optimize.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
<?PHP
|
|
|
|
|
|
|
|
|
2 |
//Optimize SQL Table
|
3 |
backwpup_joblog($logtime,__('Run Database optimize...','backwpup'));
|
4 |
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
|
6 |
//Optimize SQL Table
|
7 |
backwpup_joblog($logtime,__('Run Database optimize...','backwpup'));
|
8 |
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
app/functions.php
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
<?PHP
|
|
|
|
|
|
|
2 |
|
3 |
//Thems Option menu entry
|
4 |
function backwpup_menu_entry() {
|
@@ -14,7 +17,7 @@
|
|
14 |
$help .= ' | <a href="http://wordpress.org/extend/plugins/backwpup/faq/" target="_blank">' . __('FAQ') . '</a>';
|
15 |
$help .= ' | <a href="http://danielhuesken.de/portfolio/backwpup" target="_blank">' . __('Plugin Homepage', 'backwpup') . '</a>';
|
16 |
$help .= ' | <a href="http://wordpress.org/extend/plugins/backwpup" target="_blank">' . __('Plugin Home on WordPress.org', 'backwpup') . '</a>';
|
17 |
-
$help .= ' | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Plugin%20Donation&item_number=BackWPup&no_shipping=0&no_note=1&tax=0¤cy_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" target="_blank">' . __('Donate') . '</a>';
|
18 |
$help .= "</div>\n";
|
19 |
$help .= '<div class="metabox-prefs">';
|
20 |
$help .= __('Version:', 'backwpup').' '.BACKWPUP_VERSION.' | ';
|
@@ -35,7 +38,7 @@
|
|
35 |
$jobs=get_option('backwpup_jobs');
|
36 |
$jobid = (int) $_REQUEST['jobid'];
|
37 |
check_admin_referer('edit-job');
|
38 |
-
require_once(WP_PLUGIN_DIR.'/'.BACKWPUP_PLUGIN_DIR.'/app/options-
|
39 |
break;
|
40 |
case 'logs':
|
41 |
require_once(WP_PLUGIN_DIR.'/'.BACKWPUP_PLUGIN_DIR.'/app/options-logs.php');
|
@@ -72,7 +75,7 @@
|
|
72 |
wp_die('No rights');
|
73 |
//Css for Admin Section
|
74 |
wp_enqueue_style('BackWpup',plugins_url('/'.BACKWPUP_PLUGIN_DIR.'/app/css/options.css'),'',BACKWPUP_VERSION,'screen');
|
75 |
-
//wp_enqueue_script('BackWpupOptions',plugins_url('/'.BACKWPUP_PLUGIN_DIR.'/app/js/
|
76 |
//For save Options
|
77 |
require_once(WP_PLUGIN_DIR.'/'.BACKWPUP_PLUGIN_DIR.'/app/options-save.php');
|
78 |
}
|
@@ -233,14 +236,14 @@
|
|
233 |
|
234 |
if (memory_get_usage()+$memneed>$memory) { // increase Memory
|
235 |
if (ini_get('safe_mode') or strtolower(ini_get('safe_mode'))=='on' or ini_get('safe_mode')=='1') {
|
236 |
-
backwpup_joblog($logtime,__('WARNING:','backwpup').' '.sprintf(__('PHP Safe Mode is on!!! Can not
|
237 |
return false;
|
238 |
}
|
239 |
$newmemory=round((memory_get_usage()+$memneed)/1024/1024)+1;
|
240 |
if ($oldmem=ini_set('memory_limit', $newmemory.'M'))
|
241 |
-
backwpup_joblog($logtime,sprintf(__('Memory
|
242 |
else
|
243 |
-
backwpup_joblog($logtime,sprintf(__('ERROR:','backwpup').' '.__('Can not
|
244 |
}
|
245 |
return true;
|
246 |
}
|
@@ -250,14 +253,20 @@
|
|
250 |
function backwpup_joblog($logtime,$entry) {
|
251 |
global $wpdb;
|
252 |
$errors=0;$warnings=0;
|
253 |
-
|
|
|
254 |
$errors=1;
|
255 |
-
|
|
|
|
|
256 |
$warnings=1;
|
|
|
|
|
257 |
mysql_query("UPDATE ".$wpdb->backwpup_logs." SET error=error+".$errors.", warning=warning+".$warnings.", log=concat(log,'".mysql_real_escape_string(date('Y-m-d H:i:s').": ".$entry."\n")."') WHERE logtime=".$logtime);
|
258 |
if (!defined('DOING_CRON'))
|
259 |
-
echo date('Y-m-d H:i:s')."
|
260 |
flush();
|
|
|
261 |
}
|
262 |
|
263 |
//file size
|
@@ -283,10 +292,10 @@
|
|
283 |
$typename=__('File Backup','backwpup');
|
284 |
break;
|
285 |
case 'OPTIMIZE':
|
286 |
-
$typename=__('Optimize Database
|
287 |
break;
|
288 |
case 'CHECK':
|
289 |
-
$typename=__('Check Database
|
290 |
break;
|
291 |
default:
|
292 |
$typename=array('DB+FILE','DB','FILE','OPTIMIZE','CHECK');
|
1 |
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
|
6 |
//Thems Option menu entry
|
7 |
function backwpup_menu_entry() {
|
17 |
$help .= ' | <a href="http://wordpress.org/extend/plugins/backwpup/faq/" target="_blank">' . __('FAQ') . '</a>';
|
18 |
$help .= ' | <a href="http://danielhuesken.de/portfolio/backwpup" target="_blank">' . __('Plugin Homepage', 'backwpup') . '</a>';
|
19 |
$help .= ' | <a href="http://wordpress.org/extend/plugins/backwpup" target="_blank">' . __('Plugin Home on WordPress.org', 'backwpup') . '</a>';
|
20 |
+
$help .= ' | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Plugin%20Donation&item_number=BackWPup&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8" target="_blank">' . __('Donate') . '</a>';
|
21 |
$help .= "</div>\n";
|
22 |
$help .= '<div class="metabox-prefs">';
|
23 |
$help .= __('Version:', 'backwpup').' '.BACKWPUP_VERSION.' | ';
|
38 |
$jobs=get_option('backwpup_jobs');
|
39 |
$jobid = (int) $_REQUEST['jobid'];
|
40 |
check_admin_referer('edit-job');
|
41 |
+
require_once(WP_PLUGIN_DIR.'/'.BACKWPUP_PLUGIN_DIR.'/app/options-jobs.php');
|
42 |
break;
|
43 |
case 'logs':
|
44 |
require_once(WP_PLUGIN_DIR.'/'.BACKWPUP_PLUGIN_DIR.'/app/options-logs.php');
|
75 |
wp_die('No rights');
|
76 |
//Css for Admin Section
|
77 |
wp_enqueue_style('BackWpup',plugins_url('/'.BACKWPUP_PLUGIN_DIR.'/app/css/options.css'),'',BACKWPUP_VERSION,'screen');
|
78 |
+
//wp_enqueue_script('BackWpupOptions',plugins_url('/'.BACKWPUP_PLUGIN_DIR.'/app/js/otions.js'),'',BACKWPUP_VERSION,true);
|
79 |
//For save Options
|
80 |
require_once(WP_PLUGIN_DIR.'/'.BACKWPUP_PLUGIN_DIR.'/app/options-save.php');
|
81 |
}
|
236 |
|
237 |
if (memory_get_usage()+$memneed>$memory) { // increase Memory
|
238 |
if (ini_get('safe_mode') or strtolower(ini_get('safe_mode'))=='on' or ini_get('safe_mode')=='1') {
|
239 |
+
backwpup_joblog($logtime,__('WARNING:','backwpup').' '.sprintf(__('PHP Safe Mode is on!!! Can not increase Memory Limit is %1$s','backwpup'),ini_get('memory_limit')));
|
240 |
return false;
|
241 |
}
|
242 |
$newmemory=round((memory_get_usage()+$memneed)/1024/1024)+1;
|
243 |
if ($oldmem=ini_set('memory_limit', $newmemory.'M'))
|
244 |
+
backwpup_joblog($logtime,sprintf(__('Memory increased from %1$s to %2$s','backwpup'),$oldmem,ini_get('memory_limit')));
|
245 |
else
|
246 |
+
backwpup_joblog($logtime,sprintf(__('ERROR:','backwpup').' '.__('Can not increase Memory Limit is %1$s','backwpup'),ini_get('memory_limit')));
|
247 |
}
|
248 |
return true;
|
249 |
}
|
253 |
function backwpup_joblog($logtime,$entry) {
|
254 |
global $wpdb;
|
255 |
$errors=0;$warnings=0;
|
256 |
+
$style="";
|
257 |
+
if (substr($entry,0,strlen(__('ERROR:','backwpup')))==__('ERROR:','backwpup')) {
|
258 |
$errors=1;
|
259 |
+
$style=' style="background-color:red;"';
|
260 |
+
}
|
261 |
+
if (substr($entry,0,strlen(__('WARNING:','backwpup')))==__('WARNING:','backwpup')) {
|
262 |
$warnings=1;
|
263 |
+
$style=' style="background-color:yellow;"';
|
264 |
+
}
|
265 |
mysql_query("UPDATE ".$wpdb->backwpup_logs." SET error=error+".$errors.", warning=warning+".$warnings.", log=concat(log,'".mysql_real_escape_string(date('Y-m-d H:i:s').": ".$entry."\n")."') WHERE logtime=".$logtime);
|
266 |
if (!defined('DOING_CRON'))
|
267 |
+
echo "<span style=\"background-color:c3c3c3;\">".date('Y-m-d H:i:s').":</span> <span".$style.">".$entry."</span><script type=\"text/javascript\">window.scrollByLines(3);</script><br />\n";
|
268 |
flush();
|
269 |
+
ob_flush();
|
270 |
}
|
271 |
|
272 |
//file size
|
292 |
$typename=__('File Backup','backwpup');
|
293 |
break;
|
294 |
case 'OPTIMIZE':
|
295 |
+
$typename=__('Optimize Database Tables','backwpup');
|
296 |
break;
|
297 |
case 'CHECK':
|
298 |
+
$typename=__('Check Database Tables','backwpup');
|
299 |
break;
|
300 |
default:
|
301 |
$typename=array('DB+FILE','DB','FILE','OPTIMIZE','CHECK');
|
app/iframe-dojob.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?PHP
|
2 |
+
if ( !defined('ABSPATH') ) {
|
3 |
+
/** Setup WordPress environment */
|
4 |
+
require_once($_GET['ABSPATH'].'/wp-load.php');
|
5 |
+
}
|
6 |
+
?>
|
7 |
+
<html>
|
8 |
+
<head>
|
9 |
+
</head>
|
10 |
+
<body style="font-family:monospace;font-size:12px;white-space:nowrap;">
|
11 |
+
<?PHP
|
12 |
+
check_admin_referer('dojob-now_' . (int)$_GET['jobid']);
|
13 |
+
ignore_user_abort(true);
|
14 |
+
// flush any buffers and send the headers
|
15 |
+
ob_start();
|
16 |
+
while (@ob_end_flush());
|
17 |
+
flush();
|
18 |
+
backwpup_dojob($_GET['jobid']);
|
19 |
+
?>
|
20 |
+
</body>
|
21 |
+
</html>
|
app/{options-edit.php → options-jobs.php}
RENAMED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div class="wrap">
|
2 |
<div id="icon-tools" class="icon32"><br /></div>
|
3 |
<h2><?php _e('Edit BackWPup Job', 'backwpup'); ?></h2>
|
@@ -8,25 +13,7 @@
|
|
8 |
<?php
|
9 |
wp_nonce_field('edit-job');
|
10 |
if (empty($jobs[$jobid]['type']))
|
11 |
-
$jobs[$jobid]['type']='DB+FILE';
|
12 |
-
|
13 |
-
|
14 |
-
if ($jobs[$jobid]['type']=='OPTIMIZE' or $jobs[$jobid]['type']=='CHECK') {
|
15 |
-
echo '<input type="hidden" name="backupdir" value="'.$jobs[$jobid]['backupdir'].'" />';
|
16 |
-
echo '<input type="hidden" name="maxbackups" value="'.$jobs[$jobid]['maxbackups'].'" />';
|
17 |
-
}
|
18 |
-
if ($jobs[$jobid]['type']=='DB' or $jobs[$jobid]['type']=='OPTIMIZE' or $jobs[$jobid]['type']=='CHECK') {
|
19 |
-
echo '<input type="hidden" name="fileexclude" value="'.$jobs[$jobid]['fileexclude'].'" />';
|
20 |
-
}
|
21 |
-
if ($jobs[$jobid]['type']=='FILE') {
|
22 |
-
if (is_array($jobs[$jobid]['dbexclude'])) {
|
23 |
-
foreach ($jobs[$jobid]['dbexclude'] as $table) {
|
24 |
-
echo '<input type="hidden" name="dbexclude[]" value="'.$table.'" />';
|
25 |
-
}
|
26 |
-
}
|
27 |
-
}
|
28 |
-
|
29 |
-
|
30 |
?>
|
31 |
|
32 |
<table class="form-table">
|
@@ -52,7 +39,7 @@ if ($jobs[$jobid]['type']=='FILE') {
|
|
52 |
|
53 |
<?PHP if ($jobs[$jobid]['type']=='DB' or $jobs[$jobid]['type']=='DB+FILE' or $jobs[$jobid]['type']=='OPTIMIZE' or $jobs[$jobid]['type']=='CHECK') {?>
|
54 |
<tr valign="top">
|
55 |
-
<th scope="row"><label for="dbexclude"><?PHP _e('Exclude
|
56 |
<?php
|
57 |
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
58 |
if (!isset($jobs[$jobid]['dbexclude'])) { //def.
|
@@ -72,26 +59,26 @@ foreach ($tables as $table) {
|
|
72 |
<?PHP if ($jobs[$jobid]['type']=='FILE' or $jobs[$jobid]['type']=='DB+FILE') {?>
|
73 |
<?PHP if (!isset($jobs[$jobid]['backuproot'])) $jobs[$jobid]['backuproot']=true; if (!isset($jobs[$jobid]['backupcontent'])) $jobs[$jobid]['backupcontent']=true; if (!isset($jobs[$jobid]['backupplugins'])) $jobs[$jobid]['backupplugins']=true;?>
|
74 |
<tr valign="top">
|
75 |
-
<th scope="row"><label for="fileinclude"><?PHP _e('Backup Blog
|
76 |
<input class="checkbox" type="checkbox"<?php checked($jobs[$jobid]['backuproot'],true,true);?> name="backuproot" value="1"/> <?php _e('Blog root and WP Files','backwpup');?><br />
|
77 |
<input class="checkbox" type="checkbox"<?php checked($jobs[$jobid]['backupcontent'],true,true);?> name="backupcontent" value="1"/> <?php _e('Blog Content','backwpup');?><br />
|
78 |
<input class="checkbox" type="checkbox"<?php checked($jobs[$jobid]['backupplugins'],true,true);?> name="backupplugins" value="1"/> <?php _e('Blog Plugins','backwpup');?>
|
79 |
</td></tr>
|
80 |
|
81 |
<tr valign="top">
|
82 |
-
<th scope="row"><label for="dirinclude"><?PHP _e('Include
|
83 |
-
<input name="dirinclude" type="text" value="<?PHP echo $jobs[$jobid]['dirinclude'];?>" class="regular-text" /><span class="description"><?PHP echo __('Separate with ,. Full Path like:','backwpup').' '.str_replace('\\','/',ABSPATH); ?></span>
|
84 |
</td></tr>
|
85 |
|
86 |
<tr valign="top">
|
87 |
-
<th scope="row"><label for="fileexclude"><?PHP _e('Exclude
|
88 |
-
<input name="fileexclude" type="text" value="<?PHP echo $jobs[$jobid]['fileexclude'];?>" class="regular-text" /><span class="description"><?PHP _e('Separate with ,','backwpup') ?></span>
|
89 |
</td></tr>
|
90 |
<?PHP } ?>
|
91 |
|
92 |
<tr valign="top">
|
93 |
-
<th scope="row"><label for="
|
94 |
-
<td>
|
95 |
<?php
|
96 |
_e('Run Every:', 'backwpup');
|
97 |
echo '<select name="scheduleintervalteimes">';
|
@@ -103,7 +90,7 @@ if (empty($jobs[$jobid]['scheduleintervaltype']))
|
|
103 |
$jobs[$jobid]['scheduleintervaltype']=3600;
|
104 |
echo '<select name="scheduleintervaltype">';
|
105 |
echo '<option value="60"'.selected('3600',$jobs[$jobid]['scheduleintervaltype'],false).'>'.__('Min(s)','backwpup').'</option>';
|
106 |
-
echo '<option value="3600"'.selected('3600',$jobs[$jobid]['scheduleintervaltype'],false).'>'.__('
|
107 |
echo '<option value="86400"'.selected('86400',$jobs[$jobid]['scheduleintervaltype'],false).'>'.__('Day(s)','backwpup').'</option>';
|
108 |
echo '</select><br />';
|
109 |
|
@@ -139,7 +126,7 @@ for ($i=date('Y')-1;$i<=date('Y')+3;$i++) {
|
|
139 |
}
|
140 |
echo '</select><br />';
|
141 |
?>
|
142 |
-
<input class="checkbox" value="1" type="checkbox" <?php checked($jobs[$jobid]['activated'],true); ?> name="activated" /> <?PHP _e('Activate
|
143 |
</td>
|
144 |
</tr>
|
145 |
|
@@ -147,24 +134,24 @@ echo '</select><br />';
|
|
147 |
<tr valign="top">
|
148 |
<?PHP if (empty($jobs[$jobid]['backupdir'])) $jobs[$jobid]['backupdir']=str_replace('\\','/',WP_CONTENT_DIR).'/backwpup/';?>
|
149 |
<th scope="row"><label for="backupdir"><?PHP _e('Save Backups to directory','backwpup'); ?></label></th>
|
150 |
-
<td><input name="backupdir" type="text" value="<?PHP echo $jobs[$jobid]['backupdir'];?>" class="regular-text" /><span class="description"><?PHP _e('Full
|
151 |
</tr>
|
152 |
<tr valign="top">
|
153 |
-
<th scope="row"><label for="maxbackups"><?PHP _e('Max.
|
154 |
<td>
|
155 |
-
<input name="maxbackups" type="text" value="<?PHP echo $jobs[$jobid]['maxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('0=off','backwpup');?> <?PHP _e('Oldest files will
|
156 |
</td>
|
157 |
</tr>
|
158 |
|
159 |
|
160 |
<tr valign="top">
|
161 |
<th scope="row"><label for="ftptransfer"><?PHP _e('Copy Backup to FTP Server','backwpup'); ?></label></th>
|
162 |
-
<td>
|
163 |
<?PHP _e('Ftp Hostname:','backwpup'); ?><input name="ftphost" type="text" value="<?PHP echo $jobs[$jobid]['ftphost'];?>" class="regular-text" /><br />
|
164 |
<?PHP _e('Ftp Username:','backwpup'); ?><input name="ftpuser" type="text" value="<?PHP echo $jobs[$jobid]['ftpuser'];?>" class="user" /><br />
|
165 |
<?PHP _e('Ftp Password:','backwpup'); ?><input name="ftppass" type="password" value="<?PHP echo base64_decode($jobs[$jobid]['ftppass']);?>" class="password" /><br />
|
166 |
<?PHP _e('Ftp directory:','backwpup'); ?><input name="ftpdir" type="text" value="<?PHP echo $jobs[$jobid]['ftpdir'];?>" class="regular-text" /><br />
|
167 |
-
<?PHP _e('Max Backup
|
168 |
</td>
|
169 |
</tr>
|
170 |
|
@@ -173,10 +160,10 @@ echo '</select><br />';
|
|
173 |
|
174 |
<tr valign="top">
|
175 |
<th scope="row"><label for="mailaddress"><?PHP _e('Send Mail to','backwpup'); ?></label></th>
|
176 |
-
<td><input name="mailaddress" type="text" value="<?PHP echo $jobs[$jobid]['mailaddress'];?>" class="regular-text" /><br />
|
177 |
<?PHP
|
178 |
if ($jobs[$jobid]['type']=='FILE' or $jobs[$jobid]['type']=='DB' or $jobs[$jobid]['type']=='DB+FILE') {
|
179 |
-
echo __('Max
|
180 |
}
|
181 |
?>
|
182 |
<input class="checkbox" value="1" type="checkbox" <?php checked($jobs[$jobid]['mailerroronly'],true); ?> name="mailerroronly" /> <?PHP _e('Send only mail on errors.','backwpup'); ?>
|
@@ -187,4 +174,5 @@ if ($jobs[$jobid]['type']=='FILE' or $jobs[$jobid]['type']=='DB' or $jobs[$jobid
|
|
187 |
<p class="submit">
|
188 |
<input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes', 'backwpup'); ?>" />
|
189 |
</p>
|
190 |
-
</form>
|
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
?>
|
6 |
<div class="wrap">
|
7 |
<div id="icon-tools" class="icon32"><br /></div>
|
8 |
<h2><?php _e('Edit BackWPup Job', 'backwpup'); ?></h2>
|
13 |
<?php
|
14 |
wp_nonce_field('edit-job');
|
15 |
if (empty($jobs[$jobid]['type']))
|
16 |
+
$jobs[$jobid]['type']='DB+FILE';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
?>
|
18 |
|
19 |
<table class="form-table">
|
39 |
|
40 |
<?PHP if ($jobs[$jobid]['type']=='DB' or $jobs[$jobid]['type']=='DB+FILE' or $jobs[$jobid]['type']=='OPTIMIZE' or $jobs[$jobid]['type']=='CHECK') {?>
|
41 |
<tr valign="top">
|
42 |
+
<th scope="row"><label for="dbexclude"><?PHP _e('Exclude Database Tables:','backwpup'); ?></label></th><td>
|
43 |
<?php
|
44 |
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
45 |
if (!isset($jobs[$jobid]['dbexclude'])) { //def.
|
59 |
<?PHP if ($jobs[$jobid]['type']=='FILE' or $jobs[$jobid]['type']=='DB+FILE') {?>
|
60 |
<?PHP if (!isset($jobs[$jobid]['backuproot'])) $jobs[$jobid]['backuproot']=true; if (!isset($jobs[$jobid]['backupcontent'])) $jobs[$jobid]['backupcontent']=true; if (!isset($jobs[$jobid]['backupplugins'])) $jobs[$jobid]['backupplugins']=true;?>
|
61 |
<tr valign="top">
|
62 |
+
<th scope="row"><label for="fileinclude"><?PHP _e('Backup Blog Folders','backwpup'); ?></label></th><td id="fileinclude">
|
63 |
<input class="checkbox" type="checkbox"<?php checked($jobs[$jobid]['backuproot'],true,true);?> name="backuproot" value="1"/> <?php _e('Blog root and WP Files','backwpup');?><br />
|
64 |
<input class="checkbox" type="checkbox"<?php checked($jobs[$jobid]['backupcontent'],true,true);?> name="backupcontent" value="1"/> <?php _e('Blog Content','backwpup');?><br />
|
65 |
<input class="checkbox" type="checkbox"<?php checked($jobs[$jobid]['backupplugins'],true,true);?> name="backupplugins" value="1"/> <?php _e('Blog Plugins','backwpup');?>
|
66 |
</td></tr>
|
67 |
|
68 |
<tr valign="top">
|
69 |
+
<th scope="row"><label for="dirinclude"><?PHP _e('Include Folders','backwpup'); ?></label></th><td>
|
70 |
+
<input name="dirinclude" id="dirinclude" type="text" value="<?PHP echo $jobs[$jobid]['dirinclude'];?>" class="regular-text" /><span class="description"><?PHP echo __('Separate with ,. Full Path like:','backwpup').' '.str_replace('\\','/',ABSPATH); ?></span>
|
71 |
</td></tr>
|
72 |
|
73 |
<tr valign="top">
|
74 |
+
<th scope="row"><label for="fileexclude"><?PHP _e('Exclude Files/Folders','backwpup'); ?></label></th><td>
|
75 |
+
<input name="fileexclude" id="fileexclude" type="text" value="<?PHP echo $jobs[$jobid]['fileexclude'];?>" class="regular-text" /><span class="description"><?PHP _e('Separate with ,','backwpup') ?></span>
|
76 |
</td></tr>
|
77 |
<?PHP } ?>
|
78 |
|
79 |
<tr valign="top">
|
80 |
+
<th scope="row"><label for="jobschedule"><?PHP _e('Schedule','backwpup'); ?></label></th>
|
81 |
+
<td id="jobschedule">
|
82 |
<?php
|
83 |
_e('Run Every:', 'backwpup');
|
84 |
echo '<select name="scheduleintervalteimes">';
|
90 |
$jobs[$jobid]['scheduleintervaltype']=3600;
|
91 |
echo '<select name="scheduleintervaltype">';
|
92 |
echo '<option value="60"'.selected('3600',$jobs[$jobid]['scheduleintervaltype'],false).'>'.__('Min(s)','backwpup').'</option>';
|
93 |
+
echo '<option value="3600"'.selected('3600',$jobs[$jobid]['scheduleintervaltype'],false).'>'.__('Hour(s)','backwpup').'</option>';
|
94 |
echo '<option value="86400"'.selected('86400',$jobs[$jobid]['scheduleintervaltype'],false).'>'.__('Day(s)','backwpup').'</option>';
|
95 |
echo '</select><br />';
|
96 |
|
126 |
}
|
127 |
echo '</select><br />';
|
128 |
?>
|
129 |
+
<input class="checkbox" value="1" type="checkbox" <?php checked($jobs[$jobid]['activated'],true); ?> name="activated" /> <?PHP _e('Activate scheduling', 'backwpup'); ?>
|
130 |
</td>
|
131 |
</tr>
|
132 |
|
134 |
<tr valign="top">
|
135 |
<?PHP if (empty($jobs[$jobid]['backupdir'])) $jobs[$jobid]['backupdir']=str_replace('\\','/',WP_CONTENT_DIR).'/backwpup/';?>
|
136 |
<th scope="row"><label for="backupdir"><?PHP _e('Save Backups to directory','backwpup'); ?></label></th>
|
137 |
+
<td><input name="backupdir" id="backupdir" type="text" value="<?PHP echo $jobs[$jobid]['backupdir'];?>" class="regular-text" /><span class="description"><?PHP _e('Full Path of Folder for Backup Files','backwpup'); ?></span></td>
|
138 |
</tr>
|
139 |
<tr valign="top">
|
140 |
+
<th scope="row"><label for="maxbackups"><?PHP _e('Max. Number of Backup Files','backwpup'); ?></label></th>
|
141 |
<td>
|
142 |
+
<input name="maxbackups" id="maxbackups" type="text" value="<?PHP echo $jobs[$jobid]['maxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('0=off','backwpup');?> <?PHP _e('Oldest files will deleted first.','backwpup');?></span>
|
143 |
</td>
|
144 |
</tr>
|
145 |
|
146 |
|
147 |
<tr valign="top">
|
148 |
<th scope="row"><label for="ftptransfer"><?PHP _e('Copy Backup to FTP Server','backwpup'); ?></label></th>
|
149 |
+
<td id="ftptransfer">
|
150 |
<?PHP _e('Ftp Hostname:','backwpup'); ?><input name="ftphost" type="text" value="<?PHP echo $jobs[$jobid]['ftphost'];?>" class="regular-text" /><br />
|
151 |
<?PHP _e('Ftp Username:','backwpup'); ?><input name="ftpuser" type="text" value="<?PHP echo $jobs[$jobid]['ftpuser'];?>" class="user" /><br />
|
152 |
<?PHP _e('Ftp Password:','backwpup'); ?><input name="ftppass" type="password" value="<?PHP echo base64_decode($jobs[$jobid]['ftppass']);?>" class="password" /><br />
|
153 |
<?PHP _e('Ftp directory:','backwpup'); ?><input name="ftpdir" type="text" value="<?PHP echo $jobs[$jobid]['ftpdir'];?>" class="regular-text" /><br />
|
154 |
+
<?PHP _e('Max Backup files on ftp:','backwpup'); ?><input name="ftpmaxbackups" type="text" value="<?PHP echo $jobs[$jobid]['ftpmaxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('0=off','backwpup');?></span><br />
|
155 |
</td>
|
156 |
</tr>
|
157 |
|
160 |
|
161 |
<tr valign="top">
|
162 |
<th scope="row"><label for="mailaddress"><?PHP _e('Send Mail to','backwpup'); ?></label></th>
|
163 |
+
<td><input name="mailaddress" id="mailaddress" type="text" value="<?PHP echo $jobs[$jobid]['mailaddress'];?>" class="regular-text" /><br />
|
164 |
<?PHP
|
165 |
if ($jobs[$jobid]['type']=='FILE' or $jobs[$jobid]['type']=='DB' or $jobs[$jobid]['type']=='DB+FILE') {
|
166 |
+
echo __('Max File Size for sending Backups with mail:','backwpup').'<input name="mailefilesize" type="text" value="'.$jobs[$jobid]['mailefilesize'].'" class="small-text" />MB <span class="description">'.__('0=send log only.','backwpup').'</span><br />';
|
167 |
}
|
168 |
?>
|
169 |
<input class="checkbox" value="1" type="checkbox" <?php checked($jobs[$jobid]['mailerroronly'],true); ?> name="mailerroronly" /> <?PHP _e('Send only mail on errors.','backwpup'); ?>
|
174 |
<p class="submit">
|
175 |
<input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes', 'backwpup'); ?>" />
|
176 |
</p>
|
177 |
+
</form>
|
178 |
+
</div>
|
app/options-logs.php
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div class="wrap">
|
2 |
<div id="icon-tools" class="icon32"><br /></div>
|
3 |
<h2><?php _e('BackWPup Logs', 'backwpup'); ?></h2>
|
@@ -33,7 +38,7 @@
|
|
33 |
<th scope="col" id="id" class="manage-column column-id" style=""><?PHP _e('Job','backwpup'); ?></th>
|
34 |
<th scope="col" id="type" class="manage-column column-type" style=""><?PHP _e('Type','backwpup'); ?></th>
|
35 |
<th scope="col" id="log" class="manage-column column-log" style=""><?PHP _e('Backup/Log Date/Time','backwpup'); ?></th>
|
36 |
-
<th scope="col" id="
|
37 |
<th scope="col" id="size" class="manage-column column-size" style=""><?PHP _e('Size','backwpup'); ?></th>
|
38 |
<th scope="col" id="logdate" class="manage-column column-runtime" style=""><?PHP _e('Runtime','backwpup'); ?></th>
|
39 |
</tr>
|
@@ -57,7 +62,7 @@
|
|
57 |
$logs=$wpdb->get_results("SELECT * FROM ".$wpdb->backwpup_logs." ORDER BY logtime DESC", ARRAY_A);
|
58 |
if (is_array($logs)) {
|
59 |
foreach ($logs as $logvalue) {?>
|
60 |
-
<tr id="
|
61 |
<th scope="row" class="check-column">
|
62 |
<input type="checkbox" name="logs[]" value="<?PHP echo $logvalue['logtime']?>" />
|
63 |
</th>
|
@@ -74,13 +79,13 @@
|
|
74 |
$name=basename($logvalue['backupfile']);
|
75 |
?>
|
76 |
<strong><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=view_log&logtime='.$logvalue['logtime'], 'view-log'); ?>" title="<?PHP _e('View log','backwpup'); ?>"><?PHP echo date(get_option('date_format'),$logvalue['logtime']); ?> <?PHP echo date(get_option('time_format'),$logvalue['logtime']); ?><?php if (!empty($logvalue['jobname'])) echo ': <i>'.$logvalue['jobname'].'</i>';?></a></strong>
|
77 |
-
<
|
78 |
<span class="view"><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=view_log&logtime='.$logvalue['logtime'], 'view-log'); ?>"><?PHP _e('View','backwpup'); ?></a></span>
|
79 |
<span class="delete"> | <a class="submitdelete" href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=delete-logs&log='.$logvalue['logtime'], 'delete-log_'.$logvalue['logtime']); ?>" onclick="if ( confirm('<?PHP echo esc_js(__("You are about to delete this Log and Backupfile. \n 'Cancel' to stop, 'OK' to delete.","backwpup")) ?>') ){return true;}return false;"><?PHP _e('Delete','backwpup'); ?></a></span>
|
80 |
<?PHP if (!empty($logvalue['backupfile']) and is_file($logvalue['backupfile'])) { ?>
|
81 |
<span class="download"> | <a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=download&log='.$logvalue['logtime'], 'download-backup_'.$logvalue['logtime']); ?>"><?PHP _e('Download','backwpup'); ?></a></span>
|
82 |
<?PHP } ?>
|
83 |
-
</div
|
84 |
</td>
|
85 |
<td class="column-status">
|
86 |
<strong>
|
@@ -131,4 +136,4 @@
|
|
131 |
</form>
|
132 |
<br class="clear" />
|
133 |
|
134 |
-
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
?>
|
6 |
<div class="wrap">
|
7 |
<div id="icon-tools" class="icon32"><br /></div>
|
8 |
<h2><?php _e('BackWPup Logs', 'backwpup'); ?></h2>
|
38 |
<th scope="col" id="id" class="manage-column column-id" style=""><?PHP _e('Job','backwpup'); ?></th>
|
39 |
<th scope="col" id="type" class="manage-column column-type" style=""><?PHP _e('Type','backwpup'); ?></th>
|
40 |
<th scope="col" id="log" class="manage-column column-log" style=""><?PHP _e('Backup/Log Date/Time','backwpup'); ?></th>
|
41 |
+
<th scope="col" id="status" class="manage-column column-status" style=""><?PHP _e('Status','backwpup'); ?></th>
|
42 |
<th scope="col" id="size" class="manage-column column-size" style=""><?PHP _e('Size','backwpup'); ?></th>
|
43 |
<th scope="col" id="logdate" class="manage-column column-runtime" style=""><?PHP _e('Runtime','backwpup'); ?></th>
|
44 |
</tr>
|
62 |
$logs=$wpdb->get_results("SELECT * FROM ".$wpdb->backwpup_logs." ORDER BY logtime DESC", ARRAY_A);
|
63 |
if (is_array($logs)) {
|
64 |
foreach ($logs as $logvalue) {?>
|
65 |
+
<tr id="log-<?PHP echo $logvalue['logtime']?>" class="alternate author-self status-inherit" valign="top">
|
66 |
<th scope="row" class="check-column">
|
67 |
<input type="checkbox" name="logs[]" value="<?PHP echo $logvalue['logtime']?>" />
|
68 |
</th>
|
79 |
$name=basename($logvalue['backupfile']);
|
80 |
?>
|
81 |
<strong><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=view_log&logtime='.$logvalue['logtime'], 'view-log'); ?>" title="<?PHP _e('View log','backwpup'); ?>"><?PHP echo date(get_option('date_format'),$logvalue['logtime']); ?> <?PHP echo date(get_option('time_format'),$logvalue['logtime']); ?><?php if (!empty($logvalue['jobname'])) echo ': <i>'.$logvalue['jobname'].'</i>';?></a></strong>
|
82 |
+
<div class="row-actions">
|
83 |
<span class="view"><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=view_log&logtime='.$logvalue['logtime'], 'view-log'); ?>"><?PHP _e('View','backwpup'); ?></a></span>
|
84 |
<span class="delete"> | <a class="submitdelete" href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=delete-logs&log='.$logvalue['logtime'], 'delete-log_'.$logvalue['logtime']); ?>" onclick="if ( confirm('<?PHP echo esc_js(__("You are about to delete this Log and Backupfile. \n 'Cancel' to stop, 'OK' to delete.","backwpup")) ?>') ){return true;}return false;"><?PHP _e('Delete','backwpup'); ?></a></span>
|
85 |
<?PHP if (!empty($logvalue['backupfile']) and is_file($logvalue['backupfile'])) { ?>
|
86 |
<span class="download"> | <a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=download&log='.$logvalue['logtime'], 'download-backup_'.$logvalue['logtime']); ?>"><?PHP _e('Download','backwpup'); ?></a></span>
|
87 |
<?PHP } ?>
|
88 |
+
</div>
|
89 |
</td>
|
90 |
<td class="column-status">
|
91 |
<strong>
|
136 |
</form>
|
137 |
<br class="clear" />
|
138 |
|
139 |
+
</div>
|
app/options-runnow.php
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div class="wrap">
|
2 |
<div id="icon-tools" class="icon32"><br /></div>
|
3 |
<h2><?php _e("BackWPup Job Running", "backwpup"); ?></h2>
|
@@ -7,7 +12,10 @@
|
|
7 |
<li><a href="admin.php?page=BackWPup&action=tools"><?PHP _e('Tools','backwpup'); ?></a> |</li>
|
8 |
<li><a href="admin.php?page=BackWPup&action=settings"><?PHP _e('Settings','backwpup'); ?></a></li>
|
9 |
</ul>
|
10 |
-
<br class="clear" />
|
11 |
-
<
|
12 |
-
|
13 |
-
</
|
|
|
|
|
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
?>
|
6 |
<div class="wrap">
|
7 |
<div id="icon-tools" class="icon32"><br /></div>
|
8 |
<h2><?php _e("BackWPup Job Running", "backwpup"); ?></h2>
|
12 |
<li><a href="admin.php?page=BackWPup&action=tools"><?PHP _e('Tools','backwpup'); ?></a> |</li>
|
13 |
<li><a href="admin.php?page=BackWPup&action=settings"><?PHP _e('Settings','backwpup'); ?></a></li>
|
14 |
</ul>
|
15 |
+
<br class="clear" />
|
16 |
+
<big><?php
|
17 |
+
_e('Running Job','backwpup');
|
18 |
+
echo ' <strong>'.$jobs[$jobid]['name'].'</strong>';
|
19 |
+
?></big>
|
20 |
+
<iframe src="<?PHP echo wp_nonce_url(WP_PLUGIN_URL.'/'.BACKWPUP_PLUGIN_DIR.'/app/iframe-dojob.php?ABSPATH='.ABSPATH.'&jobid=' . $jobid, 'dojob-now_' . $jobid); ?>" name="Logframe" id="Logframe" width="100%" height="450" align="left" scrolling="auto" style="border: 1px solid gray" frameborder="0"></iframe>
|
21 |
+
</div>
|
app/options-save.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
<?
|
|
|
|
|
|
|
|
|
2 |
if ($_REQUEST['action2']!='-1' and !empty($_REQUEST['doaction2']))
|
3 |
$_REQUEST['action']=$_REQUEST['action2'];
|
4 |
|
@@ -79,7 +83,7 @@ case 'copy': //Copy Job
|
|
79 |
$jobs[$newjobid]['name']=__('Copy of','backwpup').' '.$jobs[$newjobid]['name'];
|
80 |
$jobs[$newjobid]['activated']=false;
|
81 |
update_option('backwpup_jobs',$jobs);
|
82 |
-
$backwpup_message=__('Job
|
83 |
$_REQUEST['action']='';
|
84 |
break;
|
85 |
case 'download': //Download Backup
|
@@ -126,22 +130,33 @@ case 'saveeditjob': //Save Job settings
|
|
126 |
$jobs[$jobid]['scheduleintervaltype']=$_POST['scheduleintervaltype'];
|
127 |
$jobs[$jobid]['scheduleintervalteimes']=$_POST['scheduleintervalteimes'];
|
128 |
$jobs[$jobid]['scheduleinterval']=$_POST['scheduleintervaltype']*$_POST['scheduleintervalteimes'];
|
129 |
-
|
130 |
-
|
|
|
|
|
131 |
$jobs[$jobid]['mailaddress']=sanitize_email($_POST['mailaddress']);
|
132 |
-
|
133 |
-
|
134 |
-
$jobs[$jobid]['
|
135 |
-
|
|
|
|
|
|
|
|
|
|
|
136 |
$jobs[$jobid]['backuproot']= $_POST['backuproot']==1 ? true : false;
|
137 |
$jobs[$jobid]['backupcontent']= $_POST['backupcontent']==1 ? true : false;
|
138 |
$jobs[$jobid]['backupplugins']= $_POST['backupplugins']==1 ? true : false;
|
139 |
-
|
140 |
-
|
141 |
-
$
|
142 |
-
|
143 |
-
|
144 |
-
|
|
|
|
|
|
|
|
|
145 |
|
146 |
if (update_option('backwpup_jobs',$jobs))
|
147 |
$backwpup_message=str_replace('%1',$jobid,__('Job %1 settings saved', 'backwpup'));
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
|
6 |
if ($_REQUEST['action2']!='-1' and !empty($_REQUEST['doaction2']))
|
7 |
$_REQUEST['action']=$_REQUEST['action2'];
|
8 |
|
83 |
$jobs[$newjobid]['name']=__('Copy of','backwpup').' '.$jobs[$newjobid]['name'];
|
84 |
$jobs[$newjobid]['activated']=false;
|
85 |
update_option('backwpup_jobs',$jobs);
|
86 |
+
$backwpup_message=__('Job copied', 'backwpup');
|
87 |
$_REQUEST['action']='';
|
88 |
break;
|
89 |
case 'download': //Download Backup
|
130 |
$jobs[$jobid]['scheduleintervaltype']=$_POST['scheduleintervaltype'];
|
131 |
$jobs[$jobid]['scheduleintervalteimes']=$_POST['scheduleintervalteimes'];
|
132 |
$jobs[$jobid]['scheduleinterval']=$_POST['scheduleintervaltype']*$_POST['scheduleintervalteimes'];
|
133 |
+
if (isset($_POST['backupdir']))
|
134 |
+
$jobs[$jobid]['backupdir']= untrailingslashit(str_replace('\\','/',stripslashes($_POST['backupdir'])));
|
135 |
+
if (isset($_POST['maxbackups']))
|
136 |
+
$jobs[$jobid]['maxbackups']=abs((int)$_POST['maxbackups']);
|
137 |
$jobs[$jobid]['mailaddress']=sanitize_email($_POST['mailaddress']);
|
138 |
+
if (isset($_POST['mailefilesize']))
|
139 |
+
$jobs[$jobid]['mailefilesize']=(float)$_POST['mailefilesize'];
|
140 |
+
$jobs[$jobid]['mailerroronly']= $_POST['mailerroronly']==1 ? true : false;
|
141 |
+
if (isset($_POST['dbexclude']))
|
142 |
+
$jobs[$jobid]['dbexclude']=array_unique((array)$_POST['dbexclude']);
|
143 |
+
if (isset($_POST['fileexclude']))
|
144 |
+
$jobs[$jobid]['fileexclude']=str_replace('\\','/',stripslashes($_POST['fileexclude']));
|
145 |
+
if (isset($_POST['dirinclude']))
|
146 |
+
$jobs[$jobid]['dirinclude']=str_replace('\\','/',stripslashes($_POST['dirinclude']));
|
147 |
$jobs[$jobid]['backuproot']= $_POST['backuproot']==1 ? true : false;
|
148 |
$jobs[$jobid]['backupcontent']= $_POST['backupcontent']==1 ? true : false;
|
149 |
$jobs[$jobid]['backupplugins']= $_POST['backupplugins']==1 ? true : false;
|
150 |
+
if (isset($_POST['ftphost']))
|
151 |
+
$jobs[$jobid]['ftphost']=$_POST['ftphost'];
|
152 |
+
if (isset($_POST['ftpuser']))
|
153 |
+
$jobs[$jobid]['ftpuser']=$_POST['ftpuser'];
|
154 |
+
if (isset($_POST['ftppass']))
|
155 |
+
$jobs[$jobid]['ftppass']=base64_encode($_POST['ftppass']);
|
156 |
+
if (isset($_POST['ftpdir']))
|
157 |
+
$jobs[$jobid]['ftpdir']=str_replace('\\','/',stripslashes($_POST['ftpdir']));
|
158 |
+
if (isset($_POST['ftpmaxbackups']))
|
159 |
+
$jobs[$jobid]['ftpmaxbackups']=abs((int)$_POST['ftpmaxbackups']);
|
160 |
|
161 |
if (update_option('backwpup_jobs',$jobs))
|
162 |
$backwpup_message=str_replace('%1',$jobid,__('Job %1 settings saved', 'backwpup'));
|
app/options-settings.php
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div class="wrap">
|
2 |
<div id="icon-tools" class="icon32"><br /></div>
|
3 |
<h2><?php _e("BackWPup Settings", "backwpup"); ?></h2>
|
@@ -14,8 +19,8 @@
|
|
14 |
|
15 |
<table class="form-table">
|
16 |
<tr valign="top">
|
17 |
-
<th scope="row"><label for="
|
18 |
-
<td>
|
19 |
<?
|
20 |
echo __('PHP.ini execution time:','backwpup').' '.ini_get('max_execution_time').' '.__('sec.','backwpup').'<br />';
|
21 |
|
@@ -23,7 +28,7 @@ if (empty($cfg['maxexecutiontime']));
|
|
23 |
$cfg['maxexecutiontime']=300;
|
24 |
|
25 |
if (!ini_get('safe_mode') or strtolower(ini_get('safe_mode'))=='off' or ini_get('safe_mode')=='0')
|
26 |
-
echo __('Set
|
27 |
else
|
28 |
echo '<input name="maxexecutiontime" type="hidden" value="'.$cfg['maxexecutiontime'].'" />';
|
29 |
|
@@ -32,8 +37,8 @@ if (!ini_get('safe_mode') or strtolower(ini_get('safe_mode'))=='off' or ini_get(
|
|
32 |
</tr>
|
33 |
|
34 |
<tr valign="top">
|
35 |
-
<th scope="row"><label for="
|
36 |
-
<td>
|
37 |
<?
|
38 |
echo __('PHP.ini Memory Limit:','backwpup').' '.ini_get('memory_limit').'<br />';
|
39 |
|
@@ -43,7 +48,7 @@ if (empty($cfg['memorylimit']));
|
|
43 |
if (!function_exists('memory_get_usage'))
|
44 |
echo __('Set Memory limit:','backwpup').'<input name="memorylimit" type="text" value="'.$cfg['memorylimit'].'" class="small-text" />';
|
45 |
else
|
46 |
-
echo '<span class="description">'.__('Memory will be
|
47 |
|
48 |
?>
|
49 |
</td>
|
@@ -52,8 +57,8 @@ if (!function_exists('memory_get_usage'))
|
|
52 |
|
53 |
|
54 |
<tr valign="top">
|
55 |
-
<th scope="row"><label for="
|
56 |
-
<td>
|
57 |
<?PHP _e('Send mail method:','backwpup');
|
58 |
echo '<select name="mailmethod">';
|
59 |
echo '<option value="mail"'.selected('mail',$cfg['mailmethod'],false).'>'.__('PHP: mail()','backwpup').'</option>';
|
@@ -81,16 +86,16 @@ if (!empty($cfg['mailsendmail']))
|
|
81 |
</tr>
|
82 |
|
83 |
<tr valign="top">
|
84 |
-
<th scope="row"><label for="maxlogs"><?PHP _e('Max.
|
85 |
<td>
|
86 |
-
<input name="maxlogs" type="text" value="<?PHP echo $cfg['maxlogs'];?>" class="small-text" /><span class="description"><?PHP _e('0=off','backwpup');?> <?PHP _e('Oldest log will
|
87 |
</td>
|
88 |
</tr>
|
89 |
|
90 |
<tr valign="top">
|
91 |
-
<th scope="row"><label for="
|
92 |
<td>
|
93 |
-
<input class="checkbox" type="checkbox"<?php checked($cfg['disablewpcron'],true,true);?> name="disablewpcron" value="1"/>
|
94 |
<?PHP _e('Use Cron job of Hoster and disable WP_Cron','backwpup'); ?><br />
|
95 |
<?PHP _e('You must set up a cron job that calls:','backwpup'); ?><br />
|
96 |
<i> php -q <?PHP echo ABSPATH.'wp-cron.php'; ?></i><br />
|
@@ -104,3 +109,4 @@ if (!empty($cfg['mailsendmail']))
|
|
104 |
<input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes', 'backwpup'); ?>" />
|
105 |
</p>
|
106 |
</form>
|
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
?>
|
6 |
<div class="wrap">
|
7 |
<div id="icon-tools" class="icon32"><br /></div>
|
8 |
<h2><?php _e("BackWPup Settings", "backwpup"); ?></h2>
|
19 |
|
20 |
<table class="form-table">
|
21 |
<tr valign="top">
|
22 |
+
<th scope="row"><label for="runtime"><?PHP _e('Script Runtime','backwpup'); ?></label></th>
|
23 |
+
<td id="runtime">
|
24 |
<?
|
25 |
echo __('PHP.ini execution time:','backwpup').' '.ini_get('max_execution_time').' '.__('sec.','backwpup').'<br />';
|
26 |
|
28 |
$cfg['maxexecutiontime']=300;
|
29 |
|
30 |
if (!ini_get('safe_mode') or strtolower(ini_get('safe_mode'))=='off' or ini_get('safe_mode')=='0')
|
31 |
+
echo __('Set Max. execution Time for Scripts:','backwpup').'<input name="maxexecutiontime" type="text" value="'.$cfg['maxexecutiontime'].'" class="small-text" />'.__('sec.','backwpup');
|
32 |
else
|
33 |
echo '<input name="maxexecutiontime" type="hidden" value="'.$cfg['maxexecutiontime'].'" />';
|
34 |
|
37 |
</tr>
|
38 |
|
39 |
<tr valign="top">
|
40 |
+
<th scope="row"><label for="memory"><?PHP _e('Max Memory Usage','backwpup'); ?></label></th>
|
41 |
+
<td id="memory">
|
42 |
<?
|
43 |
echo __('PHP.ini Memory Limit:','backwpup').' '.ini_get('memory_limit').'<br />';
|
44 |
|
48 |
if (!function_exists('memory_get_usage'))
|
49 |
echo __('Set Memory limit:','backwpup').'<input name="memorylimit" type="text" value="'.$cfg['memorylimit'].'" class="small-text" />';
|
50 |
else
|
51 |
+
echo '<span class="description">'.__('Memory will be automatically increased!!!','backwpup').'</span><input name="memorylimit" type="hidden" value="'.$cfg['memorylimit'].'" />';
|
52 |
|
53 |
?>
|
54 |
</td>
|
57 |
|
58 |
|
59 |
<tr valign="top">
|
60 |
+
<th scope="row"><label for="mailtype"><?PHP _e('Mail Send:','backwpup'); ?></label></th>
|
61 |
+
<td id="mailtype">
|
62 |
<?PHP _e('Send mail method:','backwpup');
|
63 |
echo '<select name="mailmethod">';
|
64 |
echo '<option value="mail"'.selected('mail',$cfg['mailmethod'],false).'>'.__('PHP: mail()','backwpup').'</option>';
|
86 |
</tr>
|
87 |
|
88 |
<tr valign="top">
|
89 |
+
<th scope="row"><label for="maxlogs"><?PHP _e('Max. Number of Logs','backwpup'); ?></label></th>
|
90 |
<td>
|
91 |
+
<input name="maxlogs" id="maxlogs" type="text" value="<?PHP echo $cfg['maxlogs'];?>" class="small-text" /><span class="description"><?PHP _e('0=off','backwpup');?> <?PHP _e('Oldest log will deleted first.','backwpup');?></span>
|
92 |
</td>
|
93 |
</tr>
|
94 |
|
95 |
<tr valign="top">
|
96 |
+
<th scope="row"><label for="disablewpcron"><?PHP _e('Disable WP-Cron:','backwpup'); ?></label></th>
|
97 |
<td>
|
98 |
+
<input class="checkbox" id="disablewpcron" type="checkbox"<?php checked($cfg['disablewpcron'],true,true);?> name="disablewpcron" value="1"/>
|
99 |
<?PHP _e('Use Cron job of Hoster and disable WP_Cron','backwpup'); ?><br />
|
100 |
<?PHP _e('You must set up a cron job that calls:','backwpup'); ?><br />
|
101 |
<i> php -q <?PHP echo ABSPATH.'wp-cron.php'; ?></i><br />
|
109 |
<input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes', 'backwpup'); ?>" />
|
110 |
</p>
|
111 |
</form>
|
112 |
+
</div>
|
app/options-tools.php
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div class="wrap">
|
2 |
<div id="icon-tools" class="icon32"><br /></div>
|
3 |
<h2><?php _e("BackWPup Restore Database", "backwpup"); ?></h2>
|
@@ -15,9 +20,8 @@
|
|
15 |
|
16 |
<table class="form-table">
|
17 |
<tr><td>
|
18 |
-
<?php _e('
|
19 |
</td></tr>
|
20 |
</table>
|
21 |
-
|
22 |
-
|
23 |
</form>
|
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
?>
|
6 |
<div class="wrap">
|
7 |
<div id="icon-tools" class="icon32"><br /></div>
|
8 |
<h2><?php _e("BackWPup Restore Database", "backwpup"); ?></h2>
|
20 |
|
21 |
<table class="form-table">
|
22 |
<tr><td>
|
23 |
+
<?php _e('Coming Soon','backwpup'); ?>
|
24 |
</td></tr>
|
25 |
</table>
|
|
|
|
|
26 |
</form>
|
27 |
+
</div>
|
app/options-view_log.php
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div class="wrap">
|
2 |
<div id="icon-tools" class="icon32"><br /></div>
|
3 |
<h2><?php _e("BackWPup View Log", "backwpup"); ?></h2>
|
@@ -8,9 +13,24 @@
|
|
8 |
<li><a href="admin.php?page=BackWPup&action=settings"><?PHP _e('Settings','backwpup'); ?></a></li>
|
9 |
</ul>
|
10 |
<br class="clear" />
|
|
|
|
|
11 |
|
12 |
-
|
|
|
13 |
<?PHP
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
?>
|
16 |
-
</
|
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
?>
|
6 |
<div class="wrap">
|
7 |
<div id="icon-tools" class="icon32"><br /></div>
|
8 |
<h2><?php _e("BackWPup View Log", "backwpup"); ?></h2>
|
13 |
<li><a href="admin.php?page=BackWPup&action=settings"><?PHP _e('Settings','backwpup'); ?></a></li>
|
14 |
</ul>
|
15 |
<br class="clear" />
|
16 |
+
<?PHP
|
17 |
+
$log=explode("\n",$wpdb->get_var("SELECT log FROM ".$wpdb->backwpup_logs." WHERE logtime=".$logtime));
|
18 |
|
19 |
+
?>
|
20 |
+
<div style="font-family:monospace;font-size:12px;white-space:nowrap;">
|
21 |
<?PHP
|
22 |
+
foreach ($log as $line) {
|
23 |
+
if (empty($line)) {
|
24 |
+
echo "<br />\n";
|
25 |
+
continue;
|
26 |
+
}
|
27 |
+
$style='';
|
28 |
+
if (substr($line,21,strlen(__('ERROR:','backwpup')))==__('ERROR:','backwpup'))
|
29 |
+
$style=' style="background-color:red;color:black;"';
|
30 |
+
if (substr($line,21,strlen(__('WARNING:','backwpup')))==__('WARNING:','backwpup'))
|
31 |
+
$style=' style="background-color:yellow;color:black;"';
|
32 |
+
echo "<span style=\"background-color:gray;color:black;\">".substr($line,0,19).":</span> <span".$style.">".substr($line,21)."</span><br />\n";
|
33 |
+
}
|
34 |
?>
|
35 |
+
</div>
|
36 |
+
</div>
|
app/options.php
CHANGED
@@ -1,6 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div class="wrap">
|
2 |
<div id="icon-tools" class="icon32"><br /></div>
|
3 |
-
<h2><?php _e("BackWPup", "backwpup");
|
4 |
<ul class="subsubsub">
|
5 |
<li><a href="admin.php?page=BackWPup" class="current"><?PHP _e('Jobs','backwpup'); ?></a> |</li>
|
6 |
<li><a href="admin.php?page=BackWPup&action=logs"><?PHP _e('Logs','backwpup'); ?></a> |</li>
|
@@ -52,19 +57,19 @@
|
|
52 |
<tbody id="the-list" class="list:post">
|
53 |
|
54 |
<?PHP if (is_array($jobs)) { foreach ($jobs as $jobid => $jobvalue) {?>
|
55 |
-
<tr id="
|
56 |
<th scope="row" class="check-column">
|
57 |
<input type="checkbox" name="jobs[]" value="<?PHP echo $jobid;?>" />
|
58 |
</th>
|
59 |
<td class="column-id"><?PHP echo $jobid;?></td>
|
60 |
<td class="name column-name">
|
61 |
<strong><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=edit&jobid='.$jobid, 'edit-job'); ?>" title="<?PHP _e('Edit:','backwpup'); ?> <?PHP echo $jobvalue['name'];?>"><?PHP echo $jobvalue['name'];?></a></strong>
|
62 |
-
<
|
63 |
<span class="edit"><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=edit&jobid='.$jobid, 'edit-job'); ?>"><?PHP _e('Edit','backwpup'); ?></a> | </span>
|
64 |
<span class="delete"><a class="submitdelete" href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=delete&jobid='.$jobid, 'delete-job_'.$jobid); ?>" onclick="if ( confirm('<?PHP echo esc_js(__("You are about to delete this Job. \n 'Cancel' to stop, 'OK' to delete.","backwpup")) ?>') ){return true;}return false;"><?PHP _e('Delete','backwpup'); ?></a> | </span>
|
65 |
<span class="copy"><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=copy&jobid='.$jobid, 'copy-job_'.$jobid); ?>"><?PHP _e('Copy','backwpup'); ?></a> | </span>
|
66 |
<span class="runnow"><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=runnow&jobid='.$jobid, 'runnow-job_'.$jobid); ?>" title="Run Now: <?PHP echo $jobvalue['name'];?>"><?PHP _e('Run Now','backwpup'); ?></a></span>
|
67 |
-
</div
|
68 |
</td>
|
69 |
<td class="column-type">
|
70 |
<?PHP
|
@@ -113,4 +118,4 @@
|
|
113 |
</form>
|
114 |
<br class="clear" />
|
115 |
|
116 |
-
|
1 |
+
<?PHP
|
2 |
+
// don't load directly
|
3 |
+
if ( !defined('ABSPATH') )
|
4 |
+
die('-1');
|
5 |
+
?>
|
6 |
<div class="wrap">
|
7 |
<div id="icon-tools" class="icon32"><br /></div>
|
8 |
+
<h2><?php _e("BackWPup", "backwpup"); ?> <a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=edit&jobid=0', 'edit-job'); ?>" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a></h2>
|
9 |
<ul class="subsubsub">
|
10 |
<li><a href="admin.php?page=BackWPup" class="current"><?PHP _e('Jobs','backwpup'); ?></a> |</li>
|
11 |
<li><a href="admin.php?page=BackWPup&action=logs"><?PHP _e('Logs','backwpup'); ?></a> |</li>
|
57 |
<tbody id="the-list" class="list:post">
|
58 |
|
59 |
<?PHP if (is_array($jobs)) { foreach ($jobs as $jobid => $jobvalue) {?>
|
60 |
+
<tr id="job-<?PHP echo $jobid;?>" class="alternate status-inherit" valign="top">
|
61 |
<th scope="row" class="check-column">
|
62 |
<input type="checkbox" name="jobs[]" value="<?PHP echo $jobid;?>" />
|
63 |
</th>
|
64 |
<td class="column-id"><?PHP echo $jobid;?></td>
|
65 |
<td class="name column-name">
|
66 |
<strong><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=edit&jobid='.$jobid, 'edit-job'); ?>" title="<?PHP _e('Edit:','backwpup'); ?> <?PHP echo $jobvalue['name'];?>"><?PHP echo $jobvalue['name'];?></a></strong>
|
67 |
+
<div class="row-actions">
|
68 |
<span class="edit"><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=edit&jobid='.$jobid, 'edit-job'); ?>"><?PHP _e('Edit','backwpup'); ?></a> | </span>
|
69 |
<span class="delete"><a class="submitdelete" href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=delete&jobid='.$jobid, 'delete-job_'.$jobid); ?>" onclick="if ( confirm('<?PHP echo esc_js(__("You are about to delete this Job. \n 'Cancel' to stop, 'OK' to delete.","backwpup")) ?>') ){return true;}return false;"><?PHP _e('Delete','backwpup'); ?></a> | </span>
|
70 |
<span class="copy"><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=copy&jobid='.$jobid, 'copy-job_'.$jobid); ?>"><?PHP _e('Copy','backwpup'); ?></a> | </span>
|
71 |
<span class="runnow"><a href="<?PHP echo wp_nonce_url('admin.php?page=BackWPup&action=runnow&jobid='.$jobid, 'runnow-job_'.$jobid); ?>" title="Run Now: <?PHP echo $jobvalue['name'];?>"><?PHP _e('Run Now','backwpup'); ?></a></span>
|
72 |
+
</div>
|
73 |
</td>
|
74 |
<td class="column-type">
|
75 |
<?PHP
|
118 |
</form>
|
119 |
<br class="clear" />
|
120 |
|
121 |
+
</div>
|
backwpup.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: BackWPup
|
|
4 |
Plugin URI: http://danielhuesken.de/portfolio/backwpup/
|
5 |
Description: Backup and more of your WordPress Blog Database and Files.
|
6 |
Author: Daniel Hüsken
|
7 |
-
Version: 0.6.
|
8 |
Author URI: http://danielhuesken.de
|
9 |
Text Domain: backwpup
|
10 |
Domain Path: /lang/
|
@@ -28,10 +28,14 @@ Domain Path: /lang/
|
|
28 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
29 |
*/
|
30 |
|
|
|
|
|
|
|
|
|
31 |
//Set plugin dirname
|
32 |
define('BACKWPUP_PLUGIN_DIR', dirname(plugin_basename(__FILE__)));
|
33 |
//Set Plugin Version
|
34 |
-
define('BACKWPUP_VERSION', '0.6.
|
35 |
//BackWPup Log Table Name
|
36 |
global $wpdb;
|
37 |
$wpdb->backwpup_logs = $wpdb->prefix.'backwpup_logs';
|
4 |
Plugin URI: http://danielhuesken.de/portfolio/backwpup/
|
5 |
Description: Backup and more of your WordPress Blog Database and Files.
|
6 |
Author: Daniel Hüsken
|
7 |
+
Version: 0.6.5
|
8 |
Author URI: http://danielhuesken.de
|
9 |
Text Domain: backwpup
|
10 |
Domain Path: /lang/
|
28 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
29 |
*/
|
30 |
|
31 |
+
// don't load directly
|
32 |
+
if ( !defined('ABSPATH') )
|
33 |
+
die('-1');
|
34 |
+
|
35 |
//Set plugin dirname
|
36 |
define('BACKWPUP_PLUGIN_DIR', dirname(plugin_basename(__FILE__)));
|
37 |
//Set Plugin Version
|
38 |
+
define('BACKWPUP_VERSION', '0.6.5');
|
39 |
//BackWPup Log Table Name
|
40 |
global $wpdb;
|
41 |
$wpdb->backwpup_logs = $wpdb->prefix.'backwpup_logs';
|
lang/backwpup.pot
CHANGED
@@ -8,7 +8,7 @@ msgid ""
|
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/backwpup\n"
|
11 |
-
"POT-Creation-Date: 2009-
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -16,259 +16,270 @@ msgstr ""
|
|
16 |
"Content-Type: text/plain; charset=CHARSET\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
-
#: app/dojob/after.php:
|
20 |
-
msgid "Delete old backup files..."
|
21 |
-
msgstr ""
|
22 |
-
|
23 |
-
#: app/dojob/after.php:22
|
24 |
msgid "old backup files deleted!!!"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: app/dojob/after.php:
|
28 |
msgid "old logs deleted!!!"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: app/dojob/after.php:
|
32 |
#, php-format
|
33 |
-
msgid "Backup
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: app/dojob/
|
37 |
-
|
38 |
-
|
39 |
-
|
|
|
|
|
|
|
|
|
40 |
msgid "WARNING:"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: app/dojob/bevore.php:
|
44 |
#, php-format
|
45 |
msgid "PHP Safe Mode is on!!! Max exec time is %1$s sec."
|
46 |
msgstr ""
|
47 |
|
48 |
#: app/dojob/bevore.php:41
|
49 |
#, php-format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
msgid "Temp dir is %1$s."
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: app/dojob/bevore.php:
|
54 |
-
#: app/dojob/bevore.php:
|
55 |
-
#: app/dojob/check.php:
|
56 |
-
#: app/dojob/db.php:
|
57 |
-
#: app/dojob/db.php:
|
58 |
-
#: app/dojob/destination-ftp.php:
|
59 |
-
#: app/dojob/destination-ftp.php:
|
60 |
-
#: app/dojob/destination-mail.php:
|
61 |
-
#: app/dojob/file.php:
|
62 |
-
#: app/dojob/optimize.php:
|
63 |
-
#: app/functions.php:
|
64 |
msgid "ERROR:"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: app/dojob/bevore.php:
|
68 |
msgid "Can not create Temp dir"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: app/dojob/bevore.php:
|
72 |
msgid "Can not write to Temp dir"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: app/dojob/bevore.php:
|
76 |
msgid "Can not create Backup dir"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: app/dojob/bevore.php:
|
80 |
msgid "Can not write to Backup dir"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: app/dojob/bevore.php:
|
84 |
msgid "Backup zip file save to:"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: app/dojob/check.php:
|
88 |
msgid "Run Database check..."
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: app/dojob/check.php:
|
92 |
msgid ":"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: app/dojob/check.php:
|
96 |
#, php-format
|
97 |
msgid "Result of table check for %1$s is: %2$s"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: app/dojob/check.php:
|
101 |
-
#: app/dojob/db.php:
|
102 |
#, php-format
|
103 |
msgid "BackWPup database error %1$s for query %2$s"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: app/dojob/check.php:
|
107 |
#, php-format
|
108 |
msgid "Result of table repair for %1$s is: %2$s "
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: app/dojob/check.php:
|
112 |
msgid "Database check done!"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: app/dojob/check.php:
|
116 |
msgid "No Tables to check"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: app/dojob/db.php:
|
120 |
msgid "Run Database Backup..."
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: app/dojob/db.php:
|
124 |
msgid "Database table to Backup: "
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: app/dojob/db.php:
|
128 |
msgid "Can not create Database Backup file"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: app/dojob/db.php:
|
132 |
msgid "No Tables to Backup"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: app/dojob/db.php:
|
136 |
msgid "Database backup done!"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: app/dojob/db.php:
|
140 |
msgid "Database file size:"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: app/dojob/db.php:
|
144 |
msgid "Create Zip file from dump..."
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: app/dojob/db.php:
|
148 |
msgid "Database Zip file create:"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: app/dojob/db.php:
|
152 |
msgid "Zip file created..."
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: app/dojob/destination-ftp.php:11
|
156 |
-
msgid "
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: app/dojob/destination-ftp.php:
|
160 |
-
msgid "
|
161 |
msgstr ""
|
162 |
|
163 |
#: app/dojob/destination-ftp.php:21
|
164 |
-
msgid "
|
165 |
msgstr ""
|
166 |
|
167 |
#: app/dojob/destination-ftp.php:24
|
168 |
-
msgid "FTP
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: app/dojob/destination-ftp.php:
|
172 |
-
msgid "
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: app/dojob/destination-ftp.php:
|
176 |
-
msgid "
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: app/dojob/destination-ftp.php:
|
180 |
-
msgid "
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: app/dojob/destination-ftp.php:
|
184 |
-
msgid "
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: app/dojob/destination-ftp.php:
|
188 |
-
msgid "
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: app/dojob/destination-ftp.php:
|
192 |
-
msgid "
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: app/dojob/destination-ftp.php:
|
196 |
-
msgid "
|
|
|
|
|
|
|
|
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: app/dojob/destination-ftp.php:
|
200 |
-
msgid "
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: app/dojob/destination-ftp.php:
|
204 |
msgid "Can not connect to FTP server:"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: app/dojob/destination-mail.php:
|
208 |
-
msgid "
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: app/dojob/destination-mail.php:
|
212 |
-
msgid "
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: app/dojob/destination-mail.php:
|
216 |
-
msgid "Backup Archive too big for
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: app/dojob/destination-mail.php:
|
220 |
msgid "BackWPup Job:"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: app/dojob/destination-mail.php:
|
224 |
msgid "Mail send!!!"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: app/dojob/destination-mail.php:
|
228 |
-
msgid "Can not send mail
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: app/dojob/file.php:
|
232 |
msgid "Run file backup..."
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: app/dojob/file.php:
|
236 |
msgid "Get files to backup..."
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: app/dojob/file.php:
|
240 |
msgid "File to Backup:"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: app/dojob/file.php:
|
244 |
msgid "Can not read file:"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: app/dojob/file.php:
|
248 |
msgid "Is not a file or directory:"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: app/dojob/file.php:
|
252 |
msgid "No files to Backup"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: app/dojob/file.php:
|
256 |
msgid "Size off all files:"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: app/dojob/file.php:
|
260 |
msgid "Create Backup Zip file..."
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: app/dojob/file.php:
|
264 |
msgid "Zip file create:"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: app/dojob/file.php:
|
268 |
msgid "Add Database dump to Backup Zip file..."
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: app/dojob/file.php:
|
272 |
msgid "Zip file create Add Database dump:"
|
273 |
msgstr ""
|
274 |
|
@@ -276,502 +287,699 @@ msgstr ""
|
|
276 |
msgid "Backup Zip file create done!"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: app/dojob/optimize.php:
|
280 |
msgid "Run Database optimize..."
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: app/dojob/optimize.php:
|
284 |
#, php-format
|
285 |
msgid "Result of table optimize for %1$s is: %2$s"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: app/dojob/optimize.php:
|
289 |
msgid "Database optimize done!"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: app/dojob/optimize.php:
|
293 |
msgid "No Tables to optimize"
|
294 |
msgstr ""
|
295 |
|
296 |
#. #-#-#-#-# plugin.pot (PACKAGE VERSION) #-#-#-#-#
|
297 |
#. Plugin Name of an extension
|
298 |
-
#: app/functions.php:
|
299 |
msgid "BackWPup"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: app/functions.php:
|
303 |
msgid "Support"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: app/functions.php:
|
307 |
msgid "FAQ"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: app/functions.php:
|
311 |
msgid "Plugin Homepage"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: app/functions.php:
|
315 |
msgid "Plugin Home on WordPress.org"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: app/functions.php:
|
319 |
msgid "Donate"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: app/functions.php:
|
323 |
msgid "Version:"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: app/functions.php:
|
327 |
msgid "Author:"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: app/functions.php:
|
331 |
msgid "Go to Settings Page"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: app/functions.php:
|
335 |
-
#: app/options-
|
336 |
-
#: app/options-view_log.php:
|
337 |
msgid "Settings"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: app/functions.php:
|
341 |
msgid "BackWPup Job "
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: app/functions.php:
|
345 |
#, php-format
|
346 |
-
msgid "PHP Safe Mode is on!!! Can not
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: app/functions.php:
|
350 |
#, php-format
|
351 |
-
msgid "Memory
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: app/functions.php:
|
355 |
#, php-format
|
356 |
-
msgid "Can not
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: app/functions.php:
|
360 |
msgid "Database & File Backup"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: app/functions.php:
|
364 |
msgid "Database Backup"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: app/functions.php:
|
368 |
msgid "File Backup"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: app/functions.php:
|
372 |
-
msgid "Optimize Database
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: app/functions.php:
|
376 |
-
msgid "Check Database
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: app/functions.php:
|
380 |
msgid "Logs:"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: app/functions.php:
|
384 |
msgid "View Log"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: app/functions.php:
|
388 |
msgid "ERROR(S)"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: app/functions.php:
|
392 |
msgid "WARNING(S)"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: app/functions.php:
|
396 |
msgid "OK"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: app/functions.php:
|
400 |
msgid "none"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: app/functions.php:
|
404 |
msgid "Scheduled Jobs:"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: app/functions.php:
|
408 |
msgid "Edit Job"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: app/functions.php:
|
412 |
msgid "Running since:"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: app/functions.php:
|
416 |
-
#: app/options.php:
|
417 |
msgid "sec."
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: app/options-
|
421 |
-
msgid "BackWPup Restore Database"
|
422 |
-
msgstr ""
|
423 |
-
|
424 |
-
#: app/options-db_restore.php:5 app/options-logs.php:5
|
425 |
-
#: app/options-runnow.php:5 app/options-settings.php:5
|
426 |
-
#: app/options-view_log.php:5 app/options.php:5
|
427 |
-
msgid "Jobs"
|
428 |
-
msgstr ""
|
429 |
-
|
430 |
-
#: app/options-db_restore.php:6 app/options-logs.php:6
|
431 |
-
#: app/options-runnow.php:6 app/options-settings.php:6
|
432 |
-
#: app/options-view_log.php:6 app/options.php:6
|
433 |
-
msgid "Logs"
|
434 |
-
msgstr ""
|
435 |
-
|
436 |
-
#: app/options-db_restore.php:7 app/options-logs.php:7
|
437 |
-
#: app/options-runnow.php:7 app/options-settings.php:7
|
438 |
-
#: app/options-view_log.php:7 app/options.php:7
|
439 |
-
msgid "DB Restore"
|
440 |
-
msgstr ""
|
441 |
-
|
442 |
-
#: app/options-db_restore.php:22 app/options-edit.php:200
|
443 |
-
#: app/options-settings.php:29
|
444 |
-
msgid "Save Changes"
|
445 |
-
msgstr ""
|
446 |
-
|
447 |
-
#: app/options-edit.php:3
|
448 |
msgid "Edit BackWPup Job"
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: app/options-edit.php:
|
452 |
msgid "Job Type"
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: app/options-edit.php:
|
456 |
msgid "Change"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: app/options-edit.php:
|
460 |
msgid "Job Name"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: app/options-edit.php:
|
464 |
msgid "Exclude Databas Tabels:"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: app/options-edit.php:
|
468 |
-
msgid "Backup Blog
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: app/options-edit.php:
|
472 |
msgid "Blog root and WP Files"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: app/options-edit.php:
|
476 |
msgid "Blog Content"
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: app/options-edit.php:
|
480 |
msgid "Blog Plugins"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: app/options-edit.php:
|
484 |
-
msgid "Include
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: app/options-edit.php:
|
488 |
msgid "Separate with ,. Full Path like:"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: app/options-edit.php:
|
492 |
-
msgid "Exclude files/
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: app/options-edit.php:
|
496 |
msgid "Separate with ,"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: app/options-edit.php:
|
500 |
msgid "Schedule"
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: app/options-edit.php:
|
504 |
msgid "Run Every:"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: app/options-edit.php:
|
508 |
msgid "Min(s)"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: app/options-edit.php:
|
512 |
msgid "Houer(s)"
|
513 |
msgstr ""
|
514 |
|
515 |
-
#: app/options-edit.php:
|
516 |
msgid "Day(s)"
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: app/options-edit.php:110
|
520 |
msgid "Start Time:"
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: app/options-edit.php:
|
524 |
msgid "Start Date:"
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: app/options-edit.php:
|
528 |
msgid "January"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: app/options-edit.php:
|
532 |
msgid "February"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: app/options-edit.php:
|
536 |
msgid "March"
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: app/options-edit.php:
|
540 |
msgid "April"
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: app/options-edit.php:
|
544 |
msgid "May"
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: app/options-edit.php:
|
548 |
msgid "June"
|
549 |
msgstr ""
|
550 |
|
551 |
-
#: app/options-edit.php:
|
552 |
msgid "July"
|
553 |
msgstr ""
|
554 |
|
555 |
-
#: app/options-edit.php:
|
556 |
msgid "August"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: app/options-edit.php:
|
560 |
msgid "September"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: app/options-edit.php:
|
564 |
msgid "October"
|
565 |
msgstr ""
|
566 |
|
567 |
-
#: app/options-edit.php:
|
568 |
msgid "November"
|
569 |
msgstr ""
|
570 |
|
571 |
-
#: app/options-edit.php:
|
572 |
msgid "December"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: app/options-edit.php:
|
576 |
-
msgid "Activate
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: app/options-edit.php:
|
580 |
-
msgid "
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: app/options-edit.php:
|
584 |
msgid "Full Phath of Directory for Backup fiels"
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: app/options-edit.php:
|
588 |
-
msgid "Max number of Backup Files"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: app/options-edit.php:
|
592 |
-
|
|
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: app/options-edit.php:
|
596 |
msgid "Oldest files will deletet first."
|
597 |
msgstr ""
|
598 |
|
599 |
-
#: app/options-edit.php:
|
600 |
-
msgid "
|
601 |
msgstr ""
|
602 |
|
603 |
-
#: app/options-edit.php:
|
604 |
msgid "Ftp Hostname:"
|
605 |
msgstr ""
|
606 |
|
607 |
-
#: app/options-edit.php:
|
608 |
msgid "Ftp Username:"
|
609 |
msgstr ""
|
610 |
|
611 |
-
#: app/options-edit.php:
|
612 |
msgid "Ftp Password:"
|
613 |
msgstr ""
|
614 |
|
615 |
-
#: app/options-edit.php:
|
616 |
msgid "Ftp directory:"
|
617 |
msgstr ""
|
618 |
|
619 |
-
#: app/options-edit.php:
|
620 |
msgid "Max Backup fieles on ftp:"
|
621 |
msgstr ""
|
622 |
|
623 |
-
#: app/options-edit.php:
|
624 |
msgid "Send Mail to"
|
625 |
msgstr ""
|
626 |
|
627 |
-
#: app/options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
628 |
msgid "BackWPup Logs"
|
629 |
msgstr ""
|
630 |
|
631 |
-
#: app/options-logs.php:
|
632 |
-
#: app/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
633 |
msgid "Bulk Actions"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: app/options-logs.php:
|
637 |
-
#: app/options.php:
|
638 |
msgid "Delete"
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: app/options-logs.php:
|
642 |
-
#: app/options.php:
|
643 |
msgid "Apply"
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: app/options-logs.php:
|
647 |
msgid "Job"
|
648 |
msgstr ""
|
649 |
|
650 |
-
#: app/options-logs.php:
|
651 |
-
#: app/options.php:
|
652 |
msgid "Type"
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: app/options-logs.php:
|
656 |
msgid "Backup/Log Date/Time"
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: app/options-logs.php:
|
660 |
msgid "Status"
|
661 |
msgstr ""
|
662 |
|
663 |
-
#: app/options-logs.php:
|
664 |
msgid "Size"
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: app/options-logs.php:
|
668 |
msgid "Runtime"
|
669 |
msgstr ""
|
670 |
|
671 |
-
#: app/options-logs.php:
|
672 |
msgid "View log"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#: app/options-logs.php:
|
676 |
msgid "View"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: app/options-logs.php:
|
680 |
msgid ""
|
681 |
"You are about to delete this Log and Backupfile. \n"
|
682 |
" 'Cancel' to stop, 'OK' to delete."
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: app/options-logs.php:
|
686 |
msgid "Download"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: app/options-logs.php:
|
|
|
|
|
|
|
|
|
690 |
msgid "only Log"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: app/options-runnow.php:
|
694 |
msgid "BackWPup Job Running"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: app/options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
698 |
msgid "Copy of"
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: app/options-save.php:
|
|
|
|
|
|
|
|
|
702 |
msgid "File does not exist."
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: app/options-
|
|
|
|
|
|
|
|
|
706 |
msgid "BackWPup Settings"
|
707 |
msgstr ""
|
708 |
|
709 |
-
#: app/options-settings.php:
|
710 |
-
msgid "Script
|
711 |
msgstr ""
|
712 |
|
713 |
-
#: app/options-settings.php:
|
714 |
msgid "PHP.ini execution time:"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: app/options-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
718 |
msgid "BackWPup View Log"
|
719 |
msgstr ""
|
720 |
|
721 |
-
#: app/options.php:
|
722 |
msgid "Add New"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: app/options.php:
|
726 |
msgid "ID"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: app/options.php:
|
730 |
msgid "Name"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: app/options.php:
|
734 |
msgid "Next Run"
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: app/options.php:
|
738 |
msgid "Last Run"
|
739 |
msgstr ""
|
740 |
|
741 |
-
#: app/options.php:
|
742 |
msgid "Edit:"
|
743 |
msgstr ""
|
744 |
|
745 |
-
#: app/options.php:
|
746 |
msgid "Edit"
|
747 |
msgstr ""
|
748 |
|
749 |
-
#: app/options.php:
|
750 |
msgid ""
|
751 |
"You are about to delete this Job. \n"
|
752 |
" 'Cancel' to stop, 'OK' to delete."
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: app/options.php:
|
756 |
msgid "Copy"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: app/options.php:
|
760 |
msgid "Run Now"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: app/options.php:
|
764 |
msgid "Inactive"
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: app/options.php:
|
768 |
msgid "Runtime:"
|
769 |
msgstr ""
|
770 |
|
771 |
-
#: app/options.php:
|
772 |
msgid "None"
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: backwpup.php:
|
776 |
msgid "Sorry, BackWPup works only under WordPress 2.8 or higher"
|
777 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/backwpup\n"
|
11 |
+
"POT-Creation-Date: 2009-08-08 09:55+0000\n"
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
16 |
"Content-Type: text/plain; charset=CHARSET\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
+
#: app/dojob/after.php:24
|
|
|
|
|
|
|
|
|
20 |
msgid "old backup files deleted!!!"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: app/dojob/after.php:36
|
24 |
msgid "old logs deleted!!!"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: app/dojob/after.php:40
|
28 |
#, php-format
|
29 |
+
msgid "Backup ZIP File size is %1s"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: app/dojob/after.php:58
|
33 |
+
#, php-format
|
34 |
+
msgid "Backup done in %1s sec."
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: app/dojob/bevore.php:34 app/dojob/bevore.php:41
|
38 |
+
#: app/dojob/destination-mail.php:28 app/dojob/file.php:41
|
39 |
+
#: app/dojob/file.php:44 app/functions.php:239 app/functions.php:261
|
40 |
msgid "WARNING:"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: app/dojob/bevore.php:34
|
44 |
#, php-format
|
45 |
msgid "PHP Safe Mode is on!!! Max exec time is %1$s sec."
|
46 |
msgstr ""
|
47 |
|
48 |
#: app/dojob/bevore.php:41
|
49 |
#, php-format
|
50 |
+
msgid ""
|
51 |
+
"Memory limit set to %1$s ,because can not use PHP: memory_get_usage() "
|
52 |
+
"function."
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: app/dojob/bevore.php:45
|
56 |
+
#, php-format
|
57 |
msgid "Temp dir is %1$s."
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: app/dojob/bevore.php:49 app/dojob/bevore.php:55 app/dojob/bevore.php:77
|
61 |
+
#: app/dojob/bevore.php:83 app/dojob/check.php:23 app/dojob/check.php:28
|
62 |
+
#: app/dojob/check.php:35 app/dojob/db.php:23 app/dojob/db.php:33
|
63 |
+
#: app/dojob/db.php:80 app/dojob/db.php:128 app/dojob/db.php:131
|
64 |
+
#: app/dojob/db.php:143 app/dojob/destination-ftp.php:27
|
65 |
+
#: app/dojob/destination-ftp.php:78 app/dojob/destination-ftp.php:94
|
66 |
+
#: app/dojob/destination-ftp.php:104 app/dojob/destination-mail.php:23
|
67 |
+
#: app/dojob/destination-mail.php:30 app/dojob/destination-mail.php:38
|
68 |
+
#: app/dojob/file.php:86 app/dojob/file.php:98 app/dojob/file.php:105
|
69 |
+
#: app/dojob/optimize.php:23 app/dojob/optimize.php:29 app/functions.php:246
|
70 |
+
#: app/functions.php:257
|
71 |
msgid "ERROR:"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: app/dojob/bevore.php:49
|
75 |
msgid "Can not create Temp dir"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: app/dojob/bevore.php:55
|
79 |
msgid "Can not write to Temp dir"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: app/dojob/bevore.php:77
|
83 |
msgid "Can not create Backup dir"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: app/dojob/bevore.php:83
|
87 |
msgid "Can not write to Backup dir"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: app/dojob/bevore.php:99
|
91 |
msgid "Backup zip file save to:"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: app/dojob/check.php:7
|
95 |
msgid "Run Database check..."
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: app/dojob/check.php:21 app/dojob/check.php:26 app/dojob/optimize.php:21
|
99 |
msgid ":"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: app/dojob/check.php:21
|
103 |
#, php-format
|
104 |
msgid "Result of table check for %1$s is: %2$s"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: app/dojob/check.php:23 app/dojob/check.php:28 app/dojob/db.php:23
|
108 |
+
#: app/dojob/db.php:33 app/dojob/db.php:80 app/dojob/optimize.php:23
|
109 |
#, php-format
|
110 |
msgid "BackWPup database error %1$s for query %2$s"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: app/dojob/check.php:26
|
114 |
#, php-format
|
115 |
msgid "Result of table repair for %1$s is: %2$s "
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: app/dojob/check.php:33
|
119 |
msgid "Database check done!"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: app/dojob/check.php:35
|
123 |
msgid "No Tables to check"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: app/dojob/db.php:6
|
127 |
msgid "Run Database Backup..."
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: app/dojob/db.php:112
|
131 |
msgid "Database table to Backup: "
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: app/dojob/db.php:128
|
135 |
msgid "Can not create Database Backup file"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: app/dojob/db.php:131
|
139 |
msgid "No Tables to Backup"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: app/dojob/db.php:135
|
143 |
msgid "Database backup done!"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: app/dojob/db.php:139 app/dojob/file.php:102
|
147 |
msgid "Database file size:"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: app/dojob/db.php:140
|
151 |
msgid "Create Zip file from dump..."
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: app/dojob/db.php:143
|
155 |
msgid "Database Zip file create:"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: app/dojob/db.php:146
|
159 |
msgid "Zip file created..."
|
160 |
msgstr ""
|
161 |
|
162 |
+
#: app/dojob/destination-ftp.php:11 app/dojob/destination-ftp.php:13
|
163 |
+
msgid "FTP Client command:"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: app/dojob/destination-ftp.php:18
|
167 |
+
msgid "FTP Server Preliminary reply:"
|
168 |
msgstr ""
|
169 |
|
170 |
#: app/dojob/destination-ftp.php:21
|
171 |
+
msgid "FTP Server Completion reply:"
|
172 |
msgstr ""
|
173 |
|
174 |
#: app/dojob/destination-ftp.php:24
|
175 |
+
msgid "FTP Server Intermediate reply:"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: app/dojob/destination-ftp.php:27
|
179 |
+
msgid "FTP Server reply:"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: app/dojob/destination-ftp.php:30
|
183 |
+
msgid "FTP Server answer:"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: app/dojob/destination-ftp.php:45
|
187 |
+
msgid "Connected by SSL to FTP server:"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: app/dojob/destination-ftp.php:52
|
191 |
+
msgid "Connected insecure to FTP server:"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: app/dojob/destination-ftp.php:58
|
195 |
+
msgid "FTP server System is:"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: app/dojob/destination-ftp.php:76
|
199 |
+
msgid "Backup File transferred to FTP Server:"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: app/dojob/destination-ftp.php:78
|
203 |
+
msgid "Can not transfer backup to FTP server."
|
204 |
+
msgstr ""
|
205 |
+
|
206 |
+
#: app/dojob/destination-ftp.php:94
|
207 |
+
msgid "Can not delete file on FTP Server:"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: app/dojob/destination-ftp.php:97
|
211 |
+
msgid "files deleted on FTP Server:"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: app/dojob/destination-ftp.php:104
|
215 |
msgid "Can not connect to FTP server:"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: app/dojob/destination-mail.php:17
|
219 |
+
msgid "Sending mail..."
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: app/dojob/destination-mail.php:23
|
223 |
+
msgid "Can not increase Memory for sending Backup Archive by Mail"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: app/dojob/destination-mail.php:28 app/dojob/destination-mail.php:30
|
227 |
+
msgid "Backup Archive too big for sending by mail"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: app/dojob/destination-mail.php:35
|
231 |
msgid "BackWPup Job:"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: app/dojob/destination-mail.php:36
|
235 |
msgid "Mail send!!!"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: app/dojob/destination-mail.php:38
|
239 |
+
msgid "Can not send mail:"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: app/dojob/file.php:8
|
243 |
msgid "Run file backup..."
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: app/dojob/file.php:9
|
247 |
msgid "Get files to backup..."
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: app/dojob/file.php:39
|
251 |
msgid "File to Backup:"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: app/dojob/file.php:41
|
255 |
msgid "Can not read file:"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: app/dojob/file.php:44
|
259 |
msgid "Is not a file or directory:"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: app/dojob/file.php:86
|
263 |
msgid "No files to Backup"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: app/dojob/file.php:89
|
267 |
msgid "Size off all files:"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: app/dojob/file.php:95
|
271 |
msgid "Create Backup Zip file..."
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: app/dojob/file.php:98
|
275 |
msgid "Zip file create:"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: app/dojob/file.php:103
|
279 |
msgid "Add Database dump to Backup Zip file..."
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: app/dojob/file.php:105
|
283 |
msgid "Zip file create Add Database dump:"
|
284 |
msgstr ""
|
285 |
|
287 |
msgid "Backup Zip file create done!"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: app/dojob/optimize.php:7
|
291 |
msgid "Run Database optimize..."
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: app/dojob/optimize.php:21
|
295 |
#, php-format
|
296 |
msgid "Result of table optimize for %1$s is: %2$s"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: app/dojob/optimize.php:27
|
300 |
msgid "Database optimize done!"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: app/dojob/optimize.php:29
|
304 |
msgid "No Tables to optimize"
|
305 |
msgstr ""
|
306 |
|
307 |
#. #-#-#-#-# plugin.pot (PACKAGE VERSION) #-#-#-#-#
|
308 |
#. Plugin Name of an extension
|
309 |
+
#: app/functions.php:8 app/options.php:8
|
310 |
msgid "BackWPup"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: app/functions.php:16 app/functions.php:158
|
314 |
msgid "Support"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: app/functions.php:17 app/functions.php:157
|
318 |
msgid "FAQ"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: app/functions.php:18
|
322 |
msgid "Plugin Homepage"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: app/functions.php:19
|
326 |
msgid "Plugin Home on WordPress.org"
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: app/functions.php:20 app/functions.php:159
|
330 |
msgid "Donate"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: app/functions.php:23
|
334 |
msgid "Version:"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: app/functions.php:24
|
338 |
msgid "Author:"
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: app/functions.php:149
|
342 |
msgid "Go to Settings Page"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: app/functions.php:149 app/options-logs.php:13 app/options-runnow.php:13
|
346 |
+
#: app/options-settings.php:13 app/options-tools.php:13
|
347 |
+
#: app/options-view_log.php:13 app/options.php:13
|
348 |
msgid "Settings"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: app/functions.php:170
|
352 |
msgid "BackWPup Job "
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: app/functions.php:239
|
356 |
#, php-format
|
357 |
+
msgid "PHP Safe Mode is on!!! Can not increase Memory Limit is %1$s"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: app/functions.php:244
|
361 |
#, php-format
|
362 |
+
msgid "Memory increased from %1$s to %2$s"
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: app/functions.php:246
|
366 |
#, php-format
|
367 |
+
msgid "Can not increase Memory Limit is %1$s"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: app/functions.php:286
|
371 |
msgid "Database & File Backup"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: app/functions.php:289
|
375 |
msgid "Database Backup"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: app/functions.php:292
|
379 |
msgid "File Backup"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: app/functions.php:295
|
383 |
+
msgid "Optimize Database Tables"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: app/functions.php:298
|
387 |
+
msgid "Check Database Tables"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: app/functions.php:313
|
391 |
msgid "Logs:"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: app/functions.php:318
|
395 |
msgid "View Log"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: app/functions.php:326 app/options-logs.php:95
|
399 |
msgid "ERROR(S)"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: app/functions.php:328 app/options-logs.php:97
|
403 |
msgid "WARNING(S)"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: app/functions.php:330 app/options-logs.php:99
|
407 |
msgid "OK"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: app/functions.php:335 app/functions.php:353 app/options-settings.php:76
|
411 |
msgid "none"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: app/functions.php:338
|
415 |
msgid "Scheduled Jobs:"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: app/functions.php:342
|
419 |
msgid "Edit Job"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: app/functions.php:345 app/options.php:83
|
423 |
msgid "Running since:"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: app/functions.php:345 app/options-logs.php:117 app/options-settings.php:25
|
427 |
+
#: app/options-settings.php:31 app/options.php:83 app/options.php:96
|
428 |
msgid "sec."
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: app/options-edit.php:3 app/options-jobs.php:8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
432 |
msgid "Edit BackWPup Job"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: app/options-edit.php:35 app/options-jobs.php:22
|
436 |
msgid "Job Type"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: app/options-edit.php:44 app/options-jobs.php:31
|
440 |
msgid "Change"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: app/options-edit.php:49 app/options-jobs.php:36
|
444 |
msgid "Job Name"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: app/options-edit.php:55
|
448 |
msgid "Exclude Databas Tabels:"
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: app/options-edit.php:75
|
452 |
+
msgid "Backup Blog directorys"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: app/options-edit.php:76 app/options-jobs.php:63
|
456 |
msgid "Blog root and WP Files"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: app/options-edit.php:77 app/options-jobs.php:64
|
460 |
msgid "Blog Content"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: app/options-edit.php:78 app/options-jobs.php:65
|
464 |
msgid "Blog Plugins"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: app/options-edit.php:82
|
468 |
+
msgid "Include directorys"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: app/options-edit.php:83 app/options-jobs.php:70
|
472 |
msgid "Separate with ,. Full Path like:"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: app/options-edit.php:87
|
476 |
+
msgid "Exclude files/directorys"
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: app/options-edit.php:88 app/options-jobs.php:75
|
480 |
msgid "Separate with ,"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: app/options-edit.php:93 app/options-jobs.php:80
|
484 |
msgid "Schedule"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: app/options-edit.php:96 app/options-jobs.php:83
|
488 |
msgid "Run Every:"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: app/options-edit.php:105 app/options-jobs.php:92
|
492 |
msgid "Min(s)"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: app/options-edit.php:106
|
496 |
msgid "Houer(s)"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: app/options-edit.php:107 app/options-jobs.php:94
|
500 |
msgid "Day(s)"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: app/options-edit.php:110 app/options-jobs.php:97
|
504 |
msgid "Start Time:"
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: app/options-edit.php:124 app/options-jobs.php:111
|
508 |
msgid "Start Date:"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
512 |
msgid "January"
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
516 |
msgid "February"
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
520 |
msgid "March"
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
524 |
msgid "April"
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
528 |
msgid "May"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
532 |
msgid "June"
|
533 |
msgstr ""
|
534 |
|
535 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
536 |
msgid "July"
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
540 |
msgid "August"
|
541 |
msgstr ""
|
542 |
|
543 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
544 |
msgid "September"
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
548 |
msgid "October"
|
549 |
msgstr ""
|
550 |
|
551 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
552 |
msgid "November"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: app/options-edit.php:130 app/options-jobs.php:117
|
556 |
msgid "December"
|
557 |
msgstr ""
|
558 |
|
559 |
+
#: app/options-edit.php:142
|
560 |
+
msgid "Activate scheduleing"
|
561 |
msgstr ""
|
562 |
|
563 |
+
#: app/options-edit.php:149 app/options-jobs.php:136
|
564 |
+
msgid "Save Backups to directory"
|
565 |
msgstr ""
|
566 |
|
567 |
+
#: app/options-edit.php:150
|
568 |
msgid "Full Phath of Directory for Backup fiels"
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: app/options-edit.php:153
|
572 |
+
msgid "Max. number of Backup Files"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: app/options-edit.php:155 app/options-edit.php:167 app/options-jobs.php:142
|
576 |
+
#: app/options-jobs.php:154 app/options-settings.php:91
|
577 |
+
msgid "0=off"
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: app/options-edit.php:155
|
581 |
msgid "Oldest files will deletet first."
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: app/options-edit.php:161 app/options-jobs.php:148
|
585 |
+
msgid "Copy Backup to FTP Server"
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: app/options-edit.php:163 app/options-jobs.php:150
|
589 |
msgid "Ftp Hostname:"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: app/options-edit.php:164 app/options-jobs.php:151
|
593 |
msgid "Ftp Username:"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: app/options-edit.php:165 app/options-jobs.php:152
|
597 |
msgid "Ftp Password:"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: app/options-edit.php:166 app/options-jobs.php:153
|
601 |
msgid "Ftp directory:"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: app/options-edit.php:167
|
605 |
msgid "Max Backup fieles on ftp:"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: app/options-edit.php:175 app/options-jobs.php:162
|
609 |
msgid "Send Mail to"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: app/options-edit.php:179
|
613 |
+
msgid "Max Filesize for Backups via mail:"
|
614 |
+
msgstr ""
|
615 |
+
|
616 |
+
#: app/options-edit.php:179 app/options-jobs.php:166
|
617 |
+
msgid "0=send log only."
|
618 |
+
msgstr ""
|
619 |
+
|
620 |
+
#: app/options-edit.php:182 app/options-jobs.php:169
|
621 |
+
msgid "Send only mail on errors."
|
622 |
+
msgstr ""
|
623 |
+
|
624 |
+
#: app/options-edit.php:188 app/options-jobs.php:175
|
625 |
+
#: app/options-settings.php:109
|
626 |
+
msgid "Save Changes"
|
627 |
+
msgstr ""
|
628 |
+
|
629 |
+
#: app/options-jobs.php:42
|
630 |
+
msgid "Exclude Database Tables:"
|
631 |
+
msgstr ""
|
632 |
+
|
633 |
+
#: app/options-jobs.php:62
|
634 |
+
msgid "Backup Blog Folders"
|
635 |
+
msgstr ""
|
636 |
+
|
637 |
+
#: app/options-jobs.php:69
|
638 |
+
msgid "Include Folders"
|
639 |
+
msgstr ""
|
640 |
+
|
641 |
+
#: app/options-jobs.php:74
|
642 |
+
msgid "Exclude Files/Folders"
|
643 |
+
msgstr ""
|
644 |
+
|
645 |
+
#: app/options-jobs.php:93
|
646 |
+
msgid "Hour(s)"
|
647 |
+
msgstr ""
|
648 |
+
|
649 |
+
#: app/options-jobs.php:129
|
650 |
+
msgid "Activate scheduling"
|
651 |
+
msgstr ""
|
652 |
+
|
653 |
+
#: app/options-jobs.php:137
|
654 |
+
msgid "Full Path of Folder for Backup Files"
|
655 |
+
msgstr ""
|
656 |
+
|
657 |
+
#: app/options-jobs.php:140
|
658 |
+
msgid "Max. Number of Backup Files"
|
659 |
+
msgstr ""
|
660 |
+
|
661 |
+
#: app/options-jobs.php:142
|
662 |
+
msgid "Oldest files will deleted first."
|
663 |
+
msgstr ""
|
664 |
+
|
665 |
+
#: app/options-jobs.php:154
|
666 |
+
msgid "Max Backup files on ftp:"
|
667 |
+
msgstr ""
|
668 |
+
|
669 |
+
#: app/options-jobs.php:166
|
670 |
+
msgid "Max File Size for sending Backups with mail:"
|
671 |
+
msgstr ""
|
672 |
+
|
673 |
+
#: app/options-logs.php:8
|
674 |
msgid "BackWPup Logs"
|
675 |
msgstr ""
|
676 |
|
677 |
+
#: app/options-logs.php:10 app/options-runnow.php:10
|
678 |
+
#: app/options-settings.php:10 app/options-tools.php:10
|
679 |
+
#: app/options-view_log.php:10 app/options.php:10
|
680 |
+
msgid "Jobs"
|
681 |
+
msgstr ""
|
682 |
+
|
683 |
+
#: app/options-logs.php:11 app/options-runnow.php:11
|
684 |
+
#: app/options-settings.php:11 app/options-tools.php:11
|
685 |
+
#: app/options-view_log.php:11 app/options.php:11
|
686 |
+
msgid "Logs"
|
687 |
+
msgstr ""
|
688 |
+
|
689 |
+
#: app/options-logs.php:12 app/options-runnow.php:12
|
690 |
+
#: app/options-settings.php:12 app/options-tools.php:12
|
691 |
+
#: app/options-view_log.php:12 app/options.php:12
|
692 |
+
msgid "Tools"
|
693 |
+
msgstr ""
|
694 |
+
|
695 |
+
#: app/options-logs.php:23 app/options-logs.php:128 app/options.php:23
|
696 |
+
#: app/options.php:110
|
697 |
msgid "Bulk Actions"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: app/options-logs.php:24 app/options-logs.php:84 app/options-logs.php:129
|
701 |
+
#: app/options.php:24 app/options.php:69 app/options.php:111
|
702 |
msgid "Delete"
|
703 |
msgstr ""
|
704 |
|
705 |
+
#: app/options-logs.php:26 app/options-logs.php:131 app/options.php:26
|
706 |
+
#: app/options.php:113
|
707 |
msgid "Apply"
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: app/options-logs.php:38 app/options-logs.php:50
|
711 |
msgid "Job"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: app/options-logs.php:39 app/options-logs.php:51 app/options.php:40
|
715 |
+
#: app/options.php:51
|
716 |
msgid "Type"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: app/options-logs.php:40 app/options-logs.php:52
|
720 |
msgid "Backup/Log Date/Time"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: app/options-logs.php:41 app/options-logs.php:53
|
724 |
msgid "Status"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: app/options-logs.php:42 app/options-logs.php:54
|
728 |
msgid "Size"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: app/options-logs.php:43 app/options-logs.php:55
|
732 |
msgid "Runtime"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: app/options-logs.php:81
|
736 |
msgid "View log"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: app/options-logs.php:83
|
740 |
msgid "View"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: app/options-logs.php:84
|
744 |
msgid ""
|
745 |
"You are about to delete this Log and Backupfile. \n"
|
746 |
" 'Cancel' to stop, 'OK' to delete."
|
747 |
msgstr ""
|
748 |
|
749 |
+
#: app/options-logs.php:86
|
750 |
msgid "Download"
|
751 |
msgstr ""
|
752 |
|
753 |
+
#: app/options-logs.php:109
|
754 |
+
msgid "File not exists"
|
755 |
+
msgstr ""
|
756 |
+
|
757 |
+
#: app/options-logs.php:111
|
758 |
msgid "only Log"
|
759 |
msgstr ""
|
760 |
|
761 |
+
#: app/options-runnow.php:8
|
762 |
msgid "BackWPup Job Running"
|
763 |
msgstr ""
|
764 |
|
765 |
+
#: app/options-runnow.php:17
|
766 |
+
msgid "Running Job"
|
767 |
+
msgstr ""
|
768 |
+
|
769 |
+
#: app/options-save.php:20
|
770 |
+
msgid "Jobs %1 deleted"
|
771 |
+
msgstr ""
|
772 |
+
|
773 |
+
#: app/options-save.php:28
|
774 |
+
msgid "Job %1 deleted"
|
775 |
+
msgstr ""
|
776 |
+
|
777 |
+
#: app/options-save.php:44
|
778 |
+
msgid "Logs deleted"
|
779 |
+
msgstr ""
|
780 |
+
|
781 |
+
#: app/options-save.php:52
|
782 |
+
msgid "Log deleted"
|
783 |
+
msgstr ""
|
784 |
+
|
785 |
+
#: app/options-save.php:70
|
786 |
+
msgid "Settings saved"
|
787 |
+
msgstr ""
|
788 |
+
|
789 |
+
#: app/options-save.php:83
|
790 |
msgid "Copy of"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: app/options-save.php:86
|
794 |
+
msgid "Job copied"
|
795 |
+
msgstr ""
|
796 |
+
|
797 |
+
#: app/options-save.php:106
|
798 |
msgid "File does not exist."
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: app/options-save.php:162
|
802 |
+
msgid "Job %1 settings saved"
|
803 |
+
msgstr ""
|
804 |
+
|
805 |
+
#: app/options-settings.php:8
|
806 |
msgid "BackWPup Settings"
|
807 |
msgstr ""
|
808 |
|
809 |
+
#: app/options-settings.php:22
|
810 |
+
msgid "Script Runtime"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: app/options-settings.php:25
|
814 |
msgid "PHP.ini execution time:"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: app/options-settings.php:31
|
818 |
+
msgid "Set Max. execution Time for Scripts:"
|
819 |
+
msgstr ""
|
820 |
+
|
821 |
+
#: app/options-settings.php:40
|
822 |
+
msgid "Max Memory Usage"
|
823 |
+
msgstr ""
|
824 |
+
|
825 |
+
#: app/options-settings.php:43
|
826 |
+
msgid "PHP.ini Memory Limit:"
|
827 |
+
msgstr ""
|
828 |
+
|
829 |
+
#: app/options-settings.php:49
|
830 |
+
msgid "Set Memory limit:"
|
831 |
+
msgstr ""
|
832 |
+
|
833 |
+
#: app/options-settings.php:51
|
834 |
+
msgid "Memory will be automatically increased!!!"
|
835 |
+
msgstr ""
|
836 |
+
|
837 |
+
#: app/options-settings.php:60
|
838 |
+
msgid "Mail Send:"
|
839 |
+
msgstr ""
|
840 |
+
|
841 |
+
#: app/options-settings.php:62
|
842 |
+
msgid "Send mail method:"
|
843 |
+
msgstr ""
|
844 |
+
|
845 |
+
#: app/options-settings.php:64
|
846 |
+
msgid "PHP: mail()"
|
847 |
+
msgstr ""
|
848 |
+
|
849 |
+
#: app/options-settings.php:65
|
850 |
+
msgid "Sendmail"
|
851 |
+
msgstr ""
|
852 |
+
|
853 |
+
#: app/options-settings.php:66
|
854 |
+
msgid "SMTP"
|
855 |
+
msgstr ""
|
856 |
+
|
857 |
+
#: app/options-settings.php:72
|
858 |
+
msgid "Sendmail Path:"
|
859 |
+
msgstr ""
|
860 |
+
|
861 |
+
#: app/options-settings.php:73
|
862 |
+
msgid "SMTP Hostname:"
|
863 |
+
msgstr ""
|
864 |
+
|
865 |
+
#: app/options-settings.php:74
|
866 |
+
msgid "SMTP Secure Connection:"
|
867 |
+
msgstr ""
|
868 |
+
|
869 |
+
#: app/options-settings.php:83
|
870 |
+
msgid "SMTP Username:"
|
871 |
+
msgstr ""
|
872 |
+
|
873 |
+
#: app/options-settings.php:84
|
874 |
+
msgid "SMTP Password:"
|
875 |
+
msgstr ""
|
876 |
+
|
877 |
+
#: app/options-settings.php:89
|
878 |
+
msgid "Max. Number of Logs"
|
879 |
+
msgstr ""
|
880 |
+
|
881 |
+
#: app/options-settings.php:91
|
882 |
+
msgid "Oldest log will deleted first."
|
883 |
+
msgstr ""
|
884 |
+
|
885 |
+
#: app/options-settings.php:96
|
886 |
+
msgid "Disable WP-Cron:"
|
887 |
+
msgstr ""
|
888 |
+
|
889 |
+
#: app/options-settings.php:99
|
890 |
+
msgid "Use Cron job of Hoster and disable WP_Cron"
|
891 |
+
msgstr ""
|
892 |
+
|
893 |
+
#: app/options-settings.php:100
|
894 |
+
msgid "You must set up a cron job that calls:"
|
895 |
+
msgstr ""
|
896 |
+
|
897 |
+
#: app/options-settings.php:102
|
898 |
+
msgid "or URL:"
|
899 |
+
msgstr ""
|
900 |
+
|
901 |
+
#: app/options-tools.php:8
|
902 |
+
msgid "BackWPup Restore Database"
|
903 |
+
msgstr ""
|
904 |
+
|
905 |
+
#: app/options-tools.php:23
|
906 |
+
msgid "Coming Soon"
|
907 |
+
msgstr ""
|
908 |
+
|
909 |
+
#: app/options-view_log.php:8
|
910 |
msgid "BackWPup View Log"
|
911 |
msgstr ""
|
912 |
|
913 |
+
#: app/options.php:8
|
914 |
msgid "Add New"
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: app/options.php:38 app/options.php:49
|
918 |
msgid "ID"
|
919 |
msgstr ""
|
920 |
|
921 |
+
#: app/options.php:39 app/options.php:50
|
922 |
msgid "Name"
|
923 |
msgstr ""
|
924 |
|
925 |
+
#: app/options.php:41 app/options.php:52
|
926 |
msgid "Next Run"
|
927 |
msgstr ""
|
928 |
|
929 |
+
#: app/options.php:42 app/options.php:53
|
930 |
msgid "Last Run"
|
931 |
msgstr ""
|
932 |
|
933 |
+
#: app/options.php:66
|
934 |
msgid "Edit:"
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: app/options.php:68
|
938 |
msgid "Edit"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: app/options.php:69
|
942 |
msgid ""
|
943 |
"You are about to delete this Job. \n"
|
944 |
" 'Cancel' to stop, 'OK' to delete."
|
945 |
msgstr ""
|
946 |
|
947 |
+
#: app/options.php:70
|
948 |
msgid "Copy"
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: app/options.php:71
|
952 |
msgid "Run Now"
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: app/options.php:87
|
956 |
msgid "Inactive"
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: app/options.php:96
|
960 |
msgid "Runtime:"
|
961 |
msgstr ""
|
962 |
|
963 |
+
#: app/options.php:98
|
964 |
msgid "None"
|
965 |
msgstr ""
|
966 |
|
967 |
+
#: backwpup.php:56
|
968 |
msgid "Sorry, BackWPup works only under WordPress 2.8 or higher"
|
969 |
msgstr ""
|
970 |
+
|
971 |
+
#. Plugin URI of an extension
|
972 |
+
msgid "http://danielhuesken.de/portfolio/backwpup/"
|
973 |
+
msgstr ""
|
974 |
+
|
975 |
+
#. Description of an extension
|
976 |
+
msgid "Backup and more of your WordPress Blog Database and Files."
|
977 |
+
msgstr ""
|
978 |
+
|
979 |
+
#. Author of an extension
|
980 |
+
msgid "Daniel Hüsken"
|
981 |
+
msgstr ""
|
982 |
+
|
983 |
+
#. Author URI of an extension
|
984 |
+
msgid "http://danielhuesken.de"
|
985 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -3,14 +3,14 @@ Contributors: danielhuesken
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Plugin%20Donation&item_number=BackWPup&no_shipping=0&no_note=1&tax=0¤cy_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8
|
4 |
Tags: backup, admin, file, Database, mysql, cron
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to: 2.8.
|
7 |
-
Stable tag: 0.6.
|
8 |
|
9 |
Backup and more of your WordPress Blog Database and Files
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
This Plugin is under heavy Development.
|
14 |
|
15 |
Backup and more your Blog.
|
16 |
|
@@ -18,7 +18,7 @@ Backup and more your Blog.
|
|
18 |
* Optimize Database
|
19 |
* Check\Repair Database
|
20 |
* File Backup
|
21 |
-
* Uses PCLZIP class of
|
22 |
* Store backup to Folder
|
23 |
* Store backup to FTP Server
|
24 |
* Send Log/Backup by eMail
|
@@ -34,7 +34,7 @@ I can give no WARRANTY to any backups...
|
|
34 |
|
35 |
== Frequently Asked Questions ==
|
36 |
|
37 |
-
= Where
|
38 |
|
39 |
in the root folder of the zip Archive. <i>DBName</i>.sql
|
40 |
|
@@ -42,31 +42,37 @@ in the root folder of the zip Archive. <i>DBName</i>.sql
|
|
42 |
|
43 |
You must import the Database Dump with Charaktercoding:latin1
|
44 |
|
45 |
-
|
46 |
== Screenshots ==
|
47 |
|
48 |
1. Job Page
|
49 |
|
50 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
= 0.6.4 =
|
52 |
* New option to delete old logs
|
53 |
-
* Backup
|
54 |
-
* make dashboard
|
55 |
-
* added
|
56 |
* bug fixes
|
57 |
|
58 |
= 0.6.3 =
|
59 |
* use ftp_row for login and other commands
|
60 |
-
* Add option to send only email on
|
61 |
-
* Internal
|
62 |
-
* Add option to
|
63 |
* bug fixes
|
64 |
|
65 |
= 0.6.2 =
|
66 |
* Added setting for memory_limit if needed
|
67 |
-
* Added setting for
|
68 |
-
* Added job option to make
|
69 |
-
* bug fixes and
|
70 |
|
71 |
= 0.6.1 =
|
72 |
* Added setting for Send Mail type.
|
@@ -77,14 +83,14 @@ You must import the Database Dump with Charaktercoding:latin1
|
|
77 |
* Add Dashboard Widget
|
78 |
* Add Database Check
|
79 |
* Add Backup file transfer to FTP Server
|
80 |
-
* Save log
|
81 |
* Optimize Memory usage
|
82 |
* Optimize File system access
|
83 |
* DB dump with own function
|
84 |
* fixed some Bugs
|
85 |
|
86 |
= 0.5.5 =
|
87 |
-
* removed log files. Log now
|
88 |
|
89 |
= 0.5.0 =
|
90 |
-
*
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=daniel%40huesken-net%2ede&item_name=Daniel%20Huesken%20Plugin%20Donation&item_number=BackWPup&no_shipping=0&no_note=1&tax=0¤cy_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8
|
4 |
Tags: backup, admin, file, Database, mysql, cron
|
5 |
Requires at least: 2.8
|
6 |
+
Tested up to: 2.8.3
|
7 |
+
Stable tag: 0.6.5
|
8 |
|
9 |
Backup and more of your WordPress Blog Database and Files
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
This Plugin is under heavy Development. Please test it and give feedback!!!.
|
14 |
|
15 |
Backup and more your Blog.
|
16 |
|
18 |
* Optimize Database
|
19 |
* Check\Repair Database
|
20 |
* File Backup
|
21 |
+
* Uses PCLZIP class of WordPress
|
22 |
* Store backup to Folder
|
23 |
* Store backup to FTP Server
|
24 |
* Send Log/Backup by eMail
|
34 |
|
35 |
== Frequently Asked Questions ==
|
36 |
|
37 |
+
= Where is the Database dump on DB+File backup =
|
38 |
|
39 |
in the root folder of the zip Archive. <i>DBName</i>.sql
|
40 |
|
42 |
|
43 |
You must import the Database Dump with Charaktercoding:latin1
|
44 |
|
|
|
45 |
== Screenshots ==
|
46 |
|
47 |
1. Job Page
|
48 |
|
49 |
== Changelog ==
|
50 |
+
= 0.6.5 =
|
51 |
+
* Prevent direct file loading
|
52 |
+
* job working in iframe
|
53 |
+
* colored logs
|
54 |
+
* HTML fixes
|
55 |
+
* spell check
|
56 |
+
|
57 |
= 0.6.4 =
|
58 |
* New option to delete old logs
|
59 |
+
* Backup file deletion separated form logs deletion
|
60 |
+
* make dashboard widget smaller
|
61 |
+
* added massages
|
62 |
* bug fixes
|
63 |
|
64 |
= 0.6.3 =
|
65 |
* use ftp_row for login and other commands
|
66 |
+
* Add option to send only email on errors
|
67 |
+
* Internal structure changes
|
68 |
+
* Add option to disable WP-Cron and use Hoster cron
|
69 |
* bug fixes
|
70 |
|
71 |
= 0.6.2 =
|
72 |
* Added setting for memory_limit if needed
|
73 |
+
* Added setting for Max. Script execution time
|
74 |
+
* Added job option to make Max file size for sending via mail
|
75 |
+
* bug fixes and little improvements
|
76 |
|
77 |
= 0.6.1 =
|
78 |
* Added setting for Send Mail type.
|
83 |
* Add Dashboard Widget
|
84 |
* Add Database Check
|
85 |
* Add Backup file transfer to FTP Server
|
86 |
+
* Save log files in own database table
|
87 |
* Optimize Memory usage
|
88 |
* Optimize File system access
|
89 |
* DB dump with own function
|
90 |
* fixed some Bugs
|
91 |
|
92 |
= 0.5.5 =
|
93 |
+
* removed log files. Log now stored in Database
|
94 |
|
95 |
= 0.5.0 =
|
96 |
+
* Initial release
|