Version Description
- Fiexd problem with translation
- Don't display dashboard Wigets on Mulitsite for not super amdins
- Some improvements for Multisite
- Updated AWS lib to 1.3.7
- Google Storage uses now AWS lib
- Added http basic autentication support
- now DB jobs uses new not selected tabels too
- bug fixes
Download this release
Release Info
Developer | danielhuesken |
Plugin | BackWPup – WordPress Backup Plugin |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1.0 to 2.1.1
- backwpup-functions.php +48 -60
- backwpup.php +29 -25
- job/backup_create.php +6 -12
- job/db_check.php +14 -9
- job/db_dump.php +15 -12
- job/db_optimize.php +16 -10
- job/dest_dropbox.php +2 -8
- job/dest_folder.php +0 -6
- job/dest_ftp.php +0 -6
- job/dest_gstorage.php +36 -41
- job/dest_mail.php +0 -6
- job/dest_msazure.php +1 -7
- job/dest_rsc.php +0 -6
- job/dest_s3.php +6 -9
- job/dest_sugarsync.php +1 -7
- job/file_list.php +5 -8
- job/job_functions.php +24 -40
- job/job_run.php +23 -4
- job/job_start.php +9 -24
- job/wp_export.php +25 -34
- job/wp_export_generate.php +11 -8
- lang/backwpup.pot +1111 -1101
- libs/aws/sdk.class.php +2 -2
- libs/aws/services/as.class.php +17 -4
- libs/aws/services/s3.class.php +1 -0
- libs/aws/services/sdb.class.php +11 -9
- libs/aws/services/sqs.class.php +3 -1
- libs/class.http.php +19 -3
- libs/googlestorage.php +0 -344
- pages/func_backwpup.php +2 -7
- pages/func_backwpupbackups.php +20 -28
- pages/func_backwpupeditjob.php +29 -19
- pages/func_backwpuplogs.php +0 -6
- pages/func_backwpupworking.php +1 -7
- pages/header_backwpup.php +42 -42
- pages/header_backwpupbackups.php +14 -45
- pages/header_backwpupeditjob.php +24 -12
- pages/header_backwpuplogs.php +3 -5
- pages/header_backwpupsettings.php +6 -5
- pages/header_backwpuptools.php +1 -4
- pages/header_backwpupworking.php +3 -5
- pages/page_backwpup.php +2 -4
- pages/page_backwpupbackups.php +2 -4
- pages/page_backwpupeditjob.php +7 -7
- pages/page_backwpuplogs.php +2 -4
- pages/page_backwpupsettings.php +24 -13
- pages/page_backwpuptools.php +3 -5
- pages/page_backwpupworking.php +2 -4
- pages/tools/db_restore.php +2 -3
- readme.txt +12 -2
- uninstall.php +1 -3
backwpup-functions.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
//Thems Option menu entry
|
9 |
function backwpup_admin_menu() {
|
10 |
add_menu_page( __('BackWPup','backwpup'), __('BackWPup','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpup', 'backwpup_menu_page', BACKWPUP_PLUGIN_BASEURL.'/css/backup-icon20.gif');
|
@@ -112,7 +106,7 @@ function backwpup_contextual_help($help='') {
|
|
112 |
function backwpup_plugin_activate() {
|
113 |
//Check multiseit only run once
|
114 |
if (is_multisite()) {
|
115 |
-
if (get_option('backwpup_last_activate')==BACKWPUP_VERSION) {
|
116 |
return;
|
117 |
} else {
|
118 |
update_option('backwpup_last_activate',BACKWPUP_VERSION);
|
@@ -159,6 +153,8 @@ function backwpup_plugin_activate() {
|
|
159 |
$cfg['dirlogs']=str_replace('\\','/',trailingslashit(WP_CONTENT_DIR)).'backwpup-'.$rand.'-logs/';
|
160 |
}
|
161 |
if (!isset($cfg['disablewpcron']) or !is_bool($cfg['disablewpcron'])) $cfg['disablewpcron']=false;
|
|
|
|
|
162 |
//remove old option
|
163 |
unset($cfg['dirtemp']);
|
164 |
unset($cfg['logfilelist']);
|
@@ -182,7 +178,7 @@ function backwpup_get_temp() {
|
|
182 |
if (empty($tempfolder) or !backwpup_check_open_basedir($tempfolder) or !is_writable($tempfolder) or !is_dir($tempfolder))
|
183 |
$tempfolder=sys_get_temp_dir(); //normal temp dir
|
184 |
if (empty($tempfolder) or !backwpup_check_open_basedir($tempfolder) or !is_writable($tempfolder) or !is_dir($tempfolder))
|
185 |
-
$tempfolder=
|
186 |
if (empty($tempfolder) or !backwpup_check_open_basedir($tempfolder) or !is_writable($tempfolder) or !is_dir($tempfolder))
|
187 |
$tempfolder=WP_CONTENT_DIR.'/';
|
188 |
if (empty($tempfolder) or !backwpup_check_open_basedir($tempfolder) or !is_writable($tempfolder) or !is_dir($tempfolder))
|
@@ -208,23 +204,25 @@ function backwpup_check_open_basedir($dir) {
|
|
208 |
//Backwpup API
|
209 |
function backwpup_api($active=false) {
|
210 |
global $wp_version;
|
|
|
211 |
if ($active)
|
212 |
-
$
|
213 |
else
|
214 |
-
$
|
215 |
if (is_multisite())
|
216 |
-
$
|
217 |
$blugurl=get_option('siteurl');
|
218 |
if (defined('WP_SITEURL'))
|
219 |
$blugurl=WP_SITEURL;
|
220 |
|
221 |
-
$post
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
|
|
228 |
$cfg=get_option('backwpup'); //Load Settings
|
229 |
if ($cfg['apicronservice']) {
|
230 |
$jobs=get_option('backwpup_jobs');
|
@@ -277,8 +275,11 @@ function backwpup_cron() {
|
|
277 |
$cfg=get_option('backwpup');
|
278 |
$revtime=time()-$cfg['jobscriptruntimelong']-10;
|
279 |
$infile=backwpup_get_working_file();
|
|
|
|
|
|
|
280 |
if (!empty($infile['timestamp']) and $infile['timestamp']<$revtime) {
|
281 |
-
wp_remote_post(BACKWPUP_PLUGIN_BASEURL.'/job/job_run.php', array('timeout' => 0.01, 'blocking' => false, 'sslverify' => false, 'body'=>array('BackWPupJobTemp'=>backwpup_get_temp(), 'nonce'=> $infile['NONCE'],'type'=>'restarttime'), 'user-agent'=>'BackWPup') );
|
282 |
}
|
283 |
} else {
|
284 |
$jobs=get_option('backwpup_jobs');
|
@@ -487,19 +488,9 @@ function backwpup_add_adminbar() {
|
|
487 |
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('Jobs','backwpup'), 'href' => backwpup_admin_url('admin.php').'?page=backwpup'));
|
488 |
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('Logs','backwpup'), 'href' => backwpup_admin_url('admin.php').'?page=backwpuplogs'));
|
489 |
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('Backups','backwpup'), 'href' => backwpup_admin_url('admin.php').'?page=backwpupbackups'));
|
490 |
-
|
491 |
$wp_admin_bar->add_menu(array( 'parent' => 'new-content', 'title' => __('BackWPup Job','backwpup'), 'href' => backwpup_admin_url('admin.php').'?page=backwpupeditjob'));
|
492 |
}
|
493 |
|
494 |
-
|
495 |
-
//turn cache off
|
496 |
-
function backwpup_send_no_cache_header() {
|
497 |
-
header("Expires: 0");
|
498 |
-
header("Cache-Control: no-cache, must-revalidate");
|
499 |
-
header("Pragma: no-cache");
|
500 |
-
header("Cache-Control: post-check=0, pre-check=0");
|
501 |
-
}
|
502 |
-
|
503 |
function backwpup_get_upload_dir() {
|
504 |
$upload_path = get_option('upload_path');
|
505 |
$upload_path = trim($upload_path);
|
@@ -514,10 +505,10 @@ function backwpup_get_upload_dir() {
|
|
514 |
$dir = path_join( ABSPATH, $dir );
|
515 |
}
|
516 |
}
|
517 |
-
if (
|
518 |
$dir = ABSPATH . UPLOADS;
|
519 |
}
|
520 |
-
if (
|
521 |
$dir = untrailingslashit(WP_CONTENT_DIR).'/blogs.dir';
|
522 |
}
|
523 |
return str_replace('\\','/',trailingslashit($dir));
|
@@ -570,7 +561,7 @@ function backwpup_cron_next($cronstring) {
|
|
570 |
$step=1;
|
571 |
if (strstr($value,'/'))
|
572 |
list($value,$step)=explode('/',$value,2);
|
573 |
-
//replase
|
574 |
if ($cronarraykey=='wday')
|
575 |
$value=str_replace('7','0',$value);
|
576 |
//ranges
|
@@ -578,7 +569,7 @@ function backwpup_cron_next($cronstring) {
|
|
578 |
list($first,$last)=explode('-',$value,2);
|
579 |
if (!is_numeric($first) or !is_numeric($last) or $last>60 or $first>60) //check
|
580 |
return 2147483647;
|
581 |
-
if ($cronarraykey=='minutes' and $step<5) //set step
|
582 |
$step=5;
|
583 |
$range=array();
|
584 |
for ($i=$first;$i<=$last;$i=$i+$step)
|
@@ -587,7 +578,7 @@ function backwpup_cron_next($cronstring) {
|
|
587 |
} elseif ($value=='*') {
|
588 |
$range=array();
|
589 |
if ($cronarraykey=='minutes') {
|
590 |
-
if ($step<5) //set step
|
591 |
$step=5;
|
592 |
for ($i=0;$i<=59;$i=$i+$step)
|
593 |
$range[]=$i;
|
@@ -693,7 +684,7 @@ function backwpup_get_working_file() {
|
|
693 |
|
694 |
function backwpup_admin_url($url) {
|
695 |
if (is_multisite()) {
|
696 |
-
if (
|
697 |
return network_admin_url($url);
|
698 |
} else {
|
699 |
return admin_url($url);
|
@@ -706,35 +697,35 @@ function backwpup_env_checks() {
|
|
706 |
$checks=true;
|
707 |
$cfg=get_option('backwpup');
|
708 |
if (version_compare($wp_version, BACKWPUP_MIN_WORDPRESS_VERSION, '<')) { // check WP Version
|
709 |
-
$message.=str_replace('%d',BACKWPUP_MIN_WORDPRESS_VERSION,__('- WordPress %d or heiger needed!','backwpup')) . '<br />';
|
710 |
$checks=false;
|
711 |
}
|
712 |
if (version_compare(phpversion(), '5.2.4', '<')) { // check PHP Version
|
713 |
-
$message.=__('- PHP 5.2.4 or higher needed!','backwpup') . '<br />';
|
714 |
$checks=false;
|
715 |
}
|
716 |
if (!empty($cfg['dirlogs']) and !is_dir($cfg['dirlogs'])) { // create logs folder if it not exists
|
717 |
@mkdir(untrailingslashit($cfg['dirlogs']),0777,true);
|
718 |
}
|
719 |
if (!is_dir($cfg['dirlogs'])) { // check logs folder
|
720 |
-
$message.=__('-
|
721 |
}
|
722 |
if (!is_writable($cfg['dirlogs'])) { // check logs folder
|
723 |
-
$message.=__('-
|
724 |
}
|
725 |
if (!backwpup_check_open_basedir($cfg['dirlogs'])) { // check logs folder
|
726 |
-
$message.=__('-
|
727 |
}
|
728 |
$jobs=get_option('backwpup_jobs');
|
729 |
if (!empty($jobs)) {
|
730 |
foreach ($jobs as $jobid => $jobvalue) { //check for old cheduling
|
731 |
if (empty($jobvalue['cron']))
|
732 |
-
$message.=__('- Please
|
733 |
}
|
734 |
}
|
735 |
$nextrun=wp_next_scheduled('backwpup_cron');
|
736 |
if (empty($nextrun) or $nextrun>(time()+3600)) { //check cron jobs work
|
737 |
-
$message.=__("- WP-Cron
|
738 |
}
|
739 |
//put massage if one
|
740 |
if (!empty($message))
|
@@ -811,29 +802,26 @@ function backwpup_get_job_vars($jobid='',$jobnewsettings='') {
|
|
811 |
|
812 |
if (!isset($jobsettings['mailerroronly']) or !is_bool($jobsettings['mailerroronly']))
|
813 |
$jobsettings['mailerroronly']=true;
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
$jobsettings['dbtables'][]=$table;
|
823 |
-
}
|
824 |
}
|
825 |
}
|
826 |
|
827 |
-
//
|
828 |
-
if (!isset($jobsettings['
|
829 |
-
$jobsettings['
|
830 |
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
831 |
foreach ($tables as $table) {
|
832 |
-
if (substr($table,0,strlen($wpdb->prefix))
|
833 |
-
$jobsettings['
|
834 |
}
|
835 |
-
}
|
836 |
-
sort($jobsettings['dbtables']);
|
837 |
|
838 |
if (!isset($jobsettings['dbshortinsert']) or !is_bool($jobsettings['dbshortinsert']))
|
839 |
$jobsettings['dbshortinsert']=false;
|
@@ -1101,7 +1089,7 @@ function backwpup_get_job_vars($jobid='',$jobnewsettings='') {
|
|
1101 |
unset($jobsettings['scheduleinterval']);
|
1102 |
unset($jobsettings['dropemail']);
|
1103 |
unset($jobsettings['dropepass']);
|
1104 |
-
unset($jobsettings['
|
1105 |
|
1106 |
return $jobsettings;
|
1107 |
}
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
//Thems Option menu entry
|
3 |
function backwpup_admin_menu() {
|
4 |
add_menu_page( __('BackWPup','backwpup'), __('BackWPup','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpup', 'backwpup_menu_page', BACKWPUP_PLUGIN_BASEURL.'/css/backup-icon20.gif');
|
106 |
function backwpup_plugin_activate() {
|
107 |
//Check multiseit only run once
|
108 |
if (is_multisite()) {
|
109 |
+
if (get_option('backwpup_last_activate')==BACKWPUP_VERSION or !is_main_site()) {
|
110 |
return;
|
111 |
} else {
|
112 |
update_option('backwpup_last_activate',BACKWPUP_VERSION);
|
153 |
$cfg['dirlogs']=str_replace('\\','/',trailingslashit(WP_CONTENT_DIR)).'backwpup-'.$rand.'-logs/';
|
154 |
}
|
155 |
if (!isset($cfg['disablewpcron']) or !is_bool($cfg['disablewpcron'])) $cfg['disablewpcron']=false;
|
156 |
+
if (!isset($cfg['httpauthuser'])) $cfg['httpauthuser']='';
|
157 |
+
if (!isset($cfg['httpauthpassword'])) $cfg['httpauthpassword']='';
|
158 |
//remove old option
|
159 |
unset($cfg['dirtemp']);
|
160 |
unset($cfg['logfilelist']);
|
178 |
if (empty($tempfolder) or !backwpup_check_open_basedir($tempfolder) or !is_writable($tempfolder) or !is_dir($tempfolder))
|
179 |
$tempfolder=sys_get_temp_dir(); //normal temp dir
|
180 |
if (empty($tempfolder) or !backwpup_check_open_basedir($tempfolder) or !is_writable($tempfolder) or !is_dir($tempfolder))
|
181 |
+
$tempfolder=ini_get('upload_tmp_dir'); //if sys_get_temp_dir not work
|
182 |
if (empty($tempfolder) or !backwpup_check_open_basedir($tempfolder) or !is_writable($tempfolder) or !is_dir($tempfolder))
|
183 |
$tempfolder=WP_CONTENT_DIR.'/';
|
184 |
if (empty($tempfolder) or !backwpup_check_open_basedir($tempfolder) or !is_writable($tempfolder) or !is_dir($tempfolder))
|
204 |
//Backwpup API
|
205 |
function backwpup_api($active=false) {
|
206 |
global $wp_version;
|
207 |
+
$cfg=get_option('backwpup');
|
208 |
if ($active)
|
209 |
+
$post['ACTIVE']='Y';
|
210 |
else
|
211 |
+
$post['ACTIVE']='N';
|
212 |
if (is_multisite())
|
213 |
+
$post['ACTIVE']='M';
|
214 |
$blugurl=get_option('siteurl');
|
215 |
if (defined('WP_SITEURL'))
|
216 |
$blugurl=WP_SITEURL;
|
217 |
|
218 |
+
$post['URL']=$blugurl;
|
219 |
+
$post['WP_VER']=$wp_version;
|
220 |
+
$post['BACKWPUP_VER']=BACKWPUP_VERSION;
|
221 |
+
if (!empty($cfg['apicronservice']))
|
222 |
+
$post['OFFSET']=get_option('gmt_offset');
|
223 |
+
if (!empty($cfg['httpauthuser']) and !empty($cfg['httpauthpassword']))
|
224 |
+
$post['httpauth']=base64_encode($cfg['httpauthuser'].':'.base64_decode($cfg['httpauthpassword']));
|
225 |
+
|
226 |
$cfg=get_option('backwpup'); //Load Settings
|
227 |
if ($cfg['apicronservice']) {
|
228 |
$jobs=get_option('backwpup_jobs');
|
275 |
$cfg=get_option('backwpup');
|
276 |
$revtime=time()-$cfg['jobscriptruntimelong']-10;
|
277 |
$infile=backwpup_get_working_file();
|
278 |
+
$httpauthheader='';
|
279 |
+
if (!empty($cfg['httpauthuser']) and !empty($cfg['httpauthpassword']))
|
280 |
+
$httpauthheader='Authorization: BASIC '.base64_encode($cfg['httpauthuser'].':'.base64_decode($cfg['httpauthpassword']));
|
281 |
if (!empty($infile['timestamp']) and $infile['timestamp']<$revtime) {
|
282 |
+
wp_remote_post(BACKWPUP_PLUGIN_BASEURL.'/job/job_run.php', array('timeout' => 0.01, 'blocking' => false, 'sslverify' => false,'headers'=>$httpauthheader, 'body'=>array('BackWPupJobTemp'=>backwpup_get_temp(), 'nonce'=> $infile['NONCE'],'type'=>'restarttime'), 'user-agent'=>'BackWPup') );
|
283 |
}
|
284 |
} else {
|
285 |
$jobs=get_option('backwpup_jobs');
|
488 |
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('Jobs','backwpup'), 'href' => backwpup_admin_url('admin.php').'?page=backwpup'));
|
489 |
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('Logs','backwpup'), 'href' => backwpup_admin_url('admin.php').'?page=backwpuplogs'));
|
490 |
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('Backups','backwpup'), 'href' => backwpup_admin_url('admin.php').'?page=backwpupbackups'));
|
|
|
491 |
$wp_admin_bar->add_menu(array( 'parent' => 'new-content', 'title' => __('BackWPup Job','backwpup'), 'href' => backwpup_admin_url('admin.php').'?page=backwpupeditjob'));
|
492 |
}
|
493 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
494 |
function backwpup_get_upload_dir() {
|
495 |
$upload_path = get_option('upload_path');
|
496 |
$upload_path = trim($upload_path);
|
505 |
$dir = path_join( ABSPATH, $dir );
|
506 |
}
|
507 |
}
|
508 |
+
if (defined('UPLOADS') && !is_multisite()) {
|
509 |
$dir = ABSPATH . UPLOADS;
|
510 |
}
|
511 |
+
if (is_multisite()) {
|
512 |
$dir = untrailingslashit(WP_CONTENT_DIR).'/blogs.dir';
|
513 |
}
|
514 |
return str_replace('\\','/',trailingslashit($dir));
|
561 |
$step=1;
|
562 |
if (strstr($value,'/'))
|
563 |
list($value,$step)=explode('/',$value,2);
|
564 |
+
//replase weekday 7 with 0 for sundays
|
565 |
if ($cronarraykey=='wday')
|
566 |
$value=str_replace('7','0',$value);
|
567 |
//ranges
|
569 |
list($first,$last)=explode('-',$value,2);
|
570 |
if (!is_numeric($first) or !is_numeric($last) or $last>60 or $first>60) //check
|
571 |
return 2147483647;
|
572 |
+
if ($cronarraykey=='minutes' and $step<5) //set step ninimum to 5 min.
|
573 |
$step=5;
|
574 |
$range=array();
|
575 |
for ($i=$first;$i<=$last;$i=$i+$step)
|
578 |
} elseif ($value=='*') {
|
579 |
$range=array();
|
580 |
if ($cronarraykey=='minutes') {
|
581 |
+
if ($step<5) //set step ninimum to 5 min.
|
582 |
$step=5;
|
583 |
for ($i=0;$i<=59;$i=$i+$step)
|
584 |
$range[]=$i;
|
684 |
|
685 |
function backwpup_admin_url($url) {
|
686 |
if (is_multisite()) {
|
687 |
+
if (is_super_admin())
|
688 |
return network_admin_url($url);
|
689 |
} else {
|
690 |
return admin_url($url);
|
697 |
$checks=true;
|
698 |
$cfg=get_option('backwpup');
|
699 |
if (version_compare($wp_version, BACKWPUP_MIN_WORDPRESS_VERSION, '<')) { // check WP Version
|
700 |
+
$message.=str_replace('%d',BACKWPUP_MIN_WORDPRESS_VERSION,__('- WordPress %d or heiger is needed!','backwpup')) . '<br />';
|
701 |
$checks=false;
|
702 |
}
|
703 |
if (version_compare(phpversion(), '5.2.4', '<')) { // check PHP Version
|
704 |
+
$message.=__('- PHP 5.2.4 or higher is needed!','backwpup') . '<br />';
|
705 |
$checks=false;
|
706 |
}
|
707 |
if (!empty($cfg['dirlogs']) and !is_dir($cfg['dirlogs'])) { // create logs folder if it not exists
|
708 |
@mkdir(untrailingslashit($cfg['dirlogs']),0777,true);
|
709 |
}
|
710 |
if (!is_dir($cfg['dirlogs'])) { // check logs folder
|
711 |
+
$message.=__('- Log folder does not exists:','backwpup') . ' '.$cfg['dirlogs'].'<br />';
|
712 |
}
|
713 |
if (!is_writable($cfg['dirlogs'])) { // check logs folder
|
714 |
+
$message.=__('- Log folder is not writeable:','backwpup') . ' '.$cfg['dirlogs'].'<br />';
|
715 |
}
|
716 |
if (!backwpup_check_open_basedir($cfg['dirlogs'])) { // check logs folder
|
717 |
+
$message.=__('- Log folder is not in open_basedir path:','backwpup') . ' '.$cfg['dirlogs'].'<br />';
|
718 |
}
|
719 |
$jobs=get_option('backwpup_jobs');
|
720 |
if (!empty($jobs)) {
|
721 |
foreach ($jobs as $jobid => $jobvalue) { //check for old cheduling
|
722 |
if (empty($jobvalue['cron']))
|
723 |
+
$message.=__('- Please check the scheduled time for the job:','backwpup') . ' '.$jobid.'. '.$jobvalue['name'].'<br />';
|
724 |
}
|
725 |
}
|
726 |
$nextrun=wp_next_scheduled('backwpup_cron');
|
727 |
if (empty($nextrun) or $nextrun>(time()+3600)) { //check cron jobs work
|
728 |
+
$message.=__("- WP-Cron isn't working, please check it!","backwpup") .'<br />';
|
729 |
}
|
730 |
//put massage if one
|
731 |
if (!empty($message))
|
802 |
|
803 |
if (!isset($jobsettings['mailerroronly']) or !is_bool($jobsettings['mailerroronly']))
|
804 |
$jobsettings['mailerroronly']=true;
|
805 |
+
|
806 |
+
|
807 |
+
//Tables to backup (old)
|
808 |
+
if (isset($jobsettings['dbtables']) and is_array($jobsettings['dbtables'])) {
|
809 |
+
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
810 |
+
foreach ($tables as $table) {
|
811 |
+
if (!in_array($table,$jobsettings['dbtables']))
|
812 |
+
$jobsettings['dbexclude'][]=$table;
|
|
|
|
|
813 |
}
|
814 |
}
|
815 |
|
816 |
+
//don not backup tables
|
817 |
+
if (!isset($jobsettings['dbexclude']) or !is_array($jobsettings['dbexclude'])) {
|
818 |
+
$jobsettings['dbexclude']=array();
|
819 |
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
820 |
foreach ($tables as $table) {
|
821 |
+
if (substr($table,0,strlen($wpdb->prefix))!=$wpdb->prefix)
|
822 |
+
$jobsettings['dbexclude'][]=$table;
|
823 |
}
|
824 |
+
}
|
|
|
825 |
|
826 |
if (!isset($jobsettings['dbshortinsert']) or !is_bool($jobsettings['dbshortinsert']))
|
827 |
$jobsettings['dbshortinsert']=false;
|
1089 |
unset($jobsettings['scheduleinterval']);
|
1090 |
unset($jobsettings['dropemail']);
|
1091 |
unset($jobsettings['dropepass']);
|
1092 |
+
unset($jobsettings['dbtables']);
|
1093 |
|
1094 |
return $jobsettings;
|
1095 |
}
|
backwpup.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: BackWPup
|
|
4 |
Plugin URI: http://backwpup.com
|
5 |
Description: Wordpress Backup and more...
|
6 |
Author: Daniel Hüsken
|
7 |
-
Version: 2.1.
|
8 |
Author URI: http://danielhuesken.de
|
9 |
Text Domain: backwpup
|
10 |
Domain Path: /lang/
|
@@ -28,18 +28,11 @@ Domain Path: /lang/
|
|
28 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
29 |
*/
|
30 |
|
31 |
-
// don't load directly
|
32 |
-
if (!defined('ABSPATH')) {
|
33 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
34 |
-
header("Status: 404 Not Found");
|
35 |
-
die();
|
36 |
-
}
|
37 |
-
|
38 |
//Set plugin dirname
|
39 |
define('BACKWPUP_PLUGIN_BASEDIR', dirname(plugin_basename(__FILE__)));
|
40 |
define('BACKWPUP_PLUGIN_BASEURL',plugins_url('',__FILE__));
|
41 |
//Set Plugin Version
|
42 |
-
define('BACKWPUP_VERSION', '2.1.
|
43 |
//Set Min Wordpress Version
|
44 |
define('BACKWPUP_MIN_WORDPRESS_VERSION', '3.1');
|
45 |
//Set User Capability
|
@@ -68,28 +61,39 @@ register_activation_hook(__FILE__, 'backwpup_plugin_activate');
|
|
68 |
//Plugin deactivate
|
69 |
register_deactivation_hook(__FILE__, 'backwpup_plugin_deactivate');
|
70 |
//Admin message
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
if (backwpup_env_checks()) {
|
73 |
-
//
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
|
|
|
|
|
|
79 |
} else {
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
-
//add cron intervals
|
83 |
-
add_filter('cron_schedules', 'backwpup_intervals');
|
84 |
//Actions for Cron job
|
85 |
add_action('backwpup_cron', 'backwpup_cron',1);
|
86 |
-
//add Dashboard widget
|
87 |
-
add_action('wp_dashboard_setup', 'backwpup_add_dashboard');
|
88 |
//add Admin Bar menu
|
89 |
add_action('admin_bar_menu', 'backwpup_add_adminbar',100);
|
90 |
-
//Additional links on the plugin page
|
91 |
-
add_filter('plugin_action_links_'.BACKWPUP_PLUGIN_BASEDIR.'/backwpup.php', 'backwpup_plugin_options_link');
|
92 |
-
add_filter('plugin_row_meta', 'backwpup_plugin_links',10,2);
|
93 |
//load ajax functions
|
94 |
backwpup_load_ajax();
|
95 |
//Disabele WP_Corn
|
@@ -97,7 +101,7 @@ if (backwpup_env_checks()) {
|
|
97 |
if (isset($cfg['disablewpcron']) && $cfg['disablewpcron'])
|
98 |
define('DISABLE_WP_CRON',true);
|
99 |
//test if cron active
|
100 |
-
if (!(wp_next_scheduled('backwpup_cron')))
|
101 |
wp_schedule_event(mktime(date("H")), 'backwpup_int', 'backwpup_cron');
|
102 |
}
|
103 |
?>
|
4 |
Plugin URI: http://backwpup.com
|
5 |
Description: Wordpress Backup and more...
|
6 |
Author: Daniel Hüsken
|
7 |
+
Version: 2.1.1
|
8 |
Author URI: http://danielhuesken.de
|
9 |
Text Domain: backwpup
|
10 |
Domain Path: /lang/
|
28 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
29 |
*/
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
//Set plugin dirname
|
32 |
define('BACKWPUP_PLUGIN_BASEDIR', dirname(plugin_basename(__FILE__)));
|
33 |
define('BACKWPUP_PLUGIN_BASEURL',plugins_url('',__FILE__));
|
34 |
//Set Plugin Version
|
35 |
+
define('BACKWPUP_VERSION', '2.1.1');
|
36 |
//Set Min Wordpress Version
|
37 |
define('BACKWPUP_MIN_WORDPRESS_VERSION', '3.1');
|
38 |
//Set User Capability
|
61 |
//Plugin deactivate
|
62 |
register_deactivation_hook(__FILE__, 'backwpup_plugin_deactivate');
|
63 |
//Admin message
|
64 |
+
if (is_multisite())
|
65 |
+
add_action('network_admin_notices', 'backwpup_admin_notice');
|
66 |
+
else
|
67 |
+
add_action('admin_notices', 'backwpup_admin_notice');
|
68 |
+
//test if cron active
|
69 |
+
if (!(wp_next_scheduled('backwpup_cron')) and is_network_admin())
|
70 |
+
wp_schedule_event(mktime(date("H")), 'backwpup_int', 'backwpup_cron');
|
71 |
+
//add cron intervals
|
72 |
+
add_filter('cron_schedules', 'backwpup_intervals');
|
73 |
+
//Check if plugin can activated
|
74 |
if (backwpup_env_checks()) {
|
75 |
+
if (is_multisite()) { //For multisite
|
76 |
+
//add Menu
|
77 |
+
add_action('network_admin_menu','backwpup_admin_menu');
|
78 |
+
//add Dashboard widget
|
79 |
+
add_action('wp_network_dashboard_setup', 'backwpup_add_dashboard');
|
80 |
+
if (is_main_site())
|
81 |
+
add_action('plugins_loaded','backwpup_plugin_activate');
|
82 |
+
//Additional links on the plugin page
|
83 |
+
add_filter('plugin_row_meta', 'backwpup_plugin_links',10,2);
|
84 |
} else {
|
85 |
+
//add Menu
|
86 |
+
add_action('admin_menu', 'backwpup_admin_menu',97);
|
87 |
+
//add Dashboard widget
|
88 |
+
add_action('wp_dashboard_setup', 'backwpup_add_dashboard');
|
89 |
+
//Additional links on the plugin page
|
90 |
+
add_filter('plugin_action_links_'.BACKWPUP_PLUGIN_BASEDIR.'/backwpup.php', 'backwpup_plugin_options_link');
|
91 |
+
add_filter('plugin_row_meta', 'backwpup_plugin_links',10,2);
|
92 |
}
|
|
|
|
|
93 |
//Actions for Cron job
|
94 |
add_action('backwpup_cron', 'backwpup_cron',1);
|
|
|
|
|
95 |
//add Admin Bar menu
|
96 |
add_action('admin_bar_menu', 'backwpup_add_adminbar',100);
|
|
|
|
|
|
|
97 |
//load ajax functions
|
98 |
backwpup_load_ajax();
|
99 |
//Disabele WP_Corn
|
101 |
if (isset($cfg['disablewpcron']) && $cfg['disablewpcron'])
|
102 |
define('DISABLE_WP_CRON',true);
|
103 |
//test if cron active
|
104 |
+
if (!(wp_next_scheduled('backwpup_cron')) and is_network_admin())
|
105 |
wp_schedule_event(mktime(date("H")), 'backwpup_int', 'backwpup_cron');
|
106 |
}
|
107 |
?>
|
job/backup_create.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function backup_create() {
|
9 |
global $WORKING,$STATIC;
|
10 |
if ($WORKING['ALLFILESIZE']==0)
|
@@ -60,15 +54,15 @@ function backup_create() {
|
|
60 |
//Create Zip File
|
61 |
if (is_array($filelist[0])) {
|
62 |
trigger_error(sprintf(__('%d. try to create backup zip (PclZip) archive...','backwpup'),$WORKING['BACKUP_CREATE']['STEP_TRY']),E_USER_NOTICE);
|
63 |
-
$zipbackupfile = new PclZip($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
64 |
-
need_free_memory(2097152); //free memory for file list
|
65 |
for ($i=$WORKING['STEPDONE'];$i<$WORKING['STEPTODO'];$i++) {
|
66 |
$files[$i][79001]=$filelist[$i]['FILE'];
|
67 |
$files[$i][79003]=$filelist[$i]['OUTFILE'];
|
|
|
68 |
}
|
69 |
-
need_free_memory(
|
70 |
-
|
71 |
-
|
|
|
72 |
} else {
|
73 |
$WORKING['STEPDONE']=count($filelist);
|
74 |
unset($files);
|
@@ -201,7 +195,7 @@ function backup_create() {
|
|
201 |
|
202 |
|
203 |
function _pclzipPostAddCallBack($p_event, &$p_header) {
|
204 |
-
global $WORKING
|
205 |
if ($p_header['status'] != 'ok')
|
206 |
trigger_error(sprintf(__('PCL ZIP Error "%1$s" on file %2$s!','backwpup'),$p_header['status'],$p_header['filename']),E_USER_ERROR);
|
207 |
$WORKING['STEPDONE']++;
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function backup_create() {
|
3 |
global $WORKING,$STATIC;
|
4 |
if ($WORKING['ALLFILESIZE']==0)
|
54 |
//Create Zip File
|
55 |
if (is_array($filelist[0])) {
|
56 |
trigger_error(sprintf(__('%d. try to create backup zip (PclZip) archive...','backwpup'),$WORKING['BACKUP_CREATE']['STEP_TRY']),E_USER_NOTICE);
|
|
|
|
|
57 |
for ($i=$WORKING['STEPDONE'];$i<$WORKING['STEPTODO'];$i++) {
|
58 |
$files[$i][79001]=$filelist[$i]['FILE'];
|
59 |
$files[$i][79003]=$filelist[$i]['OUTFILE'];
|
60 |
+
$files[$i][79004]=$filelist[$i]['MTIME'];
|
61 |
}
|
62 |
+
need_free_memory(20971520); //20MB free memory for zip
|
63 |
+
$zipbackupfile = new PclZip($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
64 |
+
if (0==$zipbackupfile->create($files,PCLZIP_CB_POST_ADD,'_pclzipPostAddCallBack',PCLZIP_OPT_TEMP_FILE_THRESHOLD, 10)) {
|
65 |
+
trigger_error(sprintf(__('Zip archive create error: %s','backwpup'),$zipbackupfile->errorInfo(true)),E_USER_ERROR);
|
66 |
} else {
|
67 |
$WORKING['STEPDONE']=count($filelist);
|
68 |
unset($files);
|
195 |
|
196 |
|
197 |
function _pclzipPostAddCallBack($p_event, &$p_header) {
|
198 |
+
global $WORKING;
|
199 |
if ($p_header['status'] != 'ok')
|
200 |
trigger_error(sprintf(__('PCL ZIP Error "%1$s" on file %2$s!','backwpup'),$p_header['status'],$p_header['filename']),E_USER_ERROR);
|
201 |
$WORKING['STEPDONE']++;
|
job/db_check.php
CHANGED
@@ -1,21 +1,26 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function db_check() {
|
9 |
global $WORKING,$STATIC;
|
10 |
trigger_error(sprintf(__('%d. try for database check...','backwpup'),$WORKING['DB_CHECK']['STEP_TRY']),E_USER_NOTICE);
|
11 |
if (!isset($WORKING['DB_CHECK']['DONETABLE']) or !is_array($WORKING['DB_CHECK']['DONETABLE']))
|
12 |
$WORKING['DB_CHECK']['DONETABLE']=array();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
//Set num of todos
|
14 |
-
$WORKING['STEPTODO']=sizeof($
|
|
|
15 |
//check tables
|
16 |
-
if (
|
17 |
maintenance_mode(true);
|
18 |
-
foreach ($
|
19 |
if (in_array($table, $WORKING['DB_CHECK']['DONETABLE']))
|
20 |
continue;
|
21 |
$result=mysql_query('CHECK TABLE `'.$table.'` MEDIUM');
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function db_check() {
|
3 |
global $WORKING,$STATIC;
|
4 |
trigger_error(sprintf(__('%d. try for database check...','backwpup'),$WORKING['DB_CHECK']['STEP_TRY']),E_USER_NOTICE);
|
5 |
if (!isset($WORKING['DB_CHECK']['DONETABLE']) or !is_array($WORKING['DB_CHECK']['DONETABLE']))
|
6 |
$WORKING['DB_CHECK']['DONETABLE']=array();
|
7 |
+
|
8 |
+
//to backup
|
9 |
+
$tabelstobackup=array();
|
10 |
+
$result=mysql_query("SHOW TABLES FROM `".$STATIC['WP']['DB_NAME']."`"); //get table status
|
11 |
+
if (!$result)
|
12 |
+
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), "SHOW TABLE STATUS FROM `".$STATIC['WP']['DB_NAME']."`;"),E_USER_ERROR);
|
13 |
+
while ($data = mysql_fetch_row($result)) {
|
14 |
+
if (!in_array($data[0],$STATIC['JOB']['dbexclude']))
|
15 |
+
$tabelstobackup[]=$data[0];
|
16 |
+
}
|
17 |
//Set num of todos
|
18 |
+
$WORKING['STEPTODO']=sizeof($tabelstobackup);
|
19 |
+
|
20 |
//check tables
|
21 |
+
if (count($tabelstobackup)>0) {
|
22 |
maintenance_mode(true);
|
23 |
+
foreach ($tabelstobackup as $table) {
|
24 |
if (in_array($table, $WORKING['DB_CHECK']['DONETABLE']))
|
25 |
continue;
|
26 |
$result=mysql_query('CHECK TABLE `'.$table.'` MEDIUM');
|
job/db_dump.php
CHANGED
@@ -1,25 +1,28 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
-
|
9 |
function db_dump() {
|
10 |
global $WORKING,$STATIC;
|
11 |
trigger_error(sprintf(__('%d. try for database dump...','backwpup'),$WORKING['DB_DUMP']['STEP_TRY']),E_USER_NOTICE);
|
12 |
if (!isset($WORKING['DB_DUMP']['DONETABLE']) or !is_array($WORKING['DB_DUMP']['DONETABLE']))
|
13 |
$WORKING['DB_DUMP']['DONETABLE']=array();
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
//Set maintenance
|
16 |
maintenance_mode(true);
|
17 |
|
18 |
-
if (count($
|
19 |
$result=mysql_query("SHOW TABLE STATUS FROM `".$STATIC['WP']['DB_NAME']."`"); //get table status
|
20 |
if (!$result)
|
21 |
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), "SHOW TABLE STATUS FROM `".$STATIC['WP']['DB_NAME']."`;"),E_USER_ERROR);
|
22 |
-
|
23 |
while ($data = mysql_fetch_assoc($result)) {
|
24 |
$status[$data['Name']]=$data;
|
25 |
}
|
@@ -48,7 +51,7 @@ function db_dump() {
|
|
48 |
fwrite($file, "/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;\n");
|
49 |
fwrite($file, "/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;\n\n");
|
50 |
//make table dumps
|
51 |
-
foreach($
|
52 |
if (in_array($table, $WORKING['DB_DUMP']['DONETABLE']))
|
53 |
continue;
|
54 |
trigger_error(sprintf(__('Dump database table "%s"','backwpup'),$table),E_USER_NOTICE);
|
@@ -91,7 +94,6 @@ function db_dump() {
|
|
91 |
|
92 |
function _db_dump_table($table,$status,$file) {
|
93 |
global $WORKING,$STATIC;
|
94 |
-
|
95 |
// create dump
|
96 |
fwrite($file, "\n");
|
97 |
fwrite($file, "--\n");
|
@@ -124,6 +126,7 @@ function _db_dump_table($table,$status,$file) {
|
|
124 |
fwrite($file, "/*!40000 ALTER TABLE `".$table."` DISABLE KEYS */;\n");
|
125 |
|
126 |
while ($data = mysql_fetch_assoc($result)) {
|
|
|
127 |
$keys = array();
|
128 |
$values = array();
|
129 |
foreach($data as $key => $value) {
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function db_dump() {
|
3 |
global $WORKING,$STATIC;
|
4 |
trigger_error(sprintf(__('%d. try for database dump...','backwpup'),$WORKING['DB_DUMP']['STEP_TRY']),E_USER_NOTICE);
|
5 |
if (!isset($WORKING['DB_DUMP']['DONETABLE']) or !is_array($WORKING['DB_DUMP']['DONETABLE']))
|
6 |
$WORKING['DB_DUMP']['DONETABLE']=array();
|
7 |
+
|
8 |
+
//to backup
|
9 |
+
$tabelstobackup=array();
|
10 |
+
$result=mysql_query("SHOW TABLES FROM `".$STATIC['WP']['DB_NAME']."`"); //get table status
|
11 |
+
if (!$result)
|
12 |
+
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), "SHOW TABLE STATUS FROM `".$STATIC['WP']['DB_NAME']."`;"),E_USER_ERROR);
|
13 |
+
while ($data = mysql_fetch_row($result)) {
|
14 |
+
if (!in_array($data[0],$STATIC['JOB']['dbexclude']))
|
15 |
+
$tabelstobackup[]=$data[0];
|
16 |
+
}
|
17 |
+
$WORKING['STEPTODO']=count($tabelstobackup);
|
18 |
+
|
19 |
//Set maintenance
|
20 |
maintenance_mode(true);
|
21 |
|
22 |
+
if (count($tabelstobackup)>0) {
|
23 |
$result=mysql_query("SHOW TABLE STATUS FROM `".$STATIC['WP']['DB_NAME']."`"); //get table status
|
24 |
if (!$result)
|
25 |
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), "SHOW TABLE STATUS FROM `".$STATIC['WP']['DB_NAME']."`;"),E_USER_ERROR);
|
|
|
26 |
while ($data = mysql_fetch_assoc($result)) {
|
27 |
$status[$data['Name']]=$data;
|
28 |
}
|
51 |
fwrite($file, "/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;\n");
|
52 |
fwrite($file, "/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;\n\n");
|
53 |
//make table dumps
|
54 |
+
foreach($tabelstobackup as $table) {
|
55 |
if (in_array($table, $WORKING['DB_DUMP']['DONETABLE']))
|
56 |
continue;
|
57 |
trigger_error(sprintf(__('Dump database table "%s"','backwpup'),$table),E_USER_NOTICE);
|
94 |
|
95 |
function _db_dump_table($table,$status,$file) {
|
96 |
global $WORKING,$STATIC;
|
|
|
97 |
// create dump
|
98 |
fwrite($file, "\n");
|
99 |
fwrite($file, "--\n");
|
126 |
fwrite($file, "/*!40000 ALTER TABLE `".$table."` DISABLE KEYS */;\n");
|
127 |
|
128 |
while ($data = mysql_fetch_assoc($result)) {
|
129 |
+
update_working_file();
|
130 |
$keys = array();
|
131 |
$values = array();
|
132 |
foreach($data as $key => $value) {
|
job/db_optimize.php
CHANGED
@@ -1,19 +1,25 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function db_optimize() {
|
9 |
global $WORKING,$STATIC;
|
10 |
trigger_error(sprintf(__('%d. try for database optimize...','backwpup'),$WORKING['DB_OPTIMIZE']['STEP_TRY']),E_USER_NOTICE);
|
11 |
if (!isset($WORKING['DB_OPTIMIZE']['DONETABLE']) or !is_array($WORKING['DB_OPTIMIZE']['DONETABLE']))
|
12 |
$WORKING['DB_OPTIMIZE']['DONETABLE']=array();
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
maintenance_mode(true);
|
16 |
-
foreach ($
|
17 |
if (in_array($table, $WORKING['DB_OPTIMIZE']['DONETABLE']))
|
18 |
continue;
|
19 |
$result=mysql_query('OPTIMIZE TABLE `'.$table.'`');
|
@@ -23,7 +29,7 @@ function db_optimize() {
|
|
23 |
}
|
24 |
$optimize=mysql_fetch_assoc($result);
|
25 |
$WORKING['DB_OPTIMIZE']['DONETABLE'][]=$table;
|
26 |
-
$WORKING['STEPDONE']=
|
27 |
if ($optimize['Msg_type']=='error')
|
28 |
trigger_error(sprintf(__('Result of table optimize for %1$s is: %2$s','backwpup'), $table, $optimize['Msg_text']),E_USER_ERROR);
|
29 |
elseif ($optimize['Msg_type']=='warning')
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function db_optimize() {
|
3 |
global $WORKING,$STATIC;
|
4 |
trigger_error(sprintf(__('%d. try for database optimize...','backwpup'),$WORKING['DB_OPTIMIZE']['STEP_TRY']),E_USER_NOTICE);
|
5 |
if (!isset($WORKING['DB_OPTIMIZE']['DONETABLE']) or !is_array($WORKING['DB_OPTIMIZE']['DONETABLE']))
|
6 |
$WORKING['DB_OPTIMIZE']['DONETABLE']=array();
|
7 |
+
|
8 |
+
//to backup
|
9 |
+
$tabelstobackup=array();
|
10 |
+
$result=mysql_query("SHOW TABLES FROM `".$STATIC['WP']['DB_NAME']."`"); //get table status
|
11 |
+
if (!$result)
|
12 |
+
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), "SHOW TABLE STATUS FROM `".$STATIC['WP']['DB_NAME']."`;"),E_USER_ERROR);
|
13 |
+
while ($data = mysql_fetch_row($result)) {
|
14 |
+
if (!in_array($data[0],$STATIC['JOB']['dbexclude']))
|
15 |
+
$tabelstobackup[]=$data[0];
|
16 |
+
}
|
17 |
+
//Set num of todos
|
18 |
+
$WORKING['STEPTODO']=count($tabelstobackup);
|
19 |
+
|
20 |
+
if (count($tabelstobackup)>0) {
|
21 |
maintenance_mode(true);
|
22 |
+
foreach ($tabelstobackup as $table) {
|
23 |
if (in_array($table, $WORKING['DB_OPTIMIZE']['DONETABLE']))
|
24 |
continue;
|
25 |
$result=mysql_query('OPTIMIZE TABLE `'.$table.'`');
|
29 |
}
|
30 |
$optimize=mysql_fetch_assoc($result);
|
31 |
$WORKING['DB_OPTIMIZE']['DONETABLE'][]=$table;
|
32 |
+
$WORKING['STEPDONE']=count($WORKING['DB_OPTIMIZE']['DONETABLE']);
|
33 |
if ($optimize['Msg_type']=='error')
|
34 |
trigger_error(sprintf(__('Result of table optimize for %1$s is: %2$s','backwpup'), $table, $optimize['Msg_text']),E_USER_ERROR);
|
35 |
elseif ($optimize['Msg_type']=='warning')
|
job/dest_dropbox.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function dest_dropbox() {
|
9 |
global $WORKING,$STATIC;
|
10 |
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
@@ -45,13 +39,13 @@ function dest_dropbox() {
|
|
45 |
$dropbox->setProgressFunction('curl_progresscallback');
|
46 |
// put the file
|
47 |
trigger_error(__('Upload to DropBox now started... ','backwpup'),E_USER_NOTICE);
|
48 |
-
need_free_memory(filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile'])*2); //free memory to transfer to dropbox
|
49 |
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
50 |
$response = $dropbox->upload($STATIC['JOB']['backupdir'].$STATIC['backupfile'],$STATIC['JOB']['dropedir']);
|
51 |
if ($response['result']=="winner!") {
|
52 |
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloaddropbox&file='.$STATIC['JOB']['dropedir'].$STATIC['backupfile'].'&jobid='.$STATIC['JOB']['jobid'];
|
53 |
$WORKING['STEPDONE']++;
|
54 |
-
trigger_error(sprintf(__('Backup transferred to
|
55 |
} else {
|
56 |
trigger_error(sprintf(__('Error on transfere backup to DropBox: %s','backwpup'),$response['error']),E_USER_ERROR);
|
57 |
return;
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function dest_dropbox() {
|
3 |
global $WORKING,$STATIC;
|
4 |
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
39 |
$dropbox->setProgressFunction('curl_progresscallback');
|
40 |
// put the file
|
41 |
trigger_error(__('Upload to DropBox now started... ','backwpup'),E_USER_NOTICE);
|
42 |
+
need_free_memory(filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile'])*2.2); //free memory to transfer to dropbox
|
43 |
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
44 |
$response = $dropbox->upload($STATIC['JOB']['backupdir'].$STATIC['backupfile'],$STATIC['JOB']['dropedir']);
|
45 |
if ($response['result']=="winner!") {
|
46 |
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloaddropbox&file='.$STATIC['JOB']['dropedir'].$STATIC['backupfile'].'&jobid='.$STATIC['JOB']['jobid'];
|
47 |
$WORKING['STEPDONE']++;
|
48 |
+
trigger_error(sprintf(__('Backup transferred to %s','backwpup'),'https://api-content.dropbox.com/0/files/'.$STATIC['JOB']['droperoot'].'/'.$STATIC['JOB']['dropedir'].$STATIC['backupfile']),E_USER_NOTICE);
|
49 |
} else {
|
50 |
trigger_error(sprintf(__('Error on transfere backup to DropBox: %s','backwpup'),$response['error']),E_USER_ERROR);
|
51 |
return;
|
job/dest_folder.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function dest_folder() {
|
9 |
global $WORKING,$STATIC;
|
10 |
$WORKING['STEPTODO']=1;
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function dest_folder() {
|
3 |
global $WORKING,$STATIC;
|
4 |
$WORKING['STEPTODO']=1;
|
job/dest_ftp.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function dest_ftp() {
|
9 |
global $WORKING,$STATIC;
|
10 |
if (empty($STATIC['JOB']['ftphost']) or empty($STATIC['JOB']['ftpuser']) or empty($STATIC['JOB']['ftppass'])) {
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function dest_ftp() {
|
3 |
global $WORKING,$STATIC;
|
4 |
if (empty($STATIC['JOB']['ftphost']) or empty($STATIC['JOB']['ftpuser']) or empty($STATIC['JOB']['ftppass'])) {
|
job/dest_gstorage.php
CHANGED
@@ -1,56 +1,49 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function dest_gstorage() {
|
9 |
global $WORKING,$STATIC;
|
|
|
10 |
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
11 |
$WORKING['STEPDONE']=0;
|
12 |
-
trigger_error(sprintf(__('%d. try sending backup to Google Storage...','backwpup'),$WORKING['DEST_GSTORAGE']['STEP_TRY']),E_USER_NOTICE);
|
13 |
|
14 |
-
require_once(dirname(__FILE__).'/../libs/
|
|
|
15 |
try {
|
16 |
-
$
|
17 |
-
|
18 |
-
$
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
if (
|
25 |
-
$
|
26 |
-
|
27 |
-
$
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
$upload=$googlestorage->putObject($STATIC['JOB']['GStorageBucket'],$STATIC['JOB']['GStoragedir'].$STATIC['backupfile'],$STATIC['JOB']['backupdir'].$STATIC['backupfile'],'private',$content_type);
|
34 |
-
if (empty($upload)) {
|
35 |
$WORKING['STEPTODO']=1+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
36 |
-
trigger_error(sprintf(__('Backup transferred to
|
37 |
-
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=
|
38 |
} else {
|
39 |
-
trigger_error(sprintf(__('
|
40 |
}
|
41 |
} else {
|
42 |
-
trigger_error(sprintf(__('
|
43 |
}
|
44 |
} catch (Exception $e) {
|
45 |
-
trigger_error(sprintf(__('
|
46 |
return;
|
47 |
-
}
|
48 |
-
|
|
|
49 |
if ($STATIC['JOB']['GStoragemaxbackups']>0) { //Delete old backups
|
50 |
$backupfilelist=array();
|
51 |
-
$contents = $
|
52 |
-
|
53 |
-
foreach ($contents as $object) {
|
54 |
$file=basename($object->Key);
|
55 |
if ($STATIC['JOB']['fileprefix'] == substr($file,0,strlen($STATIC['JOB']['fileprefix'])) and $STATIC['JOB']['fileformart'] == substr($file,-strlen($STATIC['JOB']['fileformart'])))
|
56 |
$backupfilelist[]=$file;
|
@@ -60,16 +53,18 @@ function dest_gstorage() {
|
|
60 |
rsort($backupfilelist);
|
61 |
$numdeltefiles=0;
|
62 |
for ($i=$STATIC['JOB']['GStoragemaxbackups'];$i<sizeof($backupfilelist);$i++) {
|
63 |
-
$
|
64 |
-
|
|
|
|
|
65 |
}
|
66 |
if ($numdeltefiles>0)
|
67 |
-
trigger_error(sprintf(_n('One file deleted on
|
68 |
}
|
69 |
}
|
70 |
}
|
71 |
} catch (Exception $e) {
|
72 |
-
trigger_error(sprintf(__('
|
73 |
return;
|
74 |
}
|
75 |
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function dest_gstorage() {
|
3 |
global $WORKING,$STATIC;
|
4 |
+
trigger_error(sprintf(__('%d. try sending backup to Google Storage...','backwpup'),$WORKING['DEST_GSTORAGE']['STEP_TRY']),E_USER_NOTICE);
|
5 |
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
6 |
$WORKING['STEPDONE']=0;
|
|
|
7 |
|
8 |
+
require_once(dirname(__FILE__).'/../libs/aws/sdk.class.php');
|
9 |
+
need_free_memory(26214400*1.1);
|
10 |
try {
|
11 |
+
$gstorage = new AmazonS3($STATIC['JOB']['GStorageAccessKey'], $STATIC['JOB']['GStorageSecret']);
|
12 |
+
//set up s3 for google
|
13 |
+
$gstorage->set_hostname('commondatastorage.googleapis.com');
|
14 |
+
$gstorage->allow_hostname_override(false);
|
15 |
+
if ($gstorage->if_bucket_exists($STATIC['JOB']['GStorageBucket'])) {
|
16 |
+
trigger_error(sprintf(__('Connected to GStorage Bucket: %s','backwpup'),$STATIC['JOB']['GStorageBucket']),E_USER_NOTICE);
|
17 |
+
//set surl Prozess bar
|
18 |
+
$curlops=array();
|
19 |
+
if (defined('CURLOPT_PROGRESSFUNCTION'))
|
20 |
+
$curlops=array(CURLOPT_NOPROGRESS=>false,CURLOPT_PROGRESSFUNCTION=>'curl_progresscallback',CURLOPT_BUFFERSIZE=>256);
|
21 |
+
else
|
22 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
23 |
+
trigger_error(__('Upload to GStorage now started... ','backwpup'),E_USER_NOTICE);
|
24 |
+
//transfere file to GStorage
|
25 |
+
$result=$gstorage->create_mpu_object($STATIC['JOB']['GStorageBucket'], $STATIC['JOB']['GStoragedir'].$STATIC['backupfile'], array('fileUpload' => $STATIC['JOB']['backupdir'].$STATIC['backupfile'],'acl' => 'private','partSize'=>26214400,'curlopts'=>$curlops));
|
26 |
+
$result=(array)$result;
|
27 |
+
if ($result["status"]=200 and $result["status"]<300) {
|
|
|
|
|
28 |
$WORKING['STEPTODO']=1+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
29 |
+
trigger_error(sprintf(__('Backup transferred to %s','backwpup'),"https://sandbox.google.com/storage/".$STATIC['JOB']['GStorageBucket']."/".$STATIC['JOB']['GStoragedir'].$STATIC['backupfile']),E_USER_NOTICE);
|
30 |
+
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloads3&file='.$STATIC['JOB']['GStoragedir'].$STATIC['backupfile'].'&jobid='.$STATIC['JOB']['jobid'];
|
31 |
} else {
|
32 |
+
trigger_error(sprintf(__('Can not transfer backup to GStorage! (%1$d) %2$s','backwpup'),$result["status"],$result["Message"]),E_USER_ERROR);
|
33 |
}
|
34 |
} else {
|
35 |
+
trigger_error(sprintf(__('GStorage Bucket "%s" not exists!','backwpup'),$STATIC['JOB']['GStorageBucket']),E_USER_ERROR);
|
36 |
}
|
37 |
} catch (Exception $e) {
|
38 |
+
trigger_error(sprintf(__('GStorage API: %s','backwpup'),$e->getMessage()),E_USER_ERROR);
|
39 |
return;
|
40 |
+
}
|
41 |
+
try {
|
42 |
+
if ($gstorage->if_bucket_exists($STATIC['JOB']['GStorageBucket'])) {
|
43 |
if ($STATIC['JOB']['GStoragemaxbackups']>0) { //Delete old backups
|
44 |
$backupfilelist=array();
|
45 |
+
if (($contents = $gstorage->list_objects($STATIC['JOB']['GStorageBucket'],array('prefix'=>$STATIC['JOB']['GStoragedir']))) !== false) {
|
46 |
+
foreach ($contents->body->Contents as $object) {
|
|
|
47 |
$file=basename($object->Key);
|
48 |
if ($STATIC['JOB']['fileprefix'] == substr($file,0,strlen($STATIC['JOB']['fileprefix'])) and $STATIC['JOB']['fileformart'] == substr($file,-strlen($STATIC['JOB']['fileformart'])))
|
49 |
$backupfilelist[]=$file;
|
53 |
rsort($backupfilelist);
|
54 |
$numdeltefiles=0;
|
55 |
for ($i=$STATIC['JOB']['GStoragemaxbackups'];$i<sizeof($backupfilelist);$i++) {
|
56 |
+
if ($gstorage->delete_object($STATIC['JOB']['GStorageBucket'], $STATIC['JOB']['GStoragedir'].$backupfilelist[$i])) //delte files on S3
|
57 |
+
$numdeltefiles++;
|
58 |
+
else
|
59 |
+
trigger_error(sprintf(__('Can not delete backup on GStorage://%s','backwpup'),$STATIC['JOB']['awsBucket'].'/'.$STATIC['JOB']['GStoragedir'].$backupfilelist[$i]),E_USER_ERROR);
|
60 |
}
|
61 |
if ($numdeltefiles>0)
|
62 |
+
trigger_error(sprintf(_n('One file deleted on GStorage Bucket','%d files deleted on GStorage Bucket',$numdeltefiles,'backwpup'),$numdeltefiles),E_USER_NOTICE);
|
63 |
}
|
64 |
}
|
65 |
}
|
66 |
} catch (Exception $e) {
|
67 |
+
trigger_error(sprintf(__('GStorage API: %s','backwpup'),$e->getMessage()),E_USER_ERROR);
|
68 |
return;
|
69 |
}
|
70 |
|
job/dest_mail.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function dest_mail() {
|
9 |
global $WORKING,$STATIC;
|
10 |
$WORKING['STEPTODO']=filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function dest_mail() {
|
3 |
global $WORKING,$STATIC;
|
4 |
$WORKING['STEPTODO']=filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
job/dest_msazure.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function dest_msazure() {
|
9 |
global $WORKING,$STATIC;
|
10 |
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
@@ -29,7 +23,7 @@ function dest_msazure() {
|
|
29 |
|
30 |
if ($result->Name==$STATIC['JOB']['msazuredir'].$STATIC['backupfile']) {
|
31 |
$WORKING['STEPTODO']=1+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
32 |
-
trigger_error(sprintf(__('Backup transferred to
|
33 |
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloadmsazure&file='.$STATIC['JOB']['msazuredir'].$STATIC['backupfile'].'&jobid='.$STATIC['JOB']['jobid'];
|
34 |
} else {
|
35 |
trigger_error(__('Can not transfer backup to Microsoft Azure!','backwpup'),E_USER_ERROR);
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function dest_msazure() {
|
3 |
global $WORKING,$STATIC;
|
4 |
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
23 |
|
24 |
if ($result->Name==$STATIC['JOB']['msazuredir'].$STATIC['backupfile']) {
|
25 |
$WORKING['STEPTODO']=1+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
26 |
+
trigger_error(sprintf(__('Backup transferred to %s','backwpup'),'https://'.$STATIC['JOB']['msazureAccName'].'.'.$STATIC['JOB']['msazureHost'].'/'.$STATIC['JOB']['msazuredir'].$STATIC['backupfile']),E_USER_NOTICE);
|
27 |
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloadmsazure&file='.$STATIC['JOB']['msazuredir'].$STATIC['backupfile'].'&jobid='.$STATIC['JOB']['jobid'];
|
28 |
} else {
|
29 |
trigger_error(__('Can not transfer backup to Microsoft Azure!','backwpup'),E_USER_ERROR);
|
job/dest_rsc.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function dest_rsc() {
|
9 |
global $WORKING,$STATIC;
|
10 |
trigger_error($WORKING['DEST_RSC']['STEP_TRY'].'. '.__('Try to sending backup file to Rackspace Cloud...','backwpup'),E_USER_NOTICE);
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function dest_rsc() {
|
3 |
global $WORKING,$STATIC;
|
4 |
trigger_error($WORKING['DEST_RSC']['STEP_TRY'].'. '.__('Try to sending backup file to Rackspace Cloud...','backwpup'),E_USER_NOTICE);
|
job/dest_s3.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function dest_s3() {
|
9 |
global $WORKING,$STATIC;
|
10 |
trigger_error(sprintf(__('%d. try sending backup file to Amazon S3...','backwpup'),$WORKING['DEST_S3']['STEP_TRY']),E_USER_NOTICE);
|
@@ -30,12 +24,15 @@ function dest_s3() {
|
|
30 |
else
|
31 |
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
32 |
trigger_error(__('Upload to Amazon S3 now started... ','backwpup'),E_USER_NOTICE);
|
33 |
-
|
|
|
|
|
|
|
34 |
$WORKING['STEPTODO']=1+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
35 |
-
trigger_error(sprintf(__('Backup transferred to
|
36 |
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloads3&file='.$STATIC['JOB']['awsdir'].$STATIC['backupfile'].'&jobid='.$STATIC['JOB']['jobid'];
|
37 |
} else {
|
38 |
-
trigger_error(__('Can not transfer backup to S3!','backwpup'),E_USER_ERROR);
|
39 |
}
|
40 |
} else {
|
41 |
trigger_error(sprintf(__('S3 Bucket "%s" not exists!','backwpup'),$STATIC['JOB']['awsBucket']),E_USER_ERROR);
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function dest_s3() {
|
3 |
global $WORKING,$STATIC;
|
4 |
trigger_error(sprintf(__('%d. try sending backup file to Amazon S3...','backwpup'),$WORKING['DEST_S3']['STEP_TRY']),E_USER_NOTICE);
|
24 |
else
|
25 |
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
26 |
trigger_error(__('Upload to Amazon S3 now started... ','backwpup'),E_USER_NOTICE);
|
27 |
+
//transfere file to S3
|
28 |
+
$result=$s3->create_mpu_object($STATIC['JOB']['awsBucket'], $STATIC['JOB']['awsdir'].$STATIC['backupfile'], array('fileUpload' => $STATIC['JOB']['backupdir'].$STATIC['backupfile'],'acl' => AmazonS3::ACL_PRIVATE,'storage' => $storage,'partSize'=>26214400,'curlopts'=>$curlops));
|
29 |
+
$result=(array)$result;
|
30 |
+
if ($result["status"]=200 and $result["status"]<300) {
|
31 |
$WORKING['STEPTODO']=1+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
32 |
+
trigger_error(sprintf(__('Backup transferred to %s','backwpup'),$result["header"]["_info"]["url"]),E_USER_NOTICE);
|
33 |
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloads3&file='.$STATIC['JOB']['awsdir'].$STATIC['backupfile'].'&jobid='.$STATIC['JOB']['jobid'];
|
34 |
} else {
|
35 |
+
trigger_error(sprintf(__('Can not transfer backup to S3! (%1$d) %2$s','backwpup'),$result["status"],$result["Message"]),E_USER_ERROR);
|
36 |
}
|
37 |
} else {
|
38 |
trigger_error(sprintf(__('S3 Bucket "%s" not exists!','backwpup'),$STATIC['JOB']['awsBucket']),E_USER_ERROR);
|
job/dest_sugarsync.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function dest_sugarsync() {
|
9 |
global $WORKING,$STATIC;
|
10 |
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
@@ -40,7 +34,7 @@ function dest_sugarsync() {
|
|
40 |
if (is_object($reponse)) {
|
41 |
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloadsugarsync&file='.(string)$reponse.'&jobid='.$STATIC['JOB']['jobid'];
|
42 |
$WORKING['STEPDONE']++;
|
43 |
-
trigger_error(sprintf(__('Backup transferred to
|
44 |
} else {
|
45 |
trigger_error(__('Can not transfer backup to SugarSync!','backwpup'),E_USER_ERROR);
|
46 |
return;
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function dest_sugarsync() {
|
3 |
global $WORKING,$STATIC;
|
4 |
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
34 |
if (is_object($reponse)) {
|
35 |
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloadsugarsync&file='.(string)$reponse.'&jobid='.$STATIC['JOB']['jobid'];
|
36 |
$WORKING['STEPDONE']++;
|
37 |
+
trigger_error(sprintf(__('Backup transferred to %s','backwpup'),'https://'.$user->nickname.'.sugarsync.com/'.$sugarsync->showdir($dirid).$STATIC['backupfile']),E_USER_NOTICE);
|
38 |
} else {
|
39 |
trigger_error(__('Can not transfer backup to SugarSync!','backwpup'),E_USER_ERROR);
|
40 |
return;
|
job/file_list.php
CHANGED
@@ -1,11 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
-
|
9 |
function file_list() {
|
10 |
global $WORKING,$STATIC,$tempfilelist;
|
11 |
//Make filelist
|
@@ -18,6 +11,7 @@ function file_list() {
|
|
18 |
$tempfilelist=array();
|
19 |
//exlude of job
|
20 |
$WORKING['FILEEXCLUDES']=explode(',',trim($STATIC['JOB']['fileexclude']));
|
|
|
21 |
$WORKING['FILEEXCLUDES']=array_unique($WORKING['FILEEXCLUDES']);
|
22 |
|
23 |
//File list for blog folders
|
@@ -57,7 +51,10 @@ function file_list() {
|
|
57 |
for ($i=0; $i<count($tempfilelist); $i++) {
|
58 |
$filestat=stat($tempfilelist[$i]);
|
59 |
$WORKING['ALLFILESIZE']+=$filestat['size'];
|
60 |
-
$
|
|
|
|
|
|
|
61 |
}
|
62 |
add_file($filelist); //add files to list
|
63 |
$WORKING['STEPDONE']=2;
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function file_list() {
|
3 |
global $WORKING,$STATIC,$tempfilelist;
|
4 |
//Make filelist
|
11 |
$tempfilelist=array();
|
12 |
//exlude of job
|
13 |
$WORKING['FILEEXCLUDES']=explode(',',trim($STATIC['JOB']['fileexclude']));
|
14 |
+
$WORKING['FILEEXCLUDES'][]='.tmp'; //do not backup .tmp files
|
15 |
$WORKING['FILEEXCLUDES']=array_unique($WORKING['FILEEXCLUDES']);
|
16 |
|
17 |
//File list for blog folders
|
51 |
for ($i=0; $i<count($tempfilelist); $i++) {
|
52 |
$filestat=stat($tempfilelist[$i]);
|
53 |
$WORKING['ALLFILESIZE']+=$filestat['size'];
|
54 |
+
$outfile=str_replace($removepath,'',$tempfilelist[$i]);
|
55 |
+
if (substr($outfile,0,1)=='/') //remove first /
|
56 |
+
$outfile=substr($outfile,1);
|
57 |
+
$filelist[]=array('FILE'=>$tempfilelist[$i],'OUTFILE'=>$outfile,'SIZE'=>$filestat['size'],'ATIME'=>$filestat['atime'],'MTIME'=>$filestat['mtime'],'CTIME'=>$filestat['ctime'],'UID'=>$filestat['uid'],'GID'=>$filestat['gid'],'MODE'=>$filestat['mode']);
|
58 |
}
|
59 |
add_file($filelist); //add files to list
|
60 |
$WORKING['STEPDONE']=2;
|
job/job_functions.php
CHANGED
@@ -1,39 +1,17 @@
|
|
1 |
<?PHP
|
2 |
-
// don't load directly
|
3 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
4 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
5 |
-
header("Status: 404 Not Found");
|
6 |
-
die();
|
7 |
-
}
|
8 |
-
|
9 |
function __($message,$domain='backwpup') {
|
10 |
-
global $
|
11 |
-
$
|
12 |
-
if (!empty($STATIC['TRANSLATE'][$msgid]))
|
13 |
-
$message=$STATIC['TRANSLATE'][$msgid];
|
14 |
-
return $message;
|
15 |
}
|
16 |
|
17 |
function _e($message,$domain='backwpup') {
|
18 |
-
global $
|
19 |
-
$
|
20 |
-
if (!empty($STATIC['TRANSLATE'][$msgid]))
|
21 |
-
$message=$STATIC['TRANSLATE'][$msgid];
|
22 |
-
echo $message;
|
23 |
}
|
24 |
|
25 |
-
function _n($
|
26 |
-
global $
|
27 |
-
|
28 |
-
$msgid=md5($singular);
|
29 |
-
$message=$singular;
|
30 |
-
} else {
|
31 |
-
$msgid=md5($plural);
|
32 |
-
$message=$plural;
|
33 |
-
}
|
34 |
-
if (!empty($STATIC['TRANSLATE'][$msgid]))
|
35 |
-
$message=$STATIC['TRANSLATE'][$msgid];
|
36 |
-
return $message;
|
37 |
}
|
38 |
|
39 |
function exists_option($option='backwpup_jobs') {
|
@@ -83,7 +61,7 @@ function add_file($files) {
|
|
83 |
file_put_contents($STATIC['TEMPDIR'].'.filelist',serialize($filelist));
|
84 |
}
|
85 |
|
86 |
-
//
|
87 |
function get_filelist() {
|
88 |
global $STATIC;
|
89 |
if (file_exists($STATIC['TEMPDIR'].'.filelist') and $filelistfile=file_get_contents($STATIC['TEMPDIR'].'.filelist'))
|
@@ -204,7 +182,7 @@ function delete_working_file() {
|
|
204 |
}
|
205 |
}
|
206 |
|
207 |
-
function update_working_file($mustwrite=false
|
208 |
global $WORKING,$STATIC,$runmicrotime;
|
209 |
if (!file_exists($STATIC['TEMPDIR'].'.running'))
|
210 |
job_end();
|
@@ -222,10 +200,7 @@ function update_working_file($mustwrite=false,$setpid=true) {
|
|
222 |
$runningfile=file_get_contents($STATIC['TEMPDIR'].'.running');
|
223 |
$infile=unserialize(trim($runningfile));
|
224 |
if (is_writable($STATIC['TEMPDIR'].'.running')) {
|
225 |
-
$
|
226 |
-
if ($setpid)
|
227 |
-
$PID=getmypid();
|
228 |
-
file_put_contents($STATIC['TEMPDIR'].'.running',serialize(array('timestamp'=>time(),'JOBID'=>$STATIC['JOB']['jobid'],'LOGFILE'=>$STATIC['LOGFILE'],'PID'=>getmypid(),'STEPSPERSENT'=>$stepspersent,'STEPPERSENT'=>$steppersent,'ABSPATH'=>$STATIC['WP']['ABSPATH'],'WORKING'=>$WORKING)));
|
229 |
$runmicrotime=microtime();
|
230 |
}
|
231 |
}
|
@@ -503,7 +478,7 @@ function job_end() {
|
|
503 |
}
|
504 |
|
505 |
// execute on script job shutdown
|
506 |
-
function job_shutdown() {
|
507 |
global $WORKING,$STATIC;
|
508 |
if (empty($STATIC['LOGFILE'])) //nothing on empty
|
509 |
return;
|
@@ -526,7 +501,9 @@ function job_shutdown() {
|
|
526 |
}
|
527 |
//Put last error to log if one
|
528 |
$lasterror=error_get_last();
|
529 |
-
if (($lasterror['type']==E_ERROR or $lasterror['type']==E_PARSE or $lasterror['type']==E_CORE_ERROR or $lasterror['type']==E_COMPILE_ERROR) and is_writable($STATIC['LOGFILE'])) {
|
|
|
|
|
530 |
file_put_contents($STATIC['LOGFILE'], "<span class=\"timestamp\" title=\"[Line: ".$lasterror['line']."|File: ".basename($lasterror['file'])."|Mem: ".formatbytes(@memory_get_usage(true))."|Mem Max: ".formatbytes(@memory_get_peak_usage(true))."|Mem Limit: ".ini_get('memory_limit')."|PID: ".getmypid()."]\">".date('Y/m/d H:i.s',time()+$STATIC['WP']['TIMEDIFF']).":</span> <span class=\"error\">[ERROR]".$lasterror['message']."</span><br />\n", FILE_APPEND);
|
531 |
//write new log header
|
532 |
$WORKING['ERROR']++;
|
@@ -542,16 +519,22 @@ function job_shutdown() {
|
|
542 |
}
|
543 |
fclose($fd);
|
544 |
}
|
|
|
|
|
545 |
//Excute jobrun again
|
546 |
if (!file_exists($STATIC['TEMPDIR'].'.running'))
|
547 |
-
|
548 |
if (is_writable($STATIC['LOGFILE']))
|
549 |
file_put_contents($STATIC['LOGFILE'], "<span class=\"timestamp\" title=\"[Line: ".__LINE__."|File: ".basename(__FILE__)."|Mem: ".formatbytes(@memory_get_usage(true))."|Mem Max: ".formatbytes(@memory_get_peak_usage(true))."|Mem Limit: ".ini_get('memory_limit')."|PID: ".getmypid()."]\">".date('Y/m/d H:i.s',time()+$STATIC['WP']['TIMEDIFF']).":</span> <span>".$WORKING['RESTART'].'. '.__('Script stop! Will started again now!','backwpup')."</span><br />\n", FILE_APPEND);
|
550 |
-
update_working_file(true
|
551 |
if (!empty($STATIC['JOBRUNURL'])) {
|
552 |
-
|
553 |
$http = new Http();
|
554 |
$http->setMethod('POST');
|
|
|
|
|
|
|
|
|
555 |
$http->addParam('BackWPupJobTemp', $STATIC['TEMPDIR']);
|
556 |
$http->addParam('nonce',$WORKING['NONCE']);
|
557 |
$http->addParam('type', 'restart');
|
@@ -559,5 +542,6 @@ function job_shutdown() {
|
|
559 |
$http->setTimeout(0.01);
|
560 |
$http->execute($STATIC['JOBRUNURL']);
|
561 |
}
|
|
|
562 |
}
|
563 |
?>
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function __($message,$domain='backwpup') {
|
3 |
+
global $TRANSLATE;
|
4 |
+
return $TRANSLATE->translate($message);
|
|
|
|
|
|
|
5 |
}
|
6 |
|
7 |
function _e($message,$domain='backwpup') {
|
8 |
+
global $TRANSLATE;
|
9 |
+
echo $TRANSLATE->translate($message);
|
|
|
|
|
|
|
10 |
}
|
11 |
|
12 |
+
function _n($single, $plural, $number,$domain='backwpup') {
|
13 |
+
global $TRANSLATE;
|
14 |
+
return $TRANSLATE->translate_plural($single,$plural,$number);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
}
|
16 |
|
17 |
function exists_option($option='backwpup_jobs') {
|
61 |
file_put_contents($STATIC['TEMPDIR'].'.filelist',serialize($filelist));
|
62 |
}
|
63 |
|
64 |
+
// get file list
|
65 |
function get_filelist() {
|
66 |
global $STATIC;
|
67 |
if (file_exists($STATIC['TEMPDIR'].'.filelist') and $filelistfile=file_get_contents($STATIC['TEMPDIR'].'.filelist'))
|
182 |
}
|
183 |
}
|
184 |
|
185 |
+
function update_working_file($mustwrite=false) {
|
186 |
global $WORKING,$STATIC,$runmicrotime;
|
187 |
if (!file_exists($STATIC['TEMPDIR'].'.running'))
|
188 |
job_end();
|
200 |
$runningfile=file_get_contents($STATIC['TEMPDIR'].'.running');
|
201 |
$infile=unserialize(trim($runningfile));
|
202 |
if (is_writable($STATIC['TEMPDIR'].'.running')) {
|
203 |
+
file_put_contents($STATIC['TEMPDIR'].'.running',serialize(array('timestamp'=>time(),'JOBID'=>$STATIC['JOB']['jobid'],'LOGFILE'=>$STATIC['LOGFILE'],'STEPSPERSENT'=>$stepspersent,'STEPPERSENT'=>$steppersent,'ABSPATH'=>$STATIC['WP']['ABSPATH'],'WORKING'=>$WORKING)));
|
|
|
|
|
|
|
204 |
$runmicrotime=microtime();
|
205 |
}
|
206 |
}
|
478 |
}
|
479 |
|
480 |
// execute on script job shutdown
|
481 |
+
function job_shutdown($signal='') {
|
482 |
global $WORKING,$STATIC;
|
483 |
if (empty($STATIC['LOGFILE'])) //nothing on empty
|
484 |
return;
|
501 |
}
|
502 |
//Put last error to log if one
|
503 |
$lasterror=error_get_last();
|
504 |
+
if (($lasterror['type']==E_ERROR or $lasterror['type']==E_PARSE or $lasterror['type']==E_CORE_ERROR or $lasterror['type']==E_COMPILE_ERROR or !empty($signal)) and is_writable($STATIC['LOGFILE'])) {
|
505 |
+
if (!empty($signal))
|
506 |
+
file_put_contents($STATIC['LOGFILE'], "<span class=\"timestamp\" title=\"[Line: ".__LINE__."|File: ".basename(__FILE__)."|Mem: ".formatbytes(@memory_get_usage(true))."|Mem Max: ".formatbytes(@memory_get_peak_usage(true))."|Mem Limit: ".ini_get('memory_limit')."|PID: ".getmypid()."]\">".date('Y/m/d H:i.s',time()+$STATIC['WP']['TIMEDIFF']).":</span> <span class=\"error\">[ERROR]".sprintf(__('Signal $d send to script!','backwpup'),$signal)."</span><br />\n", FILE_APPEND);
|
507 |
file_put_contents($STATIC['LOGFILE'], "<span class=\"timestamp\" title=\"[Line: ".$lasterror['line']."|File: ".basename($lasterror['file'])."|Mem: ".formatbytes(@memory_get_usage(true))."|Mem Max: ".formatbytes(@memory_get_peak_usage(true))."|Mem Limit: ".ini_get('memory_limit')."|PID: ".getmypid()."]\">".date('Y/m/d H:i.s',time()+$STATIC['WP']['TIMEDIFF']).":</span> <span class=\"error\">[ERROR]".$lasterror['message']."</span><br />\n", FILE_APPEND);
|
508 |
//write new log header
|
509 |
$WORKING['ERROR']++;
|
519 |
}
|
520 |
fclose($fd);
|
521 |
}
|
522 |
+
//set PID to 0
|
523 |
+
$WORKING['PID']=0;
|
524 |
//Excute jobrun again
|
525 |
if (!file_exists($STATIC['TEMPDIR'].'.running'))
|
526 |
+
exit;
|
527 |
if (is_writable($STATIC['LOGFILE']))
|
528 |
file_put_contents($STATIC['LOGFILE'], "<span class=\"timestamp\" title=\"[Line: ".__LINE__."|File: ".basename(__FILE__)."|Mem: ".formatbytes(@memory_get_usage(true))."|Mem Max: ".formatbytes(@memory_get_peak_usage(true))."|Mem Limit: ".ini_get('memory_limit')."|PID: ".getmypid()."]\">".date('Y/m/d H:i.s',time()+$STATIC['WP']['TIMEDIFF']).":</span> <span>".$WORKING['RESTART'].'. '.__('Script stop! Will started again now!','backwpup')."</span><br />\n", FILE_APPEND);
|
529 |
+
update_working_file(true);
|
530 |
if (!empty($STATIC['JOBRUNURL'])) {
|
531 |
+
require_once(dirname(__FILE__).'/../libs/class.http.php');
|
532 |
$http = new Http();
|
533 |
$http->setMethod('POST');
|
534 |
+
$http->setCookiepath($STATIC['TEMPDIR']);
|
535 |
+
$http->followRedirects(false);
|
536 |
+
if (!empty($STATIC['CFG']['httpauthuser']) and !empty($STATIC['CFG']['httpauthpassword']))
|
537 |
+
$http->setAuth($STATIC['CFG']['httpauthuser'], base64_decode($STATIC['CFG']['httpauthpassword']));
|
538 |
$http->addParam('BackWPupJobTemp', $STATIC['TEMPDIR']);
|
539 |
$http->addParam('nonce',$WORKING['NONCE']);
|
540 |
$http->addParam('type', 'restart');
|
542 |
$http->setTimeout(0.01);
|
543 |
$http->execute($STATIC['JOBRUNURL']);
|
544 |
}
|
545 |
+
exit;
|
546 |
}
|
547 |
?>
|
job/job_run.php
CHANGED
@@ -5,8 +5,7 @@ define('BACKWPUP_JOBRUN_FOLDER', dirname(__FILE__).'/');
|
|
5 |
require_once(BACKWPUP_JOBRUN_FOLDER.'job_functions.php');
|
6 |
//check referer
|
7 |
if ($_SERVER["HTTP_USER_AGENT"]!='BackWPup') {
|
8 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
9 |
-
header("Status: 404 Not Found");
|
10 |
die();
|
11 |
}
|
12 |
//get temp dir
|
@@ -45,25 +44,45 @@ if (empty($STATIC) or !file_exists($STATIC['LOGFILE'])) {
|
|
45 |
delete_working_file();
|
46 |
die('No logfile found!');
|
47 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
//set timezone
|
49 |
date_default_timezone_set('UTC');
|
|
|
|
|
|
|
50 |
//set function for PHP user defineid error handling
|
51 |
set_error_handler('joberrorhandler',E_ALL | E_STRICT);
|
52 |
//Get type and check job runs
|
53 |
$runningfile=get_working_file();
|
54 |
$revtime=time()-$STATIC['CFG']['jobscriptruntimelong']-10;
|
55 |
-
if ($
|
56 |
trigger_error(__('Job restart terminated, bcause old job runs again!','backwpup'),E_USER_ERROR);
|
57 |
die();
|
58 |
} elseif($_POST['type']=='restarttime') {
|
59 |
trigger_error(__('Job restarted, bcause inactivity!','backwpup'),E_USER_ERROR);
|
60 |
-
} elseif ($
|
61 |
trigger_error(sprintf(__('Second Prozess is running, bcause old job runs! Start type is %s','backwpup'),$_POST['type']),E_USER_ERROR);
|
62 |
die();
|
63 |
}
|
64 |
unset($runningfile);
|
|
|
|
|
65 |
// execute function on job shutdown
|
66 |
register_shutdown_function('job_shutdown');
|
|
|
|
|
|
|
|
|
67 |
//disable safe mode
|
68 |
@ini_set('safe_mode','0');
|
69 |
//set execution time tom max on safe mode
|
5 |
require_once(BACKWPUP_JOBRUN_FOLDER.'job_functions.php');
|
6 |
//check referer
|
7 |
if ($_SERVER["HTTP_USER_AGENT"]!='BackWPup') {
|
8 |
+
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found",true,404);
|
|
|
9 |
die();
|
10 |
}
|
11 |
//get temp dir
|
44 |
delete_working_file();
|
45 |
die('No logfile found!');
|
46 |
}
|
47 |
+
//load translation
|
48 |
+
if (is_file(dirname(__FILE__).'/../lang/backwpup-'.$STATIC['WP']['WPLANG'].'.mo')) {
|
49 |
+
require($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC'].'/pomo/mo.php');
|
50 |
+
$TRANSLATE = &new MO();
|
51 |
+
$TRANSLATE->import_from_file(dirname(__FILE__).'/../lang/backwpup-'.$STATIC['WP']['WPLANG'].'.mo');
|
52 |
+
} else {
|
53 |
+
require($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC'].'/pomo/translations.php');
|
54 |
+
$TRANSLATE = &new NOOP_Translations;
|
55 |
+
}
|
56 |
+
//set ticks
|
57 |
+
declare(ticks=1);
|
58 |
//set timezone
|
59 |
date_default_timezone_set('UTC');
|
60 |
+
// set charakter encoding
|
61 |
+
if (!@mb_internal_encoding($STATIC['WP']['CHARSET']))
|
62 |
+
mb_internal_encoding('UTF-8');
|
63 |
//set function for PHP user defineid error handling
|
64 |
set_error_handler('joberrorhandler',E_ALL | E_STRICT);
|
65 |
//Get type and check job runs
|
66 |
$runningfile=get_working_file();
|
67 |
$revtime=time()-$STATIC['CFG']['jobscriptruntimelong']-10;
|
68 |
+
if ($WORKING['PID']!=getmypid() and $runningfile['timestamp']>$revtime and $_POST['type']=='restarttime') {
|
69 |
trigger_error(__('Job restart terminated, bcause old job runs again!','backwpup'),E_USER_ERROR);
|
70 |
die();
|
71 |
} elseif($_POST['type']=='restarttime') {
|
72 |
trigger_error(__('Job restarted, bcause inactivity!','backwpup'),E_USER_ERROR);
|
73 |
+
} elseif ($WORKING['PID']!=getmypid() and $WORKING['PID']!=0 and $runningfile['timestamp']>$revtime) {
|
74 |
trigger_error(sprintf(__('Second Prozess is running, bcause old job runs! Start type is %s','backwpup'),$_POST['type']),E_USER_ERROR);
|
75 |
die();
|
76 |
}
|
77 |
unset($runningfile);
|
78 |
+
//set Pid
|
79 |
+
$WORKING['PID']=getmypid();
|
80 |
// execute function on job shutdown
|
81 |
register_shutdown_function('job_shutdown');
|
82 |
+
if (function_exists('pcntl_signal')) {
|
83 |
+
pcntl_signal(SIGTERM, 'job_shutdown');
|
84 |
+
pcntl_signal(SIGKILL, 'job_shutdown');
|
85 |
+
}
|
86 |
//disable safe mode
|
87 |
@ini_set('safe_mode','0');
|
88 |
//set execution time tom max on safe mode
|
job/job_start.php
CHANGED
@@ -1,11 +1,4 @@
|
|
1 |
-
<?PHP
|
2 |
-
// don't load directly
|
3 |
-
if (!defined('ABSPATH')) {
|
4 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
5 |
-
header("Status: 404 Not Found");
|
6 |
-
die();
|
7 |
-
}
|
8 |
-
|
9 |
function backwpup_jobstart($jobid='',$cronstart=false) {
|
10 |
global $wpdb,$wp_version;
|
11 |
$jobid=(int)trim($jobid);
|
@@ -58,7 +51,7 @@ function backwpup_jobstart($jobid='',$cronstart=false) {
|
|
58 |
}
|
59 |
}
|
60 |
//Write running file to prevent dobble runnging
|
61 |
-
file_put_contents($backwpup_static['TEMPDIR'].'.running',serialize(array('timestamp'=>time(),'JOBID'=>$jobid,'LOGFILE'=>'','
|
62 |
|
63 |
//Set needed WP vars
|
64 |
$backwpup_static['WP']['DB_NAME']=DB_NAME;
|
@@ -77,6 +70,7 @@ function backwpup_jobstart($jobid='',$cronstart=false) {
|
|
77 |
$backwpup_static['WP']['TIMEDIFF']=get_option('gmt_offset')*3600;
|
78 |
$backwpup_static['WP']['WPLANG']=WPLANG;
|
79 |
$backwpup_static['WP']['VERSION']=$wp_version;
|
|
|
80 |
//WP folder
|
81 |
$backwpup_static['WP']['ABSPATH']=rtrim(str_replace('\\','/',ABSPATH),'/').'/';
|
82 |
$backwpup_static['WP']['WP_CONTENT_DIR']=rtrim(str_replace('\\','/',WP_CONTENT_DIR),'/').'/';
|
@@ -86,19 +80,6 @@ function backwpup_jobstart($jobid='',$cronstart=false) {
|
|
86 |
$backwpup_static['WP']['WPINC']=WPINC;
|
87 |
$backwpup_static['WP']['MULTISITE']=is_multisite();
|
88 |
$backwpup_static['WP']['ADMINURL']=backwpup_admin_url('admin.php');
|
89 |
-
//Load Translation
|
90 |
-
if (!empty($backwpup_static['WP']['WPLANG']) and is_file(dirname(__FILE__).'/../lang/backwpup-'.$backwpup_static['WP']['WPLANG'].'.po')) {
|
91 |
-
$file = fopen (dirname(__FILE__).'/../lang/backwpup-'.$backwpup_static['WP']['WPLANG'].'.po', "r");
|
92 |
-
while (!feof($file)){
|
93 |
-
$line = trim(fgets($file));
|
94 |
-
if (substr($line,0,7)=='msgid "') {
|
95 |
-
$msgid=md5(substr($line,7,-1));
|
96 |
-
$msgstr=substr(trim(fgets($file)),8,-1);
|
97 |
-
$backwpup_static['TRANSLATE'][$msgid]=$msgstr;
|
98 |
-
}
|
99 |
-
}
|
100 |
-
fclose($file);
|
101 |
-
}
|
102 |
//Set plugin data
|
103 |
$backwpup_static['BACKWPUP']['PLUGIN_BASEDIR']=BACKWPUP_PLUGIN_BASEDIR;
|
104 |
$backwpup_static['BACKWPUP']['VERSION']=BACKWPUP_VERSION;
|
@@ -223,6 +204,7 @@ function backwpup_jobstart($jobid='',$cronstart=false) {
|
|
223 |
}
|
224 |
$backwpup_static['CRONSTART']=$cronstart;
|
225 |
$backwpup_working['NONCE']=wp_create_nonce('BackWPupJob');
|
|
|
226 |
$backwpup_working['WARNING']=0;
|
227 |
$backwpup_working['ERROR']=0;
|
228 |
$backwpup_working['RESTART']=0;
|
@@ -269,11 +251,14 @@ function backwpup_jobstart($jobid='',$cronstart=false) {
|
|
269 |
foreach($backwpup_working['STEPS'] as $step)
|
270 |
$backwpup_working[$step]['DONE']=false;
|
271 |
//write working file
|
272 |
-
file_put_contents($backwpup_static['TEMPDIR'].'.running',serialize(array('timestamp'=>time(),'JOBID'=>$backwpup_static['JOB']['jobid'],'LOGFILE'=>$backwpup_static['LOGFILE'],'
|
273 |
//write static file
|
274 |
file_put_contents($backwpup_static['TEMPDIR'].'.static',serialize($backwpup_static));
|
275 |
//Run job
|
276 |
-
|
|
|
|
|
|
|
277 |
return $backwpup_static['LOGFILE'];
|
278 |
}
|
279 |
?>
|
1 |
+
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function backwpup_jobstart($jobid='',$cronstart=false) {
|
3 |
global $wpdb,$wp_version;
|
4 |
$jobid=(int)trim($jobid);
|
51 |
}
|
52 |
}
|
53 |
//Write running file to prevent dobble runnging
|
54 |
+
file_put_contents($backwpup_static['TEMPDIR'].'.running',serialize(array('timestamp'=>time(),'JOBID'=>$jobid,'LOGFILE'=>'','STEPSPERSENT'=>0,'STEPPERSENT'=>0,'WORKING'=>array('PID'=>0))));
|
55 |
|
56 |
//Set needed WP vars
|
57 |
$backwpup_static['WP']['DB_NAME']=DB_NAME;
|
70 |
$backwpup_static['WP']['TIMEDIFF']=get_option('gmt_offset')*3600;
|
71 |
$backwpup_static['WP']['WPLANG']=WPLANG;
|
72 |
$backwpup_static['WP']['VERSION']=$wp_version;
|
73 |
+
$backwpup_static['WP']['CHARSET']=get_option('blog_charset');
|
74 |
//WP folder
|
75 |
$backwpup_static['WP']['ABSPATH']=rtrim(str_replace('\\','/',ABSPATH),'/').'/';
|
76 |
$backwpup_static['WP']['WP_CONTENT_DIR']=rtrim(str_replace('\\','/',WP_CONTENT_DIR),'/').'/';
|
80 |
$backwpup_static['WP']['WPINC']=WPINC;
|
81 |
$backwpup_static['WP']['MULTISITE']=is_multisite();
|
82 |
$backwpup_static['WP']['ADMINURL']=backwpup_admin_url('admin.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
//Set plugin data
|
84 |
$backwpup_static['BACKWPUP']['PLUGIN_BASEDIR']=BACKWPUP_PLUGIN_BASEDIR;
|
85 |
$backwpup_static['BACKWPUP']['VERSION']=BACKWPUP_VERSION;
|
204 |
}
|
205 |
$backwpup_static['CRONSTART']=$cronstart;
|
206 |
$backwpup_working['NONCE']=wp_create_nonce('BackWPupJob');
|
207 |
+
$backwpup_working['PID']=0;
|
208 |
$backwpup_working['WARNING']=0;
|
209 |
$backwpup_working['ERROR']=0;
|
210 |
$backwpup_working['RESTART']=0;
|
251 |
foreach($backwpup_working['STEPS'] as $step)
|
252 |
$backwpup_working[$step]['DONE']=false;
|
253 |
//write working file
|
254 |
+
file_put_contents($backwpup_static['TEMPDIR'].'.running',serialize(array('timestamp'=>time(),'JOBID'=>$backwpup_static['JOB']['jobid'],'LOGFILE'=>$backwpup_static['LOGFILE'],'STEPSPERSENT'=>0,'STEPPERSENT'=>0,'WORKING'=>$backwpup_working)));
|
255 |
//write static file
|
256 |
file_put_contents($backwpup_static['TEMPDIR'].'.static',serialize($backwpup_static));
|
257 |
//Run job
|
258 |
+
$httpauthheader='';
|
259 |
+
if (!empty($backwpup_static['CFG']['httpauthuser']) and !empty($backwpup_static['CFG']['httpauthpassword']))
|
260 |
+
$httpauthheader="Authorization: Basic ".base64_encode($backwpup_static['CFG']['httpauthuser'].':'.base64_decode($backwpup_static['CFG']['httpauthpassword']))."\r\n";
|
261 |
+
wp_remote_post($backwpup_static['JOBRUNURL'], array('timeout' => 0.01, 'blocking' => false, 'sslverify' => false, 'headers'=>$httpauthheader ,'body'=>array('BackWPupJobTemp'=>$backwpup_static['TEMPDIR'], 'nonce'=>$backwpup_working['NONCE'], 'type'=>'start'), 'user-agent'=>'BackWPup'));
|
262 |
return $backwpup_static['LOGFILE'];
|
263 |
}
|
264 |
?>
|
job/wp_export.php
CHANGED
@@ -1,43 +1,34 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function wp_export() {
|
9 |
global $WORKING,$STATIC;
|
10 |
$WORKING['STEPTODO']=1;
|
11 |
trigger_error(sprintf(__('%d. try for wordpress export to XML file...','backwpup'),$WORKING['WP_EXPORT']['STEP_TRY']),E_USER_NOTICE);
|
12 |
need_free_memory(10485760); //10MB free memory
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
}
|
39 |
-
curl_close($ch);
|
40 |
-
}
|
41 |
//add XML file to backupfiles
|
42 |
if (is_readable($STATIC['TEMPDIR'].preg_replace( '/[^a-z0-9_\-]/', '', strtolower($STATIC['WP']['BLOGNAME'])).'.wordpress.'.date( 'Y-m-d' ).'.xml')) {
|
43 |
$filestat=stat($STATIC['TEMPDIR'].preg_replace( '/[^a-z0-9_\-]/', '', strtolower($STATIC['WP']['BLOGNAME'])).'.wordpress.'.date( 'Y-m-d' ).'.xml');
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function wp_export() {
|
3 |
global $WORKING,$STATIC;
|
4 |
$WORKING['STEPTODO']=1;
|
5 |
trigger_error(sprintf(__('%d. try for wordpress export to XML file...','backwpup'),$WORKING['WP_EXPORT']['STEP_TRY']),E_USER_NOTICE);
|
6 |
need_free_memory(10485760); //10MB free memory
|
7 |
+
|
8 |
+
require_once(dirname(__FILE__).'/../libs/class.http.php');
|
9 |
+
$http = new Http();
|
10 |
+
$http->setMethod('POST');
|
11 |
+
$http->setCookiepath($STATIC['TEMPDIR']);
|
12 |
+
$http->followRedirects(false);
|
13 |
+
if (!empty($STATIC['CFG']['httpauthuser']) and !empty($STATIC['CFG']['httpauthpassword']))
|
14 |
+
$http->setAuth($STATIC['CFG']['httpauthuser'], base64_decode($STATIC['CFG']['httpauthpassword']));
|
15 |
+
$http->addParam('BackWPupJobTemp', $STATIC['TEMPDIR']);
|
16 |
+
$http->addParam('nonce',$WORKING['NONCE']);
|
17 |
+
$http->addParam('type', 'getxmlexport');
|
18 |
+
$http->setUseragent('BackWPup');
|
19 |
+
$http->setTimeout(300);
|
20 |
+
$http->setProgressFunction('curl_progresscallback');
|
21 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
22 |
+
$return=$http->execute(substr($STATIC['JOBRUNURL'],0,-11).'wp_export_generate.php');
|
23 |
+
$status=$http->getStatus();
|
24 |
+
$error=$http->getError();
|
25 |
+
|
26 |
+
if ($status>=300 or $status<200 or !empty($error)) {
|
27 |
+
trigger_error(sprintf(__('XML Export (%1$d) %2$s','backwpup'),$status,$error),E_USER_ERROR);
|
28 |
+
} else {
|
29 |
+
file_put_contents($STATIC['TEMPDIR'].preg_replace( '/[^a-z0-9_\-]/', '', strtolower($STATIC['WP']['BLOGNAME'])).'.wordpress.'.date( 'Y-m-d' ).'.xml', $return);
|
30 |
+
}
|
31 |
+
|
|
|
|
|
|
|
32 |
//add XML file to backupfiles
|
33 |
if (is_readable($STATIC['TEMPDIR'].preg_replace( '/[^a-z0-9_\-]/', '', strtolower($STATIC['WP']['BLOGNAME'])).'.wordpress.'.date( 'Y-m-d' ).'.xml')) {
|
34 |
$filestat=stat($STATIC['TEMPDIR'].preg_replace( '/[^a-z0-9_\-]/', '', strtolower($STATIC['WP']['BLOGNAME'])).'.wordpress.'.date( 'Y-m-d' ).'.xml');
|
job/wp_export_generate.php
CHANGED
@@ -1,16 +1,19 @@
|
|
1 |
<?PHP
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
$infile=array();
|
5 |
if (!empty($runningfile))
|
6 |
$infile=unserialize(trim($runningfile));
|
7 |
-
if (file_exists($infile['ABSPATH'].'wp-load.php')) {
|
8 |
require_once($infile['ABSPATH'].'wp-load.php'); /** Setup WordPress environment */
|
9 |
require_once($infile['ABSPATH'].'wp-admin/includes/export.php');
|
10 |
export_wp();
|
11 |
-
}
|
12 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
13 |
-
header("Status: 404 Not Found");
|
14 |
-
die();
|
15 |
-
}
|
16 |
?>
|
1 |
<?PHP
|
2 |
+
define('DONOTCACHEPAGE', true);
|
3 |
+
define('DONOTCACHEDB', true);
|
4 |
+
define('DONOTMINIFY', true);
|
5 |
+
define('DONOTCDN', true);
|
6 |
+
define('DONOTCACHCEOBJECT', true);
|
7 |
+
define('W3TC_IN_MINIFY',false); //W3TC will not loaded
|
8 |
+
|
9 |
+
if (is_writable(trim($_POST['BackWPupJobTemp']).'.running'))
|
10 |
+
$runningfile=file_get_contents(trim($_POST['BackWPupJobTemp']).'.running');
|
11 |
$infile=array();
|
12 |
if (!empty($runningfile))
|
13 |
$infile=unserialize(trim($runningfile));
|
14 |
+
if (file_exists($infile['ABSPATH'].'wp-load.php') and $_POST['nonce']==$infile['WORKING']['NONCE'] and $_POST['type']=='getxmlexport') {
|
15 |
require_once($infile['ABSPATH'].'wp-load.php'); /** Setup WordPress environment */
|
16 |
require_once($infile['ABSPATH'].'wp-admin/includes/export.php');
|
17 |
export_wp();
|
18 |
+
}
|
|
|
|
|
|
|
|
|
19 |
?>
|
lang/backwpup.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the BackWPup package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: BackWPup 2.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/backwpup\n"
|
7 |
-
"POT-Creation-Date: 2011-07-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,2130 +12,2140 @@ msgstr ""
|
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#:
|
16 |
-
msgid "
|
17 |
msgstr ""
|
18 |
|
19 |
-
#:
|
20 |
-
|
|
|
|
|
|
|
21 |
msgstr ""
|
22 |
|
23 |
-
#:
|
24 |
-
msgid "
|
25 |
msgstr ""
|
26 |
|
27 |
-
#:
|
28 |
-
msgid "File
|
29 |
msgstr ""
|
30 |
|
31 |
-
#:
|
32 |
-
msgid "
|
33 |
msgstr ""
|
34 |
|
35 |
-
#:
|
36 |
-
msgid "
|
37 |
msgstr ""
|
38 |
|
39 |
-
#:
|
40 |
-
msgid "
|
41 |
msgstr ""
|
42 |
|
43 |
-
#:
|
44 |
-
msgid "
|
|
|
|
|
45 |
msgstr ""
|
46 |
|
47 |
-
#:
|
48 |
-
|
|
|
49 |
msgstr ""
|
50 |
|
51 |
-
#:
|
52 |
-
msgid "
|
53 |
msgstr ""
|
54 |
|
55 |
-
#:
|
56 |
-
|
57 |
-
"
|
58 |
-
"3$s"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#:
|
62 |
-
msgid ""
|
63 |
-
"[INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, "
|
64 |
-
"and you are welcome to redistribute it under certain conditions."
|
65 |
msgstr ""
|
66 |
|
67 |
-
#:
|
68 |
-
msgid "
|
69 |
msgstr ""
|
70 |
|
71 |
-
#:
|
72 |
-
msgid "
|
73 |
msgstr ""
|
74 |
|
75 |
-
#:
|
76 |
-
msgid "
|
77 |
msgstr ""
|
78 |
|
79 |
-
#:
|
80 |
-
msgid "
|
81 |
msgstr ""
|
82 |
|
83 |
-
#:
|
84 |
-
msgid "
|
85 |
msgstr ""
|
86 |
|
87 |
-
#:
|
88 |
-
|
|
|
89 |
msgstr ""
|
90 |
|
91 |
-
#:
|
92 |
-
msgid "
|
93 |
msgstr ""
|
94 |
|
95 |
-
#:
|
96 |
-
msgid "
|
97 |
msgstr ""
|
98 |
|
99 |
-
#:
|
100 |
-
msgid "
|
101 |
msgstr ""
|
102 |
|
103 |
-
#:
|
104 |
-
msgid "
|
105 |
msgstr ""
|
106 |
|
107 |
-
#:
|
108 |
-
msgid "
|
109 |
msgstr ""
|
110 |
|
111 |
-
#:
|
112 |
-
msgid "
|
113 |
msgstr ""
|
114 |
|
115 |
-
#:
|
116 |
-
msgid "
|
117 |
msgstr ""
|
118 |
|
119 |
-
#:
|
120 |
-
msgid "
|
121 |
msgstr ""
|
122 |
|
123 |
-
#:
|
124 |
-
|
|
|
|
|
125 |
msgstr ""
|
126 |
|
127 |
-
#:
|
128 |
-
msgid "
|
129 |
msgstr ""
|
130 |
|
131 |
-
#:
|
132 |
-
msgid "
|
133 |
msgstr ""
|
134 |
|
135 |
-
#:
|
136 |
-
msgid "
|
137 |
msgstr ""
|
138 |
|
139 |
-
#:
|
140 |
-
msgid "
|
141 |
msgstr ""
|
142 |
|
143 |
-
#:
|
144 |
-
msgid "
|
145 |
-
msgid_plural "%d files deleted on Microsoft Azure container"
|
146 |
-
msgstr[0] ""
|
147 |
-
msgstr[1] ""
|
148 |
-
|
149 |
-
#: job/dest_msazure.php:61
|
150 |
-
msgid "Microsoft Azure API: %s"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#:
|
154 |
-
msgid "
|
155 |
msgstr ""
|
156 |
|
157 |
-
#:
|
158 |
-
msgid "
|
159 |
msgstr ""
|
160 |
|
161 |
-
#:
|
162 |
-
msgid "
|
163 |
msgstr ""
|
164 |
|
165 |
-
#:
|
166 |
-
msgid "
|
167 |
msgstr ""
|
168 |
|
169 |
-
#:
|
170 |
-
msgid "
|
171 |
msgstr ""
|
172 |
|
173 |
-
#:
|
174 |
-
msgid "
|
175 |
msgstr ""
|
176 |
|
177 |
-
#:
|
178 |
-
|
|
|
179 |
msgstr ""
|
180 |
|
181 |
-
#:
|
182 |
-
msgid "
|
183 |
msgstr ""
|
184 |
|
185 |
-
#:
|
186 |
-
msgid "
|
187 |
msgstr ""
|
188 |
|
189 |
-
#:
|
190 |
-
msgid "
|
191 |
msgstr ""
|
192 |
|
193 |
-
#:
|
194 |
-
msgid "
|
195 |
msgstr ""
|
196 |
|
197 |
-
#:
|
198 |
-
msgid "
|
199 |
msgstr ""
|
200 |
|
201 |
-
#:
|
202 |
-
msgid "
|
203 |
msgstr ""
|
204 |
|
205 |
-
#:
|
206 |
-
msgid "
|
207 |
msgstr ""
|
208 |
|
209 |
-
#:
|
210 |
-
msgid "
|
211 |
msgstr ""
|
212 |
|
213 |
-
#:
|
214 |
-
msgid "
|
215 |
msgstr ""
|
216 |
|
217 |
-
#:
|
218 |
-
msgid "
|
219 |
msgstr ""
|
220 |
|
221 |
-
#:
|
222 |
-
|
|
|
|
|
223 |
msgstr ""
|
224 |
|
225 |
-
#:
|
226 |
-
msgid "
|
227 |
msgstr ""
|
228 |
|
229 |
-
#:
|
230 |
-
msgid "
|
231 |
msgstr ""
|
232 |
|
233 |
-
#:
|
234 |
-
msgid "
|
235 |
msgstr ""
|
236 |
|
237 |
-
#:
|
238 |
-
msgid "
|
239 |
msgstr ""
|
240 |
|
241 |
-
#:
|
242 |
-
msgid "
|
243 |
msgstr ""
|
244 |
|
245 |
-
#:
|
246 |
-
msgid "
|
247 |
msgstr ""
|
248 |
|
249 |
-
#:
|
250 |
-
msgid "
|
251 |
msgstr ""
|
252 |
|
253 |
-
#:
|
254 |
-
|
255 |
-
#: job/db_dump.php:106 job/db_dump.php:116
|
256 |
-
msgid "Database error %1$s for query %2$s"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#:
|
260 |
-
msgid "
|
261 |
msgstr ""
|
262 |
|
263 |
-
#:
|
264 |
-
msgid "
|
265 |
msgstr ""
|
266 |
|
267 |
-
#:
|
268 |
-
msgid "
|
269 |
msgstr ""
|
270 |
|
271 |
-
#:
|
272 |
-
msgid "
|
273 |
msgstr ""
|
274 |
|
275 |
-
#:
|
276 |
-
msgid "
|
277 |
msgstr ""
|
278 |
|
279 |
-
#:
|
280 |
-
msgid "
|
281 |
msgstr ""
|
282 |
|
283 |
-
#:
|
284 |
-
msgid "
|
285 |
msgstr ""
|
286 |
|
287 |
-
#:
|
288 |
-
msgid "
|
289 |
msgstr ""
|
290 |
|
291 |
-
#:
|
292 |
-
msgid "
|
293 |
msgstr ""
|
294 |
|
295 |
-
#:
|
296 |
-
msgid "
|
297 |
msgstr ""
|
298 |
|
299 |
-
#:
|
300 |
-
msgid "
|
301 |
msgstr ""
|
302 |
|
303 |
-
#:
|
304 |
-
msgid "
|
305 |
msgstr ""
|
306 |
|
307 |
-
#:
|
308 |
-
msgid "
|
309 |
-
|
|
|
|
|
310 |
|
311 |
-
#:
|
312 |
-
msgid "
|
313 |
-
msgid_plural "%d
|
314 |
msgstr[0] ""
|
315 |
msgstr[1] ""
|
316 |
|
317 |
-
#:
|
318 |
-
msgid "
|
319 |
msgstr ""
|
320 |
|
321 |
-
#:
|
322 |
-
msgid "
|
323 |
msgstr ""
|
324 |
|
325 |
-
#:
|
326 |
-
|
|
|
|
|
|
|
327 |
msgstr ""
|
328 |
|
329 |
-
#:
|
330 |
-
msgid "
|
331 |
msgstr ""
|
332 |
|
333 |
-
#:
|
334 |
-
msgid "
|
335 |
msgstr ""
|
336 |
|
337 |
-
#:
|
338 |
-
|
|
|
|
|
339 |
msgstr ""
|
340 |
|
341 |
-
#:
|
342 |
-
msgid "
|
343 |
msgstr ""
|
344 |
|
345 |
-
#:
|
346 |
-
msgid "
|
347 |
msgstr ""
|
348 |
|
349 |
-
#:
|
350 |
-
msgid "
|
351 |
-
|
352 |
-
msgstr[0] ""
|
353 |
-
msgstr[1] ""
|
354 |
|
355 |
-
#:
|
356 |
-
msgid "
|
357 |
msgstr ""
|
358 |
|
359 |
-
#:
|
360 |
-
msgid "
|
361 |
msgstr ""
|
362 |
|
363 |
-
#:
|
364 |
-
msgid "
|
365 |
msgstr ""
|
366 |
|
367 |
-
#:
|
368 |
-
msgid "
|
369 |
msgstr ""
|
370 |
|
371 |
-
#:
|
372 |
-
msgid "
|
373 |
msgstr ""
|
374 |
|
375 |
-
#:
|
376 |
-
msgid "
|
377 |
msgstr ""
|
378 |
|
379 |
-
#:
|
380 |
-
msgid "
|
381 |
msgstr ""
|
382 |
|
383 |
-
#:
|
384 |
-
msgid "
|
385 |
msgstr ""
|
386 |
|
387 |
-
#:
|
388 |
-
msgid "
|
389 |
msgstr ""
|
390 |
|
391 |
-
#:
|
392 |
-
msgid "
|
393 |
msgstr ""
|
394 |
|
395 |
-
#:
|
396 |
-
msgid "
|
397 |
msgstr ""
|
398 |
|
399 |
-
#:
|
400 |
-
msgid "
|
401 |
-
|
402 |
-
msgstr[0] ""
|
403 |
-
msgstr[1] ""
|
404 |
|
405 |
-
#:
|
406 |
-
msgid "
|
407 |
msgstr ""
|
408 |
|
409 |
-
#:
|
410 |
-
msgid "
|
411 |
msgstr ""
|
412 |
|
413 |
-
#:
|
414 |
-
msgid "
|
415 |
msgstr ""
|
416 |
|
417 |
-
#:
|
418 |
-
msgid "
|
419 |
msgstr ""
|
420 |
|
421 |
-
#:
|
422 |
-
msgid "
|
423 |
msgstr ""
|
424 |
|
425 |
-
#:
|
426 |
-
msgid "
|
427 |
msgstr ""
|
428 |
|
429 |
-
#:
|
430 |
-
msgid "
|
431 |
msgstr ""
|
432 |
|
433 |
-
#:
|
434 |
-
msgid "
|
435 |
msgstr ""
|
436 |
|
437 |
-
#:
|
438 |
-
msgid "
|
439 |
msgstr ""
|
440 |
|
441 |
-
#:
|
442 |
-
msgid "
|
|
|
|
|
443 |
msgstr ""
|
444 |
|
445 |
-
#:
|
446 |
-
msgid "
|
447 |
msgstr ""
|
448 |
|
449 |
-
#:
|
450 |
-
msgid "
|
451 |
msgstr ""
|
452 |
|
453 |
-
#:
|
454 |
-
msgid "
|
455 |
msgstr ""
|
456 |
|
457 |
-
#:
|
458 |
-
msgid "
|
459 |
msgstr ""
|
460 |
|
461 |
-
#:
|
462 |
-
msgid "
|
463 |
msgstr ""
|
464 |
|
465 |
-
#:
|
466 |
-
msgid "
|
467 |
msgstr ""
|
468 |
|
469 |
-
#:
|
470 |
-
msgid "
|
471 |
msgstr ""
|
472 |
|
473 |
-
#:
|
474 |
-
msgid "
|
475 |
msgstr ""
|
476 |
|
477 |
-
#:
|
478 |
-
msgid "
|
479 |
msgstr ""
|
480 |
|
481 |
-
#:
|
482 |
-
msgid "
|
483 |
msgstr ""
|
484 |
|
485 |
-
#:
|
486 |
-
|
|
|
487 |
msgstr ""
|
488 |
|
489 |
-
#:
|
490 |
-
msgid "
|
491 |
msgstr ""
|
492 |
|
493 |
-
#:
|
494 |
-
msgid "
|
495 |
msgstr ""
|
496 |
|
497 |
-
#:
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
msgstr
|
502 |
|
503 |
-
#:
|
504 |
-
msgid "
|
505 |
msgstr ""
|
506 |
|
507 |
-
#:
|
508 |
-
msgid "
|
509 |
msgstr ""
|
510 |
|
511 |
-
#:
|
512 |
-
msgid "
|
513 |
msgstr ""
|
514 |
|
515 |
-
#:
|
516 |
-
msgid "
|
517 |
msgstr ""
|
518 |
|
519 |
-
#:
|
520 |
-
msgid "
|
521 |
msgstr ""
|
522 |
|
523 |
-
#:
|
524 |
-
msgid "
|
525 |
msgstr ""
|
526 |
|
527 |
-
#:
|
528 |
-
|
|
|
529 |
msgstr ""
|
530 |
|
531 |
-
#:
|
532 |
-
msgid "
|
533 |
-
|
534 |
-
msgstr[0] ""
|
535 |
-
msgstr[1] ""
|
536 |
|
537 |
-
#:
|
538 |
-
msgid "
|
539 |
msgstr ""
|
540 |
|
541 |
-
#:
|
542 |
-
msgid "
|
543 |
msgstr ""
|
544 |
|
545 |
-
#:
|
546 |
-
msgid "
|
547 |
msgstr ""
|
548 |
|
549 |
-
#:
|
550 |
-
msgid "
|
|
|
|
|
551 |
msgstr ""
|
552 |
|
553 |
-
#:
|
554 |
-
msgid "
|
555 |
msgstr ""
|
556 |
|
557 |
-
#:
|
558 |
-
msgid "
|
|
|
|
|
559 |
msgstr ""
|
560 |
|
561 |
-
#:
|
562 |
-
msgid "
|
563 |
msgstr ""
|
564 |
|
565 |
-
#:
|
566 |
-
msgid "
|
567 |
msgstr ""
|
568 |
|
569 |
-
#:
|
570 |
-
msgid "
|
571 |
msgstr ""
|
572 |
|
573 |
-
#:
|
574 |
-
msgid "
|
575 |
-
|
576 |
-
msgstr[0] ""
|
577 |
-
msgstr[1] ""
|
578 |
|
579 |
-
#:
|
580 |
-
msgid "
|
581 |
msgstr ""
|
582 |
|
583 |
-
#:
|
584 |
-
msgid "
|
585 |
msgstr ""
|
586 |
|
587 |
-
#:
|
588 |
-
msgid "
|
589 |
msgstr ""
|
590 |
|
591 |
-
#:
|
592 |
-
msgid "
|
593 |
msgstr ""
|
594 |
|
595 |
-
#:
|
596 |
-
msgid "
|
|
|
|
|
597 |
msgstr ""
|
598 |
|
599 |
-
#:
|
600 |
-
|
|
|
601 |
msgstr ""
|
602 |
|
603 |
-
#:
|
604 |
-
|
|
|
605 |
msgstr ""
|
606 |
|
607 |
-
#:
|
608 |
-
msgid "
|
609 |
msgstr ""
|
610 |
|
611 |
-
#:
|
612 |
-
msgid "
|
|
|
613 |
msgstr ""
|
614 |
|
615 |
-
#:
|
616 |
-
msgid "
|
617 |
msgstr ""
|
618 |
|
619 |
-
#:
|
620 |
-
msgid "
|
621 |
msgstr ""
|
622 |
|
623 |
-
#:
|
624 |
-
msgid "
|
625 |
msgstr ""
|
626 |
|
627 |
-
#:
|
628 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
629 |
msgstr ""
|
630 |
|
631 |
-
#:
|
632 |
-
msgid "
|
633 |
msgstr ""
|
634 |
|
635 |
-
#:
|
636 |
-
msgid "
|
637 |
msgstr ""
|
638 |
|
639 |
-
#:
|
640 |
-
msgid "
|
641 |
msgstr ""
|
642 |
|
643 |
-
#:
|
644 |
-
msgid "
|
645 |
msgstr ""
|
646 |
|
647 |
-
#:
|
648 |
-
msgid "
|
|
|
|
|
649 |
msgstr ""
|
650 |
|
651 |
-
#:
|
652 |
-
msgid "
|
|
|
|
|
|
|
653 |
msgstr ""
|
654 |
|
655 |
-
#:
|
656 |
-
msgid "
|
657 |
msgstr ""
|
658 |
|
659 |
-
#:
|
660 |
-
msgid "
|
661 |
msgstr ""
|
662 |
|
663 |
-
#:
|
664 |
-
msgid "
|
665 |
msgstr ""
|
666 |
|
667 |
-
#:
|
668 |
-
msgid "
|
669 |
msgstr ""
|
670 |
|
671 |
-
#:
|
672 |
-
msgid "
|
673 |
msgstr ""
|
674 |
|
675 |
-
#:
|
676 |
-
msgid "
|
677 |
-
|
678 |
-
|
679 |
-
|
|
|
|
|
680 |
|
681 |
-
#:
|
682 |
-
msgid "
|
683 |
msgstr ""
|
684 |
|
685 |
-
#:
|
686 |
-
msgid "
|
687 |
msgstr ""
|
688 |
|
689 |
-
#:
|
690 |
-
msgid "
|
691 |
msgstr ""
|
692 |
|
693 |
-
#:
|
694 |
-
msgid "
|
695 |
msgstr ""
|
696 |
|
697 |
-
#:
|
698 |
-
msgid "
|
699 |
msgstr ""
|
700 |
|
701 |
-
#:
|
702 |
-
msgid "
|
703 |
msgstr ""
|
704 |
|
705 |
-
#:
|
706 |
-
msgid "
|
707 |
msgstr ""
|
708 |
|
709 |
-
#:
|
710 |
-
msgid "
|
711 |
msgstr ""
|
712 |
|
713 |
-
#:
|
714 |
-
msgid "
|
715 |
msgstr ""
|
716 |
|
717 |
-
#:
|
718 |
-
msgid "
|
|
|
|
|
|
|
|
|
719 |
msgstr ""
|
720 |
|
721 |
-
#:
|
722 |
-
msgid "
|
723 |
msgstr ""
|
724 |
|
725 |
-
#:
|
726 |
-
msgid "
|
727 |
msgstr ""
|
728 |
|
729 |
-
#:
|
730 |
-
|
731 |
-
msgid "FTP Client command: %s"
|
732 |
msgstr ""
|
733 |
|
734 |
-
#:
|
735 |
-
#:
|
736 |
-
|
737 |
-
msgid "FTP Server reply: %s"
|
738 |
msgstr ""
|
739 |
|
740 |
-
#:
|
741 |
-
msgid "
|
742 |
msgstr ""
|
743 |
|
744 |
-
#:
|
745 |
-
msgid "
|
746 |
msgstr ""
|
747 |
|
748 |
-
#:
|
749 |
-
msgid "
|
750 |
msgstr ""
|
751 |
|
752 |
-
#:
|
753 |
-
msgid "
|
|
|
|
|
754 |
msgstr ""
|
755 |
|
756 |
-
#:
|
757 |
-
msgid "
|
758 |
msgstr ""
|
759 |
|
760 |
-
#:
|
761 |
-
msgid "
|
762 |
msgstr ""
|
763 |
|
764 |
-
#:
|
765 |
-
msgid "
|
766 |
msgstr ""
|
767 |
|
768 |
-
#:
|
769 |
-
msgid "
|
770 |
msgstr ""
|
771 |
|
772 |
-
#:
|
773 |
-
msgid "
|
774 |
msgstr ""
|
775 |
|
776 |
-
#:
|
777 |
-
msgid "
|
778 |
msgstr ""
|
779 |
|
780 |
-
#:
|
781 |
-
msgid "
|
782 |
msgstr ""
|
783 |
|
784 |
-
#:
|
785 |
-
msgid "
|
786 |
-
msgid_plural "%d files deleted on FTP Server"
|
787 |
-
msgstr[0] ""
|
788 |
-
msgstr[1] ""
|
789 |
-
|
790 |
-
#: pages/page_backwpupbackups.php:10
|
791 |
-
msgid "BackWPup Manage Backups"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: pages/
|
795 |
-
|
796 |
-
#: pages/tools/db_restore.php:84 pages/tools/db_restore.php:87
|
797 |
-
#: pages/tools/db_restore.php:92
|
798 |
-
msgid "ERROR:"
|
799 |
msgstr ""
|
800 |
|
801 |
-
#: pages/
|
802 |
-
msgid "
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: pages/
|
806 |
-
msgid "
|
807 |
msgstr ""
|
808 |
|
809 |
-
#: pages/
|
810 |
-
|
811 |
-
#: pages/tools/db_restore.php:92
|
812 |
-
msgid "BackWPup database error %1$s for query %2$s"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: pages/
|
816 |
-
msgid "
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: pages/
|
820 |
-
|
|
|
|
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: pages/
|
824 |
-
msgid "
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: pages/
|
828 |
-
msgid "
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: pages/
|
832 |
-
msgid "
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: pages/
|
836 |
-
|
837 |
-
#: pages/func_backwpupeditjob.php:31 pages/func_backwpupbackups.php:136
|
838 |
-
#: pages/func_backwpupbackups.php:233
|
839 |
-
msgid "Delete"
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: pages/
|
843 |
-
msgid "
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: pages/
|
847 |
-
|
848 |
-
msgid "Type"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: pages/
|
852 |
-
msgid "
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: pages/
|
856 |
-
msgid "
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: pages/
|
860 |
-
msgid "
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: pages/
|
864 |
-
msgid "
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: pages/
|
868 |
-
msgid "
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: pages/
|
872 |
-
msgid "
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: pages/
|
876 |
-
|
877 |
-
msgid "Download"
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: pages/
|
881 |
-
msgid "
|
882 |
-
|
883 |
-
msgstr[0] ""
|
884 |
-
msgstr[1] ""
|
885 |
|
886 |
-
#: pages/
|
887 |
-
msgid "
|
888 |
-
|
889 |
-
msgstr[0] ""
|
890 |
-
msgstr[1] ""
|
891 |
|
892 |
-
#: pages/
|
893 |
-
msgid "
|
894 |
msgstr ""
|
895 |
|
896 |
-
#: pages/
|
897 |
-
msgid "
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: pages/
|
901 |
-
|
902 |
-
#: pages/page_backwpupsettings.php:133
|
903 |
-
msgid "sec."
|
904 |
msgstr ""
|
905 |
|
906 |
-
#: pages/
|
907 |
-
msgid "
|
908 |
msgstr ""
|
909 |
|
910 |
-
#: pages/
|
911 |
-
msgid "
|
912 |
msgstr ""
|
913 |
|
914 |
-
#: pages/
|
915 |
-
msgid "
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: pages/
|
919 |
-
msgid "
|
920 |
msgstr ""
|
921 |
|
922 |
-
#: pages/
|
923 |
-
msgid "
|
924 |
msgstr ""
|
925 |
|
926 |
-
#: pages/
|
927 |
-
msgid "
|
928 |
msgstr ""
|
929 |
|
930 |
-
#: pages/
|
931 |
-
msgid "
|
932 |
msgstr ""
|
933 |
|
934 |
-
#: pages/
|
935 |
-
msgid "
|
936 |
msgstr ""
|
937 |
|
938 |
-
#: pages/
|
939 |
-
msgid "
|
940 |
msgstr ""
|
941 |
|
942 |
-
#: pages/
|
943 |
-
msgid "
|
944 |
msgstr ""
|
945 |
|
946 |
-
#: pages/
|
947 |
-
msgid "
|
948 |
msgstr ""
|
949 |
|
950 |
-
#: pages/
|
951 |
-
msgid "
|
952 |
msgstr ""
|
953 |
|
954 |
-
#: pages/
|
955 |
-
msgid "
|
956 |
msgstr ""
|
957 |
|
958 |
-
#: pages/
|
959 |
-
msgid "
|
960 |
msgstr ""
|
961 |
|
962 |
-
#: pages/
|
963 |
-
msgid "
|
964 |
msgstr ""
|
965 |
|
966 |
-
#: pages/
|
967 |
-
msgid "
|
968 |
msgstr ""
|
969 |
|
970 |
-
#: pages/
|
971 |
-
msgid "
|
972 |
msgstr ""
|
973 |
|
974 |
-
#: pages/
|
975 |
-
msgid "
|
976 |
msgstr ""
|
977 |
|
978 |
-
#: pages/
|
979 |
-
|
|
|
|
|
|
|
980 |
msgstr ""
|
981 |
|
982 |
-
#: pages/
|
983 |
-
msgid "
|
984 |
msgstr ""
|
985 |
|
986 |
-
#: pages/
|
987 |
-
msgid "
|
988 |
msgstr ""
|
989 |
|
990 |
-
#: pages/
|
991 |
-
msgid "
|
992 |
msgstr ""
|
993 |
|
994 |
-
#: pages/
|
995 |
-
msgid "
|
996 |
msgstr ""
|
997 |
|
998 |
-
#: pages/
|
999 |
-
|
1000 |
-
msgid "Import"
|
1001 |
msgstr ""
|
1002 |
|
1003 |
-
#: pages/
|
1004 |
-
msgid "
|
1005 |
msgstr ""
|
1006 |
|
1007 |
-
#: pages/
|
1008 |
-
msgid "
|
1009 |
msgstr ""
|
1010 |
|
1011 |
-
#: pages/
|
1012 |
-
msgid ""
|
1013 |
-
"Here you can mange the log files of the jobs. You can download, view or "
|
1014 |
-
"delete them."
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: pages/
|
1018 |
-
|
1019 |
-
#: backwpup-functions.php:488
|
1020 |
-
msgid "Logs"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: pages/
|
1024 |
-
msgid "
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#: pages/
|
1028 |
-
msgid ""
|
1029 |
-
"Here you see a list of backup files. Change the destionation to jobname:"
|
1030 |
-
"destination to become a list of backups from other destinations and jobs. "
|
1031 |
-
"Then you kann delete or download backup files."
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: pages/
|
1035 |
-
msgid "
|
1036 |
msgstr ""
|
1037 |
|
1038 |
-
#: pages/
|
1039 |
-
msgid "
|
1040 |
msgstr ""
|
1041 |
|
1042 |
-
#: pages/
|
1043 |
-
msgid "
|
1044 |
msgstr ""
|
1045 |
|
1046 |
-
#: pages/
|
1047 |
-
msgid "
|
1048 |
msgstr ""
|
1049 |
|
1050 |
-
#: pages/
|
1051 |
-
|
|
|
|
|
1052 |
msgstr ""
|
1053 |
|
1054 |
-
#: pages/
|
1055 |
-
msgid "
|
1056 |
msgstr ""
|
1057 |
|
1058 |
-
#: pages/
|
1059 |
-
|
|
|
|
|
1060 |
msgstr ""
|
1061 |
|
1062 |
-
#: pages/
|
1063 |
-
msgid "
|
1064 |
msgstr ""
|
1065 |
|
1066 |
-
#: pages/
|
1067 |
-
msgid "
|
1068 |
msgstr ""
|
1069 |
|
1070 |
-
#: pages/
|
1071 |
-
msgid "
|
1072 |
msgstr ""
|
1073 |
|
1074 |
-
#: pages/
|
1075 |
-
msgid "
|
1076 |
msgstr ""
|
1077 |
|
1078 |
-
#: pages/
|
1079 |
-
msgid "
|
1080 |
msgstr ""
|
1081 |
|
1082 |
-
#: pages/
|
1083 |
-
msgid "
|
1084 |
msgstr ""
|
1085 |
|
1086 |
-
#: pages/
|
1087 |
-
msgid "
|
1088 |
msgstr ""
|
1089 |
|
1090 |
-
#: pages/
|
1091 |
-
msgid "
|
1092 |
msgstr ""
|
1093 |
|
1094 |
-
#: pages/
|
1095 |
-
msgid "
|
1096 |
msgstr ""
|
1097 |
|
1098 |
-
#: pages/
|
1099 |
-
msgid "
|
1100 |
msgstr ""
|
1101 |
|
1102 |
-
#: pages/
|
1103 |
-
msgid "
|
1104 |
msgstr ""
|
1105 |
|
1106 |
-
#: pages/
|
1107 |
-
msgid "
|
1108 |
msgstr ""
|
1109 |
|
1110 |
-
#: pages/
|
1111 |
-
msgid "
|
1112 |
msgstr ""
|
1113 |
|
1114 |
-
#: pages/
|
1115 |
-
msgid "
|
1116 |
msgstr ""
|
1117 |
|
1118 |
-
#: pages/
|
1119 |
-
msgid "
|
1120 |
msgstr ""
|
1121 |
|
1122 |
-
#: pages/
|
1123 |
-
msgid "
|
1124 |
msgstr ""
|
1125 |
|
1126 |
-
#: pages/
|
1127 |
-
msgid "
|
1128 |
msgstr ""
|
1129 |
|
1130 |
-
#: pages/
|
1131 |
-
msgid "
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#: pages/
|
1135 |
-
msgid "
|
1136 |
msgstr ""
|
1137 |
|
1138 |
-
#: pages/
|
1139 |
-
msgid "
|
1140 |
msgstr ""
|
1141 |
|
1142 |
-
#: pages/
|
1143 |
-
msgid "
|
1144 |
msgstr ""
|
1145 |
|
1146 |
-
#: pages/
|
1147 |
-
msgid "
|
1148 |
msgstr ""
|
1149 |
|
1150 |
-
#: pages/
|
1151 |
-
msgid "
|
1152 |
msgstr ""
|
1153 |
|
1154 |
-
#: pages/
|
1155 |
-
msgid "
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#: pages/
|
1159 |
-
msgid ""
|
1160 |
-
"Here is the job overview with some information. You can see some further "
|
1161 |
-
"information of the jobs, how many can be switched with the view button. Also "
|
1162 |
-
"you can manage the jobs or abbort working jobs. Some links are added to have "
|
1163 |
-
"direct access to the last log or download."
|
1164 |
msgstr ""
|
1165 |
|
1166 |
-
#: pages/
|
1167 |
-
msgid "
|
1168 |
msgstr ""
|
1169 |
|
1170 |
-
#: pages/
|
1171 |
-
msgid "
|
1172 |
msgstr ""
|
1173 |
|
1174 |
-
#: pages/
|
1175 |
msgid ""
|
1176 |
-
"
|
1177 |
-
"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
-
#: pages/
|
1181 |
-
msgid "
|
1182 |
msgstr ""
|
1183 |
|
1184 |
-
#: pages/
|
1185 |
-
msgid "
|
1186 |
msgstr ""
|
1187 |
|
1188 |
-
#: pages/
|
1189 |
-
msgid "
|
1190 |
msgstr ""
|
1191 |
|
1192 |
-
#: pages/
|
1193 |
-
msgid "
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: pages/
|
1197 |
-
msgid "
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#: pages/
|
1201 |
-
msgid "
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: pages/
|
1205 |
-
msgid "
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#: pages/
|
1209 |
-
msgid "
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: pages/
|
1213 |
-
msgid "
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: pages/
|
1217 |
-
msgid "
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: pages/
|
1221 |
-
|
1222 |
-
msgid "none"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
-
#: pages/
|
1226 |
-
msgid "
|
1227 |
msgstr ""
|
1228 |
|
1229 |
-
#: pages/
|
1230 |
-
msgid "
|
1231 |
msgstr ""
|
1232 |
|
1233 |
-
#: pages/
|
1234 |
-
msgid "
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#: pages/
|
1238 |
-
msgid "
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#: pages/
|
1242 |
-
msgid "
|
1243 |
msgstr ""
|
1244 |
|
1245 |
-
#: pages/
|
1246 |
-
msgid "
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#: pages/
|
1250 |
-
msgid "
|
1251 |
msgstr ""
|
1252 |
|
1253 |
-
#:
|
1254 |
-
msgid "
|
1255 |
msgstr ""
|
1256 |
|
1257 |
-
#:
|
1258 |
-
|
1259 |
-
msgid "Jobs"
|
1260 |
msgstr ""
|
1261 |
|
1262 |
-
#:
|
1263 |
-
msgid "
|
1264 |
msgstr ""
|
1265 |
|
1266 |
-
#:
|
1267 |
-
msgid "
|
1268 |
msgstr ""
|
1269 |
|
1270 |
-
#:
|
1271 |
-
msgid "
|
1272 |
msgstr ""
|
1273 |
|
1274 |
-
#:
|
1275 |
-
msgid "
|
1276 |
msgstr ""
|
1277 |
|
1278 |
-
#:
|
1279 |
-
msgid ""
|
1280 |
-
"Script runtime will reset on many job functions. You can only set it if "
|
1281 |
-
"safemode off. Default runtime is 30 sec. Your ini setting is in sec.:"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
-
#:
|
1285 |
-
msgid "
|
1286 |
msgstr ""
|
1287 |
|
1288 |
-
#:
|
1289 |
-
msgid ""
|
1290 |
-
"
|
1291 |
-
|
1292 |
-
msgstr ""
|
1293 |
|
1294 |
-
#:
|
1295 |
-
msgid "
|
1296 |
msgstr ""
|
1297 |
|
1298 |
-
#:
|
1299 |
-
msgid "
|
1300 |
msgstr ""
|
1301 |
|
1302 |
-
#:
|
1303 |
-
msgid "
|
1304 |
msgstr ""
|
1305 |
|
1306 |
-
#:
|
1307 |
-
msgid "
|
1308 |
msgstr ""
|
1309 |
|
1310 |
-
#:
|
1311 |
-
|
|
|
1312 |
msgstr ""
|
1313 |
|
1314 |
-
#:
|
1315 |
-
msgid "
|
1316 |
msgstr ""
|
1317 |
|
1318 |
-
#:
|
1319 |
-
msgid "
|
1320 |
-
|
|
|
|
|
1321 |
|
1322 |
-
#:
|
1323 |
-
msgid "
|
1324 |
msgstr ""
|
1325 |
|
1326 |
-
#:
|
1327 |
-
msgid ""
|
1328 |
-
"If you would use the cron job of your hoster you must point it to the url:"
|
1329 |
msgstr ""
|
1330 |
|
1331 |
-
#:
|
1332 |
-
msgid "
|
1333 |
msgstr ""
|
1334 |
|
1335 |
-
#:
|
1336 |
-
msgid "
|
1337 |
msgstr ""
|
1338 |
|
1339 |
-
#:
|
1340 |
-
msgid "
|
1341 |
msgstr ""
|
1342 |
|
1343 |
-
#:
|
1344 |
-
msgid ""
|
1345 |
-
"If you check this than the job Schedule will submited too backwpup.com. "
|
1346 |
-
"Backwpup.com will call your blog wp-cron.php to start. <em>Use this service "
|
1347 |
-
"only if you have not a cron service of your hoster, or a blog that have less "
|
1348 |
-
"visits.</em> Pelase make a littel donaten for the plugin if you use this "
|
1349 |
-
"servcie. The service can every time removed by me without a massage."
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#:
|
1353 |
-
msgid "
|
1354 |
msgstr ""
|
1355 |
|
1356 |
-
#:
|
1357 |
-
msgid "
|
1358 |
msgstr ""
|
1359 |
|
1360 |
-
#:
|
1361 |
msgid ""
|
1362 |
-
"
|
1363 |
-
"
|
1364 |
-
msgstr ""
|
1365 |
-
|
1366 |
-
#: pages/func_backwpupeditjob.php:44
|
1367 |
-
msgid "File Prefix:"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
-
#:
|
1371 |
-
msgid "
|
|
|
|
|
1372 |
msgstr ""
|
1373 |
|
1374 |
-
#:
|
1375 |
-
msgid "
|
1376 |
msgstr ""
|
1377 |
|
1378 |
-
#:
|
1379 |
-
msgid "
|
1380 |
msgstr ""
|
1381 |
|
1382 |
-
#:
|
1383 |
-
msgid "
|
1384 |
msgstr ""
|
1385 |
|
1386 |
-
#:
|
1387 |
-
msgid "
|
1388 |
msgstr ""
|
1389 |
|
1390 |
-
#:
|
1391 |
-
msgid "
|
1392 |
msgstr ""
|
1393 |
|
1394 |
-
#:
|
1395 |
-
msgid "
|
1396 |
msgstr ""
|
1397 |
|
1398 |
-
#:
|
1399 |
-
msgid "
|
1400 |
msgstr ""
|
1401 |
|
1402 |
-
#:
|
1403 |
-
msgid "
|
1404 |
msgstr ""
|
1405 |
|
1406 |
-
#:
|
1407 |
-
msgid "
|
1408 |
msgstr ""
|
1409 |
|
1410 |
-
#:
|
1411 |
-
msgid "
|
1412 |
msgstr ""
|
1413 |
|
1414 |
-
#:
|
1415 |
-
msgid "
|
1416 |
msgstr ""
|
1417 |
|
1418 |
-
#:
|
1419 |
-
|
1420 |
-
#: pages/func_backwpupeditjob.php:159
|
1421 |
-
msgid "Any (*)"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
-
#:
|
1425 |
-
msgid "
|
1426 |
msgstr ""
|
1427 |
|
1428 |
-
#:
|
1429 |
-
msgid "
|
1430 |
msgstr ""
|
1431 |
|
1432 |
-
#:
|
1433 |
-
msgid "
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#:
|
1437 |
-
msgid "
|
1438 |
msgstr ""
|
1439 |
|
1440 |
-
#:
|
1441 |
-
msgid "
|
1442 |
msgstr ""
|
1443 |
|
1444 |
-
#:
|
1445 |
-
msgid "
|
1446 |
msgstr ""
|
1447 |
|
1448 |
-
#:
|
1449 |
-
msgid "
|
1450 |
msgstr ""
|
1451 |
|
1452 |
-
#:
|
1453 |
-
msgid "
|
1454 |
msgstr ""
|
1455 |
|
1456 |
-
#:
|
1457 |
-
msgid "
|
1458 |
-
|
|
|
|
|
1459 |
|
1460 |
-
#:
|
1461 |
-
msgid "
|
1462 |
msgstr ""
|
1463 |
|
1464 |
-
#:
|
1465 |
-
|
|
|
|
|
|
|
1466 |
msgstr ""
|
1467 |
|
1468 |
-
#:
|
1469 |
-
msgid "
|
1470 |
msgstr ""
|
1471 |
|
1472 |
-
#:
|
1473 |
-
msgid "
|
1474 |
msgstr ""
|
1475 |
|
1476 |
-
#:
|
1477 |
-
msgid "
|
1478 |
msgstr ""
|
1479 |
|
1480 |
-
#:
|
1481 |
-
msgid "
|
1482 |
msgstr ""
|
1483 |
|
1484 |
-
#:
|
1485 |
-
msgid "
|
1486 |
msgstr ""
|
1487 |
|
1488 |
-
#:
|
1489 |
-
msgid "
|
1490 |
msgstr ""
|
1491 |
|
1492 |
-
#:
|
1493 |
-
msgid "
|
1494 |
msgstr ""
|
1495 |
|
1496 |
-
#:
|
1497 |
-
msgid "
|
1498 |
msgstr ""
|
1499 |
|
1500 |
-
#:
|
1501 |
-
msgid "
|
1502 |
msgstr ""
|
1503 |
|
1504 |
-
#:
|
1505 |
-
msgid "
|
1506 |
msgstr ""
|
1507 |
|
1508 |
-
#:
|
1509 |
-
msgid "
|
1510 |
msgstr ""
|
1511 |
|
1512 |
-
#:
|
1513 |
-
msgid "
|
1514 |
msgstr ""
|
1515 |
|
1516 |
-
#:
|
1517 |
-
msgid "
|
1518 |
msgstr ""
|
1519 |
|
1520 |
-
#:
|
1521 |
-
msgid "
|
1522 |
msgstr ""
|
1523 |
|
1524 |
-
#:
|
1525 |
-
msgid "
|
1526 |
msgstr ""
|
1527 |
|
1528 |
-
#:
|
1529 |
-
msgid "
|
1530 |
msgstr ""
|
1531 |
|
1532 |
-
#:
|
1533 |
-
msgid "
|
1534 |
-
|
|
|
|
|
1535 |
|
1536 |
-
#:
|
1537 |
-
msgid "
|
1538 |
msgstr ""
|
1539 |
|
1540 |
-
#:
|
1541 |
-
msgid "
|
1542 |
msgstr ""
|
1543 |
|
1544 |
-
#:
|
1545 |
-
msgid "
|
1546 |
msgstr ""
|
1547 |
|
1548 |
-
#:
|
1549 |
-
msgid "
|
1550 |
msgstr ""
|
1551 |
|
1552 |
-
#:
|
1553 |
-
msgid "
|
1554 |
msgstr ""
|
1555 |
|
1556 |
-
#:
|
1557 |
-
msgid "
|
1558 |
msgstr ""
|
1559 |
|
1560 |
-
#:
|
1561 |
-
msgid "
|
1562 |
msgstr ""
|
1563 |
|
1564 |
-
#:
|
1565 |
-
msgid "
|
1566 |
msgstr ""
|
1567 |
|
1568 |
-
#:
|
1569 |
-
msgid "
|
1570 |
msgstr ""
|
1571 |
|
1572 |
-
#:
|
1573 |
-
msgid "
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#:
|
1577 |
-
|
1578 |
-
#: pages/func_backwpupeditjob.php:341 pages/func_backwpupeditjob.php:373
|
1579 |
-
#: pages/func_backwpupeditjob.php:395
|
1580 |
-
msgid "(Oldest files will be deleted first.)"
|
1581 |
msgstr ""
|
1582 |
|
1583 |
-
#:
|
1584 |
-
msgid "
|
1585 |
msgstr ""
|
1586 |
|
1587 |
-
#:
|
1588 |
-
msgid "
|
1589 |
msgstr ""
|
1590 |
|
1591 |
-
#:
|
1592 |
-
msgid "
|
1593 |
msgstr ""
|
1594 |
|
1595 |
-
#:
|
1596 |
-
msgid "
|
1597 |
msgstr ""
|
1598 |
|
1599 |
-
#:
|
1600 |
-
msgid "
|
1601 |
msgstr ""
|
1602 |
|
1603 |
-
#:
|
1604 |
-
msgid "
|
1605 |
msgstr ""
|
1606 |
|
1607 |
-
#:
|
1608 |
-
msgid "
|
1609 |
msgstr ""
|
1610 |
|
1611 |
-
#:
|
1612 |
-
msgid "
|
1613 |
msgstr ""
|
1614 |
|
1615 |
-
#:
|
1616 |
-
msgid "
|
1617 |
msgstr ""
|
1618 |
|
1619 |
-
#:
|
1620 |
-
msgid "
|
1621 |
msgstr ""
|
1622 |
|
1623 |
-
#:
|
1624 |
-
|
|
|
1625 |
msgstr ""
|
1626 |
|
1627 |
-
#:
|
1628 |
-
|
|
|
|
|
1629 |
msgstr ""
|
1630 |
|
1631 |
-
#:
|
1632 |
-
msgid "
|
1633 |
msgstr ""
|
1634 |
|
1635 |
-
#:
|
1636 |
-
msgid "
|
1637 |
msgstr ""
|
1638 |
|
1639 |
-
#:
|
1640 |
-
msgid "
|
1641 |
msgstr ""
|
1642 |
|
1643 |
-
#:
|
1644 |
-
|
1645 |
-
#: pages/func_backwpupeditjob.php:376 pages/func_backwpupeditjob.php:398
|
1646 |
-
msgid "Create Account"
|
1647 |
msgstr ""
|
1648 |
|
1649 |
-
#:
|
1650 |
-
msgid "
|
1651 |
msgstr ""
|
1652 |
|
1653 |
-
#:
|
1654 |
-
|
1655 |
-
#: pages/func_backwpupeditjob.php:399
|
1656 |
-
msgid "Webinterface"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
-
#:
|
1660 |
-
msgid "
|
1661 |
msgstr ""
|
1662 |
|
1663 |
-
#:
|
1664 |
-
msgid "
|
1665 |
msgstr ""
|
1666 |
|
1667 |
-
#:
|
1668 |
-
msgid "
|
1669 |
msgstr ""
|
1670 |
|
1671 |
-
#:
|
1672 |
-
msgid "
|
1673 |
msgstr ""
|
1674 |
|
1675 |
-
#:
|
1676 |
-
msgid "
|
1677 |
msgstr ""
|
1678 |
|
1679 |
-
#:
|
1680 |
-
msgid "
|
1681 |
-
|
|
|
|
|
1682 |
|
1683 |
-
#:
|
1684 |
-
msgid "
|
1685 |
msgstr ""
|
1686 |
|
1687 |
-
#:
|
1688 |
-
msgid "
|
1689 |
msgstr ""
|
1690 |
|
1691 |
-
#:
|
1692 |
-
msgid "
|
1693 |
msgstr ""
|
1694 |
|
1695 |
-
#:
|
1696 |
-
msgid "
|
1697 |
msgstr ""
|
1698 |
|
1699 |
-
#:
|
1700 |
-
msgid "
|
1701 |
msgstr ""
|
1702 |
|
1703 |
-
#:
|
1704 |
-
msgid "
|
1705 |
msgstr ""
|
1706 |
|
1707 |
-
#:
|
1708 |
-
msgid "
|
1709 |
msgstr ""
|
1710 |
|
1711 |
-
#:
|
1712 |
-
msgid "
|
1713 |
msgstr ""
|
1714 |
|
1715 |
-
#:
|
1716 |
-
msgid "
|
1717 |
msgstr ""
|
1718 |
|
1719 |
-
#:
|
1720 |
-
msgid "
|
1721 |
msgstr ""
|
1722 |
|
1723 |
-
#:
|
1724 |
-
msgid "
|
1725 |
msgstr ""
|
1726 |
|
1727 |
-
#:
|
1728 |
-
msgid "
|
1729 |
msgstr ""
|
1730 |
|
1731 |
-
#:
|
1732 |
-
msgid "
|
1733 |
msgstr ""
|
1734 |
|
1735 |
-
#:
|
1736 |
-
msgid "
|
1737 |
msgstr ""
|
1738 |
|
1739 |
-
#:
|
1740 |
-
msgid "
|
1741 |
-
|
|
|
|
|
1742 |
|
1743 |
-
#:
|
1744 |
-
msgid "
|
1745 |
-
|
|
|
|
|
1746 |
|
1747 |
-
#:
|
1748 |
-
msgid "
|
1749 |
msgstr ""
|
1750 |
|
1751 |
-
#:
|
1752 |
-
msgid "
|
1753 |
msgstr ""
|
1754 |
|
1755 |
-
#:
|
1756 |
-
msgid "
|
1757 |
msgstr ""
|
1758 |
|
1759 |
-
#:
|
1760 |
-
msgid ""
|
1761 |
-
"Working as <a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank"
|
1762 |
-
"\">Cron</a> job schedule:"
|
1763 |
msgstr ""
|
1764 |
|
1765 |
-
#:
|
1766 |
-
msgid "
|
1767 |
msgstr ""
|
1768 |
|
1769 |
-
#:
|
1770 |
-
msgid "
|
1771 |
msgstr ""
|
1772 |
|
1773 |
-
#:
|
1774 |
-
msgid "
|
1775 |
msgstr ""
|
1776 |
|
1777 |
-
#:
|
1778 |
-
msgid "
|
1779 |
msgstr ""
|
1780 |
|
1781 |
-
#:
|
1782 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
1783 |
msgstr ""
|
1784 |
|
1785 |
-
#:
|
1786 |
-
msgid "
|
1787 |
msgstr ""
|
1788 |
|
1789 |
-
#:
|
1790 |
-
msgid "
|
1791 |
msgstr ""
|
1792 |
|
1793 |
-
#:
|
1794 |
-
msgid "
|
1795 |
msgstr ""
|
1796 |
|
1797 |
-
#:
|
1798 |
-
msgid "
|
1799 |
msgstr ""
|
1800 |
|
1801 |
-
#:
|
1802 |
-
msgid "
|
1803 |
msgstr ""
|
1804 |
|
1805 |
-
#:
|
1806 |
-
msgid "
|
1807 |
msgstr ""
|
1808 |
|
1809 |
-
#:
|
1810 |
-
msgid "
|
1811 |
msgstr ""
|
1812 |
|
1813 |
-
#:
|
1814 |
-
msgid "
|
1815 |
msgstr ""
|
1816 |
|
1817 |
-
#:
|
1818 |
-
msgid "
|
1819 |
msgstr ""
|
1820 |
|
1821 |
-
#:
|
1822 |
-
msgid "
|
1823 |
msgstr ""
|
1824 |
|
1825 |
-
#:
|
1826 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
1827 |
msgstr ""
|
1828 |
|
1829 |
-
#:
|
1830 |
-
msgid "
|
1831 |
msgstr ""
|
1832 |
|
1833 |
-
#:
|
1834 |
-
msgid "
|
1835 |
msgstr ""
|
1836 |
|
1837 |
-
#:
|
1838 |
-
msgid "
|
1839 |
msgstr ""
|
1840 |
|
1841 |
-
#:
|
1842 |
-
msgid "
|
1843 |
msgstr ""
|
1844 |
|
1845 |
-
#:
|
1846 |
-
msgid "
|
1847 |
msgstr ""
|
1848 |
|
1849 |
-
#:
|
1850 |
-
msgid "
|
1851 |
msgstr ""
|
1852 |
|
1853 |
-
#:
|
1854 |
-
msgid "
|
1855 |
msgstr ""
|
1856 |
|
1857 |
-
#:
|
1858 |
-
msgid "
|
1859 |
msgstr ""
|
1860 |
|
1861 |
-
#:
|
1862 |
-
msgid "
|
1863 |
msgstr ""
|
1864 |
|
1865 |
-
#:
|
1866 |
-
msgid "
|
1867 |
msgstr ""
|
1868 |
|
1869 |
-
#:
|
1870 |
-
msgid "
|
1871 |
msgstr ""
|
1872 |
|
1873 |
-
#:
|
1874 |
-
msgid "
|
1875 |
msgstr ""
|
1876 |
|
1877 |
-
#:
|
1878 |
-
msgid "
|
1879 |
msgstr ""
|
1880 |
|
1881 |
-
#:
|
1882 |
-
|
1883 |
-
#: pages/page_backwpupeditjob.php:150
|
1884 |
-
msgid "Exclude:"
|
1885 |
msgstr ""
|
1886 |
|
1887 |
-
#:
|
1888 |
-
msgid "
|
1889 |
msgstr ""
|
1890 |
|
1891 |
-
#:
|
1892 |
-
msgid "
|
1893 |
msgstr ""
|
1894 |
|
1895 |
-
#:
|
1896 |
-
msgid "
|
1897 |
msgstr ""
|
1898 |
|
1899 |
-
#:
|
1900 |
-
msgid "
|
1901 |
msgstr ""
|
1902 |
|
1903 |
-
#:
|
1904 |
-
msgid "
|
1905 |
msgstr ""
|
1906 |
|
1907 |
-
#:
|
1908 |
-
msgid "
|
1909 |
msgstr ""
|
1910 |
|
1911 |
-
#:
|
1912 |
-
msgid "
|
1913 |
msgstr ""
|
1914 |
|
1915 |
-
#:
|
1916 |
-
msgid "
|
1917 |
msgstr ""
|
1918 |
|
1919 |
-
#:
|
1920 |
-
msgid "
|
1921 |
msgstr ""
|
1922 |
|
1923 |
-
#:
|
1924 |
-
msgid "
|
1925 |
msgstr ""
|
1926 |
|
1927 |
-
#:
|
1928 |
-
msgid "
|
1929 |
msgstr ""
|
1930 |
|
1931 |
-
#:
|
1932 |
-
msgid "
|
1933 |
msgstr ""
|
1934 |
|
1935 |
-
#:
|
1936 |
-
msgid "
|
1937 |
msgstr ""
|
1938 |
|
1939 |
-
#:
|
1940 |
-
msgid "
|
1941 |
msgstr ""
|
1942 |
|
1943 |
-
#:
|
1944 |
-
msgid "
|
1945 |
msgstr ""
|
1946 |
|
1947 |
-
#:
|
1948 |
-
msgid "
|
1949 |
msgstr ""
|
1950 |
|
1951 |
-
#:
|
1952 |
-
msgid "
|
1953 |
msgstr ""
|
1954 |
|
1955 |
-
#:
|
1956 |
-
msgid "
|
1957 |
msgstr ""
|
1958 |
|
1959 |
-
#:
|
1960 |
-
msgid "
|
1961 |
msgstr ""
|
1962 |
|
1963 |
-
#:
|
1964 |
-
msgid "
|
1965 |
msgstr ""
|
1966 |
|
1967 |
-
#:
|
1968 |
-
msgid "
|
1969 |
msgstr ""
|
1970 |
|
1971 |
-
#:
|
1972 |
-
msgid "
|
1973 |
msgstr ""
|
1974 |
|
1975 |
-
#:
|
1976 |
-
msgid "
|
1977 |
msgstr ""
|
1978 |
|
1979 |
-
#:
|
1980 |
-
msgid "
|
1981 |
msgstr ""
|
1982 |
|
1983 |
-
#:
|
1984 |
-
msgid "
|
1985 |
msgstr ""
|
1986 |
|
1987 |
-
#:
|
1988 |
-
msgid "
|
1989 |
msgstr ""
|
1990 |
|
1991 |
-
#:
|
1992 |
-
msgid "
|
1993 |
msgstr ""
|
1994 |
|
1995 |
-
#:
|
1996 |
-
msgid ""
|
1997 |
-
"You are about to delete this Backup Archive. \n"
|
1998 |
-
" 'Cancel' to stop, 'OK' to delete."
|
1999 |
msgstr ""
|
2000 |
|
2001 |
-
#:
|
2002 |
-
msgid "
|
2003 |
msgstr ""
|
2004 |
|
2005 |
-
#. #-#-#-#-# plugin.pot (BackWPup 2.
|
2006 |
#. Plugin Name of the plugin/theme
|
2007 |
-
#: backwpup-functions.php:
|
2008 |
-
#: backwpup-functions.php:
|
2009 |
msgid "BackWPup"
|
2010 |
msgstr ""
|
2011 |
|
2012 |
-
#: backwpup-functions.php:
|
2013 |
msgid "Working"
|
2014 |
msgstr ""
|
2015 |
|
2016 |
-
#: backwpup-functions.php:
|
2017 |
msgid "Backups"
|
2018 |
msgstr ""
|
2019 |
|
2020 |
-
#: backwpup-functions.php:
|
2021 |
msgid "Tools"
|
2022 |
msgstr ""
|
2023 |
|
2024 |
-
#: backwpup-functions.php:
|
2025 |
msgid "Settings"
|
2026 |
msgstr ""
|
2027 |
|
2028 |
-
#: backwpup-functions.php:
|
2029 |
msgid "For more information:"
|
2030 |
msgstr ""
|
2031 |
|
2032 |
-
#: backwpup-functions.php:
|
2033 |
msgid "Support"
|
2034 |
msgstr ""
|
2035 |
|
2036 |
-
#: backwpup-functions.php:
|
2037 |
msgid "FAQ"
|
2038 |
msgstr ""
|
2039 |
|
2040 |
-
#: backwpup-functions.php:
|
2041 |
msgid "Plugin Homepage"
|
2042 |
msgstr ""
|
2043 |
|
2044 |
-
#: backwpup-functions.php:
|
2045 |
msgid "Plugin on WordPress.org"
|
2046 |
msgstr ""
|
2047 |
|
2048 |
-
#: backwpup-functions.php:
|
2049 |
msgid "Donate"
|
2050 |
msgstr ""
|
2051 |
|
2052 |
-
#: backwpup-functions.php:
|
2053 |
msgid "Flattr"
|
2054 |
msgstr ""
|
2055 |
|
2056 |
-
#: backwpup-functions.php:
|
2057 |
msgid ""
|
2058 |
"BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you "
|
2059 |
"are welcome to redistribute it under certain conditions."
|
2060 |
msgstr ""
|
2061 |
|
2062 |
-
#: backwpup-functions.php:
|
2063 |
msgid "Go to Settings Page"
|
2064 |
msgstr ""
|
2065 |
|
2066 |
-
#: backwpup-functions.php:
|
2067 |
msgid "WP XML Export"
|
2068 |
msgstr ""
|
2069 |
|
2070 |
-
#: backwpup-functions.php:
|
2071 |
msgid "Database Backup"
|
2072 |
msgstr ""
|
2073 |
|
2074 |
-
#: backwpup-functions.php:
|
2075 |
msgid "Optimize Database Tables"
|
2076 |
msgstr ""
|
2077 |
|
2078 |
-
#: backwpup-functions.php:
|
2079 |
msgid "Check Database Tables"
|
2080 |
msgstr ""
|
2081 |
|
2082 |
-
#: backwpup-functions.php:
|
2083 |
msgid "View Log:"
|
2084 |
msgstr ""
|
2085 |
|
2086 |
-
#: backwpup-functions.php:
|
2087 |
msgid "How many of the lastes logs would you like to display?"
|
2088 |
msgstr ""
|
2089 |
|
2090 |
-
#: backwpup-functions.php:
|
2091 |
msgid "working since %d sec."
|
2092 |
msgstr ""
|
2093 |
|
2094 |
-
#: backwpup-functions.php:
|
2095 |
msgid "Edit Job"
|
2096 |
msgstr ""
|
2097 |
|
2098 |
-
#: backwpup-functions.php:
|
2099 |
msgid "BackWPup Aktive Jobs"
|
2100 |
msgstr ""
|
2101 |
|
2102 |
-
#: backwpup-functions.php:
|
2103 |
msgid "See Working!"
|
2104 |
msgstr ""
|
2105 |
|
2106 |
-
#: backwpup-functions.php:
|
2107 |
msgid "BackWPup Job"
|
2108 |
msgstr ""
|
2109 |
|
2110 |
-
#: backwpup-functions.php:
|
2111 |
-
msgid "- WordPress %d or heiger needed!"
|
2112 |
msgstr ""
|
2113 |
|
2114 |
-
#: backwpup-functions.php:
|
2115 |
-
msgid "- PHP 5.2.4 or higher needed!"
|
2116 |
msgstr ""
|
2117 |
|
2118 |
-
#: backwpup-functions.php:
|
2119 |
-
msgid "-
|
2120 |
msgstr ""
|
2121 |
|
2122 |
-
#: backwpup-functions.php:
|
2123 |
-
msgid "-
|
2124 |
msgstr ""
|
2125 |
|
2126 |
-
#: backwpup-functions.php:
|
2127 |
-
msgid "-
|
2128 |
msgstr ""
|
2129 |
|
2130 |
-
#: backwpup-functions.php:
|
2131 |
-
msgid "- Please
|
2132 |
msgstr ""
|
2133 |
|
2134 |
-
#: backwpup-functions.php:
|
2135 |
-
msgid "- WP-Cron
|
2136 |
msgstr ""
|
2137 |
|
2138 |
-
#: backwpup-functions.php:
|
2139 |
msgid "New"
|
2140 |
msgstr ""
|
2141 |
|
2 |
# This file is distributed under the same license as the BackWPup package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: BackWPup 2.1.1\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/backwpup\n"
|
7 |
+
"POT-Creation-Date: 2011-07-30 19:30:25+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#: pages/func_backwpupbackups.php:125
|
16 |
+
msgid "No Files found."
|
17 |
msgstr ""
|
18 |
|
19 |
+
#: pages/func_backwpupbackups.php:130 pages/func_backwpupbackups.php:227
|
20 |
+
#: pages/func_backwpup.php:47 pages/func_backwpup.php:103
|
21 |
+
#: pages/func_backwpuplogs.php:73 pages/func_backwpuplogs.php:127
|
22 |
+
#: pages/func_backwpupeditjob.php:25
|
23 |
+
msgid "Delete"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: pages/func_backwpupbackups.php:145
|
27 |
+
msgid "Change Destination"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: pages/func_backwpupbackups.php:182
|
31 |
+
msgid "File"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: pages/func_backwpupbackups.php:183 pages/func_backwpupbackups.php:185
|
35 |
+
msgid "Folder"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: pages/func_backwpupbackups.php:184 pages/func_backwpuplogs.php:84
|
39 |
+
msgid "Size"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: pages/func_backwpupbackups.php:186
|
43 |
+
msgid "Time"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: pages/func_backwpupbackups.php:227
|
47 |
+
msgid ""
|
48 |
+
"You are about to delete this Backup Archive. \n"
|
49 |
+
" 'Cancel' to stop, 'OK' to delete."
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: pages/func_backwpupbackups.php:228 pages/func_backwpup.php:149
|
53 |
+
#: pages/func_backwpuplogs.php:128
|
54 |
+
msgid "Download"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: pages/func_backwpupbackups.php:242
|
58 |
+
msgid "?"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: pages/func_backwpupbackups.php:399 pages/header_backwpupbackups.php:48
|
62 |
+
#: job/dest_gstorage.php:38 job/dest_gstorage.php:67
|
63 |
+
msgid "GStorage API: %s"
|
|
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: pages/func_backwpupbackups.php:497 pages/header_backwpupbackups.php:144
|
67 |
+
msgid "Login failure!"
|
|
|
|
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: pages/page_backwpupeditjob.php:9
|
71 |
+
msgid "Job Type"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: pages/page_backwpupeditjob.php:10
|
75 |
+
msgid "Job Schedule"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: pages/page_backwpupeditjob.php:11
|
79 |
+
msgid "Backup to Folder"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: pages/page_backwpupeditjob.php:12
|
83 |
+
msgid "Backup to E-Mail"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: pages/page_backwpupeditjob.php:28
|
87 |
+
msgid "BackWPup Job Settings"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: pages/page_backwpupeditjob.php:28 pages/page_backwpup.php:8
|
91 |
+
#: backwpup-functions.php:7
|
92 |
+
msgid "Add New"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: pages/page_backwpupeditjob.php:53
|
96 |
+
msgid "Enter Job name here"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: pages/page_backwpupeditjob.php:59
|
100 |
+
msgid "Database Jobs"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: pages/page_backwpupeditjob.php:62
|
104 |
+
msgid "Database tables to use:"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: pages/page_backwpupeditjob.php:72
|
108 |
+
msgid "Use short INSERTs instead of full (with keys)"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: pages/page_backwpupeditjob.php:73
|
112 |
+
msgid "Set Blog Maintenance Mode on Database Operations"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: pages/page_backwpupeditjob.php:78 backwpup-functions.php:323
|
116 |
+
msgid "File Backup"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: pages/page_backwpupeditjob.php:80
|
120 |
+
msgid "Blog Folders to Backup:"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: pages/page_backwpupeditjob.php:83
|
124 |
+
msgid "root"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: pages/page_backwpupeditjob.php:86 pages/page_backwpupeditjob.php:102
|
128 |
+
#: pages/page_backwpupeditjob.php:118 pages/page_backwpupeditjob.php:134
|
129 |
+
#: pages/page_backwpupeditjob.php:150
|
130 |
+
msgid "Exclude:"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: pages/page_backwpupeditjob.php:99
|
134 |
+
msgid "Content"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: pages/page_backwpupeditjob.php:115
|
138 |
+
msgid "Plugins"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: pages/page_backwpupeditjob.php:131
|
142 |
+
msgid "Themes"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: pages/page_backwpupeditjob.php:147
|
146 |
+
msgid "Blog Uploads"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: pages/page_backwpupeditjob.php:164
|
150 |
+
msgid "Include Folders to Backup:"
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: pages/page_backwpupeditjob.php:165 pages/page_backwpupeditjob.php:169
|
154 |
+
msgid "Example:"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: pages/page_backwpupeditjob.php:168
|
158 |
+
msgid "Exclude Files/Folders from Backup:"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: pages/func_backwpup.php:41
|
162 |
+
msgid "No Jobs."
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: pages/func_backwpup.php:46 pages/func_backwpup.php:102
|
166 |
+
msgid "Export"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: pages/func_backwpup.php:55
|
170 |
+
msgid "ID"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: pages/func_backwpup.php:56
|
174 |
+
msgid "Job Name"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: pages/func_backwpup.php:57 pages/func_backwpuplogs.php:81
|
178 |
+
#: pages/func_backwpupeditjob.php:171
|
179 |
+
msgid "Type"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: pages/func_backwpup.php:58
|
183 |
+
msgid "Information"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: pages/func_backwpup.php:59
|
187 |
+
msgid "Next Run"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: pages/func_backwpup.php:60
|
191 |
+
msgid "Last Run"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: pages/func_backwpup.php:97
|
195 |
+
msgid "Edit:"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: pages/func_backwpup.php:100
|
199 |
+
msgid "Edit"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: pages/func_backwpup.php:101
|
203 |
+
msgid "Copy"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: pages/func_backwpup.php:104
|
207 |
+
msgid "Run Now"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: pages/func_backwpup.php:107 backwpup-functions.php:456
|
211 |
+
msgid "View!"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: pages/func_backwpup.php:108 backwpup-functions.php:457
|
215 |
+
msgid "Abort!"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: pages/func_backwpup.php:128
|
219 |
+
msgid "Running since:"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: pages/func_backwpup.php:128 pages/func_backwpup.php:144
|
223 |
+
#: pages/func_backwpuplogs.php:153 pages/page_backwpupsettings.php:125
|
224 |
+
#: pages/page_backwpupsettings.php:131
|
225 |
+
msgid "sec."
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: pages/func_backwpup.php:132
|
229 |
+
msgid "Inactive"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: pages/func_backwpup.php:135
|
233 |
+
msgid "<a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a>:"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: pages/func_backwpup.php:144
|
237 |
+
msgid "Runtime:"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: pages/func_backwpup.php:146
|
241 |
+
msgid "None"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: pages/func_backwpup.php:149
|
245 |
+
msgid "Download last Backup"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: pages/func_backwpup.php:151
|
249 |
+
msgid "View last Log"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: pages/func_backwpup.php:151
|
253 |
+
msgid "Log"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: pages/func_backwpup.php:240
|
257 |
+
msgid "DB Size:"
|
|
|
|
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: pages/func_backwpup.php:242
|
261 |
+
msgid "DB Tables:"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: pages/func_backwpup.php:243
|
265 |
+
msgid "DB Rows:"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: pages/func_backwpup.php:248
|
269 |
+
msgid "Files Size:"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: pages/func_backwpup.php:250
|
273 |
+
msgid "Files count:"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: pages/page_backwpuplogs.php:8 backwpup-functions.php:477
|
277 |
+
msgid "BackWPup Logs"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: pages/func_backwpuplogs.php:68
|
281 |
+
msgid "No Logs."
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: pages/func_backwpuplogs.php:80
|
285 |
+
msgid "Job"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: pages/func_backwpuplogs.php:82
|
289 |
+
msgid "Backup/Log Date/Time"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: pages/func_backwpuplogs.php:83
|
293 |
+
msgid "Status"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: pages/func_backwpuplogs.php:85
|
297 |
+
msgid "Runtime"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: pages/func_backwpuplogs.php:124
|
301 |
+
msgid "View log"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: pages/func_backwpuplogs.php:126
|
305 |
+
msgid "View"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: pages/func_backwpuplogs.php:135 backwpup-functions.php:399
|
309 |
+
msgid "%d ERROR"
|
310 |
+
msgid_plural "%d ERRORS"
|
311 |
+
msgstr[0] ""
|
312 |
+
msgstr[1] ""
|
313 |
|
314 |
+
#: pages/func_backwpuplogs.php:137 backwpup-functions.php:401
|
315 |
+
msgid "%d WARNING"
|
316 |
+
msgid_plural "%d WARNINGS"
|
317 |
msgstr[0] ""
|
318 |
msgstr[1] ""
|
319 |
|
320 |
+
#: pages/func_backwpuplogs.php:139 backwpup-functions.php:403
|
321 |
+
msgid "O.K."
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: pages/func_backwpuplogs.php:147
|
325 |
+
msgid "only Log"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: pages/tools/db_restore.php:34 pages/tools/db_restore.php:53
|
329 |
+
#: pages/tools/db_restore.php:68 pages/tools/db_restore.php:79
|
330 |
+
#: pages/tools/db_restore.php:82 pages/tools/db_restore.php:85
|
331 |
+
#: pages/tools/db_restore.php:90
|
332 |
+
msgid "ERROR:"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: pages/tools/db_restore.php:34
|
336 |
+
msgid "Pleace set <i>$table_prefix = '%1$s';</i> in wp-config.php"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: pages/tools/db_restore.php:53
|
340 |
+
msgid "Pleace set <i>define('DB_CHARSET', '%1$s');</i> in wp-config.php"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: pages/tools/db_restore.php:68 pages/tools/db_restore.php:79
|
344 |
+
#: pages/tools/db_restore.php:82 pages/tools/db_restore.php:85
|
345 |
+
#: pages/tools/db_restore.php:90
|
346 |
+
msgid "BackWPup database error %1$s for query %2$s"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: pages/tools/db_restore.php:74
|
350 |
+
msgid "%1$s Database Querys done."
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: pages/tools/db_restore.php:75
|
354 |
+
msgid "Make changes for Blogurl and ABSPATH if needed."
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: pages/tools/db_restore.php:92
|
358 |
+
msgid "Restore Done. Please delete the SQL file after restoring."
|
359 |
+
msgstr ""
|
|
|
|
|
360 |
|
361 |
+
#: pages/header_backwpupworking.php:12
|
362 |
+
msgid "A job alredy running!!! Pleace try again if its done."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: pages/header_backwpupworking.php:24
|
366 |
+
msgid "A job is running!!!"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: pages/header_backwpupworking.php:28
|
370 |
+
msgid "Nothing..."
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: pages/header_backwpupworking.php:33
|
374 |
+
msgid "Here you see working jobs or logfiles"
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: pages/header_backwpupeditjob.php:24
|
378 |
+
msgid "Dropbox authentication complete!"
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: pages/header_backwpupeditjob.php:26
|
382 |
+
msgid "Wrong Token for Dropbox authentication received!"
|
383 |
msgstr ""
|
384 |
|
385 |
+
#: pages/header_backwpupeditjob.php:29
|
386 |
+
msgid "No Dropbox authentication received!"
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: pages/header_backwpupeditjob.php:224
|
390 |
+
msgid "Dropbox authentication deleted!"
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: pages/header_backwpupeditjob.php:248
|
394 |
+
msgid "Job '%1' changes saved."
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: pages/header_backwpupeditjob.php:248
|
398 |
+
msgid "Jobs overview."
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: pages/header_backwpupeditjob.php:260
|
402 |
+
msgid "Backup File"
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: pages/header_backwpupeditjob.php:261
|
406 |
+
msgid "Send log"
|
407 |
+
msgstr ""
|
|
|
|
|
408 |
|
409 |
+
#: pages/header_backwpupeditjob.php:263
|
410 |
+
msgid "Backup to FTP Server"
|
411 |
msgstr ""
|
412 |
|
413 |
+
#: pages/header_backwpupeditjob.php:265
|
414 |
+
msgid "Backup to Dropbox"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: pages/header_backwpupeditjob.php:267
|
418 |
+
msgid "Backup to SugarSync"
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: pages/header_backwpupeditjob.php:269
|
422 |
+
msgid "Backup to Amazon S3"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: pages/header_backwpupeditjob.php:271
|
426 |
+
msgid "Backup to Google storage"
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: pages/header_backwpupeditjob.php:273
|
430 |
+
msgid "Backup to Micosoft Azure (Blob)"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: pages/header_backwpupeditjob.php:275
|
434 |
+
msgid "Backup to Rackspace Cloud"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: pages/page_backwpupsettings.php:10
|
438 |
+
msgid "BackWPup Settings"
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: pages/page_backwpupsettings.php:17
|
442 |
+
msgid "Send Mail"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: pages/page_backwpupsettings.php:18
|
446 |
+
msgid ""
|
447 |
+
"Here you can set the options for email sending. The settings will be used in "
|
448 |
+
"jobs for sending backups via email or for sending log files."
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: pages/page_backwpupsettings.php:21
|
452 |
+
msgid "Sender email"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: pages/page_backwpupsettings.php:26
|
456 |
+
msgid "Sender name"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: pages/page_backwpupsettings.php:30
|
460 |
+
msgid "Send mail method"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: pages/page_backwpupsettings.php:34
|
464 |
+
msgid "PHP: mail()"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: pages/page_backwpupsettings.php:35
|
468 |
+
msgid "Sendmail"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: pages/page_backwpupsettings.php:36
|
472 |
+
msgid "SMTP"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: pages/page_backwpupsettings.php:42
|
476 |
+
msgid "Sendmail path"
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: pages/page_backwpupsettings.php:49
|
480 |
+
msgid "SMTP hostname"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: pages/page_backwpupsettings.php:52 pages/func_backwpupeditjob.php:232
|
484 |
+
msgid "Port:"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: pages/page_backwpupsettings.php:56
|
488 |
+
msgid "SMTP secure connection"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: pages/page_backwpupsettings.php:59 backwpup-functions.php:411
|
492 |
+
#: backwpup-functions.php:441 backwpup-functions.php:469
|
493 |
+
msgid "none"
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: pages/page_backwpupsettings.php:66
|
497 |
+
msgid "SMTP username"
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: pages/page_backwpupsettings.php:72
|
501 |
+
msgid "SMTP password"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: pages/page_backwpupsettings.php:79 pages/header_backwpuplogs.php:61
|
505 |
+
#: pages/header_backwpupbackups.php:330 backwpup-functions.php:11
|
506 |
+
#: backwpup-functions.php:492
|
507 |
+
msgid "Logs"
|
508 |
+
msgstr ""
|
509 |
|
510 |
+
#: pages/page_backwpupsettings.php:80
|
511 |
+
msgid "Here you can set Logfile related options."
|
512 |
msgstr ""
|
513 |
|
514 |
+
#: pages/page_backwpupsettings.php:83
|
515 |
+
msgid "Log file Folder"
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: pages/page_backwpupsettings.php:88
|
519 |
+
msgid "Max. Log Files in Folder"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: pages/page_backwpupsettings.php:90 pages/func_backwpupeditjob.php:224
|
523 |
+
msgid "(Oldest files will deleted first.)"
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: pages/page_backwpupsettings.php:94 pages/page_backwpupsettings.php:95
|
527 |
+
msgid "Compression"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: pages/page_backwpupsettings.php:97
|
531 |
+
msgid "Gzip Log files!"
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: pages/page_backwpupsettings.php:101 backwpup-functions.php:5
|
535 |
+
#: backwpup-functions.php:491
|
536 |
+
msgid "Jobs"
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: pages/page_backwpupsettings.php:102
|
540 |
+
msgid "Here you can set Job related options."
|
541 |
+
msgstr ""
|
|
|
|
|
542 |
|
543 |
+
#: pages/page_backwpupsettings.php:105
|
544 |
+
msgid "Max. retrys for job steps"
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: pages/page_backwpupsettings.php:110
|
548 |
+
msgid "Max. retrys for job script retries"
|
549 |
msgstr ""
|
550 |
|
551 |
+
#: pages/page_backwpupsettings.php:124
|
552 |
+
msgid "Max. normal script runtime:"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: pages/page_backwpupsettings.php:126
|
556 |
+
msgid ""
|
557 |
+
"Script runtime will reset on many job functions. You can only set it if "
|
558 |
+
"safemode off. Default runtime is 30 sec. Your ini setting is in sec.:"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: pages/page_backwpupsettings.php:130
|
562 |
+
msgid "Max. long script runtime:"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: pages/page_backwpupsettings.php:132
|
566 |
+
msgid ""
|
567 |
+
"Script runtime for long operations withaut responce to script. You can only "
|
568 |
+
"set it if safemode off. Default runtime is 300 sec.(Max. on most webservers.)"
|
569 |
msgstr ""
|
570 |
|
571 |
+
#: pages/page_backwpupsettings.php:135
|
572 |
+
msgid "PHP zip class"
|
573 |
msgstr ""
|
574 |
|
575 |
+
#: pages/page_backwpupsettings.php:136
|
576 |
+
msgid "PHP zip"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: pages/page_backwpupsettings.php:138
|
580 |
+
msgid "Use PHP zip class if available! Normaly PCL Zip class will used."
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: pages/page_backwpupsettings.php:143
|
584 |
+
msgid "WP Admin Bar"
|
585 |
+
msgstr ""
|
|
|
|
|
586 |
|
587 |
+
#: pages/page_backwpupsettings.php:144
|
588 |
+
msgid "Will you see BackWPup in the WordPress Admin Bar?"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: pages/page_backwpupsettings.php:147 pages/page_backwpupsettings.php:148
|
592 |
+
msgid "Admin Bar"
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: pages/page_backwpupsettings.php:150
|
596 |
+
msgid "Show BackWPup Links in Admin Bar."
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: pages/page_backwpupsettings.php:155
|
600 |
+
msgid "Http basic authentication"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: pages/page_backwpupsettings.php:156
|
604 |
+
msgid ""
|
605 |
+
"Is your blog behind a http basic authentication (.htaccess)? Then you must "
|
606 |
+
"set the username and password four authentication."
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: pages/page_backwpupsettings.php:159 pages/func_backwpupeditjob.php:234
|
610 |
+
#: pages/func_backwpupeditjob.php:325
|
611 |
+
msgid "Username:"
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: pages/page_backwpupsettings.php:164 pages/func_backwpupeditjob.php:236
|
615 |
+
#: pages/func_backwpupeditjob.php:382
|
616 |
+
msgid "Password:"
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: pages/page_backwpupsettings.php:169
|
620 |
+
msgid "WP-Cron"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: pages/page_backwpupsettings.php:170
|
624 |
+
msgid ""
|
625 |
+
"If you would use the cron job of your hoster you must point it to the url:"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: pages/page_backwpupsettings.php:173 pages/page_backwpupsettings.php:174
|
629 |
+
msgid "Disable WP-Cron"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: pages/page_backwpupsettings.php:176
|
633 |
+
msgid "Use your host's Cron Job and disable WP-Cron"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: pages/page_backwpupsettings.php:180 pages/page_backwpupsettings.php:181
|
637 |
+
msgid "Use cron service of backwpup.com"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: pages/page_backwpupsettings.php:183
|
641 |
+
msgid ""
|
642 |
+
"If you check this, the job schedule will submited to backwpup.com. Backwpup."
|
643 |
+
"com will call your blog wp-cron.php to start. <em>Use this service only if "
|
644 |
+
"you have not a cron service of your hoster, or a blog that has a few "
|
645 |
+
"visitors.</em> The cron service can start cron behind a basic "
|
646 |
+
"authentication, on that the http authentication data will transferd too! "
|
647 |
+
"Please make a little donation for the plugin if you use this servcie. The "
|
648 |
+
"service can be removed by me without a massage."
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: pages/page_backwpup.php:8
|
652 |
+
msgid "BackWPup Jobs"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: pages/page_backwpupworking.php:9
|
656 |
+
msgid "BackWPup Working"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: pages/page_backwpupworking.php:29
|
660 |
+
msgid "Warnings:"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: pages/page_backwpupworking.php:33
|
664 |
+
msgid "Errors:"
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: pages/header_backwpuplogs.php:59
|
668 |
+
msgid ""
|
669 |
+
"Here you can manage the log files of the jobs. You can download, view, or "
|
670 |
+
"delete them."
|
671 |
msgstr ""
|
672 |
|
673 |
+
#: pages/header_backwpupbackups.php:328
|
674 |
+
msgid ""
|
675 |
+
"Here you see a list of backup files. Change the destionation to jobname:"
|
676 |
+
"destination to become a list of backups from other destinations and jobs. "
|
677 |
+
"Then you kann delete or download backup files."
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: pages/header_backwpup.php:35
|
681 |
+
msgid "Copy of"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: pages/header_backwpup.php:78
|
685 |
+
msgid "Aborted by user!!!"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: pages/header_backwpup.php:93
|
689 |
+
msgid "Job will be terminated."
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: pages/header_backwpup.php:96
|
693 |
+
msgid "Process killed with PID:"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: pages/header_backwpup.php:98
|
697 |
+
msgid "Can't kill process with PID:"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: pages/header_backwpup.php:114
|
701 |
+
msgid ""
|
702 |
+
"Here is the job overview with some information. You can see some further "
|
703 |
+
"information of the jobs, how many can be switched with the view button. Also "
|
704 |
+
"you can manage the jobs or abbort working jobs. Some links are added to have "
|
705 |
+
"direct access to the last log or download."
|
706 |
+
msgstr ""
|
707 |
|
708 |
+
#: pages/page_backwpuptools.php:8
|
709 |
+
msgid "BackWPup Tools"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: pages/page_backwpuptools.php:15
|
713 |
+
msgid "Database restore"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: pages/page_backwpuptools.php:18
|
717 |
+
msgid "DB Restore"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: pages/page_backwpuptools.php:21 pages/page_backwpuptools.php:40
|
721 |
+
msgid "Restore"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: pages/page_backwpuptools.php:37
|
725 |
+
msgid "SQL File to restore:"
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: pages/page_backwpuptools.php:43
|
729 |
+
msgid "Copy SQL file to blog root folder to use for a restoring."
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: pages/page_backwpuptools.php:51
|
733 |
+
msgid "Import Jobs settings"
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: pages/page_backwpuptools.php:54
|
737 |
+
msgid "Select file to import:"
|
738 |
msgstr ""
|
739 |
|
740 |
+
#: pages/page_backwpuptools.php:56 pages/page_backwpuptools.php:61
|
741 |
+
msgid "Upload"
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: pages/page_backwpuptools.php:62
|
745 |
+
msgid "Select jobs to import"
|
746 |
+
msgstr ""
|
747 |
+
|
748 |
+
#: pages/page_backwpuptools.php:66
|
749 |
+
msgid "Import Type"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: pages/page_backwpuptools.php:66
|
753 |
+
msgid "No Import"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: pages/page_backwpuptools.php:68
|
757 |
+
msgid "Overwrite"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: pages/page_backwpuptools.php:68
|
761 |
+
msgid "Append"
|
|
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: pages/page_backwpuptools.php:70 pages/page_backwpuptools.php:75
|
765 |
+
#: pages/page_backwpuptools.php:77 pages/page_backwpuptools.php:78
|
766 |
+
msgid "Import"
|
|
|
767 |
msgstr ""
|
768 |
|
769 |
+
#: pages/page_backwpuptools.php:114
|
770 |
+
msgid "Jobs imported!"
|
771 |
msgstr ""
|
772 |
|
773 |
+
#: pages/func_backwpupeditjob.php:8 pages/func_backwpupeditjob.php:28
|
774 |
+
msgid "Save Changes"
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: pages/func_backwpupeditjob.php:17
|
778 |
+
msgid "PHP curl functions not available! Most backup destinations deaktivated!"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: pages/func_backwpupeditjob.php:25
|
782 |
+
msgid ""
|
783 |
+
"You are about to delete this Job. \n"
|
784 |
+
" 'Cancel' to stop, 'OK' to delete."
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: pages/func_backwpupeditjob.php:38
|
788 |
+
msgid "File Prefix:"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: pages/func_backwpupeditjob.php:40
|
792 |
+
msgid "File Formart:"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: pages/func_backwpupeditjob.php:43 pages/func_backwpupeditjob.php:45
|
796 |
+
msgid "Zip"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: pages/func_backwpupeditjob.php:46
|
800 |
+
msgid "Tar"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: pages/func_backwpupeditjob.php:48 pages/func_backwpupeditjob.php:50
|
804 |
+
msgid "Tar GZip"
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: pages/func_backwpupeditjob.php:52 pages/func_backwpupeditjob.php:54
|
808 |
+
msgid "Tar BZip2"
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: pages/func_backwpupeditjob.php:55
|
812 |
+
msgid "Preview:"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: pages/func_backwpupeditjob.php:60
|
816 |
+
msgid "E-Mail-Adress:"
|
|
|
|
|
|
|
|
|
|
|
|
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: pages/func_backwpupeditjob.php:62
|
820 |
+
msgid "Only send an e-mail if there are errors."
|
|
|
|
|
|
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: pages/func_backwpupeditjob.php:91
|
824 |
+
msgid "Activate scheduling"
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: pages/func_backwpupeditjob.php:92
|
828 |
+
msgid "advanced"
|
829 |
msgstr ""
|
830 |
|
831 |
+
#: pages/func_backwpupeditjob.php:93
|
832 |
+
msgid "basic"
|
|
|
|
|
833 |
msgstr ""
|
834 |
|
835 |
+
#: pages/func_backwpupeditjob.php:97
|
836 |
+
msgid "Minutes: "
|
837 |
msgstr ""
|
838 |
|
839 |
+
#: pages/func_backwpupeditjob.php:99 pages/func_backwpupeditjob.php:111
|
840 |
+
#: pages/func_backwpupeditjob.php:122 pages/func_backwpupeditjob.php:133
|
841 |
+
#: pages/func_backwpupeditjob.php:153
|
842 |
+
msgid "Any (*)"
|
843 |
msgstr ""
|
844 |
|
845 |
+
#: pages/func_backwpupeditjob.php:108
|
846 |
+
msgid "Hours:"
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: pages/func_backwpupeditjob.php:120
|
850 |
+
msgid "Day of Month:"
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: pages/func_backwpupeditjob.php:131
|
854 |
+
msgid "Month:"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: pages/func_backwpupeditjob.php:135
|
858 |
+
msgid "January"
|
|
|
|
|
|
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: pages/func_backwpupeditjob.php:136
|
862 |
+
msgid "February"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: pages/func_backwpupeditjob.php:137
|
866 |
+
msgid "March"
|
|
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: pages/func_backwpupeditjob.php:138
|
870 |
+
msgid "April"
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: pages/func_backwpupeditjob.php:139
|
874 |
+
msgid "May"
|
875 |
msgstr ""
|
876 |
|
877 |
+
#: pages/func_backwpupeditjob.php:140
|
878 |
+
msgid "June"
|
879 |
msgstr ""
|
880 |
|
881 |
+
#: pages/func_backwpupeditjob.php:141
|
882 |
+
msgid "July"
|
883 |
msgstr ""
|
884 |
|
885 |
+
#: pages/func_backwpupeditjob.php:142
|
886 |
+
msgid "Augest"
|
887 |
msgstr ""
|
888 |
|
889 |
+
#: pages/func_backwpupeditjob.php:143
|
890 |
+
msgid "September"
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: pages/func_backwpupeditjob.php:144
|
894 |
+
msgid "October"
|
|
|
895 |
msgstr ""
|
896 |
|
897 |
+
#: pages/func_backwpupeditjob.php:145
|
898 |
+
msgid "November"
|
899 |
+
msgstr ""
|
|
|
|
|
900 |
|
901 |
+
#: pages/func_backwpupeditjob.php:146
|
902 |
+
msgid "December"
|
903 |
+
msgstr ""
|
|
|
|
|
904 |
|
905 |
+
#: pages/func_backwpupeditjob.php:151
|
906 |
+
msgid "Day of Week:"
|
907 |
msgstr ""
|
908 |
|
909 |
+
#: pages/func_backwpupeditjob.php:155 pages/func_backwpupeditjob.php:191
|
910 |
+
msgid "Sunday"
|
911 |
msgstr ""
|
912 |
|
913 |
+
#: pages/func_backwpupeditjob.php:156 pages/func_backwpupeditjob.php:192
|
914 |
+
msgid "Monday"
|
|
|
|
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: pages/func_backwpupeditjob.php:157 pages/func_backwpupeditjob.php:193
|
918 |
+
msgid "Tuesday"
|
919 |
msgstr ""
|
920 |
|
921 |
+
#: pages/func_backwpupeditjob.php:158 pages/func_backwpupeditjob.php:194
|
922 |
+
msgid "Wednesday"
|
923 |
msgstr ""
|
924 |
|
925 |
+
#: pages/func_backwpupeditjob.php:159 pages/func_backwpupeditjob.php:195
|
926 |
+
msgid "Thursday"
|
927 |
msgstr ""
|
928 |
|
929 |
+
#: pages/func_backwpupeditjob.php:160 pages/func_backwpupeditjob.php:196
|
930 |
+
msgid "Friday"
|
931 |
msgstr ""
|
932 |
|
933 |
+
#: pages/func_backwpupeditjob.php:161 pages/func_backwpupeditjob.php:197
|
934 |
+
msgid "Saturday"
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: pages/func_backwpupeditjob.php:176
|
938 |
+
msgid "Hour"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: pages/func_backwpupeditjob.php:179
|
942 |
+
msgid "Minute"
|
943 |
msgstr ""
|
944 |
|
945 |
+
#: pages/func_backwpupeditjob.php:183
|
946 |
+
msgid "monthly"
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: pages/func_backwpupeditjob.php:184
|
950 |
+
msgid "on"
|
951 |
msgstr ""
|
952 |
|
953 |
+
#: pages/func_backwpupeditjob.php:189
|
954 |
+
msgid "weekly"
|
955 |
msgstr ""
|
956 |
|
957 |
+
#: pages/func_backwpupeditjob.php:203
|
958 |
+
msgid "daily"
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: pages/func_backwpupeditjob.php:209
|
962 |
+
msgid "hourly"
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: pages/func_backwpupeditjob.php:221
|
966 |
+
msgid "Full Path to folder for Backup Files:"
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: pages/func_backwpupeditjob.php:223
|
970 |
+
msgid "Your WordPress dir is:"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: pages/func_backwpupeditjob.php:224 pages/func_backwpupeditjob.php:389
|
974 |
+
msgid "Max. backup files in folder:"
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: pages/func_backwpupeditjob.php:230
|
978 |
+
msgid "Hostname:"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: pages/func_backwpupeditjob.php:238
|
982 |
+
msgid "Folder on Server:"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: pages/func_backwpupeditjob.php:241
|
986 |
+
msgid "Max. backup files in FTP folder:"
|
987 |
msgstr ""
|
988 |
|
989 |
+
#: pages/func_backwpupeditjob.php:241 pages/func_backwpupeditjob.php:260
|
990 |
+
#: pages/func_backwpupeditjob.php:285 pages/func_backwpupeditjob.php:312
|
991 |
+
#: pages/func_backwpupeditjob.php:335 pages/func_backwpupeditjob.php:367
|
992 |
+
#: pages/func_backwpupeditjob.php:389
|
993 |
+
msgid "(Oldest files will be deleted first.)"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: pages/func_backwpupeditjob.php:242
|
997 |
+
msgid "Use SSL-FTP Connection."
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: pages/func_backwpupeditjob.php:243
|
1001 |
+
msgid "Use FTP Passiv mode."
|
1002 |
msgstr ""
|
1003 |
|
1004 |
+
#: pages/func_backwpupeditjob.php:250
|
1005 |
+
msgid "Access Key ID:"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
+
#: pages/func_backwpupeditjob.php:252
|
1009 |
+
msgid "Secret Access Key:"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
+
#: pages/func_backwpupeditjob.php:254 pages/func_backwpupeditjob.php:279
|
1013 |
+
msgid "Bucket:"
|
|
|
1014 |
msgstr ""
|
1015 |
|
1016 |
+
#: pages/func_backwpupeditjob.php:257 pages/func_backwpupeditjob.php:282
|
1017 |
+
msgid "Create bucket:"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
+
#: pages/func_backwpupeditjob.php:257
|
1021 |
+
msgid "Bucket Region"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
+
#: pages/func_backwpupeditjob.php:257
|
1025 |
+
msgid "US-East (Northern Virginia)"
|
|
|
|
|
1026 |
msgstr ""
|
1027 |
|
1028 |
+
#: pages/func_backwpupeditjob.php:257
|
1029 |
+
msgid "US-West (Northern California)"
|
|
|
|
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: pages/func_backwpupeditjob.php:257
|
1033 |
+
msgid "EU (Ireland)"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: pages/func_backwpupeditjob.php:257
|
1037 |
+
msgid "Asia Pacific (Singapore)"
|
|
|
|
|
|
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: pages/func_backwpupeditjob.php:257
|
1041 |
+
msgid "Asia Pacific (Japan)"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: pages/func_backwpupeditjob.php:258 pages/func_backwpupeditjob.php:283
|
1045 |
+
msgid "Folder in bucket:"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: pages/func_backwpupeditjob.php:260 pages/func_backwpupeditjob.php:285
|
1049 |
+
msgid "Max. backup files in bucket folder:"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: pages/func_backwpupeditjob.php:261
|
1053 |
+
msgid "Save Backups with reduced redundancy!"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: pages/func_backwpupeditjob.php:264 pages/func_backwpupeditjob.php:288
|
1057 |
+
#: pages/func_backwpupeditjob.php:315 pages/func_backwpupeditjob.php:338
|
1058 |
+
#: pages/func_backwpupeditjob.php:370 pages/func_backwpupeditjob.php:392
|
1059 |
+
msgid "Create Account"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: pages/func_backwpupeditjob.php:265 pages/func_backwpupeditjob.php:289
|
1063 |
+
msgid "Find Keys"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
+
#: pages/func_backwpupeditjob.php:266 pages/func_backwpupeditjob.php:290
|
1067 |
+
#: pages/func_backwpupeditjob.php:340 pages/func_backwpupeditjob.php:371
|
1068 |
+
#: pages/func_backwpupeditjob.php:393
|
1069 |
+
msgid "Webinterface"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: pages/func_backwpupeditjob.php:275 pages/func_backwpupeditjob.php:304
|
1073 |
+
msgid "Access Key:"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
+
#: pages/func_backwpupeditjob.php:277
|
1077 |
+
msgid "Secret:"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
+
#: pages/func_backwpupeditjob.php:300
|
1081 |
+
msgid "Host:"
|
1082 |
msgstr ""
|
1083 |
|
1084 |
+
#: pages/func_backwpupeditjob.php:301
|
1085 |
+
msgid "Normely: blob.core.windows.net"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#: pages/func_backwpupeditjob.php:302
|
1089 |
+
msgid "Account Name:"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: pages/func_backwpupeditjob.php:306 pages/func_backwpupeditjob.php:329
|
1093 |
+
msgid "Container:"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: pages/func_backwpupeditjob.php:309 pages/func_backwpupeditjob.php:332
|
1097 |
+
msgid "Create Container:"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: pages/func_backwpupeditjob.php:310
|
1101 |
+
msgid "Folder in Container:"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: pages/func_backwpupeditjob.php:312 pages/func_backwpupeditjob.php:335
|
1105 |
+
msgid "Max. backup files in container folder:"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
+
#: pages/func_backwpupeditjob.php:316 pages/func_backwpupeditjob.php:339
|
1109 |
+
msgid "Find Key"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: pages/func_backwpupeditjob.php:327
|
1113 |
+
msgid "API Key:"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: pages/func_backwpupeditjob.php:333
|
1117 |
+
msgid "Folder in container:"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: pages/func_backwpupeditjob.php:349
|
1121 |
+
msgid "Login:"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: pages/func_backwpupeditjob.php:351
|
1125 |
+
msgid "Not authenticated!"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: pages/func_backwpupeditjob.php:351
|
1129 |
+
msgid "Authenticate!"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
+
#: pages/func_backwpupeditjob.php:353
|
1133 |
+
msgid "Authenticated!"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
+
#: pages/func_backwpupeditjob.php:353
|
1137 |
+
msgid "Delete!"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
+
#: pages/func_backwpupeditjob.php:355
|
1141 |
+
msgid "oAuth sign method:"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: pages/func_backwpupeditjob.php:357 job/dest_dropbox.php:18
|
1145 |
+
msgid "HMAC-SHA1"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: pages/func_backwpupeditjob.php:358 job/dest_dropbox.php:15
|
1149 |
+
msgid "PLAINTEXT"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
+
#: pages/func_backwpupeditjob.php:360 pages/func_backwpupeditjob.php:384
|
1153 |
+
msgid "Root:"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
+
#: pages/func_backwpupeditjob.php:362
|
1157 |
+
msgid "dropbox"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: pages/func_backwpupeditjob.php:363
|
1161 |
+
msgid "sandbox (disabled by DropBox)"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
+
#: pages/func_backwpupeditjob.php:365 pages/func_backwpupeditjob.php:387
|
1165 |
+
msgid "Folder:"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
+
#: pages/func_backwpupeditjob.php:367
|
1169 |
+
msgid "Max. backup files in Dropbox folder:"
|
|
|
|
|
|
|
|
|
1170 |
msgstr ""
|
1171 |
|
1172 |
+
#: pages/func_backwpupeditjob.php:380 pages/func_backwpupeditjob.php:400
|
1173 |
+
msgid "E-mail address:"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
+
#: pages/func_backwpupeditjob.php:403
|
1177 |
+
msgid "Max. File Size for sending Backups with mail:"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
+
#: pages/func_backwpupeditjob.php:450
|
1181 |
msgid ""
|
1182 |
+
"Working as <a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank"
|
1183 |
+
"\">Cron</a> job schedule:"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
+
#: pages/func_backwpupeditjob.php:456
|
1187 |
+
msgid "ATTENTION: Job runs every %d mins.!!!"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
+
#: pages/func_backwpupeditjob.php:462
|
1191 |
+
msgid "ATTENTION: Job runs every %d houers.!!!"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
+
#: pages/func_backwpupeditjob.php:466
|
1195 |
+
msgid "ATTENTION: Can't calculate cron!!!"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: pages/func_backwpupeditjob.php:468
|
1199 |
+
msgid "Next runtime:"
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: pages/func_backwpupeditjob.php:494 pages/func_backwpupeditjob.php:559
|
1203 |
+
msgid "Missing access key!"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
+
#: pages/func_backwpupeditjob.php:501 pages/func_backwpupeditjob.php:566
|
1207 |
+
msgid "Missing secret access key!"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: pages/func_backwpupeditjob.php:525 pages/func_backwpupeditjob.php:592
|
1211 |
+
msgid "No bucket fount!"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
+
#: pages/func_backwpupeditjob.php:627 pages/func_backwpupeditjob.php:756
|
1215 |
+
msgid "Missing Username!"
|
1216 |
msgstr ""
|
1217 |
|
1218 |
+
#: pages/func_backwpupeditjob.php:634
|
1219 |
+
msgid "Missing API Key!"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#: pages/func_backwpupeditjob.php:655
|
1223 |
+
msgid "No Containerss found!"
|
1224 |
msgstr ""
|
1225 |
|
1226 |
+
#: pages/func_backwpupeditjob.php:690
|
1227 |
+
msgid "Missing Hostname!"
|
|
|
1228 |
msgstr ""
|
1229 |
|
1230 |
+
#: pages/func_backwpupeditjob.php:697
|
1231 |
+
msgid "Missing Account Name!"
|
1232 |
msgstr ""
|
1233 |
|
1234 |
+
#: pages/func_backwpupeditjob.php:704
|
1235 |
+
msgid "Missing Access Key!"
|
1236 |
msgstr ""
|
1237 |
|
1238 |
+
#: pages/func_backwpupeditjob.php:721
|
1239 |
+
msgid "No Container found!"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: pages/func_backwpupeditjob.php:763
|
1243 |
+
msgid "Missing Password!"
|
1244 |
msgstr ""
|
1245 |
|
1246 |
+
#: pages/func_backwpupeditjob.php:783
|
1247 |
+
msgid "No Syncfolders found!"
|
1248 |
msgstr ""
|
1249 |
|
1250 |
+
#: pages/page_backwpupbackups.php:8
|
1251 |
+
msgid "BackWPup Manage Backups"
|
1252 |
msgstr ""
|
1253 |
|
1254 |
+
#: pages/header_backwpupsettings.php:54
|
1255 |
+
msgid "Settings saved"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
+
#: job/dest_rsc.php:4
|
1259 |
+
msgid "Try to sending backup file to Rackspace Cloud..."
|
1260 |
msgstr ""
|
1261 |
|
1262 |
+
#: job/dest_rsc.php:13
|
1263 |
+
msgid "Connected to Rackspase ..."
|
|
|
1264 |
msgstr ""
|
1265 |
|
1266 |
+
#: job/dest_rsc.php:29 job/dest_rsc.php:63 job/dest_rsc.php:92
|
1267 |
+
msgid "Rackspase Cloud API:"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
+
#: job/dest_rsc.php:34
|
1271 |
+
msgid "Rackspase Cloud Container not exists:"
|
1272 |
msgstr ""
|
1273 |
|
1274 |
+
#: job/dest_rsc.php:53
|
1275 |
+
msgid "Upload to RSC now started ... "
|
1276 |
msgstr ""
|
1277 |
|
1278 |
+
#: job/dest_rsc.php:57
|
1279 |
+
msgid "Backup File transferred to RSC://"
|
1280 |
msgstr ""
|
1281 |
|
1282 |
+
#: job/dest_rsc.php:60
|
1283 |
+
msgid "Can not transfer backup to RSC."
|
|
|
|
|
1284 |
msgstr ""
|
1285 |
|
1286 |
+
#: job/dest_rsc.php:85
|
1287 |
+
msgid "Can not delete file on RSC://"
|
1288 |
msgstr ""
|
1289 |
|
1290 |
+
#: job/dest_rsc.php:88
|
1291 |
+
msgid "One file deleted on RSC container"
|
1292 |
+
msgid_plural "%d files deleted on RSC container"
|
1293 |
+
msgstr[0] ""
|
1294 |
+
msgstr[1] ""
|
1295 |
|
1296 |
+
#: job/dest_msazure.php:5
|
1297 |
+
msgid "%d. try sending backup to a Microsoft Azure (Blob)..."
|
1298 |
msgstr ""
|
1299 |
|
1300 |
+
#: job/dest_msazure.php:14
|
1301 |
+
msgid "Microsoft Azure container \"%s\" not exists!"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
+
#: job/dest_msazure.php:17
|
1305 |
+
msgid "Connected to Microsoft Azure container \"%s\""
|
1306 |
msgstr ""
|
1307 |
|
1308 |
+
#: job/dest_msazure.php:20
|
1309 |
+
msgid "Upload to MS Azure now started... "
|
1310 |
msgstr ""
|
1311 |
|
1312 |
+
#: job/dest_msazure.php:26 job/dest_s3.php:32 job/dest_gstorage.php:29
|
1313 |
+
#: job/dest_dropbox.php:48 job/dest_sugarsync.php:37
|
1314 |
+
msgid "Backup transferred to %s"
|
1315 |
msgstr ""
|
1316 |
|
1317 |
+
#: job/dest_msazure.php:29
|
1318 |
+
msgid "Can not transfer backup to Microsoft Azure!"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
+
#: job/dest_msazure.php:50
|
1322 |
+
msgid "One file deleted on Microsoft Azure container"
|
1323 |
+
msgid_plural "%d files deleted on Microsoft Azure container"
|
1324 |
+
msgstr[0] ""
|
1325 |
+
msgstr[1] ""
|
1326 |
|
1327 |
+
#: job/dest_msazure.php:55
|
1328 |
+
msgid "Microsoft Azure API: %s"
|
1329 |
msgstr ""
|
1330 |
|
1331 |
+
#: job/wp_export.php:5
|
1332 |
+
msgid "%d. try for wordpress export to XML file..."
|
|
|
1333 |
msgstr ""
|
1334 |
|
1335 |
+
#: job/wp_export.php:27
|
1336 |
+
msgid "XML Export (%1$d) %2$s"
|
1337 |
msgstr ""
|
1338 |
|
1339 |
+
#: job/wp_export.php:35
|
1340 |
+
msgid "Add XML export \"%1$s\" to backup list with %2$s"
|
1341 |
msgstr ""
|
1342 |
|
1343 |
+
#: job/job_run.php:69
|
1344 |
+
msgid "Job restart terminated, bcause old job runs again!"
|
1345 |
msgstr ""
|
1346 |
|
1347 |
+
#: job/job_run.php:72
|
1348 |
+
msgid "Job restarted, bcause inactivity!"
|
|
|
|
|
|
|
|
|
|
|
1349 |
msgstr ""
|
1350 |
|
1351 |
+
#: job/job_run.php:74
|
1352 |
+
msgid "Second Prozess is running, bcause old job runs! Start type is %s"
|
1353 |
msgstr ""
|
1354 |
|
1355 |
+
#: job/job_run.php:106
|
1356 |
+
msgid "Can not find job step file: %s"
|
1357 |
msgstr ""
|
1358 |
|
1359 |
+
#: job/job_run.php:114
|
1360 |
msgid ""
|
1361 |
+
"[INFO]: BackWPup version %1$s, WordPress version %4$s Copyright © %2$s %"
|
1362 |
+
"3$s"
|
|
|
|
|
|
|
|
|
1363 |
msgstr ""
|
1364 |
|
1365 |
+
#: job/job_run.php:115
|
1366 |
+
msgid ""
|
1367 |
+
"[INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, "
|
1368 |
+
"and you are welcome to redistribute it under certain conditions."
|
1369 |
msgstr ""
|
1370 |
|
1371 |
+
#: job/job_run.php:116
|
1372 |
+
msgid "[INFO]: BackWPup job:"
|
1373 |
msgstr ""
|
1374 |
|
1375 |
+
#: job/job_run.php:118
|
1376 |
+
msgid "[INFO]: BackWPup cron:"
|
1377 |
msgstr ""
|
1378 |
|
1379 |
+
#: job/job_run.php:120
|
1380 |
+
msgid "[INFO]: BackWPup job strated by cron"
|
1381 |
msgstr ""
|
1382 |
|
1383 |
+
#: job/job_run.php:122
|
1384 |
+
msgid "[INFO]: BackWPup job strated manualy"
|
1385 |
msgstr ""
|
1386 |
|
1387 |
+
#: job/job_run.php:123
|
1388 |
+
msgid "[INFO]: PHP ver.:"
|
1389 |
msgstr ""
|
1390 |
|
1391 |
+
#: job/job_run.php:125
|
1392 |
+
msgid "[INFO]: PHP Safe mode is ON! Maximum script execution time is %1$d sec."
|
1393 |
msgstr ""
|
1394 |
|
1395 |
+
#: job/job_run.php:126
|
1396 |
+
msgid "[INFO]: MySQL ver.:"
|
1397 |
msgstr ""
|
1398 |
|
1399 |
+
#: job/job_run.php:129
|
1400 |
+
msgid "[INFO]: curl ver.:"
|
1401 |
msgstr ""
|
1402 |
|
1403 |
+
#: job/job_run.php:131
|
1404 |
+
msgid "[INFO]: Temp folder is:"
|
1405 |
msgstr ""
|
1406 |
|
1407 |
+
#: job/job_run.php:133
|
1408 |
+
msgid "[INFO]: Backup file is:"
|
1409 |
msgstr ""
|
1410 |
|
1411 |
+
#: job/job_run.php:144
|
1412 |
+
msgid "No destination defineid for backup!!! Please correct job settings"
|
1413 |
msgstr ""
|
1414 |
|
1415 |
+
#: job/job_run.php:166
|
1416 |
+
msgid "Step arborted has too many trys!"
|
|
|
|
|
1417 |
msgstr ""
|
1418 |
|
1419 |
+
#: job/job_run.php:168
|
1420 |
+
msgid "Can not find job step function %s!"
|
1421 |
msgstr ""
|
1422 |
|
1423 |
+
#: job/dest_s3.php:4
|
1424 |
+
msgid "%d. try sending backup file to Amazon S3..."
|
1425 |
msgstr ""
|
1426 |
|
1427 |
+
#: job/dest_s3.php:14
|
1428 |
+
msgid "Connected to S3 Bucket: %s"
|
1429 |
msgstr ""
|
1430 |
|
1431 |
+
#: job/dest_s3.php:26
|
1432 |
+
msgid "Upload to Amazon S3 now started... "
|
1433 |
msgstr ""
|
1434 |
|
1435 |
+
#: job/dest_s3.php:35
|
1436 |
+
msgid "Can not transfer backup to S3! (%1$d) %2$s"
|
1437 |
msgstr ""
|
1438 |
|
1439 |
+
#: job/dest_s3.php:38
|
1440 |
+
msgid "S3 Bucket \"%s\" not exists!"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
+
#: job/dest_s3.php:41 job/dest_s3.php:70
|
1444 |
+
msgid "Amazon API: %s"
|
1445 |
msgstr ""
|
1446 |
|
1447 |
+
#: job/dest_s3.php:62
|
1448 |
+
msgid "Can not delete backup on S3://%s"
|
1449 |
msgstr ""
|
1450 |
|
1451 |
+
#: job/dest_s3.php:65
|
1452 |
+
msgid "One file deleted on S3 Bucket"
|
1453 |
+
msgid_plural "%d files deleted on S3 Bucket"
|
1454 |
+
msgstr[0] ""
|
1455 |
+
msgstr[1] ""
|
1456 |
|
1457 |
+
#: job/db_optimize.php:4
|
1458 |
+
msgid "%d. try for database optimize..."
|
1459 |
msgstr ""
|
1460 |
|
1461 |
+
#: job/db_optimize.php:12 job/db_optimize.php:27 job/job_functions.php:34
|
1462 |
+
#: job/job_functions.php:47 job/db_check.php:12 job/db_check.php:28
|
1463 |
+
#: job/db_check.php:43 job/db_dump.php:12 job/db_dump.php:25
|
1464 |
+
#: job/db_dump.php:109 job/db_dump.php:119
|
1465 |
+
msgid "Database error %1$s for query %2$s"
|
1466 |
msgstr ""
|
1467 |
|
1468 |
+
#: job/db_optimize.php:34 job/db_optimize.php:36 job/db_optimize.php:38
|
1469 |
+
msgid "Result of table optimize for %1$s is: %2$s"
|
1470 |
msgstr ""
|
1471 |
|
1472 |
+
#: job/db_optimize.php:40
|
1473 |
+
msgid "Database optimize done!"
|
1474 |
msgstr ""
|
1475 |
|
1476 |
+
#: job/db_optimize.php:43
|
1477 |
+
msgid "No tables to optimize"
|
1478 |
msgstr ""
|
1479 |
|
1480 |
+
#: job/job_functions.php:85
|
1481 |
+
msgid "PHP Safe mode is on!!! Can not increase memory limit is %s"
|
1482 |
msgstr ""
|
1483 |
|
1484 |
+
#: job/job_functions.php:112
|
1485 |
+
msgid "Memory increased from %1$s to %2$s"
|
1486 |
msgstr ""
|
1487 |
|
1488 |
+
#: job/job_functions.php:114
|
1489 |
+
msgid "Can not increase memory limit is %1$s"
|
1490 |
msgstr ""
|
1491 |
|
1492 |
+
#: job/job_functions.php:124
|
1493 |
+
msgid "Set Blog to maintenance mode"
|
1494 |
msgstr ""
|
1495 |
|
1496 |
+
#: job/job_functions.php:138
|
1497 |
+
msgid "Cannot set Blog to maintenance mode! Root folder is not writeable!"
|
1498 |
msgstr ""
|
1499 |
|
1500 |
+
#: job/job_functions.php:141
|
1501 |
+
msgid "Set Blog to normal mode"
|
1502 |
msgstr ""
|
1503 |
|
1504 |
+
#: job/job_functions.php:216
|
1505 |
+
msgid "No MySQL connection: %s"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
+
#: job/job_functions.php:231
|
1509 |
+
msgid "No MySQL connection to database: %s"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
+
#: job/job_functions.php:255
|
1513 |
+
msgid "[WARNING]"
|
1514 |
msgstr ""
|
1515 |
|
1516 |
+
#: job/job_functions.php:261
|
1517 |
+
msgid "[ERROR]"
|
1518 |
msgstr ""
|
1519 |
|
1520 |
+
#: job/job_functions.php:265
|
1521 |
+
msgid "[DEPRECATED]"
|
1522 |
msgstr ""
|
1523 |
|
1524 |
+
#: job/job_functions.php:268
|
1525 |
+
msgid "[STRICT NOTICE]"
|
1526 |
msgstr ""
|
1527 |
|
1528 |
+
#: job/job_functions.php:271
|
1529 |
+
msgid "[RECOVERABLE ERROR]"
|
1530 |
msgstr ""
|
1531 |
|
1532 |
+
#: job/job_functions.php:348
|
1533 |
+
msgid "One old log deleted"
|
1534 |
+
msgid_plural "%d old logs deleted"
|
1535 |
+
msgstr[0] ""
|
1536 |
+
msgstr[1] ""
|
1537 |
|
1538 |
+
#: job/job_functions.php:352
|
1539 |
+
msgid "Job done in %s sec."
|
1540 |
msgstr ""
|
1541 |
|
1542 |
+
#: job/job_functions.php:452
|
1543 |
+
msgid "Jobname: %s"
|
1544 |
msgstr ""
|
1545 |
|
1546 |
+
#: job/job_functions.php:453
|
1547 |
+
msgid "Jobtype: %s"
|
1548 |
msgstr ""
|
1549 |
|
1550 |
+
#: job/job_functions.php:455
|
1551 |
+
msgid "Errors: %d"
|
1552 |
msgstr ""
|
1553 |
|
1554 |
+
#: job/job_functions.php:457
|
1555 |
+
msgid "Warnings: %d"
|
1556 |
msgstr ""
|
1557 |
|
1558 |
+
#: job/job_functions.php:462
|
1559 |
+
msgid "BackWPup log from %1$s: %2$s"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
+
#: job/job_functions.php:487
|
1563 |
+
msgid "To many restarts...."
|
1564 |
msgstr ""
|
1565 |
|
1566 |
+
#: job/job_functions.php:506
|
1567 |
+
msgid "Signal $d send to script!"
|
1568 |
msgstr ""
|
1569 |
|
1570 |
+
#: job/job_functions.php:528
|
1571 |
+
msgid "Script stop! Will started again now!"
|
1572 |
msgstr ""
|
1573 |
|
1574 |
+
#: job/file_list.php:5
|
1575 |
+
msgid "%d. try for make list of files to backup...."
|
1576 |
msgstr ""
|
1577 |
|
1578 |
+
#: job/file_list.php:66
|
1579 |
+
msgid "No files to backup"
|
|
|
|
|
|
|
1580 |
msgstr ""
|
1581 |
|
1582 |
+
#: job/file_list.php:68
|
1583 |
+
msgid "%1$d files with %2$s to backup"
|
1584 |
msgstr ""
|
1585 |
|
1586 |
+
#: job/file_list.php:91
|
1587 |
+
msgid "File or folder \"%s\" is not readable!"
|
1588 |
msgstr ""
|
1589 |
|
1590 |
+
#: job/file_list.php:93
|
1591 |
+
msgid "Link \"%s\" not followed"
|
1592 |
msgstr ""
|
1593 |
|
1594 |
+
#: job/file_list.php:99
|
1595 |
+
msgid "\"%s\" is not a file or directory"
|
1596 |
msgstr ""
|
1597 |
|
1598 |
+
#: job/dest_ftp.php:9
|
1599 |
+
msgid "%d. try to sending backup file to a FTP Server..."
|
1600 |
msgstr ""
|
1601 |
|
1602 |
+
#: job/dest_ftp.php:17
|
1603 |
+
msgid "Connected by SSL-FTP to Server: %s"
|
1604 |
msgstr ""
|
1605 |
|
1606 |
+
#: job/dest_ftp.php:19
|
1607 |
+
msgid "Can not connect by SSL-FTP to Server: %s"
|
1608 |
msgstr ""
|
1609 |
|
1610 |
+
#: job/dest_ftp.php:23
|
1611 |
+
msgid "PHP function to connect with SSL-FTP to server not exists!"
|
1612 |
msgstr ""
|
1613 |
|
1614 |
+
#: job/dest_ftp.php:29
|
1615 |
+
msgid "Connected to FTP server: %s"
|
1616 |
msgstr ""
|
1617 |
|
1618 |
+
#: job/dest_ftp.php:31
|
1619 |
+
msgid "Can not connect to FTP server: %s"
|
1620 |
msgstr ""
|
1621 |
|
1622 |
+
#: job/dest_ftp.php:38 job/dest_ftp.php:45 job/dest_ftp.php:57
|
1623 |
+
#: job/dest_ftp.php:70
|
1624 |
+
msgid "FTP Client command: %s"
|
1625 |
msgstr ""
|
1626 |
|
1627 |
+
#: job/dest_ftp.php:40 job/dest_ftp.php:43 job/dest_ftp.php:47
|
1628 |
+
#: job/dest_ftp.php:60 job/dest_ftp.php:62 job/dest_ftp.php:65
|
1629 |
+
#: job/dest_ftp.php:67 job/dest_ftp.php:73 job/dest_ftp.php:75
|
1630 |
+
msgid "FTP Server reply: %s"
|
1631 |
msgstr ""
|
1632 |
|
1633 |
+
#: job/dest_ftp.php:60
|
1634 |
+
msgid "Entering Passive Mode"
|
1635 |
msgstr ""
|
1636 |
|
1637 |
+
#: job/dest_ftp.php:62
|
1638 |
+
msgid "Can not Entering Passive Mode"
|
1639 |
msgstr ""
|
1640 |
|
1641 |
+
#: job/dest_ftp.php:65
|
1642 |
+
msgid "Entering Normal Mode"
|
1643 |
msgstr ""
|
1644 |
|
1645 |
+
#: job/dest_ftp.php:67
|
1646 |
+
msgid "Can not Entering Normal Mode"
|
|
|
|
|
1647 |
msgstr ""
|
1648 |
|
1649 |
+
#: job/dest_ftp.php:75
|
1650 |
+
msgid "Error getting SYSTYPE"
|
1651 |
msgstr ""
|
1652 |
|
1653 |
+
#: job/dest_ftp.php:85
|
1654 |
+
msgid "FTP Folder \"%s\" created!"
|
|
|
|
|
1655 |
msgstr ""
|
1656 |
|
1657 |
+
#: job/dest_ftp.php:88
|
1658 |
+
msgid "FTP Folder \"%s\" can not created!"
|
1659 |
msgstr ""
|
1660 |
|
1661 |
+
#: job/dest_ftp.php:93
|
1662 |
+
msgid "Upload to FTP now started ... "
|
1663 |
msgstr ""
|
1664 |
|
1665 |
+
#: job/dest_ftp.php:97
|
1666 |
+
msgid "Backup transferred to FTP server: %s"
|
1667 |
msgstr ""
|
1668 |
|
1669 |
+
#: job/dest_ftp.php:100
|
1670 |
+
msgid "Can not transfer backup to FTP server!"
|
1671 |
msgstr ""
|
1672 |
|
1673 |
+
#: job/dest_ftp.php:117
|
1674 |
+
msgid "Can not delete \"%s\" on FTP server!"
|
1675 |
msgstr ""
|
1676 |
|
1677 |
+
#: job/dest_ftp.php:120
|
1678 |
+
msgid "One file deleted on FTP Server"
|
1679 |
+
msgid_plural "%d files deleted on FTP Server"
|
1680 |
+
msgstr[0] ""
|
1681 |
+
msgstr[1] ""
|
1682 |
|
1683 |
+
#: job/job_start.php:15
|
1684 |
+
msgid "A job already running!"
|
1685 |
msgstr ""
|
1686 |
|
1687 |
+
#: job/job_start.php:24
|
1688 |
+
msgid "Can not create temp folder: %s"
|
1689 |
msgstr ""
|
1690 |
|
1691 |
+
#: job/job_start.php:29
|
1692 |
+
msgid "Temp dir not writeable"
|
1693 |
msgstr ""
|
1694 |
|
1695 |
+
#: job/job_start.php:115
|
1696 |
+
msgid "Can not create folder for log files: %s"
|
1697 |
msgstr ""
|
1698 |
|
1699 |
+
#: job/job_start.php:130
|
1700 |
+
msgid "Log folder not writeable!"
|
1701 |
msgstr ""
|
1702 |
|
1703 |
+
#: job/job_start.php:154
|
1704 |
+
msgid "BackWPup log for %1$s from %2$s at %3$s"
|
1705 |
msgstr ""
|
1706 |
|
1707 |
+
#: job/job_start.php:182
|
1708 |
+
msgid "Can not create folder for backups: %1$s"
|
1709 |
msgstr ""
|
1710 |
|
1711 |
+
#: job/job_start.php:199
|
1712 |
+
msgid "Backup folder not writeable!"
|
1713 |
msgstr ""
|
1714 |
|
1715 |
+
#: job/dest_gstorage.php:4
|
1716 |
+
msgid "%d. try sending backup to Google Storage..."
|
1717 |
msgstr ""
|
1718 |
|
1719 |
+
#: job/dest_gstorage.php:16
|
1720 |
+
msgid "Connected to GStorage Bucket: %s"
|
1721 |
msgstr ""
|
1722 |
|
1723 |
+
#: job/dest_gstorage.php:23
|
1724 |
+
msgid "Upload to GStorage now started... "
|
1725 |
msgstr ""
|
1726 |
|
1727 |
+
#: job/dest_gstorage.php:32
|
1728 |
+
msgid "Can not transfer backup to GStorage! (%1$d) %2$s"
|
1729 |
msgstr ""
|
1730 |
|
1731 |
+
#: job/dest_gstorage.php:35
|
1732 |
+
msgid "GStorage Bucket \"%s\" not exists!"
|
1733 |
msgstr ""
|
1734 |
|
1735 |
+
#: job/dest_gstorage.php:59
|
1736 |
+
msgid "Can not delete backup on GStorage://%s"
|
1737 |
msgstr ""
|
1738 |
|
1739 |
+
#: job/dest_gstorage.php:62
|
1740 |
+
msgid "One file deleted on GStorage Bucket"
|
1741 |
+
msgid_plural "%d files deleted on GStorage Bucket"
|
1742 |
+
msgstr[0] ""
|
1743 |
+
msgstr[1] ""
|
1744 |
|
1745 |
+
#: job/dest_folder.php:25
|
1746 |
+
msgid "One backup file deleted"
|
1747 |
+
msgid_plural "%d backup files deleted"
|
1748 |
+
msgstr[0] ""
|
1749 |
+
msgstr[1] ""
|
1750 |
|
1751 |
+
#: job/dest_dropbox.php:6
|
1752 |
+
msgid "%d. Try to sending backup file to DropBox..."
|
1753 |
msgstr ""
|
1754 |
|
1755 |
+
#: job/dest_dropbox.php:15 job/dest_dropbox.php:18
|
1756 |
+
msgid "oAuth sign method for DropBox is %s"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
+
#: job/dest_dropbox.php:27
|
1760 |
+
msgid "Authed with DropBox from %s"
|
1761 |
msgstr ""
|
1762 |
|
1763 |
+
#: job/dest_dropbox.php:32
|
1764 |
+
msgid "No free space left on DropBox!!!"
|
|
|
|
|
1765 |
msgstr ""
|
1766 |
|
1767 |
+
#: job/dest_dropbox.php:36
|
1768 |
+
msgid "%s free on DropBox"
|
1769 |
msgstr ""
|
1770 |
|
1771 |
+
#: job/dest_dropbox.php:41
|
1772 |
+
msgid "Upload to DropBox now started... "
|
1773 |
msgstr ""
|
1774 |
|
1775 |
+
#: job/dest_dropbox.php:50
|
1776 |
+
msgid "Error on transfere backup to DropBox: %s"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
+
#: job/dest_dropbox.php:56 job/dest_dropbox.php:81
|
1780 |
+
msgid "DropBox API: %s"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
+
#: job/dest_dropbox.php:77
|
1784 |
+
msgid "One file deleted on DropBox"
|
1785 |
+
msgid_plural "%d files deleted on DropBox"
|
1786 |
+
msgstr[0] ""
|
1787 |
+
msgstr[1] ""
|
1788 |
+
|
1789 |
+
#: job/db_check.php:4
|
1790 |
+
msgid "%d. try for database check..."
|
1791 |
msgstr ""
|
1792 |
|
1793 |
+
#: job/db_check.php:33 job/db_check.php:35 job/db_check.php:37
|
1794 |
+
msgid "Result of table check for %1$s is: %2$s"
|
1795 |
msgstr ""
|
1796 |
|
1797 |
+
#: job/db_check.php:48 job/db_check.php:50 job/db_check.php:52
|
1798 |
+
msgid "Result of table repair for %1$s is: %2$s"
|
1799 |
msgstr ""
|
1800 |
|
1801 |
+
#: job/db_check.php:58
|
1802 |
+
msgid "Database check done!"
|
1803 |
msgstr ""
|
1804 |
|
1805 |
+
#: job/db_check.php:60
|
1806 |
+
msgid "No tables to check"
|
1807 |
msgstr ""
|
1808 |
|
1809 |
+
#: job/dest_sugarsync.php:6
|
1810 |
+
msgid "%d. try sending backup to SugarSync..."
|
1811 |
msgstr ""
|
1812 |
|
1813 |
+
#: job/dest_sugarsync.php:15
|
1814 |
+
msgid "Authed to SugarSync with Nick %s"
|
1815 |
msgstr ""
|
1816 |
|
1817 |
+
#: job/dest_sugarsync.php:19
|
1818 |
+
msgid "No free space left on SugarSync!!!"
|
1819 |
msgstr ""
|
1820 |
|
1821 |
+
#: job/dest_sugarsync.php:24
|
1822 |
+
msgid "%s free on SugarSync"
|
1823 |
msgstr ""
|
1824 |
|
1825 |
+
#: job/dest_sugarsync.php:31
|
1826 |
+
msgid "Upload to SugarSync now started... "
|
1827 |
msgstr ""
|
1828 |
|
1829 |
+
#: job/dest_sugarsync.php:39
|
1830 |
+
msgid "Can not transfer backup to SugarSync!"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
+
#: job/dest_sugarsync.php:62
|
1834 |
+
msgid "One file deleted on SugarSync folder"
|
1835 |
+
msgid_plural "%d files deleted on SugarSync folder"
|
1836 |
+
msgstr[0] ""
|
1837 |
+
msgstr[1] ""
|
1838 |
+
|
1839 |
+
#: job/dest_sugarsync.php:66
|
1840 |
+
msgid "SugarSync API: %s"
|
1841 |
msgstr ""
|
1842 |
|
1843 |
+
#: job/backup_create.php:13
|
1844 |
+
msgid "%d. try to create backup zip archive..."
|
1845 |
msgstr ""
|
1846 |
|
1847 |
+
#: job/backup_create.php:18
|
1848 |
+
msgid "Can not add \"%s\" to zip archive!"
|
1849 |
msgstr ""
|
1850 |
|
1851 |
+
#: job/backup_create.php:25
|
1852 |
+
msgid "(4) ER_SEEK"
|
1853 |
msgstr ""
|
1854 |
|
1855 |
+
#: job/backup_create.php:27
|
1856 |
+
msgid "(5) ER_READ"
|
1857 |
msgstr ""
|
1858 |
|
1859 |
+
#: job/backup_create.php:29
|
1860 |
+
msgid "(9) ER_NOENT"
|
1861 |
msgstr ""
|
1862 |
|
1863 |
+
#: job/backup_create.php:31
|
1864 |
+
msgid "(10) ER_EXISTS"
|
1865 |
msgstr ""
|
1866 |
|
1867 |
+
#: job/backup_create.php:33
|
1868 |
+
msgid "(11) ER_OPEN"
|
1869 |
msgstr ""
|
1870 |
|
1871 |
+
#: job/backup_create.php:35
|
1872 |
+
msgid "(14) ER_MEMORY"
|
1873 |
msgstr ""
|
1874 |
|
1875 |
+
#: job/backup_create.php:37
|
1876 |
+
msgid "(18) ER_INVAL"
|
1877 |
msgstr ""
|
1878 |
|
1879 |
+
#: job/backup_create.php:39
|
1880 |
+
msgid "(19) ER_NOZIP"
|
1881 |
msgstr ""
|
1882 |
|
1883 |
+
#: job/backup_create.php:41
|
1884 |
+
msgid "(21) ER_INCONS"
|
1885 |
msgstr ""
|
1886 |
|
1887 |
+
#: job/backup_create.php:42
|
1888 |
+
msgid "Zip returns status: %s"
|
1889 |
msgstr ""
|
1890 |
|
1891 |
+
#: job/backup_create.php:46
|
1892 |
+
msgid "Backup zip archive create done!"
|
1893 |
msgstr ""
|
1894 |
|
1895 |
+
#: job/backup_create.php:49
|
1896 |
+
msgid "Can not create backup zip archive $s!"
|
|
|
|
|
1897 |
msgstr ""
|
1898 |
|
1899 |
+
#: job/backup_create.php:56
|
1900 |
+
msgid "%d. try to create backup zip (PclZip) archive..."
|
1901 |
msgstr ""
|
1902 |
|
1903 |
+
#: job/backup_create.php:65
|
1904 |
+
msgid "Zip archive create error: %s"
|
1905 |
msgstr ""
|
1906 |
|
1907 |
+
#: job/backup_create.php:69
|
1908 |
+
msgid "Backup zip archive create done"
|
1909 |
msgstr ""
|
1910 |
|
1911 |
+
#: job/backup_create.php:84
|
1912 |
+
msgid "Can not create tar arcive file!"
|
1913 |
msgstr ""
|
1914 |
|
1915 |
+
#: job/backup_create.php:87
|
1916 |
+
msgid "%1$d. try to create %2$s archive file..."
|
1917 |
msgstr ""
|
1918 |
|
1919 |
+
#: job/backup_create.php:95
|
1920 |
+
msgid "File \"%s\" not readable!"
|
1921 |
msgstr ""
|
1922 |
|
1923 |
+
#: job/backup_create.php:110
|
1924 |
+
msgid "File name \"%1$s\" to long to save corectly in %2$s archive!"
|
1925 |
msgstr ""
|
1926 |
|
1927 |
+
#: job/backup_create.php:112
|
1928 |
+
msgid "File path \"%1$s\" to long to save corectly in %2$s archive!"
|
1929 |
msgstr ""
|
1930 |
|
1931 |
+
#: job/backup_create.php:189
|
1932 |
+
msgid "%s archive creation done"
|
1933 |
msgstr ""
|
1934 |
|
1935 |
+
#: job/backup_create.php:193
|
1936 |
+
msgid "Archive size is %s"
|
1937 |
msgstr ""
|
1938 |
|
1939 |
+
#: job/backup_create.php:200
|
1940 |
+
msgid "PCL ZIP Error \"%1$s\" on file %2$s!"
|
1941 |
msgstr ""
|
1942 |
|
1943 |
+
#: job/db_dump.php:4
|
1944 |
+
msgid "%d. try for database dump..."
|
1945 |
msgstr ""
|
1946 |
|
1947 |
+
#: job/db_dump.php:57
|
1948 |
+
msgid "Dump database table \"%s\""
|
1949 |
msgstr ""
|
1950 |
|
1951 |
+
#: job/db_dump.php:74
|
1952 |
+
msgid "Database dump done!"
|
1953 |
msgstr ""
|
1954 |
|
1955 |
+
#: job/db_dump.php:76
|
1956 |
+
msgid "Can not create database dump!"
|
1957 |
msgstr ""
|
1958 |
|
1959 |
+
#: job/db_dump.php:79
|
1960 |
+
msgid "No tables to dump"
|
1961 |
msgstr ""
|
1962 |
|
1963 |
+
#: job/db_dump.php:85
|
1964 |
+
msgid "Add database dump \"%1$s\" with %2$s to backup file list"
|
1965 |
msgstr ""
|
1966 |
|
1967 |
+
#: job/dest_mail.php:6
|
1968 |
+
msgid "%d. try to sending backup with mail..."
|
1969 |
msgstr ""
|
1970 |
|
1971 |
+
#: job/dest_mail.php:22
|
1972 |
+
msgid "Send mail with SMTP"
|
1973 |
msgstr ""
|
1974 |
|
1975 |
+
#: job/dest_mail.php:26
|
1976 |
+
msgid "Send mail with Sendmail"
|
1977 |
msgstr ""
|
1978 |
|
1979 |
+
#: job/dest_mail.php:29
|
1980 |
+
msgid "Send mail with PHP mail"
|
1981 |
msgstr ""
|
1982 |
|
1983 |
+
#: job/dest_mail.php:32
|
1984 |
+
msgid "Creating mail"
|
1985 |
msgstr ""
|
1986 |
|
1987 |
+
#: job/dest_mail.php:36
|
1988 |
+
msgid "BackWPup archive from %1$s: %2$s"
|
1989 |
msgstr ""
|
1990 |
|
1991 |
+
#: job/dest_mail.php:38
|
1992 |
+
msgid "Backup archive: %s"
|
1993 |
msgstr ""
|
1994 |
|
1995 |
+
#: job/dest_mail.php:44
|
1996 |
+
msgid "Backup archive too big for sending by mail!"
|
1997 |
msgstr ""
|
1998 |
|
1999 |
+
#: job/dest_mail.php:51
|
2000 |
+
msgid "Adding backup archive to mail"
|
2001 |
msgstr ""
|
2002 |
|
2003 |
+
#: job/dest_mail.php:55
|
2004 |
+
msgid "Send mail...."
|
2005 |
msgstr ""
|
2006 |
|
2007 |
+
#: job/dest_mail.php:58
|
2008 |
+
msgid "Error \"%s\" on sending mail!"
|
|
|
|
|
2009 |
msgstr ""
|
2010 |
|
2011 |
+
#: job/dest_mail.php:61
|
2012 |
+
msgid "Mail send!!!"
|
2013 |
msgstr ""
|
2014 |
|
2015 |
+
#. #-#-#-#-# plugin.pot (BackWPup 2.1.1) #-#-#-#-#
|
2016 |
#. Plugin Name of the plugin/theme
|
2017 |
+
#: backwpup-functions.php:4 backwpup-functions.php:265
|
2018 |
+
#: backwpup-functions.php:488
|
2019 |
msgid "BackWPup"
|
2020 |
msgstr ""
|
2021 |
|
2022 |
+
#: backwpup-functions.php:9
|
2023 |
msgid "Working"
|
2024 |
msgstr ""
|
2025 |
|
2026 |
+
#: backwpup-functions.php:13 backwpup-functions.php:493
|
2027 |
msgid "Backups"
|
2028 |
msgstr ""
|
2029 |
|
2030 |
+
#: backwpup-functions.php:15
|
2031 |
msgid "Tools"
|
2032 |
msgstr ""
|
2033 |
|
2034 |
+
#: backwpup-functions.php:17 backwpup-functions.php:246
|
2035 |
msgid "Settings"
|
2036 |
msgstr ""
|
2037 |
|
2038 |
+
#: backwpup-functions.php:94
|
2039 |
msgid "For more information:"
|
2040 |
msgstr ""
|
2041 |
|
2042 |
+
#: backwpup-functions.php:95 backwpup-functions.php:257
|
2043 |
msgid "Support"
|
2044 |
msgstr ""
|
2045 |
|
2046 |
+
#: backwpup-functions.php:96 backwpup-functions.php:256
|
2047 |
msgid "FAQ"
|
2048 |
msgstr ""
|
2049 |
|
2050 |
+
#: backwpup-functions.php:97
|
2051 |
msgid "Plugin Homepage"
|
2052 |
msgstr ""
|
2053 |
|
2054 |
+
#: backwpup-functions.php:98
|
2055 |
msgid "Plugin on WordPress.org"
|
2056 |
msgstr ""
|
2057 |
|
2058 |
+
#: backwpup-functions.php:99 backwpup-functions.php:258
|
2059 |
msgid "Donate"
|
2060 |
msgstr ""
|
2061 |
|
2062 |
+
#: backwpup-functions.php:100
|
2063 |
msgid "Flattr"
|
2064 |
msgstr ""
|
2065 |
|
2066 |
+
#: backwpup-functions.php:101
|
2067 |
msgid ""
|
2068 |
"BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you "
|
2069 |
"are welcome to redistribute it under certain conditions."
|
2070 |
msgstr ""
|
2071 |
|
2072 |
+
#: backwpup-functions.php:246
|
2073 |
msgid "Go to Settings Page"
|
2074 |
msgstr ""
|
2075 |
|
2076 |
+
#: backwpup-functions.php:320
|
2077 |
msgid "WP XML Export"
|
2078 |
msgstr ""
|
2079 |
|
2080 |
+
#: backwpup-functions.php:326
|
2081 |
msgid "Database Backup"
|
2082 |
msgstr ""
|
2083 |
|
2084 |
+
#: backwpup-functions.php:329
|
2085 |
msgid "Optimize Database Tables"
|
2086 |
msgstr ""
|
2087 |
|
2088 |
+
#: backwpup-functions.php:332
|
2089 |
msgid "Check Database Tables"
|
2090 |
msgstr ""
|
2091 |
|
2092 |
+
#: backwpup-functions.php:397
|
2093 |
msgid "View Log:"
|
2094 |
msgstr ""
|
2095 |
|
2096 |
+
#: backwpup-functions.php:429
|
2097 |
msgid "How many of the lastes logs would you like to display?"
|
2098 |
msgstr ""
|
2099 |
|
2100 |
+
#: backwpup-functions.php:455
|
2101 |
msgid "working since %d sec."
|
2102 |
msgstr ""
|
2103 |
|
2104 |
+
#: backwpup-functions.php:462
|
2105 |
msgid "Edit Job"
|
2106 |
msgstr ""
|
2107 |
|
2108 |
+
#: backwpup-functions.php:478
|
2109 |
msgid "BackWPup Aktive Jobs"
|
2110 |
msgstr ""
|
2111 |
|
2112 |
+
#: backwpup-functions.php:490
|
2113 |
msgid "See Working!"
|
2114 |
msgstr ""
|
2115 |
|
2116 |
+
#: backwpup-functions.php:494
|
2117 |
msgid "BackWPup Job"
|
2118 |
msgstr ""
|
2119 |
|
2120 |
+
#: backwpup-functions.php:703
|
2121 |
+
msgid "- WordPress %d or heiger is needed!"
|
2122 |
msgstr ""
|
2123 |
|
2124 |
+
#: backwpup-functions.php:707
|
2125 |
+
msgid "- PHP 5.2.4 or higher is needed!"
|
2126 |
msgstr ""
|
2127 |
|
2128 |
+
#: backwpup-functions.php:714
|
2129 |
+
msgid "- Log folder does not exists:"
|
2130 |
msgstr ""
|
2131 |
|
2132 |
+
#: backwpup-functions.php:717
|
2133 |
+
msgid "- Log folder is not writeable:"
|
2134 |
msgstr ""
|
2135 |
|
2136 |
+
#: backwpup-functions.php:720
|
2137 |
+
msgid "- Log folder is not in open_basedir path:"
|
2138 |
msgstr ""
|
2139 |
|
2140 |
+
#: backwpup-functions.php:726
|
2141 |
+
msgid "- Please check the scheduled time for the job:"
|
2142 |
msgstr ""
|
2143 |
|
2144 |
+
#: backwpup-functions.php:731
|
2145 |
+
msgid "- WP-Cron isn't working, please check it!"
|
2146 |
msgstr ""
|
2147 |
|
2148 |
+
#: backwpup-functions.php:784
|
2149 |
msgid "New"
|
2150 |
msgstr ""
|
2151 |
|
libs/aws/sdk.class.php
CHANGED
@@ -102,9 +102,9 @@ function __aws_sdk_ua_callback()
|
|
102 |
// INTERMEDIARY CONSTANTS
|
103 |
|
104 |
define('CFRUNTIME_NAME', 'aws-sdk-php');
|
105 |
-
define('CFRUNTIME_VERSION', '1.3.
|
106 |
// define('CFRUNTIME_BUILD', gmdate('YmdHis', filemtime(__FILE__))); // @todo: Hardcode for release.
|
107 |
-
define('CFRUNTIME_BUILD', '
|
108 |
define('CFRUNTIME_USERAGENT', CFRUNTIME_NAME . '/' . CFRUNTIME_VERSION . ' PHP/' . PHP_VERSION . ' ' . php_uname('s') . '/' . php_uname('r') . ' Arch/' . php_uname('m') . ' SAPI/' . php_sapi_name() . ' Integer/' . PHP_INT_MAX . ' Build/' . CFRUNTIME_BUILD . __aws_sdk_ua_callback());
|
109 |
|
110 |
|
102 |
// INTERMEDIARY CONSTANTS
|
103 |
|
104 |
define('CFRUNTIME_NAME', 'aws-sdk-php');
|
105 |
+
define('CFRUNTIME_VERSION', '1.3.7');
|
106 |
// define('CFRUNTIME_BUILD', gmdate('YmdHis', filemtime(__FILE__))); // @todo: Hardcode for release.
|
107 |
+
define('CFRUNTIME_BUILD', '20110725055831');
|
108 |
define('CFRUNTIME_USERAGENT', CFRUNTIME_NAME . '/' . CFRUNTIME_VERSION . ' PHP/' . PHP_VERSION . ' ' . php_uname('s') . '/' . php_uname('r') . ' Arch/' . php_uname('m') . ' SAPI/' . php_sapi_name() . ' Integer/' . PHP_INT_MAX . ' Build/' . CFRUNTIME_BUILD . __aws_sdk_ua_callback());
|
109 |
|
110 |
|
libs/aws/services/as.class.php
CHANGED
@@ -38,7 +38,7 @@
|
|
38 |
* href="http://docs.amazonwebservices.com/general/latest/gr/index.html?rande.html">Regions and Endpoints</a> in the Amazon Web Services
|
39 |
* General Reference.
|
40 |
*
|
41 |
-
* @version
|
42 |
* @license See the included NOTICE.md file for complete information.
|
43 |
* @copyright See the included NOTICE.md file for complete information.
|
44 |
* @link http://aws.amazon.com/autoscaling/Amazon Auto-Scaling
|
@@ -140,8 +140,10 @@ class AmazonAS extends CFRuntime
|
|
140 |
*
|
141 |
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling Group.
|
142 |
* @param string $scheduled_action_name (Required) The name of this scaling action.
|
143 |
-
* @param string $time (Required) The time for this action to start. Accepts any value that <php:strtotime()> understands.
|
144 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
|
|
|
|
|
|
145 |
* <li><code>MinSize</code> - <code>integer</code> - Optional - The minimum size for the new Auto Scaling group. </li>
|
146 |
* <li><code>MaxSize</code> - <code>integer</code> - Optional - The maximum size for the Auto Scaling group. </li>
|
147 |
* <li><code>DesiredCapacity</code> - <code>integer</code> - Optional - The number of EC2 instances that should be running in the group. </li>
|
@@ -149,12 +151,23 @@ class AmazonAS extends CFRuntime
|
|
149 |
* <li><code>returnCurlHandle</code> - <code>boolean</code> - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.</li></ul>
|
150 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
151 |
*/
|
152 |
-
public function put_scheduled_update_group_action($auto_scaling_group_name, $scheduled_action_name, $
|
153 |
{
|
154 |
if (!$opt) $opt = array();
|
155 |
$opt['AutoScalingGroupName'] = $auto_scaling_group_name;
|
156 |
$opt['ScheduledActionName'] = $scheduled_action_name;
|
157 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
|
159 |
return $this->authenticate('PutScheduledUpdateGroupAction', $opt, $this->hostname);
|
160 |
}
|
38 |
* href="http://docs.amazonwebservices.com/general/latest/gr/index.html?rande.html">Regions and Endpoints</a> in the Amazon Web Services
|
39 |
* General Reference.
|
40 |
*
|
41 |
+
* @version Wed Jul 20 13:14:36 PDT 2011
|
42 |
* @license See the included NOTICE.md file for complete information.
|
43 |
* @copyright See the included NOTICE.md file for complete information.
|
44 |
* @link http://aws.amazon.com/autoscaling/Amazon Auto-Scaling
|
140 |
*
|
141 |
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling Group.
|
142 |
* @param string $scheduled_action_name (Required) The name of this scaling action.
|
|
|
143 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
144 |
+
* <li><code>Time</code> - <code>string</code> - Optional - The time for this action to start. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
|
145 |
+
* <li><code>EndTime</code> - <code>string</code> - Optional - May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
|
146 |
+
* <li><code>Recurrence</code> - <code>string</code> - Optional - </li>
|
147 |
* <li><code>MinSize</code> - <code>integer</code> - Optional - The minimum size for the new Auto Scaling group. </li>
|
148 |
* <li><code>MaxSize</code> - <code>integer</code> - Optional - The maximum size for the Auto Scaling group. </li>
|
149 |
* <li><code>DesiredCapacity</code> - <code>integer</code> - Optional - The number of EC2 instances that should be running in the group. </li>
|
151 |
* <li><code>returnCurlHandle</code> - <code>boolean</code> - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.</li></ul>
|
152 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
153 |
*/
|
154 |
+
public function put_scheduled_update_group_action($auto_scaling_group_name, $scheduled_action_name, $opt = null)
|
155 |
{
|
156 |
if (!$opt) $opt = array();
|
157 |
$opt['AutoScalingGroupName'] = $auto_scaling_group_name;
|
158 |
$opt['ScheduledActionName'] = $scheduled_action_name;
|
159 |
+
|
160 |
+
// Optional parameter
|
161 |
+
if (isset($opt['Time']))
|
162 |
+
{
|
163 |
+
$opt['Time'] = $this->util->convert_date_to_iso8601($opt['Time']);
|
164 |
+
}
|
165 |
+
|
166 |
+
// Optional parameter
|
167 |
+
if (isset($opt['EndTime']))
|
168 |
+
{
|
169 |
+
$opt['EndTime'] = $this->util->convert_date_to_iso8601($opt['EndTime']);
|
170 |
+
}
|
171 |
|
172 |
return $this->authenticate('PutScheduledUpdateGroupAction', $opt, $this->hostname);
|
173 |
}
|
libs/aws/services/s3.class.php
CHANGED
@@ -2370,6 +2370,7 @@ class AmazonS3 extends CFRuntime
|
|
2370 |
* <li><code>method</code> - <code>string</code> - Optional - The HTTP method to use for the request. Defaults to a value of <code>GET</code>.</li>
|
2371 |
* <li><code>response</code> - <code>array</code> - Optional - Allows adjustments to specific response headers. Pass an associative array where each key is one of the following: <code>cache-control</code>, <code>content-disposition</code>, <code>content-encoding</code>, <code>content-language</code>, <code>content-type</code>, <code>expires</code>. The <code>expires</code> value should use <php:gmdate()> and be formatted with the <code>DATE_RFC2822</code> constant.</li>
|
2372 |
* <li><code>torrent</code> - <code>boolean</code> - Optional - A value of <code>true</code> will return a URL to a torrent of the Amazon S3 object. A value of <code>false</code> will return a non-torrent URL. Defaults to <code>false</code>.</li>
|
|
|
2373 |
* <li><code>returnCurlHandle</code> - <code>boolean</code> - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.</li></ul>
|
2374 |
* @return string The file URL, with authentication and/or torrent parameters if requested.
|
2375 |
* @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/S3_QSAuth.html Using Query String Authentication
|
2370 |
* <li><code>method</code> - <code>string</code> - Optional - The HTTP method to use for the request. Defaults to a value of <code>GET</code>.</li>
|
2371 |
* <li><code>response</code> - <code>array</code> - Optional - Allows adjustments to specific response headers. Pass an associative array where each key is one of the following: <code>cache-control</code>, <code>content-disposition</code>, <code>content-encoding</code>, <code>content-language</code>, <code>content-type</code>, <code>expires</code>. The <code>expires</code> value should use <php:gmdate()> and be formatted with the <code>DATE_RFC2822</code> constant.</li>
|
2372 |
* <li><code>torrent</code> - <code>boolean</code> - Optional - A value of <code>true</code> will return a URL to a torrent of the Amazon S3 object. A value of <code>false</code> will return a non-torrent URL. Defaults to <code>false</code>.</li>
|
2373 |
+
* <li><code>versionId</code> - <code>string</code> - Optional - The version of the object. Version IDs are returned in the <code>x-amz-version-id</code> header of any previous object-related request.</li>
|
2374 |
* <li><code>returnCurlHandle</code> - <code>boolean</code> - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.</li></ul>
|
2375 |
* @return string The file URL, with authentication and/or torrent parameters if requested.
|
2376 |
* @link http://docs.amazonwebservices.com/AmazonS3/latest/dev/S3_QSAuth.html Using Query String Authentication
|
libs/aws/services/sdb.class.php
CHANGED
@@ -31,7 +31,7 @@
|
|
31 |
*
|
32 |
* Visit <a href="http://aws.amazon.com/simpledb/">http://aws.amazon.com/simpledb/</a> for more information.
|
33 |
*
|
34 |
-
* @version
|
35 |
* @license See the included NOTICE.md file for complete information.
|
36 |
* @copyright See the included NOTICE.md file for complete information.
|
37 |
* @link http://aws.amazon.com/simpledb/Amazon SimpleDB
|
@@ -276,7 +276,7 @@ class AmazonSDB extends CFRuntime
|
|
276 |
* The PutAttributes operation creates or replaces attributes in an item.
|
277 |
*
|
278 |
* A single item can have the attributes <code>{ "first_name", "first_value" }</code> and
|
279 |
-
* <code>{ "first_name", second_value" }</code>. However, it cannot have two attribute instances where
|
280 |
* both the attribute name and attribute value are the same. Optionally, the requestor can supply the
|
281 |
* <code>Replace</code> parameter for each individual attribute. Setting this value to true causes the
|
282 |
* new attribute value to replace the existing attribute value(s).
|
@@ -366,12 +366,13 @@ class AmazonSDB extends CFRuntime
|
|
366 |
* @param array $item_keypairs (Required) Associative array of parameters which are treated as item-key-value and item-key-multivalue pairs (i.e. a key can have one or more values; think tags). <ul>
|
367 |
* <li><code>[item]</code> - <code>array</code> - Set the custom item name as the key for this value.<ul>
|
368 |
* <li><code>[key]</code> - <code>array</code> - Set the custom key name as the key for this value. For the value, pass a string for a single value, or an indexed array for multiple values.</li>
|
369 |
-
* </ul></li
|
|
|
370 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
371 |
* <li><code>Item</code> - <code>array</code> - Optional - A list of items on which to perform the operation. <ul>
|
372 |
* <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
|
373 |
-
* <li><code>ItemName</code> - <code>string</code> - Optional - This is the parameter format supported by the web service API. This is the item name to use
|
374 |
-
* <li><code>Attribute</code> - <code>array</code> - Optional - This is the parameter format supported by the web service API. This is the attribute node
|
375 |
* <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
|
376 |
* <li><code>Name</code> - <code>string</code> - Required - The name of the attribute. </li>
|
377 |
* <li><code>AlternateNameEncoding</code> - <code>string</code> - Optional - This is the parameter format supported by the web service API. This is the alternate name encoding to use.</li>
|
@@ -598,15 +599,16 @@ class AmazonSDB extends CFRuntime
|
|
598 |
*
|
599 |
* @param string $domain_name (Required) The name of the domain in which the attributes are being deleted.
|
600 |
* @param array $item_keypairs (Required) Associative array of parameters which are treated as item-key-value and item-key-multivalue pairs (i.e. a key can have one or more values; think tags). <ul>
|
601 |
-
* <li><code>[item]</code> - <code>array</code> - Set the custom item name as the key for this value
|
602 |
* <li><code>[key]</code> - <code>array</code> - Set the custom key name as the key for this value. For the value, pass a string for a single value, or an indexed array for multiple values.</li>
|
603 |
-
* </ul></li
|
|
|
604 |
* @param boolean|array $replace (Optional) Whether to replace a key-value pair if a matching key already exists. Supports either a boolean (which affects ALL key-value pairs) or an indexed array of key names (which affects only the keys specified). Defaults to boolean <code>false</code>.
|
605 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
606 |
* <li><code>Item</code> - <code>array</code> - Optional - A list of items on which to perform the operation. <ul>
|
607 |
* <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
|
608 |
-
* <li><code>ItemName</code> - <code>string</code> - Optional - This is the parameter format supported by the web service API. This is the item name to use
|
609 |
-
* <li><code>Attribute</code> - <code>array</code> - Optional - This is the parameter format supported by the web service API. This is the attribute node
|
610 |
* <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
|
611 |
* <li><code>Name</code> - <code>string</code> - Required - The name of the attribute. </li>
|
612 |
* <li><code>AlternateNameEncoding</code> - <code>string</code> - Optional - This is the parameter format supported by the web service API. This is the alternate name encoding to use.</li>
|
31 |
*
|
32 |
* Visit <a href="http://aws.amazon.com/simpledb/">http://aws.amazon.com/simpledb/</a> for more information.
|
33 |
*
|
34 |
+
* @version Wed Jul 20 13:20:46 PDT 2011
|
35 |
* @license See the included NOTICE.md file for complete information.
|
36 |
* @copyright See the included NOTICE.md file for complete information.
|
37 |
* @link http://aws.amazon.com/simpledb/Amazon SimpleDB
|
276 |
* The PutAttributes operation creates or replaces attributes in an item.
|
277 |
*
|
278 |
* A single item can have the attributes <code>{ "first_name", "first_value" }</code> and
|
279 |
+
* <code>{ "first_name", "second_value" }</code>. However, it cannot have two attribute instances where
|
280 |
* both the attribute name and attribute value are the same. Optionally, the requestor can supply the
|
281 |
* <code>Replace</code> parameter for each individual attribute. Setting this value to true causes the
|
282 |
* new attribute value to replace the existing attribute value(s).
|
366 |
* @param array $item_keypairs (Required) Associative array of parameters which are treated as item-key-value and item-key-multivalue pairs (i.e. a key can have one or more values; think tags). <ul>
|
367 |
* <li><code>[item]</code> - <code>array</code> - Set the custom item name as the key for this value.<ul>
|
368 |
* <li><code>[key]</code> - <code>array</code> - Set the custom key name as the key for this value. For the value, pass a string for a single value, or an indexed array for multiple values.</li>
|
369 |
+
* </ul></li>
|
370 |
+
* </ul>
|
371 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
372 |
* <li><code>Item</code> - <code>array</code> - Optional - A list of items on which to perform the operation. <ul>
|
373 |
* <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
|
374 |
+
* <li><code>ItemName</code> - <code>string</code> - Optional - This is the parameter format supported by the web service API. This is the item name to use.</li>
|
375 |
+
* <li><code>Attribute</code> - <code>array</code> - Optional - This is the parameter format supported by the web service API. This is the attribute node. <ul>
|
376 |
* <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
|
377 |
* <li><code>Name</code> - <code>string</code> - Required - The name of the attribute. </li>
|
378 |
* <li><code>AlternateNameEncoding</code> - <code>string</code> - Optional - This is the parameter format supported by the web service API. This is the alternate name encoding to use.</li>
|
599 |
*
|
600 |
* @param string $domain_name (Required) The name of the domain in which the attributes are being deleted.
|
601 |
* @param array $item_keypairs (Required) Associative array of parameters which are treated as item-key-value and item-key-multivalue pairs (i.e. a key can have one or more values; think tags). <ul>
|
602 |
+
* <li><code>[item]</code> - <code>array</code> - Set the custom item name as the key for this value. <ul>
|
603 |
* <li><code>[key]</code> - <code>array</code> - Set the custom key name as the key for this value. For the value, pass a string for a single value, or an indexed array for multiple values.</li>
|
604 |
+
* </ul></li>
|
605 |
+
* </ul>
|
606 |
* @param boolean|array $replace (Optional) Whether to replace a key-value pair if a matching key already exists. Supports either a boolean (which affects ALL key-value pairs) or an indexed array of key names (which affects only the keys specified). Defaults to boolean <code>false</code>.
|
607 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
608 |
* <li><code>Item</code> - <code>array</code> - Optional - A list of items on which to perform the operation. <ul>
|
609 |
* <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
|
610 |
+
* <li><code>ItemName</code> - <code>string</code> - Optional - This is the parameter format supported by the web service API. This is the item name to use.</li>
|
611 |
+
* <li><code>Attribute</code> - <code>array</code> - Optional - This is the parameter format supported by the web service API. This is the attribute node. <ul>
|
612 |
* <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
|
613 |
* <li><code>Name</code> - <code>string</code> - Required - The name of the attribute. </li>
|
614 |
* <li><code>AlternateNameEncoding</code> - <code>string</code> - Optional - This is the parameter format supported by the web service API. This is the alternate name encoding to use.</li>
|
libs/aws/services/sqs.class.php
CHANGED
@@ -28,7 +28,7 @@
|
|
28 |
*
|
29 |
* Visit <a href="http://aws.amazon.com/sqs/">http://aws.amazon.com/sqs/</a> for more information.
|
30 |
*
|
31 |
-
* @version
|
32 |
* @license See the included NOTICE.md file for complete information.
|
33 |
* @copyright See the included NOTICE.md file for complete information.
|
34 |
* @link http://aws.amazon.com/sqs/Amazon Simple Queue Service
|
@@ -390,6 +390,8 @@ class AmazonSQS extends CFRuntime
|
|
390 |
* This action unconditionally deletes the queue specified by the queue URL. Use this operation WITH CARE! The queue is deleted even if it is
|
391 |
* NOT empty.
|
392 |
*
|
|
|
|
|
393 |
* @param string $queue_url (Required) The URL of the SQS queue to take action on.
|
394 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
395 |
* <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <code>curl_setopt()</code>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
|
28 |
*
|
29 |
* Visit <a href="http://aws.amazon.com/sqs/">http://aws.amazon.com/sqs/</a> for more information.
|
30 |
*
|
31 |
+
* @version Wed Jul 20 13:21:47 PDT 2011
|
32 |
* @license See the included NOTICE.md file for complete information.
|
33 |
* @copyright See the included NOTICE.md file for complete information.
|
34 |
* @link http://aws.amazon.com/sqs/Amazon Simple Queue Service
|
390 |
* This action unconditionally deletes the queue specified by the queue URL. Use this operation WITH CARE! The queue is deleted even if it is
|
391 |
* NOT empty.
|
392 |
*
|
393 |
+
* Once a queue has been deleted, the queue name is unavailable for use with new queues for 60 seconds.
|
394 |
+
*
|
395 |
* @param string $queue_url (Required) The URL of the SQS queue to take action on.
|
396 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
397 |
* <li><code>curlopts</code> - <code>array</code> - Optional - A set of values to pass directly into <code>curl_setopt()</code>, where the key is a pre-defined <code>CURLOPT_*</code> constant.</li>
|
libs/class.http.php
CHANGED
@@ -212,6 +212,8 @@ class Http
|
|
212 |
* @todo will keep debug messages
|
213 |
*/
|
214 |
var $debugMsg;
|
|
|
|
|
215 |
|
216 |
/**
|
217 |
* Constructor for initializing the class with default values.
|
@@ -563,6 +565,13 @@ class Http
|
|
563 |
{
|
564 |
return $this->error;
|
565 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
566 |
|
567 |
/**
|
568 |
* Execute a HTTP request
|
@@ -688,6 +697,7 @@ class Http
|
|
688 |
// Basic Authentication configuration
|
689 |
if ($this->username && $this->password)
|
690 |
{
|
|
|
691 |
curl_setopt($ch, CURLOPT_USERPWD, $this->username . ':' . $this->password);
|
692 |
}
|
693 |
|
@@ -697,6 +707,12 @@ class Http
|
|
697 |
curl_setopt ($ch, CURLOPT_COOKIE, $cookieString);
|
698 |
}
|
699 |
|
|
|
|
|
|
|
|
|
|
|
|
|
700 |
curl_setopt($ch, CURLOPT_HEADER, TRUE); // No need of headers
|
701 |
curl_setopt($ch, CURLOPT_NOBODY, FALSE); // Return body
|
702 |
|
@@ -894,14 +910,14 @@ class Http
|
|
894 |
if($this->status == 0)
|
895 |
{
|
896 |
// Oooops !
|
897 |
-
if(!
|
898 |
{
|
899 |
-
$this->_setError('Unexpected HTTP response status');
|
900 |
return FALSE;
|
901 |
}
|
902 |
|
903 |
// Gotcha!
|
904 |
-
$this->status = $matches[
|
905 |
array_shift($headers);
|
906 |
}
|
907 |
|
212 |
* @todo will keep debug messages
|
213 |
*/
|
214 |
var $debugMsg;
|
215 |
+
|
216 |
+
protected $ProgressFunction = false;
|
217 |
|
218 |
/**
|
219 |
* Constructor for initializing the class with default values.
|
565 |
{
|
566 |
return $this->error;
|
567 |
}
|
568 |
+
|
569 |
+
public function setProgressFunction($function) {
|
570 |
+
if (function_exists($function))
|
571 |
+
$this->ProgressFunction = $function;
|
572 |
+
else
|
573 |
+
$this->ProgressFunction = false;
|
574 |
+
}
|
575 |
|
576 |
/**
|
577 |
* Execute a HTTP request
|
697 |
// Basic Authentication configuration
|
698 |
if ($this->username && $this->password)
|
699 |
{
|
700 |
+
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
|
701 |
curl_setopt($ch, CURLOPT_USERPWD, $this->username . ':' . $this->password);
|
702 |
}
|
703 |
|
707 |
curl_setopt ($ch, CURLOPT_COOKIE, $cookieString);
|
708 |
}
|
709 |
|
710 |
+
if (defined('CURLOPT_PROGRESSFUNCTION') and !empty($this->ProgressFunction)) {
|
711 |
+
curl_setopt($ch, CURLOPT_NOPROGRESS, false);
|
712 |
+
curl_setopt($ch, CURLOPT_PROGRESSFUNCTION, $this->ProgressFunction);
|
713 |
+
curl_setopt($ch, CURLOPT_BUFFERSIZE, 512);
|
714 |
+
}
|
715 |
+
|
716 |
curl_setopt($ch, CURLOPT_HEADER, TRUE); // No need of headers
|
717 |
curl_setopt($ch, CURLOPT_NOBODY, FALSE); // Return body
|
718 |
|
910 |
if($this->status == 0)
|
911 |
{
|
912 |
// Oooops !
|
913 |
+
if(!preg_match('~^HTTP/1\.\d (?P<status>\d+)~', $headers[0], $matches))
|
914 |
{
|
915 |
+
$this->_setError('Unexpected HTTP response status: '.$headers[0]);
|
916 |
return FALSE;
|
917 |
}
|
918 |
|
919 |
// Gotcha!
|
920 |
+
$this->status = $matches['status'];
|
921 |
array_shift($headers);
|
922 |
}
|
923 |
|
libs/googlestorage.php
DELETED
@@ -1,344 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Implements the Google Storage REST API
|
4 |
-
* @author Andries Mooij
|
5 |
-
* @author Slawomir Jasinski <slav123@gmail.com>
|
6 |
-
*
|
7 |
-
*
|
8 |
-
*/
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Provides access to Google Storage
|
12 |
-
* Relies on the unsurpassed CURL Extension and PHP >= 5.1.2 (because of hash_hmac)
|
13 |
-
* This class returns the HTTP Code directly on failure.
|
14 |
-
*
|
15 |
-
* On ACL Strings:
|
16 |
-
* - private<br>
|
17 |
-
* Gives the requester FULL_CONTROL permission for a bucket or object. This is the default ACL that's applied when you upload an object or create a bucket.
|
18 |
-
* - public-read<br>
|
19 |
-
* Gives the requester FULL_CONTROL permission and gives all anonymous users READ permission. When you apply this to an object, anyone on the Internet can read the object without authenticating.
|
20 |
-
* - public-read-write<br>
|
21 |
-
* Gives the requester FULL_CONTROL permission and gives all anonymous users READ and WRITE permission. This ACL applies only to buckets.
|
22 |
-
* - authenticated-read<br>
|
23 |
-
* Gives the requester FULL_CONTROL permission and gives all authenticated Google account holders READ permission.
|
24 |
-
* - bucket-owner-read<br>
|
25 |
-
* Gives the requester FULL_CONTROL permission and gives the bucket owner READ permission. This is used only with objects.
|
26 |
-
* - bucket-owner-full-control<br>
|
27 |
-
* Gives the requester FULL_CONTROL permission and gives the bucket owner FULL_CONTROL permission. This is used only with objects.
|
28 |
-
*
|
29 |
-
* @package Util
|
30 |
-
*/
|
31 |
-
class GoogleStorage {
|
32 |
-
/**
|
33 |
-
* Google Storage Access Key
|
34 |
-
* @access protected
|
35 |
-
* @var string
|
36 |
-
*/
|
37 |
-
protected $accessKey;
|
38 |
-
/**
|
39 |
-
* Google Storage Secret
|
40 |
-
* @access protected
|
41 |
-
* @var string
|
42 |
-
*/
|
43 |
-
protected $secret;
|
44 |
-
/**
|
45 |
-
* The Host for Google Storage. You can change this if you're using CNAME access.
|
46 |
-
* @access public
|
47 |
-
* @var string
|
48 |
-
*/
|
49 |
-
public static $host = "commondatastorage.googleapis.com";
|
50 |
-
/**
|
51 |
-
* Enables debugging mode. Breaks some stuff, but helps you figure out errors.
|
52 |
-
* @access protected
|
53 |
-
* @var bool
|
54 |
-
*/
|
55 |
-
protected $debug = false;
|
56 |
-
|
57 |
-
protected $ProgressFunction = false;
|
58 |
-
|
59 |
-
/**
|
60 |
-
* Creates a new Google Storage class
|
61 |
-
*
|
62 |
-
* @param string $accessKey
|
63 |
-
* @param string $secret
|
64 |
-
*/
|
65 |
-
public function __construct($accessKey, $secret) {
|
66 |
-
$this->accessKey = $accessKey;
|
67 |
-
$this->secret = $secret;
|
68 |
-
}
|
69 |
-
|
70 |
-
/**
|
71 |
-
* Lists your buckets.
|
72 |
-
*
|
73 |
-
* @return SimpleXMLElement|integer
|
74 |
-
*/
|
75 |
-
public function listBuckets() {
|
76 |
-
$ret = $this->curlExec(self::$host, "GET", "/");
|
77 |
-
return is_object($ret) ? $ret->Buckets->Bucket : $ret;
|
78 |
-
}
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
public function setProgressFunction($function) {
|
83 |
-
if (function_exists($function))
|
84 |
-
$this->ProgressFunction = $function;
|
85 |
-
else
|
86 |
-
$this->ProgressFunction = false;
|
87 |
-
}
|
88 |
-
|
89 |
-
/**
|
90 |
-
* Creates a bucket.
|
91 |
-
* Returns the HTTP Result Code.
|
92 |
-
*
|
93 |
-
* @param string $name
|
94 |
-
* @param string|SimpleXMLElement $acl
|
95 |
-
* @return integer
|
96 |
-
*/
|
97 |
-
public function createBucket($name, $acl = null) {
|
98 |
-
$body = $acl instanceof SimpleXMLElement ? (string)$acl : "";
|
99 |
-
if (is_string($acl) && strlen($acl)) {
|
100 |
-
$headers[] = "x-goog-acl: " . $acl;
|
101 |
-
}
|
102 |
-
return $this->curlExec($name . "." . self::$host, "PUT", "/", "", array(), $body);
|
103 |
-
}
|
104 |
-
|
105 |
-
/**
|
106 |
-
* Retrieves information about a bucket and it's contents.
|
107 |
-
*
|
108 |
-
* @param string $name
|
109 |
-
* @param string $prefix
|
110 |
-
* @param string $delimiter
|
111 |
-
* @param string $marker
|
112 |
-
* @param string $maxKeys
|
113 |
-
* @return SimpleXMLElement|integer
|
114 |
-
*/
|
115 |
-
public function getBucket($name, $prefix = "", $delimiter = "", $marker = "", $maxKeys = -1) {
|
116 |
-
$parameters = array();
|
117 |
-
if (strlen($prefix)) {
|
118 |
-
$parameters[] = "prefix=" . urlencode($prefix);
|
119 |
-
}
|
120 |
-
if (strlen($delimiter)) {
|
121 |
-
$parameters[] = "delimiter=" . urlencode($delimiter);
|
122 |
-
}
|
123 |
-
if (strlen($marker)) {
|
124 |
-
$parameters[] = "marker=" . urlencode($marker);
|
125 |
-
}
|
126 |
-
if ($maxKeys != -1) {
|
127 |
-
$parameters[] = "max-keys=" . $maxKeys;
|
128 |
-
}
|
129 |
-
$parameters = (count($parameters) ? "?" : "") . implode("&", $parameters);
|
130 |
-
|
131 |
-
$ret = $this->curlExec($name . "." . self::$host, "GET", "/", $parameters);
|
132 |
-
return is_object($ret) ? $ret->Contents : $ret;
|
133 |
-
}
|
134 |
-
|
135 |
-
/**
|
136 |
-
* Retrieves the ACL Settings for a bucket.
|
137 |
-
*
|
138 |
-
* @param string $name
|
139 |
-
* @return SimpleXMLElement|integer
|
140 |
-
*/
|
141 |
-
public function getBucketAcl($name) {
|
142 |
-
$ret = $this->curlExec($name . "." . self::$host, "GET", "/?acl");
|
143 |
-
return is_object($ret) ? $ret->AccessControlList : $ret;
|
144 |
-
}
|
145 |
-
|
146 |
-
/**
|
147 |
-
* Deletes an empty bucket. You can't delete non-empty buckets.
|
148 |
-
*
|
149 |
-
* @param string $name
|
150 |
-
* @return integer
|
151 |
-
*/
|
152 |
-
public function deleteBucket($name) {
|
153 |
-
return $this->curlExec($name . "." . self::$host, "DELETE", "/");
|
154 |
-
}
|
155 |
-
|
156 |
-
/**
|
157 |
-
* Stores a file in an object.
|
158 |
-
*
|
159 |
-
* @param string $bucket
|
160 |
-
* @param string $name
|
161 |
-
* @param string $file
|
162 |
-
* @param string $aclString
|
163 |
-
* @return integer
|
164 |
-
*/
|
165 |
-
public function putObject($bucket, $name, $content, $aclString = NULL, $mimeType = NULL) {
|
166 |
-
$headers = array();
|
167 |
-
|
168 |
-
if (function_exists('finfo_open') and !empty($mimeType)) {
|
169 |
-
$finfo = finfo_open(FILEINFO_MIME_TYPE);
|
170 |
-
$headers[]= 'Content-Type: ' .finfo_file($finfo, $file);
|
171 |
-
finfo_close($finfo);
|
172 |
-
} else {
|
173 |
-
$headers[]= 'Content-Type: '.$mimeType;
|
174 |
-
}
|
175 |
-
|
176 |
-
if (strlen($aclString)) {
|
177 |
-
$headers[] = "x-goog-acl: " . $aclString;
|
178 |
-
}
|
179 |
-
|
180 |
-
return $this->curlExec($bucket . "." . self::$host, "PUT", "/" . $name, "", $headers, $content);
|
181 |
-
}
|
182 |
-
|
183 |
-
/**
|
184 |
-
* Retrieves an object.
|
185 |
-
*
|
186 |
-
* @param string $bucket
|
187 |
-
* @param string $name
|
188 |
-
* @return string
|
189 |
-
*/
|
190 |
-
public function getObject($bucket, $name) {
|
191 |
-
return $this->curlExec($bucket . "." . self::$host, "GET", "/" . $name);
|
192 |
-
}
|
193 |
-
|
194 |
-
/**
|
195 |
-
* Deletes an object.
|
196 |
-
*
|
197 |
-
* @param string $bucket
|
198 |
-
* @param string $name
|
199 |
-
* @return integer
|
200 |
-
*/
|
201 |
-
public function deleteObject($bucket, $name) {
|
202 |
-
return $this->curlExec($bucket . "." . self::$host, "DELETE", "/" . $name);
|
203 |
-
}
|
204 |
-
|
205 |
-
/**
|
206 |
-
* CURL Helper function. Does all the work.
|
207 |
-
*
|
208 |
-
* @param string $host
|
209 |
-
* @param string $method
|
210 |
-
* @param string $scope
|
211 |
-
* @param string $parameters
|
212 |
-
* @param array $headers
|
213 |
-
* @param string $body
|
214 |
-
* @return SimpleXMLElement|integer|string
|
215 |
-
*/
|
216 |
-
protected function curlExec($host, $method, $scope, $parameters = "", $headers = array(), $body = "") {
|
217 |
-
$headers[] = 'Date: ' . date("r");
|
218 |
-
$headers[] = 'Host: ' . $host;
|
219 |
-
//$headers[] = 'x-goog-api-version: 2';
|
220 |
-
|
221 |
-
$ch = curl_init();
|
222 |
-
curl_setopt($ch, CURLOPT_URL, $host . "." . $scope . $parameters);
|
223 |
-
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
224 |
-
if ($method == "POST") {
|
225 |
-
$headers[] = 'Content-Length: ' . strlen($body);
|
226 |
-
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
|
227 |
-
}
|
228 |
-
elseif ($method == "PUT") {
|
229 |
-
if (is_file($body) and is_readable($body)) {
|
230 |
-
$headers[]='Content-Length: ' .filesize($body);
|
231 |
-
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
|
232 |
-
$datafilefd=fopen($body,'r');
|
233 |
-
curl_setopt($ch, CURLOPT_PUT,true);
|
234 |
-
curl_setopt($ch, CURLOPT_INFILE,$datafilefd);
|
235 |
-
curl_setopt($ch, CURLOPT_INFILESIZE,filesize($body));
|
236 |
-
} else {
|
237 |
-
$headers[]='Content-Length: ' .strlen($body);
|
238 |
-
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
|
239 |
-
curl_setopt($ch, CURLOPT_PUT,true);
|
240 |
-
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
|
241 |
-
}
|
242 |
-
if (function_exists($this->ProgressFunction) and defined('CURLOPT_PROGRESSFUNCTION')) {
|
243 |
-
curl_setopt($ch, CURLOPT_NOPROGRESS, false);
|
244 |
-
curl_setopt($ch, CURLOPT_PROGRESSFUNCTION, $this->ProgressFunction);
|
245 |
-
curl_setopt($ch, CURLOPT_BUFFERSIZE, 512);
|
246 |
-
}
|
247 |
-
}
|
248 |
-
else {
|
249 |
-
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
|
250 |
-
}
|
251 |
-
$subdomain = str_replace(array(self::$host, "."), array("", ""), $host);
|
252 |
-
$subdomain = strlen($subdomain) ? ("/" . $subdomain) : "";
|
253 |
-
$headers[] = $this->getAuthorizationHeader($method, $subdomain . $scope, $headers);
|
254 |
-
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
255 |
-
if ($this->debug) {
|
256 |
-
curl_setopt($ch, CURLOPT_HEADER, true);
|
257 |
-
}
|
258 |
-
$ret = curl_exec($ch);
|
259 |
-
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
|
260 |
-
if ($this->debug) {
|
261 |
-
echo "<pre>" . $code . "\n" . $ret . "</pre>";
|
262 |
-
}
|
263 |
-
if (false !== stripos(curl_getinfo($ch, CURLINFO_CONTENT_TYPE),'xml'))
|
264 |
-
$ret=simplexml_load_string($ret);
|
265 |
-
//var_dump($ret);
|
266 |
-
if ($code >= 200 and $code<300) {
|
267 |
-
return $ret;
|
268 |
-
}
|
269 |
-
else {
|
270 |
-
return $code.' '.$ret->Message;
|
271 |
-
}
|
272 |
-
}
|
273 |
-
|
274 |
-
/**
|
275 |
-
* Creates the Authorization-header in the GOOG1 format.
|
276 |
-
*
|
277 |
-
* @param string $method
|
278 |
-
* @param string $resource
|
279 |
-
* @param array $headers
|
280 |
-
* @return string
|
281 |
-
*/
|
282 |
-
protected function getAuthorizationHeader($method, $resource, $headers) {
|
283 |
-
/*
|
284 |
-
CanonicalHeaders = HTTP-Verb + "\n" +
|
285 |
-
Content-MD5 + "\n" +
|
286 |
-
Content-Type + "\n" +
|
287 |
-
Date + "\n"
|
288 |
-
*/
|
289 |
-
$canonicalHeaders = $method . "\n";
|
290 |
-
$md5 = preg_grep("/^Content-MD5\s*:/i", $headers);
|
291 |
-
if (count($md5)) {
|
292 |
-
list($name, $content) = explode(": ", current($md5));
|
293 |
-
$canonicalHeaders .= $content . "\n";
|
294 |
-
}
|
295 |
-
else {
|
296 |
-
$canonicalHeaders .= "\n";
|
297 |
-
}
|
298 |
-
$contentType = preg_grep("/^Content-Type\s*:/i", $headers);
|
299 |
-
if (count($contentType)) {
|
300 |
-
list($name, $content) = explode(": ", current($contentType));
|
301 |
-
$canonicalHeaders .= $content . "\n";
|
302 |
-
}
|
303 |
-
else {
|
304 |
-
$canonicalHeaders .= "\n";
|
305 |
-
}
|
306 |
-
$date = preg_grep("/^Date\s*:/i", $headers);
|
307 |
-
if (count($date)) {
|
308 |
-
list($name, $content) = explode(": ", current($date));
|
309 |
-
$canonicalHeaders .= $content . "\n";
|
310 |
-
}
|
311 |
-
else {
|
312 |
-
$canonicalHeaders .= "\n";
|
313 |
-
}
|
314 |
-
|
315 |
-
/*
|
316 |
-
You construct the CanonicalExtensionHeaders portion of the message by concatenating all extension (custom) headers that begin with x-goog-. However, you cannot perform a simple concatenation. You must concatenate the headers using the following process:
|
317 |
-
- Make all custom header names lowercase.
|
318 |
-
- Sort all custom headers lexicographically by header name.
|
319 |
-
- Eliminate duplicate header names by creating one header name with a comma-separated list of values. Be sure there is no whitespace between the values and be sure that the order of the comma-separated list matches the order that the headers appear in your request. For more information, see RFC 2616 section 4.2.
|
320 |
-
- Replace any folding whitespace or newlines (CRLF or LF) with a single space. For more information about folding whitespace, see RFC 2822 section 2.2.3.
|
321 |
-
- Remove any whitespace around the colon that appears after the header name.
|
322 |
-
- Append a newline (U+000A) to each custom header.
|
323 |
-
- Concatenate all custom headers.
|
324 |
-
- It's important to note that you use both the header name and the header value when you construct the CanonicalExtensionHeaders portion of the message. This is different than the CanonicalHeaders portion of the message, which used only header values.
|
325 |
-
*/
|
326 |
-
|
327 |
-
$customHeaders = preg_grep("/^x-goog-/i", $headers);
|
328 |
-
$customHeaders = preg_replace("/^(x-goog-[^:]+)\s*:\s*/ie", "strtolower('$1:')", $customHeaders);
|
329 |
-
sort($customHeaders, SORT_STRING);
|
330 |
-
$customHeaders = preg_replace("/\r\n(\s)/s", "$1", $customHeaders);
|
331 |
-
$customHeaders = implode(",", $customHeaders) . (count($customHeaders) ? "\n" : "");
|
332 |
-
|
333 |
-
/*
|
334 |
-
Signature = Base64-Encoding-Of(HMAC-SHA1(UTF-8-Encoding-Of(YourGoogleStorageSecretKey, MessageToBeSigned)))
|
335 |
-
|
336 |
-
To create the signature you use a cryptographic hash function known as HMAC-SHA1. HMAC-SHA1 is a hash-based message authentication code (MAC) and is described in RFC 2104. It requires two input parameters, both UTF-8 encoded: a key and a message. You use your Google Storage secret as the key. You must construct the message by concatenating specific HTTP headers in a specific order.
|
337 |
-
The message that you sign is a UTF-8 encoded byte string. The following pseudocode notation shows how to construct this byte string:
|
338 |
-
|
339 |
-
MessageToBeSigned = UTF-8-Encoding-Of(CanonicalHeaders + CanonicalExtensionHeaders + CanonicalResource)
|
340 |
-
*/
|
341 |
-
return "Authorization: GOOG1 " . $this->accessKey . ":" . base64_encode(hash_hmac("sha1", $canonicalHeaders . $customHeaders . $resource, $this->secret, true));
|
342 |
-
}
|
343 |
-
|
344 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pages/func_backwpup.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
include_once( trailingslashit(ABSPATH).'wp-admin/includes/class-wp-list-table.php');
|
9 |
|
10 |
class BackWPup_Jobs_Table extends WP_List_Table {
|
@@ -195,6 +189,7 @@ function backwpup_calc_file_size($jobvalues) {
|
|
195 |
$backwpup_temp_files=array('size'=>0,'num'=>0);
|
196 |
//Exclude Files
|
197 |
$backwpup_exclude=explode(',',trim($jobvalues['fileexclude']));
|
|
|
198 |
$backwpup_exclude=array_unique($backwpup_exclude);
|
199 |
|
200 |
//File list for blog folders
|
@@ -236,7 +231,7 @@ function backwpup_show_info_td() {
|
|
236 |
$dbsize=array('size'=>0,'num'=>0,'rows'=>0);
|
237 |
$status=$wpdb->get_results("SHOW TABLE STATUS FROM `".DB_NAME."`;", ARRAY_A);
|
238 |
foreach($status as $tablekey => $tablevalue) {
|
239 |
-
if (in_array($tablevalue['Name'],$jobvalue['
|
240 |
$dbsize['size']=$dbsize['size']+$tablevalue["Data_length"]+$tablevalue["Index_length"];
|
241 |
$dbsize['num']++;
|
242 |
$dbsize['rows']=$dbsize['rows']+$tablevalue["Rows"];
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
include_once( trailingslashit(ABSPATH).'wp-admin/includes/class-wp-list-table.php');
|
3 |
|
4 |
class BackWPup_Jobs_Table extends WP_List_Table {
|
189 |
$backwpup_temp_files=array('size'=>0,'num'=>0);
|
190 |
//Exclude Files
|
191 |
$backwpup_exclude=explode(',',trim($jobvalues['fileexclude']));
|
192 |
+
$backwpup_exclude[]='.tmp'; //do not backup .tmp files
|
193 |
$backwpup_exclude=array_unique($backwpup_exclude);
|
194 |
|
195 |
//File list for blog folders
|
231 |
$dbsize=array('size'=>0,'num'=>0,'rows'=>0);
|
232 |
$status=$wpdb->get_results("SHOW TABLE STATUS FROM `".DB_NAME."`;", ARRAY_A);
|
233 |
foreach($status as $tablekey => $tablevalue) {
|
234 |
+
if (!in_array($tablevalue['Name'],$jobvalue['dbexclude'])) {
|
235 |
$dbsize['size']=$dbsize['size']+$tablevalue["Data_length"]+$tablevalue["Index_length"];
|
236 |
$dbsize['num']++;
|
237 |
$dbsize['rows']=$dbsize['rows']+$tablevalue["Rows"];
|
pages/func_backwpupbackups.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
include_once( trailingslashit(ABSPATH).'wp-admin/includes/class-wp-list-table.php');
|
9 |
|
10 |
class BackWPup_Backups_Table extends WP_List_Table {
|
@@ -310,7 +304,7 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
310 |
if ($object['is_dir']!=true) {
|
311 |
$files[$filecounter]['JOBID']=$jobid;
|
312 |
$files[$filecounter]['DEST']=$dest;
|
313 |
-
$files[$filecounter]['folder']="
|
314 |
$files[$filecounter]['file']=$object['path'];
|
315 |
$files[$filecounter]['filename']=basename($object['path']);
|
316 |
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=downloaddropbox&file='.$object['path'].'&jobid='.$jobid;
|
@@ -333,13 +327,14 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
333 |
try {
|
334 |
$sugarsync = new SugarSync($jobvalue['sugaruser'],base64_decode($jobvalue['sugarpass']),BACKWPUP_SUGARSYNC_ACCESSKEY, BACKWPUP_SUGARSYNC_PRIVATEACCESSKEY);
|
335 |
$dirid=$sugarsync->chdir($jobvalue['sugardir'],$jobvalue['sugarroot']);
|
|
|
336 |
$dir=$sugarsync->showdir($dirid);
|
337 |
$getfiles=$sugarsync->getcontents('file');
|
338 |
if (is_object($getfiles)) {
|
339 |
foreach ($getfiles->file as $getfile) {
|
340 |
$files[$filecounter]['JOBID']=$jobid;
|
341 |
$files[$filecounter]['DEST']=$dest;
|
342 |
-
$files[$filecounter]['folder']=
|
343 |
$files[$filecounter]['file']=(string)$getfile->ref;
|
344 |
$files[$filecounter]['filename']=utf8_decode((string) $getfile->displayName);
|
345 |
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=downloadsugarsync&file='.(string) $getfile->ref.'&jobid='.$jobid;
|
@@ -364,7 +359,7 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
364 |
foreach ($contents->body->Contents as $object) {
|
365 |
$files[$filecounter]['JOBID']=$jobid;
|
366 |
$files[$filecounter]['DEST']=$dest;
|
367 |
-
$files[$filecounter]['folder']="
|
368 |
$files[$filecounter]['file']=(string)$object->Key;
|
369 |
$files[$filecounter]['filename']=basename($object->Key);
|
370 |
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=downloads3&file='.$object->Key.'&jobid='.$jobid;
|
@@ -380,27 +375,28 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
380 |
}
|
381 |
//Get files/filinfo from Google Storage
|
382 |
if ($dest=='GSTORAGE' and !empty($jobvalue['GStorageAccessKey']) and !empty($jobvalue['GStorageSecret']) and !empty($jobvalue['GStorageBucket'])) {
|
383 |
-
if (!class_exists('
|
384 |
-
require_once(dirname(__FILE__).'/../libs/
|
385 |
-
if (class_exists('
|
386 |
try {
|
387 |
-
$
|
388 |
-
$
|
389 |
-
|
390 |
-
|
|
|
391 |
$files[$filecounter]['JOBID']=$jobid;
|
392 |
$files[$filecounter]['DEST']=$dest;
|
393 |
-
$files[$filecounter]['folder']="
|
394 |
$files[$filecounter]['file']=(string)$object->Key;
|
395 |
$files[$filecounter]['filename']=basename($object->Key);
|
396 |
-
$files[$filecounter]['downloadurl']=
|
397 |
$files[$filecounter]['filesize']=(string)$object->Size;
|
398 |
$files[$filecounter]['time']=strtotime($object->LastModified);
|
399 |
$filecounter++;
|
400 |
}
|
401 |
}
|
402 |
} catch (Exception $e) {
|
403 |
-
$backwpup_message.='
|
404 |
}
|
405 |
}
|
406 |
}
|
@@ -416,7 +412,7 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
416 |
foreach ($blobs as $blob) {
|
417 |
$files[$filecounter]['JOBID']=$jobid;
|
418 |
$files[$filecounter]['DEST']=$dest;
|
419 |
-
$files[$filecounter]['folder']="
|
420 |
$files[$filecounter]['file']=$blob->Name;
|
421 |
$files[$filecounter]['filename']=basename($blob->Name);
|
422 |
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=downloadmsazure&file='.$blob->Name.'&jobid='.$jobid;
|
@@ -462,15 +458,11 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
462 |
}
|
463 |
//Get files/filinfo from FTP
|
464 |
if ($dest=='FTP' and !empty($jobvalue['ftphost']) and function_exists('ftp_connect') and !empty($jobvalue['ftpuser']) and !empty($jobvalue['ftppass'])) {
|
465 |
-
$ftpport=21;
|
466 |
-
$ftphost=$jobvalue['ftphost'];
|
467 |
-
if (false !== strpos($jobvalue['ftphost'],':')) //look for port
|
468 |
-
list($ftphost,$ftpport)=explode(':',$jobvalue,2);
|
469 |
|
470 |
if (function_exists('ftp_ssl_connect') and $jobvalue['ftpssl']) { //make SSL FTP connection
|
471 |
-
$ftp_conn_id = ftp_ssl_connect($ftphost,$
|
472 |
} elseif (!$jobvalue['ftpssl']) { //make normal FTP conection if SSL not work
|
473 |
-
$ftp_conn_id = ftp_connect($ftphost,$
|
474 |
}
|
475 |
$loginok=false;
|
476 |
if ($ftp_conn_id) {
|
@@ -492,10 +484,10 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
492 |
continue;
|
493 |
$files[$filecounter]['JOBID']=$jobid;
|
494 |
$files[$filecounter]['DEST']=$dest;
|
495 |
-
$files[$filecounter]['folder']="
|
496 |
$files[$filecounter]['file']=$ftpfiles;
|
497 |
$files[$filecounter]['filename']=basename($ftpfiles);
|
498 |
-
$files[$filecounter]['downloadurl']="ftp://".rawurlencode($jobvalue['ftpuser']).":".rawurlencode(base64_decode($jobvalue['ftppass']))."@".$jobvalue['ftphost'].rawurlencode($ftpfiles);
|
499 |
$files[$filecounter]['filesize']=ftp_size($ftp_conn_id,$ftpfiles);
|
500 |
$files[$filecounter]['time']=ftp_mdtm($ftp_conn_id,$ftpfiles);
|
501 |
$filecounter++;
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
include_once( trailingslashit(ABSPATH).'wp-admin/includes/class-wp-list-table.php');
|
3 |
|
4 |
class BackWPup_Backups_Table extends WP_List_Table {
|
304 |
if ($object['is_dir']!=true) {
|
305 |
$files[$filecounter]['JOBID']=$jobid;
|
306 |
$files[$filecounter]['DEST']=$dest;
|
307 |
+
$files[$filecounter]['folder']="https://api-content.dropbox.com/0/files/".$jobvalue['droperoot']."/".dirname($object['path'])."/";
|
308 |
$files[$filecounter]['file']=$object['path'];
|
309 |
$files[$filecounter]['filename']=basename($object['path']);
|
310 |
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=downloaddropbox&file='.$object['path'].'&jobid='.$jobid;
|
327 |
try {
|
328 |
$sugarsync = new SugarSync($jobvalue['sugaruser'],base64_decode($jobvalue['sugarpass']),BACKWPUP_SUGARSYNC_ACCESSKEY, BACKWPUP_SUGARSYNC_PRIVATEACCESSKEY);
|
329 |
$dirid=$sugarsync->chdir($jobvalue['sugardir'],$jobvalue['sugarroot']);
|
330 |
+
$user=$sugarsync->user();
|
331 |
$dir=$sugarsync->showdir($dirid);
|
332 |
$getfiles=$sugarsync->getcontents('file');
|
333 |
if (is_object($getfiles)) {
|
334 |
foreach ($getfiles->file as $getfile) {
|
335 |
$files[$filecounter]['JOBID']=$jobid;
|
336 |
$files[$filecounter]['DEST']=$dest;
|
337 |
+
$files[$filecounter]['folder']='https://'.$user->nickname.'.sugarsync.com/'.$dir;
|
338 |
$files[$filecounter]['file']=(string)$getfile->ref;
|
339 |
$files[$filecounter]['filename']=utf8_decode((string) $getfile->displayName);
|
340 |
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=downloadsugarsync&file='.(string) $getfile->ref.'&jobid='.$jobid;
|
359 |
foreach ($contents->body->Contents as $object) {
|
360 |
$files[$filecounter]['JOBID']=$jobid;
|
361 |
$files[$filecounter]['DEST']=$dest;
|
362 |
+
$files[$filecounter]['folder']="https://".$jobvalue['awsBucket'].".s3.amazonaws.com/".dirname((string)$object->Key).'/';
|
363 |
$files[$filecounter]['file']=(string)$object->Key;
|
364 |
$files[$filecounter]['filename']=basename($object->Key);
|
365 |
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=downloads3&file='.$object->Key.'&jobid='.$jobid;
|
375 |
}
|
376 |
//Get files/filinfo from Google Storage
|
377 |
if ($dest=='GSTORAGE' and !empty($jobvalue['GStorageAccessKey']) and !empty($jobvalue['GStorageSecret']) and !empty($jobvalue['GStorageBucket'])) {
|
378 |
+
if (!class_exists('AmazonS3'))
|
379 |
+
require_once(dirname(__FILE__).'/../libs/aws/sdk.class.php');
|
380 |
+
if (class_exists('AmazonS3')) {
|
381 |
try {
|
382 |
+
$gstorage = new AmazonS3($jobvalue['GStorageAccessKey'], $jobvalue['GStorageSecret']);
|
383 |
+
$gstorage->set_hostname('commondatastorage.googleapis.com');
|
384 |
+
$gstorage->allow_hostname_override(false);
|
385 |
+
if (($contents = $gstorage->list_objects($jobvalue['GStorageBucket'],array('prefix'=>$jobvalue['GStoragedir']))) !== false) {
|
386 |
+
foreach ($contents->body->Contents as $object) {
|
387 |
$files[$filecounter]['JOBID']=$jobid;
|
388 |
$files[$filecounter]['DEST']=$dest;
|
389 |
+
$files[$filecounter]['folder']="https://sandbox.google.com/storage/".$jobvalue['GStorageBucket']."/".dirname((string)$object->Key).'/';
|
390 |
$files[$filecounter]['file']=(string)$object->Key;
|
391 |
$files[$filecounter]['filename']=basename($object->Key);
|
392 |
+
$files[$filecounter]['downloadurl']="https://sandbox.google.com/storage/".$jobvalue['GStorageBucket']."/".(string)$object->Key;
|
393 |
$files[$filecounter]['filesize']=(string)$object->Size;
|
394 |
$files[$filecounter]['time']=strtotime($object->LastModified);
|
395 |
$filecounter++;
|
396 |
}
|
397 |
}
|
398 |
} catch (Exception $e) {
|
399 |
+
$backwpup_message.=sprintf(__('GStorage API: %s','backwpup'),$e->getMessage()).'<br />';
|
400 |
}
|
401 |
}
|
402 |
}
|
412 |
foreach ($blobs as $blob) {
|
413 |
$files[$filecounter]['JOBID']=$jobid;
|
414 |
$files[$filecounter]['DEST']=$dest;
|
415 |
+
$files[$filecounter]['folder']="https://".$jobvalue['msazureAccName'].'.'.$jobvalue['msazureHost']."/".$jobvalue['msazureContainer']."/".dirname($blob->Name)."/";
|
416 |
$files[$filecounter]['file']=$blob->Name;
|
417 |
$files[$filecounter]['filename']=basename($blob->Name);
|
418 |
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=downloadmsazure&file='.$blob->Name.'&jobid='.$jobid;
|
458 |
}
|
459 |
//Get files/filinfo from FTP
|
460 |
if ($dest=='FTP' and !empty($jobvalue['ftphost']) and function_exists('ftp_connect') and !empty($jobvalue['ftpuser']) and !empty($jobvalue['ftppass'])) {
|
|
|
|
|
|
|
|
|
461 |
|
462 |
if (function_exists('ftp_ssl_connect') and $jobvalue['ftpssl']) { //make SSL FTP connection
|
463 |
+
$ftp_conn_id = ftp_ssl_connect($jobvalue['ftphost'],$jobvalue['ftphostport'],10);
|
464 |
} elseif (!$jobvalue['ftpssl']) { //make normal FTP conection if SSL not work
|
465 |
+
$ftp_conn_id = ftp_connect($jobvalue['ftphost'],$jobvalue['ftphostport'],10);
|
466 |
}
|
467 |
$loginok=false;
|
468 |
if ($ftp_conn_id) {
|
484 |
continue;
|
485 |
$files[$filecounter]['JOBID']=$jobid;
|
486 |
$files[$filecounter]['DEST']=$dest;
|
487 |
+
$files[$filecounter]['folder']="ftp://".$jobvalue['ftphost'].':'.$jobvalue['ftphostport'].dirname($ftpfiles)."/";
|
488 |
$files[$filecounter]['file']=$ftpfiles;
|
489 |
$files[$filecounter]['filename']=basename($ftpfiles);
|
490 |
+
$files[$filecounter]['downloadurl']="ftp://".rawurlencode($jobvalue['ftpuser']).":".rawurlencode(base64_decode($jobvalue['ftppass']))."@".$jobvalue['ftphost'].':'.$jobvalue['ftphostport'].rawurlencode($ftpfiles);
|
491 |
$files[$filecounter]['filesize']=ftp_size($ftp_conn_id,$ftpfiles);
|
492 |
$files[$filecounter]['time']=ftp_mdtm($ftp_conn_id,$ftpfiles);
|
493 |
$filecounter++;
|
pages/func_backwpupeditjob.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
function backwpup_jobedit_metabox_save($jobvalue) {
|
9 |
?>
|
10 |
<div class="submitbox" id="submitlink">
|
@@ -292,7 +286,7 @@ function backwpup_jobedit_metabox_destgstorage($jobvalue) {
|
|
292 |
</div>
|
293 |
<div class="destlinks">
|
294 |
<a href="http://code.google.com/apis/storage/docs/signup.html" target="_blank"><?PHP _e('Create Account','backwpup'); ?></a><br />
|
295 |
-
<a href="https://code.google.com/apis/console
|
296 |
<a href="https://sandbox.google.com/storage/" target="_blank"><?PHP _e('Webinterface','backwpup'); ?></a><br />
|
297 |
</div>
|
298 |
<br class="clear" />
|
@@ -497,14 +491,14 @@ function backwpup_get_aws_buckets($args='') {
|
|
497 |
if (!class_exists('CFRuntime'))
|
498 |
require_once(dirname(__FILE__).'/../libs/aws/sdk.class.php');
|
499 |
if (empty($awsAccessKey)) {
|
500 |
-
echo '<span id="awsBucket" style="color:red;">'.__('Missing
|
501 |
if ($ajax)
|
502 |
die();
|
503 |
else
|
504 |
return;
|
505 |
}
|
506 |
if (empty($awsSecretKey)) {
|
507 |
-
echo '<span id="awsBucket" style="color:red;">'.__('Missing
|
508 |
if ($ajax)
|
509 |
die();
|
510 |
else
|
@@ -526,7 +520,14 @@ function backwpup_get_aws_buckets($args='') {
|
|
526 |
die();
|
527 |
else
|
528 |
return;
|
529 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
530 |
echo '<select name="awsBucket" id="awsBucket">';
|
531 |
foreach ($buckets->body->Buckets->Bucket as $bucket) {
|
532 |
echo "<option ".selected(strtolower($awsselected),strtolower($bucket->Name),false).">".$bucket->Name."</option>";
|
@@ -552,25 +553,27 @@ function backwpup_get_gstorage_buckets($args='') {
|
|
552 |
$GStorageselected=$_POST['GStorageselected'];
|
553 |
$ajax=true;
|
554 |
}
|
555 |
-
if (!class_exists('
|
556 |
-
require_once(dirname(__FILE__).'/../libs/
|
557 |
if (empty($GStorageAccessKey)) {
|
558 |
-
echo '<span id="GStorageBucket" style="color:red;">'.__('Missing
|
559 |
if ($ajax)
|
560 |
die();
|
561 |
else
|
562 |
return;
|
563 |
}
|
564 |
if (empty($GStorageSecret)) {
|
565 |
-
echo '<span id="GStorageBucket" style="color:red;">'.__('Missing
|
566 |
if ($ajax)
|
567 |
die();
|
568 |
else
|
569 |
return;
|
570 |
}
|
571 |
try {
|
572 |
-
$
|
573 |
-
$
|
|
|
|
|
574 |
} catch (Exception $e) {
|
575 |
echo '<span id="GStorageBucket" style="color:red;">'.$e->getMessage().'</span>';
|
576 |
if ($ajax)
|
@@ -578,15 +581,22 @@ function backwpup_get_gstorage_buckets($args='') {
|
|
578 |
else
|
579 |
return;
|
580 |
}
|
581 |
-
if (
|
582 |
-
echo '<span id="GStorageBucket" style="color:red;">'.$
|
583 |
if ($ajax)
|
584 |
die();
|
585 |
else
|
586 |
return;
|
587 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
588 |
echo '<select name="GStorageBucket" id="GStorageBucket">';
|
589 |
-
foreach ($
|
590 |
echo "<option ".selected(strtolower($GStorageselected),strtolower($bucket->Name),false).">".$bucket->Name."</option>";
|
591 |
}
|
592 |
echo '</select>';
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function backwpup_jobedit_metabox_save($jobvalue) {
|
3 |
?>
|
4 |
<div class="submitbox" id="submitlink">
|
286 |
</div>
|
287 |
<div class="destlinks">
|
288 |
<a href="http://code.google.com/apis/storage/docs/signup.html" target="_blank"><?PHP _e('Create Account','backwpup'); ?></a><br />
|
289 |
+
<a href="https://code.google.com/apis/console/" target="_blank"><?PHP _e('Find Keys','backwpup'); ?></a><br />
|
290 |
<a href="https://sandbox.google.com/storage/" target="_blank"><?PHP _e('Webinterface','backwpup'); ?></a><br />
|
291 |
</div>
|
292 |
<br class="clear" />
|
491 |
if (!class_exists('CFRuntime'))
|
492 |
require_once(dirname(__FILE__).'/../libs/aws/sdk.class.php');
|
493 |
if (empty($awsAccessKey)) {
|
494 |
+
echo '<span id="awsBucket" style="color:red;">'.__('Missing access key!','backwpup').'</span>';
|
495 |
if ($ajax)
|
496 |
die();
|
497 |
else
|
498 |
return;
|
499 |
}
|
500 |
if (empty($awsSecretKey)) {
|
501 |
+
echo '<span id="awsBucket" style="color:red;">'.__('Missing secret access key!','backwpup').'</span>';
|
502 |
if ($ajax)
|
503 |
die();
|
504 |
else
|
520 |
die();
|
521 |
else
|
522 |
return;
|
523 |
+
}
|
524 |
+
if (count($buckets->body->Buckets->Bucket)<1) {
|
525 |
+
echo '<span id="awsBucket" style="color:red;">'.__('No bucket fount!','backwpup').'</span>';
|
526 |
+
if ($ajax)
|
527 |
+
die();
|
528 |
+
else
|
529 |
+
return;
|
530 |
+
}
|
531 |
echo '<select name="awsBucket" id="awsBucket">';
|
532 |
foreach ($buckets->body->Buckets->Bucket as $bucket) {
|
533 |
echo "<option ".selected(strtolower($awsselected),strtolower($bucket->Name),false).">".$bucket->Name."</option>";
|
553 |
$GStorageselected=$_POST['GStorageselected'];
|
554 |
$ajax=true;
|
555 |
}
|
556 |
+
if (!class_exists('CFRuntime'))
|
557 |
+
require_once(dirname(__FILE__).'/../libs/aws/sdk.class.php');
|
558 |
if (empty($GStorageAccessKey)) {
|
559 |
+
echo '<span id="GStorageBucket" style="color:red;">'.__('Missing access key!','backwpup').'</span>';
|
560 |
if ($ajax)
|
561 |
die();
|
562 |
else
|
563 |
return;
|
564 |
}
|
565 |
if (empty($GStorageSecret)) {
|
566 |
+
echo '<span id="GStorageBucket" style="color:red;">'.__('Missing secret access key!','backwpup').'</span>';
|
567 |
if ($ajax)
|
568 |
die();
|
569 |
else
|
570 |
return;
|
571 |
}
|
572 |
try {
|
573 |
+
$gstorage = new AmazonS3($GStorageAccessKey, $GStorageSecret);
|
574 |
+
$gstorage->set_hostname('commondatastorage.googleapis.com');
|
575 |
+
$gstorage->allow_hostname_override(false);
|
576 |
+
$buckets=$gstorage->list_buckets();
|
577 |
} catch (Exception $e) {
|
578 |
echo '<span id="GStorageBucket" style="color:red;">'.$e->getMessage().'</span>';
|
579 |
if ($ajax)
|
581 |
else
|
582 |
return;
|
583 |
}
|
584 |
+
if ($buckets->status<200 or $buckets->status>=300) {
|
585 |
+
echo '<span id="GStorageBucket" style="color:red;">'.$buckets->status.': '.$buckets->body->Message.'</span>';
|
586 |
if ($ajax)
|
587 |
die();
|
588 |
else
|
589 |
return;
|
590 |
}
|
591 |
+
if (count($buckets->body->Buckets->Bucket)<1) {
|
592 |
+
echo '<span id="GStorageBucket" style="color:red;">'.__('No bucket fount!','backwpup').'</span>';
|
593 |
+
if ($ajax)
|
594 |
+
die();
|
595 |
+
else
|
596 |
+
return;
|
597 |
+
}
|
598 |
echo '<select name="GStorageBucket" id="GStorageBucket">';
|
599 |
+
foreach ($buckets->body->Buckets->Bucket as $bucket) {
|
600 |
echo "<option ".selected(strtolower($GStorageselected),strtolower($bucket->Name),false).">".$bucket->Name."</option>";
|
601 |
}
|
602 |
echo '</select>';
|
pages/func_backwpuplogs.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
include_once(trailingslashit(ABSPATH).'wp-admin/includes/class-wp-list-table.php');
|
9 |
|
10 |
class BackWPup_Logs_Table extends WP_List_Table {
|
1 |
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
include_once(trailingslashit(ABSPATH).'wp-admin/includes/class-wp-list-table.php');
|
3 |
|
4 |
class BackWPup_Logs_Table extends WP_List_Table {
|
pages/func_backwpupworking.php
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
-
<?PHP
|
2 |
-
if (!defined('ABSPATH')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
-
die();
|
6 |
-
}
|
7 |
-
|
8 |
// Remove header and footer form logfile
|
9 |
function backwpup_read_logfile($logfile) {
|
10 |
if (is_file($logfile) and strtolower(substr($logfile,-3))=='.gz')
|
1 |
+
<?PHP
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
// Remove header and footer form logfile
|
3 |
function backwpup_read_logfile($logfile) {
|
4 |
if (is_file($logfile) and strtolower(substr($logfile,-3))=='.gz')
|
pages/header_backwpup.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
//Create Table
|
9 |
$backwpup_listtable = new BackWPup_Jobs_Table;
|
@@ -62,50 +60,52 @@ if (!empty($doaction)) {
|
|
62 |
case 'abort': //Abort Job
|
63 |
check_admin_referer('abort-job');
|
64 |
$runningfile=backwpup_get_working_file();
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
}
|
78 |
-
$filepos=ftell($fd);
|
79 |
}
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
$
|
88 |
-
|
89 |
-
$fd
|
90 |
-
|
91 |
-
while (!feof($fd))
|
92 |
-
gzwrite($zd,fread($fd,4096));
|
93 |
-
gzclose($zd);
|
94 |
-
fclose($fd);
|
95 |
-
unlink($runningfile['LOGFILE']);
|
96 |
-
$newlogfile=$runningfile['LOGFILE'].'.gz';
|
97 |
}
|
98 |
-
|
99 |
-
$backwpup_message.=__('Can\'t kill process with PID:','backwpup').' '.$runningfile['PID'];
|
100 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
}
|
102 |
//update job settings
|
103 |
-
$
|
104 |
-
|
105 |
-
$
|
106 |
-
|
107 |
-
|
108 |
-
|
|
|
|
|
109 |
break;
|
110 |
}
|
111 |
}
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
//Create Table
|
7 |
$backwpup_listtable = new BackWPup_Jobs_Table;
|
60 |
case 'abort': //Abort Job
|
61 |
check_admin_referer('abort-job');
|
62 |
$runningfile=backwpup_get_working_file();
|
63 |
+
$tempdir=backwpup_get_temp();
|
64 |
+
//clean up temp
|
65 |
+
if (is_dir($tempdir)) {
|
66 |
+
if ($dir = opendir($tempdir)) {
|
67 |
+
while (($file = readdir($dir)) !== false) {
|
68 |
+
if (is_readable($tempdir.$file) and is_file($tempdir.$file)) {
|
69 |
+
if ($file!='.' and $file!='..') {
|
70 |
+
unlink($tempdir.$file);
|
71 |
+
}
|
72 |
+
}
|
73 |
+
}
|
74 |
+
closedir($dir);
|
75 |
}
|
|
|
76 |
}
|
77 |
+
if (!empty($runningfile['LOGFILE'])) {
|
78 |
+
file_put_contents($runningfile['LOGFILE'], "<span class=\"timestamp\">".backwpup_date_i18n('Y/m/d H:i.s').":</span> <span class=\"error\">[ERROR]".__('Aborted by user!!!','backwpup')."</span><br />\n", FILE_APPEND);
|
79 |
+
//write new log header
|
80 |
+
$runningfile['WORKING']['ERROR']++;
|
81 |
+
$fd=fopen($runningfile['LOGFILE'],'r+');
|
82 |
+
while (!feof($fd)) {
|
83 |
+
$line=fgets($fd);
|
84 |
+
if (stripos($line,"<meta name=\"backwpup_errors\"") !== false) {
|
85 |
+
fseek($fd,$filepos);
|
86 |
+
fwrite($fd,str_pad("<meta name=\"backwpup_errors\" content=\"".$runningfile['WORKING']['ERROR']."\" />",100)."\n");
|
87 |
+
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
}
|
89 |
+
$filepos=ftell($fd);
|
|
|
90 |
}
|
91 |
+
fclose($fd);
|
92 |
+
}
|
93 |
+
$backwpup_message=__('Job will be terminated.','backwpup').'<br />';
|
94 |
+
if (!empty($runningfile['WORKING']['PID']) and function_exists('posix_kill')) {
|
95 |
+
if (posix_kill($runningfile['WORKING']['PID'],9))
|
96 |
+
$backwpup_message.=__('Process killed with PID:','backwpup').' '.$runningfile['WORKING']['PID'];
|
97 |
+
else
|
98 |
+
$backwpup_message.=__('Can\'t kill process with PID:','backwpup').' '.$runningfile['WORKING']['PID'];
|
99 |
}
|
100 |
//update job settings
|
101 |
+
if (!empty($runningfile['JOBID'])) {
|
102 |
+
$jobs=get_option('backwpup_jobs');
|
103 |
+
if (isset($newlogfile) and !empty($newlogfile))
|
104 |
+
$jobs[$runningfile['JOBID']]['logfile']=$newlogfile;
|
105 |
+
$jobs[$runningfile['JOBID']]['lastrun']=$jobs[$runningfile['JOBID']]['starttime'];
|
106 |
+
$jobs[$runningfile['JOBID']]['lastruntime']=$runningfile['timestamp']-$jobs[$runningfile['JOBID']]['starttime'];
|
107 |
+
update_option('backwpup_jobs',$jobs); //Save Settings
|
108 |
+
}
|
109 |
break;
|
110 |
}
|
111 |
}
|
pages/header_backwpupbackups.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
//Create Table
|
8 |
$backwpup_listtable = new BackWPup_Backups_Table;
|
9 |
|
@@ -36,16 +34,18 @@ if (!empty($doaction)) {
|
|
36 |
}
|
37 |
}
|
38 |
} elseif ($dest=='GSTORAGE') {
|
39 |
-
if (!class_exists('
|
40 |
-
require_once(dirname(__FILE__).'/../libs/
|
41 |
-
if (class_exists('
|
42 |
if (!empty($jobvalue['GStorageAccessKey']) and !empty($jobvalue['GStorageSecret']) and !empty($jobvalue['GStorageBucket'])) {
|
43 |
try {
|
44 |
-
$
|
45 |
-
$
|
46 |
-
|
|
|
|
|
47 |
} catch (Exception $e) {
|
48 |
-
$backwpup_message.='
|
49 |
}
|
50 |
}
|
51 |
}
|
@@ -120,15 +120,10 @@ if (!empty($doaction)) {
|
|
120 |
}
|
121 |
} elseif ($dest=='FTP') {
|
122 |
if (!empty($jobvalue['ftphost']) and !empty($jobvalue['ftpuser']) and !empty($jobvalue['ftppass']) and function_exists('ftp_connect')) {
|
123 |
-
$ftpport=21;
|
124 |
-
$ftphost=$jobvalue['ftphost'];
|
125 |
-
if (false !== strpos($jobvalue['ftphost'],':')) //look for port
|
126 |
-
list($ftphost,$ftpport)=explode(':',$jobvalue,2);
|
127 |
-
|
128 |
if (function_exists('ftp_ssl_connect') and $jobvalue['ftpssl']) { //make SSL FTP connection
|
129 |
-
$ftp_conn_id = ftp_ssl_connect($ftphost,$
|
130 |
} elseif (!$jobvalue['ftpssl']) { //make normal FTP conection if SSL not work
|
131 |
-
$ftp_conn_id = ftp_connect($ftphost,$
|
132 |
}
|
133 |
$loginok=false;
|
134 |
if ($ftp_conn_id) {
|
@@ -143,7 +138,7 @@ if (!empty($doaction)) {
|
|
143 |
}
|
144 |
}
|
145 |
if ($loginok) {
|
146 |
-
ftp_pasv($ftp_conn_id,
|
147 |
ftp_delete($ftp_conn_id, $backupfile);
|
148 |
} else {
|
149 |
$backwpup_message.='FTP: '.__('Login failure!','backwpup').'<br />';
|
@@ -202,32 +197,6 @@ if (!empty($doaction)) {
|
|
202 |
die();
|
203 |
}
|
204 |
break;
|
205 |
-
case 'downloadgstorage': //Download Google Storage Backup
|
206 |
-
check_admin_referer('download-backup');
|
207 |
-
require_once(dirname(__FILE__).'/../libs/googlestorage.php');
|
208 |
-
$jobs=get_option('backwpup_jobs');
|
209 |
-
$jobid=$_GET['jobid'];
|
210 |
-
try {
|
211 |
-
$googlestorage = new GoogleStorage($jobs[$jobid]['GStorageAccessKey'], $jobs[$jobid]['GStorageSecret']);
|
212 |
-
$gstoragefile=$googlestorage->getObject($jobs[$jobid]['GStorageBucket'], $_GET['file']);
|
213 |
-
} catch (Exception $e) {
|
214 |
-
die($e->getMessage());
|
215 |
-
}
|
216 |
-
if ($gstoragefile) {
|
217 |
-
header("Pragma: public");
|
218 |
-
header("Expires: 0");
|
219 |
-
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
|
220 |
-
//header("Content-Type: ".$gstoragefile->header->_info->content_type);
|
221 |
-
header("Content-Type: application/force-download");
|
222 |
-
header("Content-Type: application/octet-stream");
|
223 |
-
header("Content-Type: application/download");
|
224 |
-
header("Content-Disposition: attachment; filename=".basename($_GET['file']).";");
|
225 |
-
header("Content-Transfer-Encoding: binary");
|
226 |
-
header("Content-Length: ".strlen($gstoragefile));
|
227 |
-
echo $gstoragefile;
|
228 |
-
die();
|
229 |
-
}
|
230 |
-
break;
|
231 |
case 'downloaddropbox': //Download Dropbox Backup
|
232 |
check_admin_referer('download-backup');
|
233 |
require_once(realpath(dirname(__FILE__).'/../libs/dropbox/dropbox.php'));
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
//Create Table
|
6 |
$backwpup_listtable = new BackWPup_Backups_Table;
|
7 |
|
34 |
}
|
35 |
}
|
36 |
} elseif ($dest=='GSTORAGE') {
|
37 |
+
if (!class_exists('AmazonS3'))
|
38 |
+
require_once(realpath(dirname(__FILE__).'/../libs/aws/sdk.class.php'));
|
39 |
+
if (class_exists('AmazonS3')) {
|
40 |
if (!empty($jobvalue['GStorageAccessKey']) and !empty($jobvalue['GStorageSecret']) and !empty($jobvalue['GStorageBucket'])) {
|
41 |
try {
|
42 |
+
$gstorage = new AmazonS3($jobvalue['GStorageAccessKey'], $jobvalue['GStorageSecret']);
|
43 |
+
$gstorage->set_hostname('commondatastorage.googleapis.com');
|
44 |
+
$gstorage->allow_hostname_override(false);
|
45 |
+
$gstorage->delete_object($jobvalue['GStorageBucket'],$backupfile);
|
46 |
+
unset($gstorage);
|
47 |
} catch (Exception $e) {
|
48 |
+
$backwpup_message.=sprintf(__('GStorage API: %s','backwpup'),$e->getMessage()).'<br />';
|
49 |
}
|
50 |
}
|
51 |
}
|
120 |
}
|
121 |
} elseif ($dest=='FTP') {
|
122 |
if (!empty($jobvalue['ftphost']) and !empty($jobvalue['ftpuser']) and !empty($jobvalue['ftppass']) and function_exists('ftp_connect')) {
|
|
|
|
|
|
|
|
|
|
|
123 |
if (function_exists('ftp_ssl_connect') and $jobvalue['ftpssl']) { //make SSL FTP connection
|
124 |
+
$ftp_conn_id = ftp_ssl_connect($jobvalue['ftphost'],$jobvalue['ftphostport'],10);
|
125 |
} elseif (!$jobvalue['ftpssl']) { //make normal FTP conection if SSL not work
|
126 |
+
$ftp_conn_id = ftp_connect($jobvalue['ftphost'],$jobvalue['ftphostport'],10);
|
127 |
}
|
128 |
$loginok=false;
|
129 |
if ($ftp_conn_id) {
|
138 |
}
|
139 |
}
|
140 |
if ($loginok) {
|
141 |
+
ftp_pasv($ftp_conn_id, $jobvalue['ftppasv']);
|
142 |
ftp_delete($ftp_conn_id, $backupfile);
|
143 |
} else {
|
144 |
$backwpup_message.='FTP: '.__('Login failure!','backwpup').'<br />';
|
197 |
die();
|
198 |
}
|
199 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
case 'downloaddropbox': //Download Dropbox Backup
|
201 |
check_admin_referer('download-backup');
|
202 |
require_once(realpath(dirname(__FILE__).'/../libs/dropbox/dropbox.php'));
|
pages/header_backwpupeditjob.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
//Save Dropbox settings
|
9 |
if (isset($_GET['dropboxauth']) and $_GET['dropboxauth']=='AccessToken') {
|
@@ -25,10 +23,10 @@ if (isset($_GET['dropboxauth']) and $_GET['dropboxauth']=='AccessToken') {
|
|
25 |
update_option('backwpup_jobs',$jobs);
|
26 |
$backwpup_message.=__('Dropbox authentication complete!','backwpup').'<br />';
|
27 |
} else {
|
28 |
-
$backwpup_message.=__('Wrong Token for Dropbox authentication
|
29 |
}
|
30 |
} else {
|
31 |
-
$backwpup_message.=__('No Dropbox authentication
|
32 |
}
|
33 |
delete_transient('backwpup_dropboxrequest');
|
34 |
$_POST['jobid']=$jobid;
|
@@ -91,7 +89,18 @@ if ((isset($_POST['submit']) or isset($_POST['dropboxauth']) or isset($_POST['dr
|
|
91 |
$jobvalues['cronnextrun']=backwpup_cron_next($jobvalues['cron']);
|
92 |
$jobvalues['mailaddresslog']= isset($_POST['mailaddresslog']) ? sanitize_email($_POST['mailaddresslog']) : '';
|
93 |
$jobvalues['mailerroronly']= (isset($_POST['mailerroronly']) && $_POST['mailerroronly']==1) ? true : false;
|
94 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
$jobvalues['dbshortinsert']= (isset($_POST['dbshortinsert']) && $_POST['dbshortinsert']==1) ? true : false;
|
96 |
$jobvalues['maintenance']= (isset($_POST['maintenance']) && $_POST['maintenance']==1) ? true : false;
|
97 |
$jobvalues['fileexclude']=isset($_POST['fileexclude']) ? stripslashes($_POST['fileexclude']) : '';
|
@@ -165,13 +174,16 @@ if ((isset($_POST['submit']) or isset($_POST['dropboxauth']) or isset($_POST['dr
|
|
165 |
}
|
166 |
}
|
167 |
|
168 |
-
if (!empty($_POST['GStorageAccessKey']) and !empty($_POST['GStorageSecret']) and !empty($_POST['newGStorageBucket'])) { //create new google
|
169 |
-
if (!class_exists('
|
170 |
-
require_once(dirname(__FILE__).'/../libs/
|
171 |
try {
|
172 |
-
$
|
173 |
-
$
|
|
|
|
|
174 |
$jobvalues['GStorageBucket']=$_POST['newGStorageBucket'];
|
|
|
175 |
} catch (Exception $e) {
|
176 |
$backwpup_message.=__($e->getMessage(),'backwpup').'<br />';
|
177 |
}
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
//Save Dropbox settings
|
7 |
if (isset($_GET['dropboxauth']) and $_GET['dropboxauth']=='AccessToken') {
|
23 |
update_option('backwpup_jobs',$jobs);
|
24 |
$backwpup_message.=__('Dropbox authentication complete!','backwpup').'<br />';
|
25 |
} else {
|
26 |
+
$backwpup_message.=__('Wrong Token for Dropbox authentication received!','backwpup').'<br />';
|
27 |
}
|
28 |
} else {
|
29 |
+
$backwpup_message.=__('No Dropbox authentication received!','backwpup').'<br />';
|
30 |
}
|
31 |
delete_transient('backwpup_dropboxrequest');
|
32 |
$_POST['jobid']=$jobid;
|
89 |
$jobvalues['cronnextrun']=backwpup_cron_next($jobvalues['cron']);
|
90 |
$jobvalues['mailaddresslog']= isset($_POST['mailaddresslog']) ? sanitize_email($_POST['mailaddresslog']) : '';
|
91 |
$jobvalues['mailerroronly']= (isset($_POST['mailerroronly']) && $_POST['mailerroronly']==1) ? true : false;
|
92 |
+
$checedtables=array();
|
93 |
+
if (isset($_POST['jobtabs'])) {
|
94 |
+
foreach ($_POST['jobtabs'] as $dbtable) {
|
95 |
+
$checedtables[]=base64_decode($dbtable);
|
96 |
+
}
|
97 |
+
}
|
98 |
+
global $wpdb;
|
99 |
+
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
100 |
+
foreach ($tables as $dbtable) {
|
101 |
+
if (!in_array($dbtable,$checedtables))
|
102 |
+
$jobvalues['dbexclude'][]=$dbtable;
|
103 |
+
}
|
104 |
$jobvalues['dbshortinsert']= (isset($_POST['dbshortinsert']) && $_POST['dbshortinsert']==1) ? true : false;
|
105 |
$jobvalues['maintenance']= (isset($_POST['maintenance']) && $_POST['maintenance']==1) ? true : false;
|
106 |
$jobvalues['fileexclude']=isset($_POST['fileexclude']) ? stripslashes($_POST['fileexclude']) : '';
|
174 |
}
|
175 |
}
|
176 |
|
177 |
+
if (!empty($_POST['GStorageAccessKey']) and !empty($_POST['GStorageSecret']) and !empty($_POST['newGStorageBucket'])) { //create new google storage bucket if needed
|
178 |
+
if (!class_exists('CFRuntime'))
|
179 |
+
require_once(dirname(__FILE__).'/../libs/aws/sdk.class.php');
|
180 |
try {
|
181 |
+
$gstorage = new AmazonS3($_POST['GStorageAccessKey'], $_POST['GStorageSecret']);
|
182 |
+
$gstorage->set_hostname('commondatastorage.googleapis.com');
|
183 |
+
$gstorage->allow_hostname_override(false);
|
184 |
+
$gstorage->create_bucket($_POST['newGStorageBucket'],'');
|
185 |
$jobvalues['GStorageBucket']=$_POST['newGStorageBucket'];
|
186 |
+
sleep(1); //creation take a moment
|
187 |
} catch (Exception $e) {
|
188 |
$backwpup_message.=__($e->getMessage(),'backwpup').'<br />';
|
189 |
}
|
pages/header_backwpuplogs.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
//Create Table
|
9 |
$backwpup_listtable = new BackWPup_Logs_Table;
|
@@ -58,7 +56,7 @@ if (isset($_POST['screen-options-apply']) and isset($_POST['wp_screen_options'][
|
|
58 |
}
|
59 |
|
60 |
//add Help
|
61 |
-
backwpup_contextual_help(__('Here you can
|
62 |
|
63 |
add_screen_option( 'per_page', array('label' => __('Logs','backwpup'), 'default' => 20, 'option' =>'backwpuplogs_per_page') );
|
64 |
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
//Create Table
|
7 |
$backwpup_listtable = new BackWPup_Logs_Table;
|
56 |
}
|
57 |
|
58 |
//add Help
|
59 |
+
backwpup_contextual_help(__('Here you can manage the log files of the jobs. You can download, view, or delete them.','backwpup'));
|
60 |
|
61 |
add_screen_option( 'per_page', array('label' => __('Logs','backwpup'), 'default' => 20, 'option' =>'backwpuplogs_per_page') );
|
62 |
|
pages/header_backwpupsettings.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
if (isset($_POST['submit']) and isset($_POST['action']) and $_POST['action']=='update') {
|
9 |
check_admin_referer('backwpup-cfg');
|
@@ -23,7 +21,7 @@ if (isset($_POST['submit']) and isset($_POST['action']) and $_POST['action']=='u
|
|
23 |
$cfg['jobstepretry']=(int)$_POST['jobstepretry'];
|
24 |
if (100>$_POST['jobscriptretry'] and 0<$_POST['jobscriptretry'])
|
25 |
$cfg['jobscriptretry']=(int)$_POST['jobscriptretry'];
|
26 |
-
if (
|
27 |
$cfg['jobscriptruntime']=(int)$_POST['jobscriptruntime'];
|
28 |
if (1000>$_POST['jobscriptruntimelong'] and 0<$_POST['jobscriptruntimelong'])
|
29 |
$cfg['jobscriptruntimelong']=(int)$_POST['jobscriptruntimelong'];
|
@@ -39,6 +37,8 @@ if (isset($_POST['submit']) and isset($_POST['action']) and $_POST['action']=='u
|
|
39 |
$cfg['gzlogs']=isset($_POST['gzlogs']) ? true : false;
|
40 |
$cfg['phpzip']=isset($_POST['phpzip']) ? true : false;
|
41 |
$cfg['apicronservice']=isset($_POST['apicronservice']) ? true : false;
|
|
|
|
|
42 |
$cfg['dirlogs']=trailingslashit(str_replace('//','/',str_replace('\\','/',stripslashes(trim($_POST['dirlogs'])))));
|
43 |
//set def. folders
|
44 |
if (!isset($cfg['dirlogs']) or $cfg['dirlogs']=='/' or empty($cfg['dirlogs'])) {
|
@@ -52,6 +52,7 @@ if (isset($_POST['submit']) and isset($_POST['action']) and $_POST['action']=='u
|
|
52 |
}
|
53 |
if (update_option('backwpup',$cfg))
|
54 |
$backwpup_message=__('Settings saved', 'backwpup');
|
|
|
55 |
}
|
56 |
|
57 |
//add Help
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
if (isset($_POST['submit']) and isset($_POST['action']) and $_POST['action']=='update') {
|
7 |
check_admin_referer('backwpup-cfg');
|
21 |
$cfg['jobstepretry']=(int)$_POST['jobstepretry'];
|
22 |
if (100>$_POST['jobscriptretry'] and 0<$_POST['jobscriptretry'])
|
23 |
$cfg['jobscriptretry']=(int)$_POST['jobscriptretry'];
|
24 |
+
if (300>$_POST['jobscriptruntime'] and 0<$_POST['jobscriptruntime'])
|
25 |
$cfg['jobscriptruntime']=(int)$_POST['jobscriptruntime'];
|
26 |
if (1000>$_POST['jobscriptruntimelong'] and 0<$_POST['jobscriptruntimelong'])
|
27 |
$cfg['jobscriptruntimelong']=(int)$_POST['jobscriptruntimelong'];
|
37 |
$cfg['gzlogs']=isset($_POST['gzlogs']) ? true : false;
|
38 |
$cfg['phpzip']=isset($_POST['phpzip']) ? true : false;
|
39 |
$cfg['apicronservice']=isset($_POST['apicronservice']) ? true : false;
|
40 |
+
$cfg['httpauthuser']=$_POST['httpauthuser'];
|
41 |
+
$cfg['httpauthpassword']=base64_encode($_POST['httpauthpassword']);
|
42 |
$cfg['dirlogs']=trailingslashit(str_replace('//','/',str_replace('\\','/',stripslashes(trim($_POST['dirlogs'])))));
|
43 |
//set def. folders
|
44 |
if (!isset($cfg['dirlogs']) or $cfg['dirlogs']=='/' or empty($cfg['dirlogs'])) {
|
52 |
}
|
53 |
if (update_option('backwpup',$cfg))
|
54 |
$backwpup_message=__('Settings saved', 'backwpup');
|
55 |
+
backwpup_api(true);
|
56 |
}
|
57 |
|
58 |
//add Help
|
pages/header_backwpuptools.php
CHANGED
@@ -1,9 +1,6 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
}
|
7 |
|
8 |
//add Help
|
9 |
backwpup_contextual_help();
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
|
|
4 |
|
5 |
//add Help
|
6 |
backwpup_contextual_help();
|
pages/header_backwpupworking.php
CHANGED
@@ -1,11 +1,9 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
}
|
7 |
|
8 |
-
|
|
|
9 |
|
10 |
if (isset($_GET['action']) and $_GET['action']=='runnow' and !empty($_GET['jobid'])) {
|
11 |
$jobid = (int) $_GET['jobid'];
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
|
|
4 |
|
5 |
+
|
6 |
+
nocache_headers(); //no chache
|
7 |
|
8 |
if (isset($_GET['action']) and $_GET['action']=='runnow' and !empty($_GET['jobid'])) {
|
9 |
$jobid = (int) $_GET['jobid'];
|
pages/page_backwpup.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
echo "<div class=\"wrap\">";
|
9 |
screen_icon();
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
echo "<div class=\"wrap\">";
|
7 |
screen_icon();
|
pages/page_backwpupbackups.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
echo "<div class=\"wrap\">";
|
9 |
screen_icon();
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
echo "<div class=\"wrap\">";
|
7 |
screen_icon();
|
pages/page_backwpupeditjob.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
global $wpdb,$screen_layout_columns;
|
9 |
|
@@ -25,8 +23,10 @@ $todo=explode('+',$jobvalue['type']);
|
|
25 |
$dests=explode(',',strtoupper(BACKWPUP_DESTS));
|
26 |
?>
|
27 |
<div class="wrap">
|
28 |
-
<?php
|
29 |
-
|
|
|
|
|
30 |
|
31 |
<?php if (isset($backwpup_message) and !empty($backwpup_message)) : ?>
|
32 |
<div id="message" class="updated"><p><?php echo $backwpup_message; ?></p></div>
|
@@ -64,7 +64,7 @@ $dests=explode(',',strtoupper(BACKWPUP_DESTS));
|
|
64 |
<?php
|
65 |
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
66 |
foreach ($tables as $table) {
|
67 |
-
echo ' <input class="checkbox" type="checkbox"'.checked(in_array($table
|
68 |
}
|
69 |
?>
|
70 |
</div>
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
global $wpdb,$screen_layout_columns;
|
7 |
|
23 |
$dests=explode(',',strtoupper(BACKWPUP_DESTS));
|
24 |
?>
|
25 |
<div class="wrap">
|
26 |
+
<?php
|
27 |
+
screen_icon();
|
28 |
+
echo "<h2>".esc_html( __('BackWPup Job Settings', 'backwpup'))." <a href=\"".wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupeditjob', 'edit-job')."\" class=\"add-new-h2\">".esc_html__('Add New','backwpup')."</a></h2>";
|
29 |
+
?>
|
30 |
|
31 |
<?php if (isset($backwpup_message) and !empty($backwpup_message)) : ?>
|
32 |
<div id="message" class="updated"><p><?php echo $backwpup_message; ?></p></div>
|
64 |
<?php
|
65 |
$tables=$wpdb->get_col('SHOW TABLES FROM `'.DB_NAME.'`');
|
66 |
foreach ($tables as $table) {
|
67 |
+
echo ' <input class="checkbox" type="checkbox"'.checked(!in_array($table,$jobvalue['dbexclude']),true,false).' name="jobtabs[]" value="'.base64_encode($table).'"/> '.$table.'<br />';
|
68 |
}
|
69 |
?>
|
70 |
</div>
|
pages/page_backwpuplogs.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
echo "<div class=\"wrap\">";
|
9 |
screen_icon();
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
echo "<div class=\"wrap\">";
|
7 |
screen_icon();
|
pages/page_backwpupsettings.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
$cfg=get_option('backwpup');
|
9 |
|
@@ -17,7 +15,7 @@ wp_nonce_field('backwpup-cfg');
|
|
17 |
?>
|
18 |
<input type="hidden" name="action" value="update" />
|
19 |
<h3><?PHP _e('Send Mail','backwpup'); ?></h3>
|
20 |
-
<p><?PHP _e('Here you can set
|
21 |
<table class="form-table">
|
22 |
<tr valign="top">
|
23 |
<th scope="row"><label for="mailsndemail"><?PHP _e('Sender email','backwpup'); ?></label></th>
|
@@ -79,7 +77,7 @@ echo '</select>';
|
|
79 |
</table>
|
80 |
|
81 |
<h3><?PHP _e('Logs','backwpup'); ?></h3>
|
82 |
-
<p><?PHP _e('Here you can set Logfile related
|
83 |
<table class="form-table">
|
84 |
<tr valign="top">
|
85 |
<th scope="row"><label for="dirlogs"><?PHP _e('Log file Folder','backwpup'); ?></label></th>
|
@@ -101,7 +99,7 @@ echo '</select>';
|
|
101 |
</tr>
|
102 |
</table>
|
103 |
<h3><?PHP _e('Jobs','backwpup'); ?></h3>
|
104 |
-
<p><?PHP _e('Here you can set Job related
|
105 |
<table class="form-table">
|
106 |
<tr valign="top">
|
107 |
<th scope="row"><label for="jobstepretry"><?PHP _e('Max. retrys for job steps','backwpup'); ?></label></th>
|
@@ -109,7 +107,7 @@ echo '</select>';
|
|
109 |
</td>
|
110 |
</tr>
|
111 |
<tr valign="top">
|
112 |
-
<th scope="row"><label for="jobscriptretry"><?PHP _e('Max. retrys for job script
|
113 |
<td><input name="jobscriptretry" type="text" id="jobscriptretry" value="<?PHP echo $cfg['jobscriptretry'];?>" class="small-text code" />
|
114 |
</td>
|
115 |
</tr>
|
@@ -131,7 +129,7 @@ if (ini_get('safe_mode')) {
|
|
131 |
<tr valign="top">
|
132 |
<th scope="row"><label for="jobscriptruntimelong"><?PHP _e('Max. long script runtime:','backwpup'); ?></label></th>
|
133 |
<td><input name="jobscriptruntimelong" type="text" id="jobscriptruntimelong" value="<?PHP echo $cfg['jobscriptruntimelong'];?>" class="small-text code" <?PHP echo $disabled;?>/> <?PHP _e('sec.','backwpup');?>
|
134 |
-
<span class="description"><?PHP _e('Script runtime for
|
135 |
</tr>
|
136 |
<tr valign="top">
|
137 |
<th scope="row"><?PHP _e('PHP zip class','backwpup'); ?></th>
|
@@ -154,6 +152,20 @@ if (ini_get('safe_mode')) {
|
|
154 |
</tr>
|
155 |
</table>
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
<h3><?PHP _e('WP-Cron','backwpup'); ?></h3>
|
158 |
<p><?PHP _e('If you would use the cron job of your hoster you must point it to the url:','backwpup'); echo ' <i>'.get_option('siteurl').'/wp-cron.php</i>'; ?></p>
|
159 |
<table class="form-table">
|
@@ -165,15 +177,14 @@ if (ini_get('safe_mode')) {
|
|
165 |
</fieldset></td>
|
166 |
</tr>
|
167 |
<tr valign="top">
|
168 |
-
<th scope="row"><?PHP _e('Use
|
169 |
-
<td><fieldset><legend class="screen-reader-text"><span><?PHP _e('Use
|
170 |
<input name="apicronservice" type="checkbox" id="apicronservice" value="1" <?php checked($cfg['apicronservice'],true); ?> />
|
171 |
-
<?PHP _e('If you check this
|
172 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q3QSVRSFXBLSE" target="_new"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" title="PayPal - The safer, easier way to pay online!"></a>
|
173 |
</label>
|
174 |
</fieldset>
|
175 |
</td>
|
176 |
-
</tr>
|
177 |
</table>
|
178 |
<p class="submit"><input type="submit" name="submit" id="submit" class="button-primary" value="Save Changes" /></p>
|
179 |
</form>
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
$cfg=get_option('backwpup');
|
7 |
|
15 |
?>
|
16 |
<input type="hidden" name="action" value="update" />
|
17 |
<h3><?PHP _e('Send Mail','backwpup'); ?></h3>
|
18 |
+
<p><?PHP _e('Here you can set the options for email sending. The settings will be used in jobs for sending backups via email or for sending log files.','backwpup'); ?></p>
|
19 |
<table class="form-table">
|
20 |
<tr valign="top">
|
21 |
<th scope="row"><label for="mailsndemail"><?PHP _e('Sender email','backwpup'); ?></label></th>
|
77 |
</table>
|
78 |
|
79 |
<h3><?PHP _e('Logs','backwpup'); ?></h3>
|
80 |
+
<p><?PHP _e('Here you can set Logfile related options.','backwpup'); ?></p>
|
81 |
<table class="form-table">
|
82 |
<tr valign="top">
|
83 |
<th scope="row"><label for="dirlogs"><?PHP _e('Log file Folder','backwpup'); ?></label></th>
|
99 |
</tr>
|
100 |
</table>
|
101 |
<h3><?PHP _e('Jobs','backwpup'); ?></h3>
|
102 |
+
<p><?PHP _e('Here you can set Job related options.','backwpup'); ?></p>
|
103 |
<table class="form-table">
|
104 |
<tr valign="top">
|
105 |
<th scope="row"><label for="jobstepretry"><?PHP _e('Max. retrys for job steps','backwpup'); ?></label></th>
|
107 |
</td>
|
108 |
</tr>
|
109 |
<tr valign="top">
|
110 |
+
<th scope="row"><label for="jobscriptretry"><?PHP _e('Max. retrys for job script retries','backwpup'); ?></label></th>
|
111 |
<td><input name="jobscriptretry" type="text" id="jobscriptretry" value="<?PHP echo $cfg['jobscriptretry'];?>" class="small-text code" />
|
112 |
</td>
|
113 |
</tr>
|
129 |
<tr valign="top">
|
130 |
<th scope="row"><label for="jobscriptruntimelong"><?PHP _e('Max. long script runtime:','backwpup'); ?></label></th>
|
131 |
<td><input name="jobscriptruntimelong" type="text" id="jobscriptruntimelong" value="<?PHP echo $cfg['jobscriptruntimelong'];?>" class="small-text code" <?PHP echo $disabled;?>/> <?PHP _e('sec.','backwpup');?>
|
132 |
+
<span class="description"><?PHP _e('Script runtime for long operations withaut responce to script. You can only set it if safemode off. Default runtime is 300 sec.(Max. on most webservers.)','backwpup');?></span></td>
|
133 |
</tr>
|
134 |
<tr valign="top">
|
135 |
<th scope="row"><?PHP _e('PHP zip class','backwpup'); ?></th>
|
152 |
</tr>
|
153 |
</table>
|
154 |
|
155 |
+
<h3><?PHP _e('Http basic authentication','backwpup'); ?></h3>
|
156 |
+
<p><?PHP _e('Is your blog behind a http basic authentication (.htaccess)? Then you must set the username and password four authentication.','backwpup'); ?></p>
|
157 |
+
<table class="form-table">
|
158 |
+
</tr>
|
159 |
+
<th scope="row"><label for="httpauthuser"><?PHP _e('Username:','backwpup'); ?></label></th>
|
160 |
+
<td><input name="httpauthuser" type="text" id="httpauthuser" value="<?PHP echo $cfg['httpauthuser'];?>" class="regular-text" />
|
161 |
+
</td>
|
162 |
+
</tr>
|
163 |
+
<tr valign="top">
|
164 |
+
<th scope="row"><label for="httpauthpassword"><?PHP _e('Password:','backwpup'); ?></label></th>
|
165 |
+
<td><input name="httpauthpassword" type="password" id="httpauthpassword" value="<?PHP echo base64_decode($cfg['httpauthpassword']);?>" class="regular-text" />
|
166 |
+
</tr>
|
167 |
+
</table>
|
168 |
+
|
169 |
<h3><?PHP _e('WP-Cron','backwpup'); ?></h3>
|
170 |
<p><?PHP _e('If you would use the cron job of your hoster you must point it to the url:','backwpup'); echo ' <i>'.get_option('siteurl').'/wp-cron.php</i>'; ?></p>
|
171 |
<table class="form-table">
|
177 |
</fieldset></td>
|
178 |
</tr>
|
179 |
<tr valign="top">
|
180 |
+
<th scope="row"><?PHP _e('Use cron service of backwpup.com','backwpup'); ?></th>
|
181 |
+
<td><fieldset><legend class="screen-reader-text"><span><?PHP _e('Use cron service of backwpup.com','backwpup'); ?></span></legend><label for="apicronservice">
|
182 |
<input name="apicronservice" type="checkbox" id="apicronservice" value="1" <?php checked($cfg['apicronservice'],true); ?> />
|
183 |
+
<?PHP _e('If you check this, the job schedule will submited to backwpup.com. Backwpup.com will call your blog wp-cron.php to start. <em>Use this service only if you have not a cron service of your hoster, or a blog that has a few visitors.</em> The cron service can start cron behind a basic authentication, on that the http authentication data will transferd too! Please make a little donation for the plugin if you use this servcie. The service can be removed by me without a massage.','backwpup'); ?><br />
|
184 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q3QSVRSFXBLSE" target="_new"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" title="PayPal - The safer, easier way to pay online!"></a>
|
185 |
</label>
|
186 |
</fieldset>
|
187 |
</td>
|
|
|
188 |
</table>
|
189 |
<p class="submit"><input type="submit" name="submit" id="submit" class="button-primary" value="Save Changes" /></p>
|
190 |
</form>
|
pages/page_backwpuptools.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
echo "<div class=\"wrap\">";
|
9 |
screen_icon();
|
@@ -42,7 +40,7 @@ if (isset($_POST['dbrestore']) and $_POST['dbrestore']==__('Restore', 'backwpup'
|
|
42 |
<input type="submit" name="dbrestore" class="button-primary" value="<?php _e('Restore', 'backwpup'); ?>" />
|
43 |
<?PHP
|
44 |
} else {
|
45 |
-
echo __('Copy SQL file to blog root folder to use for a
|
46 |
}
|
47 |
}
|
48 |
?>
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
echo "<div class=\"wrap\">";
|
7 |
screen_icon();
|
40 |
<input type="submit" name="dbrestore" class="button-primary" value="<?php _e('Restore', 'backwpup'); ?>" />
|
41 |
<?PHP
|
42 |
} else {
|
43 |
+
echo __('Copy SQL file to blog root folder to use for a restoring.', 'backwpup')."<br />";
|
44 |
}
|
45 |
}
|
46 |
?>
|
pages/page_backwpupworking.php
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
-
|
7 |
|
8 |
?>
|
9 |
<div class="wrap">
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
|
|
|
|
3 |
die();
|
4 |
+
|
5 |
|
6 |
?>
|
7 |
<div class="wrap">
|
pages/tools/db_restore.php
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
<?PHP
|
2 |
if (!defined('ABSPATH')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
}
|
7 |
|
@@ -91,7 +89,8 @@ if (!empty($oldblogabspath) and $oldblogabspath!=$blogabspath) {
|
|
91 |
if ($sqlerr=mysql_error())
|
92 |
echo __('ERROR:','backwpup').' '.sprintf(__('BackWPup database error %1$s for query %2$s','backwpup'), $sqlerr, "UPDATE ".$wpdb->prefix."options SET option_value = replace(option_value, '".untrailingslashit($oldblogabspath)."', '".untrailingslashit($blogabspath)."');")."<br />\n";
|
93 |
}
|
94 |
-
echo __('Restore Done. Please delete the SQL file after
|
|
|
95 |
|
96 |
|
97 |
|
1 |
<?PHP
|
2 |
if (!defined('ABSPATH')) {
|
|
|
|
|
3 |
die();
|
4 |
}
|
5 |
|
89 |
if ($sqlerr=mysql_error())
|
90 |
echo __('ERROR:','backwpup').' '.sprintf(__('BackWPup database error %1$s for query %2$s','backwpup'), $sqlerr, "UPDATE ".$wpdb->prefix."options SET option_value = replace(option_value, '".untrailingslashit($oldblogabspath)."', '".untrailingslashit($blogabspath)."');")."<br />\n";
|
91 |
}
|
92 |
+
echo __('Restore Done. Please delete the SQL file after restoring.','backwpup')."<br />";
|
93 |
+
|
94 |
|
95 |
|
96 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== BackWPup ===
|
2 |
Contributors: danielhuesken
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q3QSVRSFXBLSE
|
4 |
-
Tags: backup, admin, file, Database, mysql, Cron, ftp, S3, export, xml, Rackspace, Cloud, Azure, DropBox, SugarSync, Google, Storage
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.2.1
|
7 |
-
Stable tag: 2.1.
|
8 |
|
9 |
Backup your WordPress Database and Files, and more!
|
10 |
|
@@ -51,6 +51,16 @@ Do backups and more.
|
|
51 |
4. Backups Manage Page
|
52 |
|
53 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
= 2.1.0 =
|
55 |
* No more sessions and curl needed
|
56 |
* Respect open_basdir for temp folder
|
1 |
=== BackWPup ===
|
2 |
Contributors: danielhuesken
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q3QSVRSFXBLSE
|
4 |
+
Tags: backup, admin, file, Database, mysql, Cron, ftp, S3, export, xml, multisite, Rackspace, Cloud, Azure, DropBox, SugarSync, Google, Storage
|
5 |
Requires at least: 3.1
|
6 |
Tested up to: 3.2.1
|
7 |
+
Stable tag: 2.1.1
|
8 |
|
9 |
Backup your WordPress Database and Files, and more!
|
10 |
|
51 |
4. Backups Manage Page
|
52 |
|
53 |
== Changelog ==
|
54 |
+
= 2.1.1 =
|
55 |
+
* Fiexd problem with translation
|
56 |
+
* Don't display dashboard Wigets on Mulitsite for not super amdins
|
57 |
+
* Some improvements for Multisite
|
58 |
+
* Updated AWS lib to 1.3.7
|
59 |
+
* Google Storage uses now AWS lib
|
60 |
+
* Added http basic autentication support
|
61 |
+
* now DB jobs uses new not selected tabels too
|
62 |
+
* bug fixes
|
63 |
+
|
64 |
= 2.1.0 =
|
65 |
* No more sessions and curl needed
|
66 |
* Respect open_basdir for temp folder
|
uninstall.php
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
<?PHP
|
2 |
if (!defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN')) {
|
3 |
-
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
4 |
-
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
}
|
7 |
|
@@ -9,7 +7,7 @@ global $wp_version;
|
|
9 |
$blugurl=get_option('siteurl');
|
10 |
if (defined('WP_SITEURL'))
|
11 |
$blugurl=WP_SITEURL;
|
12 |
-
wp_remote_post( 'http://api.backwpup.com', array('timeout' => 10, 'blocking' => false, 'sslverify' => false, 'body'=>array('URL'=>$blugurl,'EMAIL'=>get_option('admin_email'),'WP_VER'=>$wp_version,'
|
13 |
delete_option('backwpup');
|
14 |
delete_option('backwpup_jobs');
|
15 |
delete_option('backwpup_last_activate');
|
1 |
<?PHP
|
2 |
if (!defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN')) {
|
|
|
|
|
3 |
die();
|
4 |
}
|
5 |
|
7 |
$blugurl=get_option('siteurl');
|
8 |
if (defined('WP_SITEURL'))
|
9 |
$blugurl=WP_SITEURL;
|
10 |
+
wp_remote_post( 'http://api.backwpup.com', array('timeout' => 10, 'blocking' => false, 'sslverify' => false, 'body'=>array('URL'=>$blugurl,'EMAIL'=>get_option('admin_email'),'WP_VER'=>$wp_version,'ACTIVE'=>'D'), 'user-agent'=>'BackWPup'));
|
11 |
delete_option('backwpup');
|
12 |
delete_option('backwpup_jobs');
|
13 |
delete_option('backwpup_last_activate');
|