Version Description
- No more sessions and curl needed
- Respect open_basdir for temp folder
- Dropbox changes, better uploads, but needs many memory
- Added Multiseite support (only for Network Admin)
- Uses now WP_TEMP_DIR for getting temp folder
- Updated AWS lib to 1.3.6
- Job runs now in UTC time. Time outputs will convert.
- Many languge strings changed for better translation
- Fixed double job run in same time
- Removed cache prevention for cron to resolve problems with W3 Total Cache
- Readded Support for WordPress 3.1
Download this release
Release Info
Developer | daveshine |
Plugin | BackWPup – WordPress Backup Plugin |
Version | 2.1.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.1.0
- backwpup-functions.php +162 -116
- backwpup.php +20 -11
- job/backup_create.php +81 -59
- job/db_check.php +14 -13
- job/db_dump.php +37 -42
- job/db_optimize.php +13 -12
- job/dest_dropbox.php +40 -31
- job/dest_folder.php +13 -16
- job/dest_ftp.php +50 -49
- job/dest_gstorage.php +35 -33
- job/dest_mail.php +33 -36
- job/dest_msazure.php +24 -27
- job/dest_rsc.php +35 -35
- job/dest_s3.php +34 -31
- job/dest_sugarsync.php +26 -29
- job/file_list.php +82 -81
- job/job_functions.php +230 -190
- job/job_run.php +102 -71
- job/job_start.php +183 -200
- job/show_working.php +5 -8
- job/wp_export.php +14 -11
- job/wp_export_generate.php +2 -2
- js/31backwpupeditjob.js +270 -0
- js/backwpupeditjob.js +2 -2
- js/backwpupworking.js +1 -0
- lang/backwpup-de_DE.mo +0 -0
- lang/backwpup-de_DE.po +1178 -943
- lang/backwpup.pot +1146 -995
- libs/aws/extensions/s3browserupload.class.php +171 -0
- libs/aws/lib/requestcore/cacert.pem +0 -3
- libs/aws/sdk.class.php +18 -13
- libs/aws/services/cloudformation.class.php +84 -7
- libs/aws/services/cloudwatch.class.php +1 -1
- libs/aws/services/ec2.class.php +1 -1
- libs/aws/services/elasticbeanstalk.class.php +25 -4
- libs/aws/services/elb.class.php +1 -1
- libs/aws/services/iam.class.php +1 -1
- libs/aws/services/importexport.class.php +1 -1
- libs/aws/services/rds.class.php +1 -1
- libs/aws/services/s3.class.php +7 -2
- libs/aws/services/sdb.class.php +1 -1
- libs/aws/services/ses.class.php +1 -1
- libs/aws/services/sns.class.php +1 -1
- libs/aws/services/sqs.class.php +1 -1
- libs/backwpup_get_temp.php +0 -23
- libs/class.http.php +1187 -0
- libs/dropbox/dropbox.php +26 -4
- libs/googlestorage.php +1 -1
- libs/sugarsync.php +5 -6
- pages/func_backwpup.php +19 -19
- pages/func_backwpupbackups.php +9 -9
- pages/func_backwpupeditjob.php +10 -3
- pages/func_backwpuplogs.php +4 -4
- pages/func_backwpupworking.php +0 -11
- pages/header_backwpup.php +5 -4
- pages/header_backwpupeditjob.php +6 -2
- pages/header_backwpupsettings.php +4 -0
- pages/header_backwpupworking.php +1 -1
- pages/page_backwpup.php +2 -2
- pages/page_backwpupeditjob.php +1 -1
- pages/page_backwpupsettings.php +19 -2
- pages/page_backwpuptools.php +1 -1
- pages/page_backwpupworking.php +5 -4
- readme.txt +21 -84
- uninstall.php +8 -0
backwpup-functions.php
CHANGED
@@ -13,7 +13,7 @@ function backwpup_admin_menu() {
|
|
13 |
$hook = add_submenu_page( 'backwpup', __('Add New','backwpup'), __('Add New','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpupeditjob', 'backwpup_menu_page' );
|
14 |
add_action('load-'.$hook, 'backwpup_menu_page_header');
|
15 |
$hook = add_submenu_page( 'backwpup', __('Working','backwpup'), __('Working','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpupworking', 'backwpup_menu_page' );
|
16 |
-
add_action('load-'.$hook, 'backwpup_menu_page_header');
|
17 |
$hook = add_submenu_page( 'backwpup', __('Logs','backwpup'), __('Logs','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpuplogs', 'backwpup_menu_page' );
|
18 |
add_action('load-'.$hook, 'backwpup_menu_page_header');
|
19 |
$hook = add_submenu_page( 'backwpup', __('Backups','backwpup'), __('Backups','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpupbackups', 'backwpup_menu_page' );
|
@@ -21,7 +21,7 @@ function backwpup_admin_menu() {
|
|
21 |
$hook = add_submenu_page( 'backwpup', __('Tools','backwpup'), __('Tools','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpuptools', 'backwpup_menu_page' );
|
22 |
add_action('load-'.$hook, 'backwpup_menu_page_header');
|
23 |
$hook = add_submenu_page( 'backwpup', __('Settings','backwpup'), __('Settings','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpupsettings', 'backwpup_menu_page' );
|
24 |
-
add_action('load-'.$hook, 'backwpup_menu_page_header');
|
25 |
}
|
26 |
|
27 |
function backwpup_menu_page() {
|
@@ -41,7 +41,7 @@ function backwpup_menu_page() {
|
|
41 |
}
|
42 |
|
43 |
function backwpup_menu_page_header() {
|
44 |
-
global $backwpup_message,$backwpup_listtable,$current_screen;
|
45 |
//check user premessions
|
46 |
if (!current_user_can(BACKWPUP_USER_CAPABILITY))
|
47 |
return;
|
@@ -60,7 +60,12 @@ function backwpup_menu_page_header() {
|
|
60 |
wp_enqueue_style($page,BACKWPUP_PLUGIN_BASEURL.'/css/'.$page.'.css','',BACKWPUP_VERSION,'screen');
|
61 |
}
|
62 |
//add java
|
63 |
-
if (is_file(dirname(__FILE__).'/js/'.$page.'.js')) {
|
|
|
|
|
|
|
|
|
|
|
64 |
if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
|
65 |
wp_enqueue_script($page,BACKWPUP_PLUGIN_BASEURL.'/js/'.$page.'.js','',time(),true);
|
66 |
else
|
@@ -96,28 +101,37 @@ function backwpup_contextual_help($help='') {
|
|
96 |
'<p><a href="http://backwpup.com/forum/" target="_blank">'.__('Support','backwpup').'</a>'.
|
97 |
' | <a href="http://backwpup.com/faq/" target="_blank">' . __('FAQ','backwpup') . '</a>'.
|
98 |
' | <a href="http://backwpup.com/" target="_blank">' . __('Plugin Homepage', 'backwpup') . '</a>'.
|
99 |
-
' | <a href="http://wordpress.org/extend/plugins/backwpup" target="_blank">' . __('Plugin
|
100 |
-
' | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=
|
101 |
-
' | <a href="https://flattr.com/thing/
|
102 |
'<p>BackWPup version '.BACKWPUP_VERSION.', Copyright © '.date('Y').' <a href="http://danielhuesken.de" target="_blank">Daniel Hüsken</a><br />'.__('BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.','backwpup').'</p>'.
|
103 |
'</p>');
|
104 |
}
|
105 |
|
106 |
//On Plugin activate
|
107 |
function backwpup_plugin_activate() {
|
108 |
-
|
109 |
-
if (
|
110 |
-
|
111 |
-
|
112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
}
|
114 |
//save job values
|
115 |
-
update_option('backwpup_jobs',$
|
116 |
}
|
117 |
//remove old cron jobs
|
118 |
wp_clear_scheduled_hook('backwpup_cron');
|
119 |
-
//make new schedule
|
120 |
-
wp_schedule_event(
|
121 |
//Set settings defaults
|
122 |
$cfg=get_option('backwpup'); //Load Settings
|
123 |
if (empty($cfg['mailsndemail'])) $cfg['mailsndemail']=sanitize_email(get_bloginfo( 'admin_email' ));
|
@@ -138,6 +152,8 @@ function backwpup_plugin_activate() {
|
|
138 |
if (!isset($cfg['jobscriptruntimelong']) or !is_int($cfg['jobscriptruntimelong']) or 1000<$cfg['jobscriptruntimelong'] or empty($cfg['jobscriptruntimelong'])) $cfg['jobscriptruntimelong']=300;
|
139 |
if (!isset($cfg['maxlogs']) or !is_int($cfg['maxlogs'])) $cfg['maxlogs']=50;
|
140 |
if (!function_exists('gzopen') or !isset($cfg['gzlogs'])) $cfg['gzlogs']=false;
|
|
|
|
|
141 |
if (!isset($cfg['dirlogs']) or empty($cfg['dirlogs']) or !is_dir($cfg['dirlogs'])) {
|
142 |
$rand = substr( md5( md5( SECURE_AUTH_KEY ) ), -5 );
|
143 |
$cfg['dirlogs']=str_replace('\\','/',trailingslashit(WP_CONTENT_DIR)).'backwpup-'.$rand.'-logs/';
|
@@ -158,6 +174,37 @@ function backwpup_plugin_deactivate() {
|
|
158 |
backwpup_api(false);
|
159 |
}
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
//Backwpup API
|
162 |
function backwpup_api($active=false) {
|
163 |
global $wp_version;
|
@@ -165,27 +212,37 @@ function backwpup_api($active=false) {
|
|
165 |
$active='Y';
|
166 |
else
|
167 |
$active='N';
|
|
|
|
|
168 |
$blugurl=get_option('siteurl');
|
169 |
if (defined('WP_SITEURL'))
|
170 |
$blugurl=WP_SITEURL;
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
}
|
183 |
|
184 |
//add edit setting to plugins page
|
185 |
function backwpup_plugin_options_link($links) {
|
186 |
if (!current_user_can(BACKWPUP_USER_CAPABILITY))
|
187 |
return $links;
|
188 |
-
$settings_link='<a href="'.
|
189 |
array_unshift( $links, $settings_link );
|
190 |
return $links;
|
191 |
}
|
@@ -197,57 +254,45 @@ function backwpup_plugin_links($links, $file) {
|
|
197 |
if ($file == BACKWPUP_PLUGIN_BASEDIR.'/backwpup.php') {
|
198 |
$links[] = '<a href="http://backwpup.com/faq/" target="_blank">' . __('FAQ','backwpup') . '</a>';
|
199 |
$links[] = '<a href="http://backwpup.com/forum/" target="_blank">' . __('Support','backwpup') . '</a>';
|
200 |
-
$links[] = '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=
|
201 |
}
|
202 |
return $links;
|
203 |
}
|
204 |
|
205 |
//Add cron interval
|
206 |
function backwpup_intervals($schedules) {
|
207 |
-
$intervals['backwpup_int']=array('interval' => '
|
208 |
$schedules=array_merge($intervals,$schedules);
|
209 |
return $schedules;
|
210 |
}
|
211 |
-
|
|
|
|
|
|
|
|
|
|
|
212 |
//cron work
|
213 |
function backwpup_cron() {
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
$_SERVER["QUICK_CACHE_ALLOWED"] = false;
|
221 |
-
if (function_exists('w3tc_pgcache_flush'))
|
222 |
-
w3tc_pgcache_flush();
|
223 |
-
echo "<!-- mfunc -->";
|
224 |
-
if ($infile=backwpup_get_working_file()) {
|
225 |
-
if ($infile['timestamp']>time()-310) {
|
226 |
-
$ch=curl_init();
|
227 |
-
curl_setopt($ch,CURLOPT_URL,BACKWPUP_PLUGIN_BASEURL.'/job/job_run.php');
|
228 |
-
//curl_setopt($ch,CURLOPT_COOKIESESSION, true);
|
229 |
-
//curl_setopt($ch,CURLOPT_COOKIE,'BackWPupSession='.$infile['SID'].'; path='.ini_get('session.cookie_path'));
|
230 |
-
curl_setopt($ch,CURLOPT_SSL_VERIFYPEER, false);
|
231 |
-
curl_setopt($ch,CURLOPT_SSL_VERIFYHOST, false);
|
232 |
-
curl_setopt($ch,CURLOPT_RETURNTRANSFER,false);
|
233 |
-
curl_setopt($ch,CURLOPT_FORBID_REUSE,true);
|
234 |
-
curl_setopt($ch,CURLOPT_FRESH_CONNECT,true);
|
235 |
-
curl_setopt($ch,CURLOPT_TIMEOUT,0.01);
|
236 |
-
curl_exec($ch);
|
237 |
-
curl_close($ch);
|
238 |
}
|
239 |
} else {
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
|
|
|
|
247 |
}
|
248 |
}
|
249 |
}
|
250 |
-
echo "<!--/mfunc-->";
|
251 |
}
|
252 |
|
253 |
//file size
|
@@ -270,12 +315,12 @@ function backwpup_backup_types($type='',$echo=false) {
|
|
270 |
case 'WPEXP':
|
271 |
$typename.=__('WP XML Export','backwpup')."<br />";
|
272 |
break;
|
273 |
-
case 'DB':
|
274 |
-
$typename.=__('Database Backup','backwpup')."<br />";
|
275 |
-
break;
|
276 |
case 'FILE':
|
277 |
$typename.=__('File Backup','backwpup')."<br />";
|
278 |
break;
|
|
|
|
|
|
|
279 |
case 'OPTIMIZE':
|
280 |
$typename.=__('Optimize Database Tables','backwpup')."<br />";
|
281 |
break;
|
@@ -344,8 +389,8 @@ function backwpup_dashboard_logs() {
|
|
344 |
foreach ($logfiles as $logfile) {
|
345 |
$logdata=backwpup_read_logheader($cfg['dirlogs'].'/'.$logfile);
|
346 |
echo '<li>';
|
347 |
-
echo '<span>'.
|
348 |
-
echo '<a href="'.wp_nonce_url(
|
349 |
if ($logdata['errors']>0)
|
350 |
printf(' <span style="color:red;font-weight:bold;">'._n("%d ERROR", "%d ERRORS", $logdata['errors'],'backwpup').'</span>', $logdata['errors']);
|
351 |
if ($logdata['warnings']>0)
|
@@ -387,12 +432,8 @@ function backwpup_dashboard_logs_config() {
|
|
387 |
|
388 |
//Dashboard widget for Jobs
|
389 |
function backwpup_dashboard_activejobs() {
|
390 |
-
$
|
391 |
-
if (
|
392 |
-
foreach ($jobsids as $jobid) {
|
393 |
-
$jobs[$jobid]=backwpup_get_job_vars($jobid);
|
394 |
-
}
|
395 |
-
} else {
|
396 |
echo '<ul><li><i>'.__('none','backwpup').'</i></li></ul>';
|
397 |
return;
|
398 |
}
|
@@ -408,13 +449,13 @@ function backwpup_dashboard_activejobs() {
|
|
408 |
$runtime=time()-$jobvalue['starttime'];
|
409 |
echo '<li><span style="font-weight:bold;">'.$jobvalue['jobid'].'. '.$jobvalue['name'].': </span>';
|
410 |
printf('<span style="color:#e66f00;">'.__('working since %d sec.','backwpup').'</span>',$runtime);
|
411 |
-
echo " <a style=\"color:green;\" href=\"" .
|
412 |
-
echo " <a style=\"color:red;\" href=\"" . wp_nonce_url(
|
413 |
echo "</li>";
|
414 |
$count++;
|
415 |
} elseif ($jobvalue['activated']) {
|
416 |
-
echo '<li><span>'.
|
417 |
-
echo ' <a href="'.wp_nonce_url(
|
418 |
echo "</li>";
|
419 |
$count++;
|
420 |
}
|
@@ -440,14 +481,14 @@ function backwpup_add_adminbar() {
|
|
440 |
if (!$cfg['showadminbar'] || !current_user_can(BACKWPUP_USER_CAPABILITY) || !is_super_admin() || !is_admin_bar_showing())
|
441 |
return;
|
442 |
/* Add the main siteadmin menu item */
|
443 |
-
$wp_admin_bar->add_menu(array( 'id' => 'backwpup', 'title' => __( 'BackWPup', 'textdomain' ), 'href' =>
|
444 |
if (backwpup_get_working_file())
|
445 |
-
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('See Working!','backwpup'), 'href' =>
|
446 |
-
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('Jobs','backwpup'), 'href' =>
|
447 |
-
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('Logs','backwpup'), 'href' =>
|
448 |
-
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('Backups','backwpup'), 'href' =>
|
449 |
|
450 |
-
$wp_admin_bar->add_menu(array( 'parent' => 'new-content', 'title' => __('BackWPup Job','backwpup'), 'href' =>
|
451 |
}
|
452 |
|
453 |
|
@@ -460,10 +501,8 @@ function backwpup_send_no_cache_header() {
|
|
460 |
}
|
461 |
|
462 |
function backwpup_get_upload_dir() {
|
463 |
-
|
464 |
-
$upload_path = get_option( 'upload_path' );
|
465 |
$upload_path = trim($upload_path);
|
466 |
-
$main_override = defined( 'MULTISITE' ) && is_main_site();
|
467 |
if ( empty($upload_path) ) {
|
468 |
$dir = WP_CONTENT_DIR . '/uploads';
|
469 |
} else {
|
@@ -475,14 +514,11 @@ function backwpup_get_upload_dir() {
|
|
475 |
$dir = path_join( ABSPATH, $dir );
|
476 |
}
|
477 |
}
|
478 |
-
if ( defined('UPLOADS') &&
|
479 |
$dir = ABSPATH . UPLOADS;
|
480 |
}
|
481 |
-
if (
|
482 |
-
|
483 |
-
if ( defined( 'BLOGUPLOADDIR' ) )
|
484 |
-
$dir = untrailingslashit(BLOGUPLOADDIR);
|
485 |
-
}
|
486 |
}
|
487 |
return str_replace('\\','/',trailingslashit($dir));
|
488 |
}
|
@@ -491,7 +527,7 @@ function backwpup_get_exclude_wp_dirs($folder) {
|
|
491 |
$cfg=get_option('backwpup'); //Load Settings
|
492 |
$folder=trailingslashit(str_replace('\\','/',$folder));
|
493 |
$excludedir=array();
|
494 |
-
$excludedir[]=
|
495 |
$excludedir[]=rtrim(str_replace('\\','/',$cfg['dirlogs']),'/').'/'; //exclude logfiles
|
496 |
if (false !== strpos(trailingslashit(str_replace('\\','/',ABSPATH)),$folder) and trailingslashit(str_replace('\\','/',ABSPATH))!=$folder)
|
497 |
$excludedir[]=trailingslashit(str_replace('\\','/',ABSPATH));
|
@@ -504,10 +540,12 @@ function backwpup_get_exclude_wp_dirs($folder) {
|
|
504 |
if (false !== strpos(backwpup_get_upload_dir(),$folder) and backwpup_get_upload_dir()!=$folder)
|
505 |
$excludedir[]=backwpup_get_upload_dir();
|
506 |
//Exclude Backup dirs
|
507 |
-
$jobs=
|
508 |
-
|
509 |
-
|
510 |
-
$
|
|
|
|
|
511 |
}
|
512 |
return $excludedir;
|
513 |
}
|
@@ -653,6 +691,15 @@ function backwpup_get_working_file() {
|
|
653 |
}
|
654 |
}
|
655 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
656 |
function backwpup_env_checks() {
|
657 |
global $wp_version,$backwpup_admin_message;
|
658 |
$message='';
|
@@ -666,20 +713,8 @@ function backwpup_env_checks() {
|
|
666 |
$message.=__('- PHP 5.2.4 or higher needed!','backwpup') . '<br />';
|
667 |
$checks=false;
|
668 |
}
|
669 |
-
if (
|
670 |
-
$
|
671 |
-
$checks=false;
|
672 |
-
}
|
673 |
-
if (!function_exists('curl_init')) { // check curl
|
674 |
-
$message.=__('- curl is needed!','backwpup') . '<br />';
|
675 |
-
$checks=false;
|
676 |
-
}
|
677 |
-
if (!function_exists('session_start')) { // check sessions
|
678 |
-
$message.=__('- PHP sessions needed!','backwpup') . '<br />';
|
679 |
-
$checks=false;
|
680 |
-
}
|
681 |
-
if (!is_dir($cfg['dirlogs'])) { // create logs folder if it not exists
|
682 |
-
@mkdir($cfg['dirlogs'],0755,true);
|
683 |
}
|
684 |
if (!is_dir($cfg['dirlogs'])) { // check logs folder
|
685 |
$message.=__('- Logs Folder not exists:','backwpup') . ' '.$cfg['dirlogs'].'<br />';
|
@@ -687,12 +722,18 @@ function backwpup_env_checks() {
|
|
687 |
if (!is_writable($cfg['dirlogs'])) { // check logs folder
|
688 |
$message.=__('- Logs Folder not writeable:','backwpup') . ' '.$cfg['dirlogs'].'<br />';
|
689 |
}
|
690 |
-
|
691 |
-
|
692 |
-
if (isset($jobvalue['scheduletime']) and empty($jobvalue['cron']))
|
693 |
-
$message.=__('- Please Check Scheduling time for Job:','backwpup') . ' '.$jobid.'. '.$jobvalue['name'].'<br />';
|
694 |
}
|
695 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
696 |
$message.=__("- WP-Cron don't working please check it!","backwpup") .'<br />';
|
697 |
}
|
698 |
//put massage if one
|
@@ -894,6 +935,8 @@ function backwpup_get_job_vars($jobid='',$jobnewsettings='') {
|
|
894 |
|
895 |
if (!isset($jobsettings['backupdir']))
|
896 |
$jobsettings['backupdir']='';
|
|
|
|
|
897 |
$jobsettings['backupdir']=trailingslashit(str_replace('//','/',str_replace('\\','/',trim($jobsettings['backupdir']))));
|
898 |
if ($jobsettings['backupdir']=='/')
|
899 |
$jobsettings['backupdir']='';
|
@@ -1024,6 +1067,9 @@ function backwpup_get_job_vars($jobid='',$jobnewsettings='') {
|
|
1024 |
if (!isset($jobsettings['droperoot']) or ($jobsettings['droperoot']!='dropbox' and $jobsettings['droperoot']!='sandbox'))
|
1025 |
$jobsettings['droperoot']='dropbox';
|
1026 |
|
|
|
|
|
|
|
1027 |
if (!isset($jobsettings['dropemaxbackups']) or !is_int($jobsettings['dropemaxbackups']))
|
1028 |
$jobsettings['dropemaxbackups']=0;
|
1029 |
|
13 |
$hook = add_submenu_page( 'backwpup', __('Add New','backwpup'), __('Add New','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpupeditjob', 'backwpup_menu_page' );
|
14 |
add_action('load-'.$hook, 'backwpup_menu_page_header');
|
15 |
$hook = add_submenu_page( 'backwpup', __('Working','backwpup'), __('Working','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpupworking', 'backwpup_menu_page' );
|
16 |
+
add_action('load-'.$hook, 'backwpup_menu_page_header',1);
|
17 |
$hook = add_submenu_page( 'backwpup', __('Logs','backwpup'), __('Logs','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpuplogs', 'backwpup_menu_page' );
|
18 |
add_action('load-'.$hook, 'backwpup_menu_page_header');
|
19 |
$hook = add_submenu_page( 'backwpup', __('Backups','backwpup'), __('Backups','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpupbackups', 'backwpup_menu_page' );
|
21 |
$hook = add_submenu_page( 'backwpup', __('Tools','backwpup'), __('Tools','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpuptools', 'backwpup_menu_page' );
|
22 |
add_action('load-'.$hook, 'backwpup_menu_page_header');
|
23 |
$hook = add_submenu_page( 'backwpup', __('Settings','backwpup'), __('Settings','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpupsettings', 'backwpup_menu_page' );
|
24 |
+
add_action('load-'.$hook, 'backwpup_menu_page_header');
|
25 |
}
|
26 |
|
27 |
function backwpup_menu_page() {
|
41 |
}
|
42 |
|
43 |
function backwpup_menu_page_header() {
|
44 |
+
global $wp_version,$backwpup_message,$backwpup_listtable,$current_screen;
|
45 |
//check user premessions
|
46 |
if (!current_user_can(BACKWPUP_USER_CAPABILITY))
|
47 |
return;
|
60 |
wp_enqueue_style($page,BACKWPUP_PLUGIN_BASEURL.'/css/'.$page.'.css','',BACKWPUP_VERSION,'screen');
|
61 |
}
|
62 |
//add java
|
63 |
+
if (is_file(dirname(__FILE__).'/js/31'.$page.'.js') and version_compare($wp_version, '3.2', '<')) {
|
64 |
+
if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
|
65 |
+
wp_enqueue_script($page,BACKWPUP_PLUGIN_BASEURL.'/js/31'.$page.'.js','',time(),true);
|
66 |
+
else
|
67 |
+
wp_enqueue_script($page,BACKWPUP_PLUGIN_BASEURL.'/js/31'.$page.'.js','',BACKWPUP_VERSION,true);
|
68 |
+
} elseif (is_file(dirname(__FILE__).'/js/'.$page.'.js')) {
|
69 |
if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
|
70 |
wp_enqueue_script($page,BACKWPUP_PLUGIN_BASEURL.'/js/'.$page.'.js','',time(),true);
|
71 |
else
|
101 |
'<p><a href="http://backwpup.com/forum/" target="_blank">'.__('Support','backwpup').'</a>'.
|
102 |
' | <a href="http://backwpup.com/faq/" target="_blank">' . __('FAQ','backwpup') . '</a>'.
|
103 |
' | <a href="http://backwpup.com/" target="_blank">' . __('Plugin Homepage', 'backwpup') . '</a>'.
|
104 |
+
' | <a href="http://wordpress.org/extend/plugins/backwpup" target="_blank">' . __('Plugin on WordPress.org', 'backwpup') . '</a>'.
|
105 |
+
' | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q3QSVRSFXBLSE" target="_blank">' . __('Donate','backwpup') . '</a>'.
|
106 |
+
' | <a href="https://flattr.com/thing/345067/BackWPup" target="_blank">' . __('Flattr', 'backwpup') . '</a>'.
|
107 |
'<p>BackWPup version '.BACKWPUP_VERSION.', Copyright © '.date('Y').' <a href="http://danielhuesken.de" target="_blank">Daniel Hüsken</a><br />'.__('BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.','backwpup').'</p>'.
|
108 |
'</p>');
|
109 |
}
|
110 |
|
111 |
//On Plugin activate
|
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);
|
119 |
+
}
|
120 |
+
}
|
121 |
+
$jobs=get_option('backwpup_jobs');
|
122 |
+
if (isset($jobs[0]))
|
123 |
+
unset($jobs[0]); //Delte old false job
|
124 |
+
if (!empty($jobs)) {
|
125 |
+
foreach ($jobs as $jobid => $jobvalue) {
|
126 |
+
$checktjobs[$jobid]=backwpup_get_job_vars($jobid); //check jobvaules
|
127 |
}
|
128 |
//save job values
|
129 |
+
update_option('backwpup_jobs',$checktjobs);
|
130 |
}
|
131 |
//remove old cron jobs
|
132 |
wp_clear_scheduled_hook('backwpup_cron');
|
133 |
+
//make new schedule round
|
134 |
+
wp_schedule_event(mktime(date("H")), 'backwpup_int', 'backwpup_cron');
|
135 |
//Set settings defaults
|
136 |
$cfg=get_option('backwpup'); //Load Settings
|
137 |
if (empty($cfg['mailsndemail'])) $cfg['mailsndemail']=sanitize_email(get_bloginfo( 'admin_email' ));
|
152 |
if (!isset($cfg['jobscriptruntimelong']) or !is_int($cfg['jobscriptruntimelong']) or 1000<$cfg['jobscriptruntimelong'] or empty($cfg['jobscriptruntimelong'])) $cfg['jobscriptruntimelong']=300;
|
153 |
if (!isset($cfg['maxlogs']) or !is_int($cfg['maxlogs'])) $cfg['maxlogs']=50;
|
154 |
if (!function_exists('gzopen') or !isset($cfg['gzlogs'])) $cfg['gzlogs']=false;
|
155 |
+
if (!class_exists('ZipArchive') or !isset($cfg['phpzip'])) $cfg['phpzip']=false;
|
156 |
+
if (!isset($cfg['apicronservice']) or !is_bool($cfg['apicronservice'])) $cfg['apicronservice']=false;
|
157 |
if (!isset($cfg['dirlogs']) or empty($cfg['dirlogs']) or !is_dir($cfg['dirlogs'])) {
|
158 |
$rand = substr( md5( md5( SECURE_AUTH_KEY ) ), -5 );
|
159 |
$cfg['dirlogs']=str_replace('\\','/',trailingslashit(WP_CONTENT_DIR)).'backwpup-'.$rand.'-logs/';
|
174 |
backwpup_api(false);
|
175 |
}
|
176 |
|
177 |
+
//get temp dir
|
178 |
+
function backwpup_get_temp() {
|
179 |
+
//get temp dirs like wordpress get_temp_dir()
|
180 |
+
if (defined('WP_TEMP_DIR'))
|
181 |
+
$tempfolder=WP_TEMP_DIR;
|
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=get_temp_dir(); //if sys_get_temp_dir not work
|
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))
|
189 |
+
$tempfolder=get_temp_dir();
|
190 |
+
return rtrim(str_replace('\\','/',realpath(trim($tempfolder))),'/').'/.backwpup_'.crc32(ABSPATH).'/';
|
191 |
+
}
|
192 |
+
//checks the dir is in openbasedir
|
193 |
+
function backwpup_check_open_basedir($dir) {
|
194 |
+
$openbasedir=ini_get('open_basedir');
|
195 |
+
$dir=rtrim(str_replace('\\','/',$dir),'/').'/';
|
196 |
+
if (!empty($openbasedir)) {
|
197 |
+
$openbasedirarray=explode(PATH_SEPARATOR,$openbasedir);
|
198 |
+
foreach ($openbasedirarray as $basedir) {
|
199 |
+
if (stripos($dir,rtrim(str_replace('\\','/',$basedir),'/').'/')==0)
|
200 |
+
return true;
|
201 |
+
}
|
202 |
+
} else {
|
203 |
+
return true;
|
204 |
+
}
|
205 |
+
return false;
|
206 |
+
}
|
207 |
+
|
208 |
//Backwpup API
|
209 |
function backwpup_api($active=false) {
|
210 |
global $wp_version;
|
212 |
$active='Y';
|
213 |
else
|
214 |
$active='N';
|
215 |
+
if (is_multisite())
|
216 |
+
$active='M';
|
217 |
$blugurl=get_option('siteurl');
|
218 |
if (defined('WP_SITEURL'))
|
219 |
$blugurl=WP_SITEURL;
|
220 |
+
|
221 |
+
$post=array('URL'=>$blugurl,
|
222 |
+
'EMAIL'=>get_option('admin_email'),
|
223 |
+
'WP_VER'=>$wp_version,
|
224 |
+
'BACKWPUP_VER'=>BACKWPUP_VERSION,
|
225 |
+
'ACTIVE'=>$active,
|
226 |
+
'OFFSET'=>get_option('gmt_offset'));
|
227 |
+
|
228 |
+
$cfg=get_option('backwpup'); //Load Settings
|
229 |
+
if ($cfg['apicronservice']) {
|
230 |
+
$jobs=get_option('backwpup_jobs');
|
231 |
+
if (!empty($jobs)) {
|
232 |
+
foreach ($jobs as $jobid => $jobvalue) {
|
233 |
+
if ($jobvalue['activated'] and !empty($jobvalue['cron']))
|
234 |
+
$post["JOBCRON[".$jobid."]"]=$jobvalue['cron'];
|
235 |
+
}
|
236 |
+
}
|
237 |
+
}
|
238 |
+
wp_remote_post( BACKWPUP_API_URL, array('timeout' => 10, 'blocking' => false, 'sslverify' => false, 'body'=>$post, 'user-agent'=>'BackWPup '.BACKWPUP_VERSION) );
|
239 |
}
|
240 |
|
241 |
//add edit setting to plugins page
|
242 |
function backwpup_plugin_options_link($links) {
|
243 |
if (!current_user_can(BACKWPUP_USER_CAPABILITY))
|
244 |
return $links;
|
245 |
+
$settings_link='<a href="'.backwpup_admin_url('admin.php').'?page=backwpup" title="' . __('Go to Settings Page','backwpup') . '" class="edit">' . __('Settings','backwpup') . '</a>';
|
246 |
array_unshift( $links, $settings_link );
|
247 |
return $links;
|
248 |
}
|
254 |
if ($file == BACKWPUP_PLUGIN_BASEDIR.'/backwpup.php') {
|
255 |
$links[] = '<a href="http://backwpup.com/faq/" target="_blank">' . __('FAQ','backwpup') . '</a>';
|
256 |
$links[] = '<a href="http://backwpup.com/forum/" target="_blank">' . __('Support','backwpup') . '</a>';
|
257 |
+
$links[] = '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q3QSVRSFXBLSE" target="_blank">' . __('Donate','backwpup') . '</a>';
|
258 |
}
|
259 |
return $links;
|
260 |
}
|
261 |
|
262 |
//Add cron interval
|
263 |
function backwpup_intervals($schedules) {
|
264 |
+
$intervals['backwpup_int']=array('interval' => '60', 'display' => __('BackWPup', 'backwpup'));
|
265 |
$schedules=array_merge($intervals,$schedules);
|
266 |
return $schedules;
|
267 |
}
|
268 |
+
//
|
269 |
+
function backwpup_date_i18n( $dateformatstring, $unixtimestamp = false, $gmt = false ) {
|
270 |
+
if ($unixtimestamp)
|
271 |
+
$unixtimestamp=$unixtimestamp+get_option('gmt_offset')*3600;
|
272 |
+
return date_i18n( $dateformatstring, $unixtimestamp, $gmt);
|
273 |
+
}
|
274 |
//cron work
|
275 |
function backwpup_cron() {
|
276 |
+
if (is_file(backwpup_get_temp().'.running')) {
|
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');
|
285 |
+
if (!empty($jobs)) {
|
286 |
+
foreach ($jobs as $jobid => $jobvalue) {
|
287 |
+
if (!isset($jobvalue['activated']) or !$jobvalue['activated'])
|
288 |
+
continue;
|
289 |
+
if ($jobvalue['cronnextrun']<=current_time('timestamp')) {
|
290 |
+
require_once(dirname(__FILE__).'/job/job_start.php');
|
291 |
+
backwpup_jobstart($jobid,true);
|
292 |
+
}
|
293 |
}
|
294 |
}
|
295 |
}
|
|
|
296 |
}
|
297 |
|
298 |
//file size
|
315 |
case 'WPEXP':
|
316 |
$typename.=__('WP XML Export','backwpup')."<br />";
|
317 |
break;
|
|
|
|
|
|
|
318 |
case 'FILE':
|
319 |
$typename.=__('File Backup','backwpup')."<br />";
|
320 |
break;
|
321 |
+
case 'DB':
|
322 |
+
$typename.=__('Database Backup','backwpup')."<br />";
|
323 |
+
break;
|
324 |
case 'OPTIMIZE':
|
325 |
$typename.=__('Optimize Database Tables','backwpup')."<br />";
|
326 |
break;
|
389 |
foreach ($logfiles as $logfile) {
|
390 |
$logdata=backwpup_read_logheader($cfg['dirlogs'].'/'.$logfile);
|
391 |
echo '<li>';
|
392 |
+
echo '<span>'.backwpup_date_i18n(get_option('date_format').' @ '.get_option('time_format'),$logdata['logtime']).'</span> ';
|
393 |
+
echo '<a href="'.wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupworking&logfile='.$cfg['dirlogs'].'/'.$logfile, 'view-log_'.$logfile).'" title="'.__('View Log:','backwpup').' '.basename($logfile).'">'.$logdata['name'].'</i></a>';
|
394 |
if ($logdata['errors']>0)
|
395 |
printf(' <span style="color:red;font-weight:bold;">'._n("%d ERROR", "%d ERRORS", $logdata['errors'],'backwpup').'</span>', $logdata['errors']);
|
396 |
if ($logdata['warnings']>0)
|
432 |
|
433 |
//Dashboard widget for Jobs
|
434 |
function backwpup_dashboard_activejobs() {
|
435 |
+
$jobs=get_option('backwpup_jobs');
|
436 |
+
if (empty($jobs)) {
|
|
|
|
|
|
|
|
|
437 |
echo '<ul><li><i>'.__('none','backwpup').'</i></li></ul>';
|
438 |
return;
|
439 |
}
|
449 |
$runtime=time()-$jobvalue['starttime'];
|
450 |
echo '<li><span style="font-weight:bold;">'.$jobvalue['jobid'].'. '.$jobvalue['name'].': </span>';
|
451 |
printf('<span style="color:#e66f00;">'.__('working since %d sec.','backwpup').'</span>',$runtime);
|
452 |
+
echo " <a style=\"color:green;\" href=\"" . backwpup_admin_url('admin.php').'?page=backwpupworking' . "\">" . __('View!','backwpup') . "</a>";
|
453 |
+
echo " <a style=\"color:red;\" href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpup&action=abort', 'abort-job') . "\">" . __('Abort!','backwpup') . "</a>";
|
454 |
echo "</li>";
|
455 |
$count++;
|
456 |
} elseif ($jobvalue['activated']) {
|
457 |
+
echo '<li><span>'.date_i18n(get_option('date_format'),$jobvalue['cronnextrun']).' @ '.date_i18n(get_option('time_format'),$jobvalue['cronnextrun']).'</span>';
|
458 |
+
echo ' <a href="'.wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupeditjob&jobid='.$jobvalue['jobid'], 'edit-job').'" title="'.__('Edit Job','backwpup').'">'.$jobvalue['name'].'</a><br />';
|
459 |
echo "</li>";
|
460 |
$count++;
|
461 |
}
|
481 |
if (!$cfg['showadminbar'] || !current_user_can(BACKWPUP_USER_CAPABILITY) || !is_super_admin() || !is_admin_bar_showing())
|
482 |
return;
|
483 |
/* Add the main siteadmin menu item */
|
484 |
+
$wp_admin_bar->add_menu(array( 'id' => 'backwpup', 'title' => __( 'BackWPup', 'textdomain' ), 'href' => backwpup_admin_url('admin.php').'?page=backwpup'));
|
485 |
if (backwpup_get_working_file())
|
486 |
+
$wp_admin_bar->add_menu(array( 'parent' => 'backwpup', 'title' => __('See Working!','backwpup'), 'href' => backwpup_admin_url('admin.php').'?page=backwpupworking'));
|
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 |
|
501 |
}
|
502 |
|
503 |
function backwpup_get_upload_dir() {
|
504 |
+
$upload_path = get_option('upload_path');
|
|
|
505 |
$upload_path = trim($upload_path);
|
|
|
506 |
if ( empty($upload_path) ) {
|
507 |
$dir = WP_CONTENT_DIR . '/uploads';
|
508 |
} else {
|
514 |
$dir = path_join( ABSPATH, $dir );
|
515 |
}
|
516 |
}
|
517 |
+
if ( defined('UPLOADS') && !is_multisite()) {
|
518 |
$dir = ABSPATH . UPLOADS;
|
519 |
}
|
520 |
+
if ( is_multisite() && is_multisite()) {
|
521 |
+
$dir = untrailingslashit(WP_CONTENT_DIR).'/blogs.dir';
|
|
|
|
|
|
|
522 |
}
|
523 |
return str_replace('\\','/',trailingslashit($dir));
|
524 |
}
|
527 |
$cfg=get_option('backwpup'); //Load Settings
|
528 |
$folder=trailingslashit(str_replace('\\','/',$folder));
|
529 |
$excludedir=array();
|
530 |
+
$excludedir[]=backwpup_get_temp(); //exclude temp
|
531 |
$excludedir[]=rtrim(str_replace('\\','/',$cfg['dirlogs']),'/').'/'; //exclude logfiles
|
532 |
if (false !== strpos(trailingslashit(str_replace('\\','/',ABSPATH)),$folder) and trailingslashit(str_replace('\\','/',ABSPATH))!=$folder)
|
533 |
$excludedir[]=trailingslashit(str_replace('\\','/',ABSPATH));
|
540 |
if (false !== strpos(backwpup_get_upload_dir(),$folder) and backwpup_get_upload_dir()!=$folder)
|
541 |
$excludedir[]=backwpup_get_upload_dir();
|
542 |
//Exclude Backup dirs
|
543 |
+
$jobs=get_option('backwpup_jobs');
|
544 |
+
if (!empty($jobs)) {
|
545 |
+
foreach($jobs as $jobsvale) {
|
546 |
+
if (!empty($jobsvale['backupdir']) and $jobsvale['backupdir']!='/')
|
547 |
+
$excludedir[]=$jobsvale['backupdir'];
|
548 |
+
}
|
549 |
}
|
550 |
return $excludedir;
|
551 |
}
|
691 |
}
|
692 |
}
|
693 |
|
694 |
+
function backwpup_admin_url($url) {
|
695 |
+
if (is_multisite()) {
|
696 |
+
if (WP_NETWORK_ADMIN)
|
697 |
+
return network_admin_url($url);
|
698 |
+
} else {
|
699 |
+
return admin_url($url);
|
700 |
+
}
|
701 |
+
}
|
702 |
+
|
703 |
function backwpup_env_checks() {
|
704 |
global $wp_version,$backwpup_admin_message;
|
705 |
$message='';
|
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.=__('- Logs Folder not exists:','backwpup') . ' '.$cfg['dirlogs'].'<br />';
|
722 |
if (!is_writable($cfg['dirlogs'])) { // check logs folder
|
723 |
$message.=__('- Logs Folder not writeable:','backwpup') . ' '.$cfg['dirlogs'].'<br />';
|
724 |
}
|
725 |
+
if (!backwpup_check_open_basedir($cfg['dirlogs'])) { // check logs folder
|
726 |
+
$message.=__('- Logs Folder in open_basedir path:','backwpup') . ' '.$cfg['dirlogs'].'<br />';
|
|
|
|
|
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 Check Scheduling time for Job:','backwpup') . ' '.$jobid.'. '.$jobvalue['name'].'<br />';
|
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 don't working please check it!","backwpup") .'<br />';
|
738 |
}
|
739 |
//put massage if one
|
935 |
|
936 |
if (!isset($jobsettings['backupdir']))
|
937 |
$jobsettings['backupdir']='';
|
938 |
+
if (substr($jobsettings['backupdir'],0,1)!='/' and substr($jobsettings['backupdir'],1,1)!=':' and !empty($jobsettings['backupdir'])) //add abspath if not absolute
|
939 |
+
$jobsettings['backupdir']=rtrim(str_replace('\\','/',ABSPATH),'/').'/'.$jobsettings['backupdir'];
|
940 |
$jobsettings['backupdir']=trailingslashit(str_replace('//','/',str_replace('\\','/',trim($jobsettings['backupdir']))));
|
941 |
if ($jobsettings['backupdir']=='/')
|
942 |
$jobsettings['backupdir']='';
|
1067 |
if (!isset($jobsettings['droperoot']) or ($jobsettings['droperoot']!='dropbox' and $jobsettings['droperoot']!='sandbox'))
|
1068 |
$jobsettings['droperoot']='dropbox';
|
1069 |
|
1070 |
+
if (!isset($jobsettings['dropesignmethod']) or ($jobsettings['dropesignmethod']!='PLAIN' and $jobsettings['dropesignmethod']!='SHA1'))
|
1071 |
+
$jobsettings['dropesignmethod']='SHA1';
|
1072 |
+
|
1073 |
if (!isset($jobsettings['dropemaxbackups']) or !is_int($jobsettings['dropemaxbackups']))
|
1074 |
$jobsettings['dropemaxbackups']=0;
|
1075 |
|
backwpup.php
CHANGED
@@ -4,14 +4,14 @@ Plugin Name: BackWPup
|
|
4 |
Plugin URI: http://backwpup.com
|
5 |
Description: Wordpress Backup and more...
|
6 |
Author: Daniel Hüsken
|
7 |
-
Version: 2.0
|
8 |
Author URI: http://danielhuesken.de
|
9 |
Text Domain: backwpup
|
10 |
Domain Path: /lang/
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
-
Copyright (C) 2011 Daniel H�sken (email:
|
15 |
|
16 |
This program is free software; you can redistribute it and/or
|
17 |
modify it under the terms of the GNU General Public License
|
@@ -39,14 +39,18 @@ if (!defined('ABSPATH')) {
|
|
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.0
|
43 |
//Set Min Wordpress Version
|
44 |
-
define('BACKWPUP_MIN_WORDPRESS_VERSION', '3.
|
45 |
//Set User Capability
|
46 |
define('BACKWPUP_USER_CAPABILITY', 'export');
|
47 |
//Set useable destinations
|
48 |
-
if (!defined('BACKWPUP_DESTS'))
|
49 |
-
|
|
|
|
|
|
|
|
|
50 |
//Set Dropbox Aplication Keys
|
51 |
define('BACKWPUP_DROPBOX_APP_KEY', 'q2jbt0unkkc54u2');
|
52 |
define('BACKWPUP_DROPBOX_APP_SECRET', 't5hlbxtz473hchy');
|
@@ -67,11 +71,18 @@ register_deactivation_hook(__FILE__, 'backwpup_plugin_deactivate');
|
|
67 |
add_action('admin_notices', 'backwpup_admin_notice');
|
68 |
if (backwpup_env_checks()) {
|
69 |
//add Menu
|
70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
//add cron intervals
|
72 |
add_filter('cron_schedules', 'backwpup_intervals');
|
73 |
//Actions for Cron job
|
74 |
-
add_action('backwpup_cron', 'backwpup_cron');
|
75 |
//add Dashboard widget
|
76 |
add_action('wp_dashboard_setup', 'backwpup_add_dashboard');
|
77 |
//add Admin Bar menu
|
@@ -87,8 +98,6 @@ if (backwpup_env_checks()) {
|
|
87 |
define('DISABLE_WP_CRON',true);
|
88 |
//test if cron active
|
89 |
if (!(wp_next_scheduled('backwpup_cron')))
|
90 |
-
wp_schedule_event(
|
91 |
-
//get temp dir function
|
92 |
-
require_once(dirname(__FILE__).'/libs/backwpup_get_temp.php');
|
93 |
}
|
94 |
?>
|
4 |
Plugin URI: http://backwpup.com
|
5 |
Description: Wordpress Backup and more...
|
6 |
Author: Daniel Hüsken
|
7 |
+
Version: 2.1.0
|
8 |
Author URI: http://danielhuesken.de
|
9 |
Text Domain: backwpup
|
10 |
Domain Path: /lang/
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
Copyright (C) 2011 Daniel H�sken (email: mail@backwpup.com)
|
15 |
|
16 |
This program is free software; you can redistribute it and/or
|
17 |
modify it under the terms of the GNU General Public License
|
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.0');
|
43 |
//Set Min Wordpress Version
|
44 |
+
define('BACKWPUP_MIN_WORDPRESS_VERSION', '3.1');
|
45 |
//Set User Capability
|
46 |
define('BACKWPUP_USER_CAPABILITY', 'export');
|
47 |
//Set useable destinations
|
48 |
+
if (!defined('BACKWPUP_DESTS')) {
|
49 |
+
if (!function_exists('curl_init'))
|
50 |
+
define('BACKWPUP_DESTS', 'FTP,MSAZURE');
|
51 |
+
else
|
52 |
+
define('BACKWPUP_DESTS', 'FTP,DROPBOX,SUGARSYNC,S3,GSTORAGE,RSC,MSAZURE');
|
53 |
+
}
|
54 |
//Set Dropbox Aplication Keys
|
55 |
define('BACKWPUP_DROPBOX_APP_KEY', 'q2jbt0unkkc54u2');
|
56 |
define('BACKWPUP_DROPBOX_APP_SECRET', 't5hlbxtz473hchy');
|
71 |
add_action('admin_notices', 'backwpup_admin_notice');
|
72 |
if (backwpup_env_checks()) {
|
73 |
//add Menu
|
74 |
+
if (is_multisite()) {
|
75 |
+
if (WP_NETWORK_ADMIN) {
|
76 |
+
add_action('plugins_loaded' , 'backwpup_plugin_activate'); //Activation for mu
|
77 |
+
add_action('network_admin_menu', 'backwpup_admin_menu');
|
78 |
+
}
|
79 |
+
} else {
|
80 |
+
add_action('admin_menu', 'backwpup_admin_menu');
|
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
|
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 |
?>
|
job/backup_create.php
CHANGED
@@ -6,78 +6,100 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function backup_create() {
|
9 |
-
|
|
|
10 |
return;
|
11 |
-
$
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
18 |
$zip = new ZipArchive();
|
19 |
-
if ($res=$zip->open($
|
20 |
-
for ($i=$
|
21 |
-
if (!$zip->addFile($
|
22 |
-
trigger_error(__('Can not add
|
23 |
-
$
|
24 |
update_working_file();
|
25 |
}
|
26 |
-
if ($zip->status>0)
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
$res2=$zip->close();
|
29 |
-
trigger_error(__('Backup zip
|
30 |
-
$
|
31 |
} else {
|
32 |
-
trigger_error(__('Can not create backup zip
|
33 |
}
|
34 |
} else { //use PclZip
|
35 |
-
define('PCLZIP_TEMPORARY_DIR', $
|
36 |
-
require_once($
|
37 |
//Create Zip File
|
38 |
-
if (is_array($
|
39 |
-
trigger_error(
|
40 |
-
$zipbackupfile = new PclZip($
|
41 |
need_free_memory(2097152); //free memory for file list
|
42 |
-
for ($i=$
|
43 |
-
$files[$i][79001]=$
|
44 |
-
$files[$i][79003]=$
|
45 |
}
|
46 |
need_free_memory(11534336); //11MB free memory for zip
|
47 |
if (0==$zipbackupfile->create($files,PCLZIP_CB_POST_ADD, '_pclzipPostAddCallBack',PCLZIP_OPT_ADD_TEMP_FILE_ON)) {
|
48 |
-
trigger_error(__('Zip
|
49 |
} else {
|
50 |
-
$
|
51 |
unset($files);
|
52 |
-
trigger_error(__('Backup
|
53 |
}
|
54 |
}
|
55 |
}
|
56 |
-
} elseif (strtolower($
|
57 |
|
58 |
-
if (strtolower($
|
59 |
-
$tarbackup=gzopen($
|
60 |
-
} elseif (strtolower($
|
61 |
-
$tarbackup=bzopen($
|
62 |
} else {
|
63 |
-
$tarbackup=fopen($
|
64 |
}
|
65 |
|
66 |
if (!$tarbackup) {
|
67 |
-
trigger_error(__('Can not create tar
|
68 |
return;
|
69 |
} else {
|
70 |
-
trigger_error(
|
71 |
}
|
72 |
|
73 |
-
|
74 |
-
for ($index=$_SESSION['WORKING']['STEPDONE'];$index<$_SESSION['WORKING']['STEPTODO'];$index++) {
|
75 |
need_free_memory(2097152); //2MB free memory for tar
|
76 |
-
$files=$
|
77 |
//check file readable
|
78 |
if (!is_readable($files['FILE']) or empty($files['FILE'])) {
|
79 |
-
trigger_error(__('File not readable
|
80 |
-
$
|
81 |
continue;
|
82 |
}
|
83 |
|
@@ -91,9 +113,9 @@ function backup_create() {
|
|
91 |
$filename=substr($files['OUTFILE'],$dividor+1);
|
92 |
$filenameprefix=substr($files['OUTFILE'],0,$dividor);
|
93 |
if (strlen($filename)>100)
|
94 |
-
trigger_error(__('File name to long to save corectly in
|
95 |
if (strlen($filenameprefix)>155)
|
96 |
-
trigger_error(__('File path to long to save corectly in
|
97 |
}
|
98 |
//Set file user/group name if linux
|
99 |
$fileowner="Unknown";
|
@@ -133,9 +155,9 @@ function backup_create() {
|
|
133 |
|
134 |
$header = substr_replace($header, $checksum, 148, 8);
|
135 |
|
136 |
-
if (strtolower($
|
137 |
gzwrite($tarbackup, $header);
|
138 |
-
} elseif (strtolower($
|
139 |
bzwrite($tarbackup, $header);
|
140 |
} else {
|
141 |
fwrite($tarbackup, $header);
|
@@ -146,9 +168,9 @@ function backup_create() {
|
|
146 |
while(!feof($fd)) {
|
147 |
$filedata=fread($fd,512);
|
148 |
if (strlen($filedata)>0) {
|
149 |
-
if (strtolower($
|
150 |
gzwrite($tarbackup,pack("a512", $filedata));
|
151 |
-
} elseif (strtolower($
|
152 |
bzwrite($tarbackup,pack("a512", $filedata));
|
153 |
} else {
|
154 |
fwrite($tarbackup,pack("a512", $filedata));
|
@@ -156,33 +178,33 @@ function backup_create() {
|
|
156 |
}
|
157 |
}
|
158 |
fclose($fd);
|
159 |
-
$
|
160 |
update_working_file();
|
161 |
}
|
162 |
|
163 |
-
if (strtolower($
|
164 |
gzwrite($tarbackup, pack("a1024", "")); // Add 1024 bytes of NULLs to designate EOF
|
165 |
gzclose($tarbackup);
|
166 |
-
} elseif (strtolower($
|
167 |
bzwrite($tarbackup, pack("a1024", "")); // Add 1024 bytes of NULLs to designate EOF
|
168 |
bzclose($tarbackup);
|
169 |
} else {
|
170 |
fwrite($tarbackup, pack("a1024", "")); // Add 1024 bytes of NULLs to designate EOF
|
171 |
fclose($tarbackup);
|
172 |
}
|
173 |
-
trigger_error(__('
|
174 |
}
|
175 |
-
$
|
176 |
-
if ($filesize=filesize($
|
177 |
-
trigger_error(sprintf(__('
|
178 |
}
|
179 |
|
180 |
|
181 |
function _pclzipPostAddCallBack($p_event, &$p_header) {
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
$
|
186 |
update_working_file();
|
187 |
}
|
188 |
?>
|
6 |
}
|
7 |
|
8 |
function backup_create() {
|
9 |
+
global $WORKING,$STATIC;
|
10 |
+
if ($WORKING['ALLFILESIZE']==0)
|
11 |
return;
|
12 |
+
$filelist=get_filelist(); //get file list
|
13 |
+
$WORKING['STEPTODO']=count($filelist);
|
14 |
+
if (empty($WORKING['STEPDONE']))
|
15 |
+
$WORKING['STEPDONE']=0;
|
16 |
+
|
17 |
+
if (strtolower($STATIC['JOB']['fileformart'])==".zip") { //Zip files
|
18 |
+
if ($STATIC['CFG']['phpzip']) { //use php zip lib
|
19 |
+
trigger_error(sprintf(__('%d. try to create backup zip archive...','backwpup'),$WORKING['BACKUP_CREATE']['STEP_TRY']),E_USER_NOTICE);
|
20 |
$zip = new ZipArchive();
|
21 |
+
if ($res=$zip->open($STATIC['JOB']['backupdir'].$STATIC['backupfile'],ZIPARCHIVE::CREATE) === TRUE) {
|
22 |
+
for ($i=$WORKING['STEPDONE'];$i<$WORKING['STEPTODO'];$i++) {
|
23 |
+
if (!$zip->addFile($filelist[$i]['FILE'], $filelist[$i]['OUTFILE']))
|
24 |
+
trigger_error(sprintf(__('Can not add "%s" to zip archive!','backwpup'),$filelist[$i]['OUTFILE']),E_USER_ERROR);
|
25 |
+
$WORKING['STEPDONE']++;
|
26 |
update_working_file();
|
27 |
}
|
28 |
+
if ($zip->status>0) {
|
29 |
+
$ziperror=$zip->status;
|
30 |
+
if ($zip->status==4)
|
31 |
+
$ziperror=__('(4) ER_SEEK','backwpup');
|
32 |
+
if ($zip->status==5)
|
33 |
+
$ziperror=__('(5) ER_READ','backwpup');
|
34 |
+
if ($zip->status==9)
|
35 |
+
$ziperror=__('(9) ER_NOENT','backwpup');
|
36 |
+
if ($zip->status==10)
|
37 |
+
$ziperror=__('(10) ER_EXISTS','backwpup');
|
38 |
+
if ($zip->status==11)
|
39 |
+
$ziperror=__('(11) ER_OPEN','backwpup');
|
40 |
+
if ($zip->status==14)
|
41 |
+
$ziperror=__('(14) ER_MEMORY','backwpup');
|
42 |
+
if ($zip->status==18)
|
43 |
+
$ziperror=__('(18) ER_INVAL','backwpup');
|
44 |
+
if ($zip->status==19)
|
45 |
+
$ziperror=__('(19) ER_NOZIP','backwpup');
|
46 |
+
if ($zip->status==21)
|
47 |
+
$ziperror=__('(21) ER_INCONS','backwpup');
|
48 |
+
trigger_error(sprintf(__('Zip returns status: %s','backwpup'),$zip->status),E_USER_ERROR);
|
49 |
+
}
|
50 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
51 |
$res2=$zip->close();
|
52 |
+
trigger_error(__('Backup zip archive create done!','backwpup'),E_USER_NOTICE);
|
53 |
+
$WORKING['STEPSDONE'][]='BACKUP_CREATE'; //set done
|
54 |
} else {
|
55 |
+
trigger_error(sprintf(__('Can not create backup zip archive $s!','backwpup'),$res),E_USER_ERROR);
|
56 |
}
|
57 |
} else { //use PclZip
|
58 |
+
define('PCLZIP_TEMPORARY_DIR', $STATIC['TEMPDIR']);
|
59 |
+
require_once($STATIC['WP']['ABSPATH'].'wp-admin/includes/class-pclzip.php');
|
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(11534336); //11MB free memory for zip
|
70 |
if (0==$zipbackupfile->create($files,PCLZIP_CB_POST_ADD, '_pclzipPostAddCallBack',PCLZIP_OPT_ADD_TEMP_FILE_ON)) {
|
71 |
+
trigger_error(sprint(__('Zip archive create error: %s','backwpup'),$zipbackupfile->errorInfo(true)),E_USER_ERROR);
|
72 |
} else {
|
73 |
+
$WORKING['STEPDONE']=count($filelist);
|
74 |
unset($files);
|
75 |
+
trigger_error(__('Backup zip archive create done','backwpup'),E_USER_NOTICE);
|
76 |
}
|
77 |
}
|
78 |
}
|
79 |
+
} elseif (strtolower($STATIC['JOB']['fileformart'])==".tar.gz" or strtolower($STATIC['JOB']['fileformart'])==".tar.bz2" or strtolower($STATIC['JOB']['fileformart'])==".tar") { //tar files
|
80 |
|
81 |
+
if (strtolower($STATIC['JOB']['fileformart'])=='.tar.gz') {
|
82 |
+
$tarbackup=gzopen($STATIC['JOB']['backupdir'].$STATIC['backupfile'],'w9');
|
83 |
+
} elseif (strtolower($STATIC['JOB']['fileformart'])=='.tar.bz2') {
|
84 |
+
$tarbackup=bzopen($STATIC['JOB']['backupdir'].$STATIC['backupfile'],'w');
|
85 |
} else {
|
86 |
+
$tarbackup=fopen($STATIC['JOB']['backupdir'].$STATIC['backupfile'],'w');
|
87 |
}
|
88 |
|
89 |
if (!$tarbackup) {
|
90 |
+
trigger_error(__('Can not create tar arcive file!','backwpup'),E_USER_ERROR);
|
91 |
return;
|
92 |
} else {
|
93 |
+
trigger_error(sprintf(__('%1$d. try to create %2$s archive file...','backwpup'),$WORKING['BACKUP_CREATE']['STEP_TRY'],substr($STATIC['JOB']['fileformart'],1)),E_USER_NOTICE);
|
94 |
}
|
95 |
|
96 |
+
for ($index=$WORKING['STEPDONE'];$index<$WORKING['STEPTODO'];$index++) {
|
|
|
97 |
need_free_memory(2097152); //2MB free memory for tar
|
98 |
+
$files=$filelist[$index];
|
99 |
//check file readable
|
100 |
if (!is_readable($files['FILE']) or empty($files['FILE'])) {
|
101 |
+
trigger_error(sprintf(__('File "%s" not readable!','backwpup'),$files['FILE']),E_USER_WARNING);
|
102 |
+
$WORKING['STEPDONE']++;
|
103 |
continue;
|
104 |
}
|
105 |
|
113 |
$filename=substr($files['OUTFILE'],$dividor+1);
|
114 |
$filenameprefix=substr($files['OUTFILE'],0,$dividor);
|
115 |
if (strlen($filename)>100)
|
116 |
+
trigger_error(sprintf(__('File name "%1$s" to long to save corectly in %2$s archive!','backwpup'),$files['OUTFILE'],substr($STATIC['JOB']['fileformart'],1)),E_USER_WARNING);
|
117 |
if (strlen($filenameprefix)>155)
|
118 |
+
trigger_error(sprintf(__('File path "%1$s" to long to save corectly in %2$s archive!','backwpup'),$files['OUTFILE'],substr($STATIC['JOB']['fileformart'],1)),E_USER_WARNING);
|
119 |
}
|
120 |
//Set file user/group name if linux
|
121 |
$fileowner="Unknown";
|
155 |
|
156 |
$header = substr_replace($header, $checksum, 148, 8);
|
157 |
|
158 |
+
if (strtolower($STATIC['JOB']['fileformart'])=='.tar.gz') {
|
159 |
gzwrite($tarbackup, $header);
|
160 |
+
} elseif (strtolower($STATIC['JOB']['fileformart'])=='.tar.bz2') {
|
161 |
bzwrite($tarbackup, $header);
|
162 |
} else {
|
163 |
fwrite($tarbackup, $header);
|
168 |
while(!feof($fd)) {
|
169 |
$filedata=fread($fd,512);
|
170 |
if (strlen($filedata)>0) {
|
171 |
+
if (strtolower($STATIC['JOB']['fileformart'])=='.tar.gz') {
|
172 |
gzwrite($tarbackup,pack("a512", $filedata));
|
173 |
+
} elseif (strtolower($STATIC['JOB']['fileformart'])=='.tar.bz2') {
|
174 |
bzwrite($tarbackup,pack("a512", $filedata));
|
175 |
} else {
|
176 |
fwrite($tarbackup,pack("a512", $filedata));
|
178 |
}
|
179 |
}
|
180 |
fclose($fd);
|
181 |
+
$WORKING['STEPDONE']++;
|
182 |
update_working_file();
|
183 |
}
|
184 |
|
185 |
+
if (strtolower($STATIC['JOB']['fileformart'])=='.tar.gz') {
|
186 |
gzwrite($tarbackup, pack("a1024", "")); // Add 1024 bytes of NULLs to designate EOF
|
187 |
gzclose($tarbackup);
|
188 |
+
} elseif (strtolower($STATIC['JOB']['fileformart'])=='.tar.bz2') {
|
189 |
bzwrite($tarbackup, pack("a1024", "")); // Add 1024 bytes of NULLs to designate EOF
|
190 |
bzclose($tarbackup);
|
191 |
} else {
|
192 |
fwrite($tarbackup, pack("a1024", "")); // Add 1024 bytes of NULLs to designate EOF
|
193 |
fclose($tarbackup);
|
194 |
}
|
195 |
+
trigger_error(sprintf(__('%s archive creation done','backwpup'),substr($STATIC['JOB']['fileformart'],1)),E_USER_NOTICE);
|
196 |
}
|
197 |
+
$WORKING['STEPSDONE'][]='BACKUP_CREATE'; //set done
|
198 |
+
if ($filesize=filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']))
|
199 |
+
trigger_error(sprintf(__('Archive size is %s','backwpup'),formatBytes($filesize)),E_USER_NOTICE);
|
200 |
}
|
201 |
|
202 |
|
203 |
function _pclzipPostAddCallBack($p_event, &$p_header) {
|
204 |
+
global $WORKING,$STATIC;
|
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']++;
|
208 |
update_working_file();
|
209 |
}
|
210 |
?>
|
job/db_check.php
CHANGED
@@ -6,20 +6,21 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function db_check() {
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
12 |
//Set num of todos
|
13 |
-
$
|
14 |
//check tables
|
15 |
-
if (sizeof($
|
16 |
maintenance_mode(true);
|
17 |
-
foreach ($
|
18 |
-
if (in_array($table, $
|
19 |
continue;
|
20 |
$result=mysql_query('CHECK TABLE `'.$table.'` MEDIUM');
|
21 |
if (!$result) {
|
22 |
-
trigger_error(sprintf(__('
|
23 |
continue;
|
24 |
}
|
25 |
$check=mysql_fetch_assoc($result);
|
@@ -34,7 +35,7 @@ function db_check() {
|
|
34 |
if ($check['Msg_type']=='error' or $check['Msg_type']=='warning') {
|
35 |
$result=mysql_query('REPAIR TABLE `'.$table.'`');
|
36 |
if (!$result) {
|
37 |
-
trigger_error(sprintf(__('
|
38 |
continue;
|
39 |
}
|
40 |
$repair=mysql_fetch_assoc($result);
|
@@ -45,14 +46,14 @@ function db_check() {
|
|
45 |
else
|
46 |
trigger_error(sprintf(__('Result of table repair for %1$s is: %2$s','backwpup'), $table, $repair['Msg_text']),E_USER_NOTICE);
|
47 |
}
|
48 |
-
$
|
49 |
-
$
|
50 |
}
|
51 |
maintenance_mode(false);
|
52 |
trigger_error(__('Database check done!','backwpup'),E_USER_NOTICE);
|
53 |
} else {
|
54 |
-
trigger_error(__('No
|
55 |
}
|
56 |
-
$
|
57 |
}
|
58 |
?>
|
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($STATIC['JOB']['dbtables']);
|
15 |
//check tables
|
16 |
+
if (sizeof($STATIC['JOB']['dbtables'])>0) {
|
17 |
maintenance_mode(true);
|
18 |
+
foreach ($STATIC['JOB']['dbtables'] as $table) {
|
19 |
+
if (in_array($table, $WORKING['DB_CHECK']['DONETABLE']))
|
20 |
continue;
|
21 |
$result=mysql_query('CHECK TABLE `'.$table.'` MEDIUM');
|
22 |
if (!$result) {
|
23 |
+
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), "CHECK TABLE `".$table."` MEDIUM"),E_USER_ERROR);
|
24 |
continue;
|
25 |
}
|
26 |
$check=mysql_fetch_assoc($result);
|
35 |
if ($check['Msg_type']=='error' or $check['Msg_type']=='warning') {
|
36 |
$result=mysql_query('REPAIR TABLE `'.$table.'`');
|
37 |
if (!$result) {
|
38 |
+
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), "REPAIR TABLE `'.$table.'`"),E_USER_ERROR);
|
39 |
continue;
|
40 |
}
|
41 |
$repair=mysql_fetch_assoc($result);
|
46 |
else
|
47 |
trigger_error(sprintf(__('Result of table repair for %1$s is: %2$s','backwpup'), $table, $repair['Msg_text']),E_USER_NOTICE);
|
48 |
}
|
49 |
+
$WORKING['DB_CHECK']['DONETABLE'][]=$table;
|
50 |
+
$WORKING['STEPDONE']=sizeof($WORKING['DB_CHECK']['DONETABLE']);
|
51 |
}
|
52 |
maintenance_mode(false);
|
53 |
trigger_error(__('Database check done!','backwpup'),E_USER_NOTICE);
|
54 |
} else {
|
55 |
+
trigger_error(__('No tables to check','backwpup'),E_USER_WARNING);
|
56 |
}
|
57 |
+
$WORKING['STEPSDONE'][]='DB_CHECK'; //set done
|
58 |
}
|
59 |
?>
|
job/db_dump.php
CHANGED
@@ -7,33 +7,34 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
7 |
|
8 |
|
9 |
function db_dump() {
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
14 |
//Set maintenance
|
15 |
maintenance_mode(true);
|
16 |
|
17 |
-
if (count($
|
18 |
-
$result=mysql_query("SHOW TABLE STATUS FROM `".$
|
19 |
if (!$result)
|
20 |
-
trigger_error(sprintf(__('
|
21 |
|
22 |
while ($data = mysql_fetch_assoc($result)) {
|
23 |
$status[$data['Name']]=$data;
|
24 |
}
|
25 |
|
26 |
-
if ($file = fopen($
|
27 |
fwrite($file, "-- ---------------------------------------------------------\n");
|
28 |
-
fwrite($file, "-- Dump with BackWPup ver.: ".$
|
29 |
-
fwrite($file, "-- Plugin for WordPress by Daniel Huesken\n");
|
30 |
fwrite($file, "-- http://danielhuesken.de/portfolio/backwpup/\n");
|
31 |
-
fwrite($file, "-- Blog Name: ".$
|
32 |
-
fwrite($file, "-- Blog URL: ".$
|
33 |
-
fwrite($file, "-- Blog ABSPATH: ".$
|
34 |
-
fwrite($file, "-- Table Prefix: ".$
|
35 |
-
fwrite($file, "-- Database Name: ".$
|
36 |
-
fwrite($file, "-- Dump on: ".date('Y-m-d H:i.s')."\n");
|
37 |
fwrite($file, "-- ---------------------------------------------------------\n\n");
|
38 |
//for better import with mysql client
|
39 |
fwrite($file, "/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n");
|
@@ -47,14 +48,14 @@ function db_dump() {
|
|
47 |
fwrite($file, "/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;\n");
|
48 |
fwrite($file, "/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;\n\n");
|
49 |
//make table dumps
|
50 |
-
foreach($
|
51 |
-
if (in_array($table, $
|
52 |
continue;
|
53 |
-
trigger_error(__('Dump
|
54 |
need_free_memory(($status[$table]['Data_length']+$status[$table]['Index_length'])*1.3); //get more memory if needed
|
55 |
_db_dump_table($table,$status[$table],$file);
|
56 |
-
$
|
57 |
-
$
|
58 |
}
|
59 |
//for better import with mysql client
|
60 |
fwrite($file, "\n");
|
@@ -67,28 +68,30 @@ function db_dump() {
|
|
67 |
fwrite($file, "/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n");
|
68 |
fwrite($file, "/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;\n");
|
69 |
fclose($file);
|
70 |
-
trigger_error(__('Database
|
71 |
} else {
|
72 |
-
trigger_error(__('Can not create
|
73 |
}
|
74 |
} else {
|
75 |
-
trigger_error(__('No
|
76 |
}
|
77 |
|
78 |
//add database file to backupfiles
|
79 |
-
if (is_readable($
|
80 |
-
$filestat=stat($
|
81 |
-
trigger_error(__('Add
|
82 |
-
$
|
83 |
-
|
84 |
}
|
85 |
//Back from maintenance
|
86 |
maintenance_mode(false);
|
87 |
-
$
|
88 |
}
|
89 |
|
90 |
|
91 |
function _db_dump_table($table,$status,$file) {
|
|
|
|
|
92 |
// create dump
|
93 |
fwrite($file, "\n");
|
94 |
fwrite($file, "--\n");
|
@@ -100,7 +103,7 @@ function _db_dump_table($table,$status,$file) {
|
|
100 |
//Dump the table structure
|
101 |
$result=mysql_query("SHOW CREATE TABLE `".$table."`");
|
102 |
if (!$result) {
|
103 |
-
trigger_error(sprintf(__('
|
104 |
return false;
|
105 |
}
|
106 |
$tablestruc=mysql_fetch_assoc($result);
|
@@ -110,7 +113,7 @@ function _db_dump_table($table,$status,$file) {
|
|
110 |
//take data of table
|
111 |
$result=mysql_query("SELECT * FROM `".$table."`");
|
112 |
if (!$result) {
|
113 |
-
trigger_error(sprintf(__('
|
114 |
return false;
|
115 |
}
|
116 |
|
@@ -120,16 +123,11 @@ function _db_dump_table($table,$status,$file) {
|
|
120 |
if ($status['Engine']=='MyISAM')
|
121 |
fwrite($file, "/*!40000 ALTER TABLE `".$table."` DISABLE KEYS */;\n");
|
122 |
|
123 |
-
$i=0;
|
124 |
while ($data = mysql_fetch_assoc($result)) {
|
125 |
$keys = array();
|
126 |
$values = array();
|
127 |
-
if ($_SESSION['WORKING']['DB_DUMP']['DONETABLEROW']>$i) {
|
128 |
-
$i++;
|
129 |
-
continue;
|
130 |
-
}
|
131 |
foreach($data as $key => $value) {
|
132 |
-
if (!$
|
133 |
$keys[] = "`".str_replace("�", "��", $key)."`"; // Add key to key list
|
134 |
if($value === NULL) // Make Value NULL to string NULL
|
135 |
$value = "NULL";
|
@@ -140,15 +138,12 @@ function _db_dump_table($table,$status,$file) {
|
|
140 |
$values[] = $value;
|
141 |
}
|
142 |
// make data dump
|
143 |
-
if ($
|
144 |
fwrite($file, "INSERT INTO `".$table."` VALUES ( ".implode(", ",$values)." );\n");
|
145 |
else
|
146 |
fwrite($file, "INSERT INTO `".$table."` ( ".implode(", ",$keys)." )\n\tVALUES ( ".implode(", ",$values)." );\n");
|
147 |
-
$_SESSION['WORKING']['DB_DUMP']['DONETABLEROW']=$i;
|
148 |
-
$i++;
|
149 |
}
|
150 |
if ($status['Engine']=='MyISAM')
|
151 |
fwrite($file, "/*!40000 ALTER TABLE ".$table." ENABLE KEYS */;\n");
|
152 |
-
$_SESSION['WORKING']['DB_DUMP']['DONETABLEROW']=0;
|
153 |
}
|
154 |
?>
|
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 |
+
$WORKING['STEPTODO']=count($STATIC['JOB']['dbtables']);
|
15 |
//Set maintenance
|
16 |
maintenance_mode(true);
|
17 |
|
18 |
+
if (count($STATIC['JOB']['dbtables'])>0) {
|
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 |
}
|
26 |
|
27 |
+
if ($file = fopen($STATIC['TEMPDIR'].$STATIC['WP']['DB_NAME'].'.sql', 'wb')) {
|
28 |
fwrite($file, "-- ---------------------------------------------------------\n");
|
29 |
+
fwrite($file, "-- Dump with BackWPup ver.: ".$STATIC['BACKWPUP']['VERSION']."\n");
|
30 |
+
fwrite($file, "-- Plugin for WordPress ".$STATIC['WP']['VERSION']." by Daniel Huesken\n");
|
31 |
fwrite($file, "-- http://danielhuesken.de/portfolio/backwpup/\n");
|
32 |
+
fwrite($file, "-- Blog Name: ".$STATIC['WP']['BLOGNAME']."\n");
|
33 |
+
fwrite($file, "-- Blog URL: ".$STATIC['WP']['SITEURL']."\n");
|
34 |
+
fwrite($file, "-- Blog ABSPATH: ".$STATIC['WP']['ABSPATH']."\n");
|
35 |
+
fwrite($file, "-- Table Prefix: ".$STATIC['WP']['TABLE_PREFIX']."\n");
|
36 |
+
fwrite($file, "-- Database Name: ".$STATIC['WP']['DB_NAME']."\n");
|
37 |
+
fwrite($file, "-- Dump on: ".date('Y-m-d H:i.s',time()+$STATIC['WP']['TIMEDIFF'])."\n");
|
38 |
fwrite($file, "-- ---------------------------------------------------------\n\n");
|
39 |
//for better import with mysql client
|
40 |
fwrite($file, "/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n");
|
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($STATIC['JOB']['dbtables'] as $table) {
|
52 |
+
if (in_array($table, $WORKING['DB_DUMP']['DONETABLE']))
|
53 |
continue;
|
54 |
+
trigger_error(sprintf(__('Dump database table "%s"','backwpup'),$table),E_USER_NOTICE);
|
55 |
need_free_memory(($status[$table]['Data_length']+$status[$table]['Index_length'])*1.3); //get more memory if needed
|
56 |
_db_dump_table($table,$status[$table],$file);
|
57 |
+
$WORKING['DB_DUMP']['DONETABLE'][]=$table;
|
58 |
+
$WORKING['STEPDONE']=count($WORKING['DB_DUMP']['DONETABLE']);
|
59 |
}
|
60 |
//for better import with mysql client
|
61 |
fwrite($file, "\n");
|
68 |
fwrite($file, "/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n");
|
69 |
fwrite($file, "/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;\n");
|
70 |
fclose($file);
|
71 |
+
trigger_error(__('Database dump done!','backwpup'),E_USER_NOTICE);
|
72 |
} else {
|
73 |
+
trigger_error(__('Can not create database dump!','backwpup'),E_USER_ERROR);
|
74 |
}
|
75 |
} else {
|
76 |
+
trigger_error(__('No tables to dump','backwpup'),E_USER_WARNING);
|
77 |
}
|
78 |
|
79 |
//add database file to backupfiles
|
80 |
+
if (is_readable($STATIC['TEMPDIR'].$STATIC['WP']['DB_NAME'].'.sql')) {
|
81 |
+
$filestat=stat($STATIC['TEMPDIR'].$STATIC['WP']['DB_NAME'].'.sql');
|
82 |
+
trigger_error(sprintf(__('Add database dump "%1$s" with %2$s to backup file list','backwpup'),$STATIC['WP']['DB_NAME'].'.sql',formatbytes($filestat['size'])),E_USER_NOTICE);
|
83 |
+
$WORKING['ALLFILESIZE']+=$filestat['size'];
|
84 |
+
add_file(array(array('FILE'=>$STATIC['TEMPDIR'].$STATIC['WP']['DB_NAME'].'.sql','OUTFILE'=>$STATIC['WP']['DB_NAME'].'.sql','SIZE'=>$filestat['size'],'ATIME'=>$filestat['atime'],'MTIME'=>$filestat['mtime'],'CTIME'=>$filestat['ctime'],'UID'=>$filestat['uid'],'GID'=>$filestat['gid'],'MODE'=>$filestat['mode'])));
|
85 |
}
|
86 |
//Back from maintenance
|
87 |
maintenance_mode(false);
|
88 |
+
$WORKING['STEPSDONE'][]='DB_DUMP'; //set done
|
89 |
}
|
90 |
|
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");
|
103 |
//Dump the table structure
|
104 |
$result=mysql_query("SHOW CREATE TABLE `".$table."`");
|
105 |
if (!$result) {
|
106 |
+
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), "SHOW CREATE TABLE `".$table."`"),E_USER_ERROR);
|
107 |
return false;
|
108 |
}
|
109 |
$tablestruc=mysql_fetch_assoc($result);
|
113 |
//take data of table
|
114 |
$result=mysql_query("SELECT * FROM `".$table."`");
|
115 |
if (!$result) {
|
116 |
+
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), "SELECT * FROM `".$table."`"),E_USER_ERROR);
|
117 |
return false;
|
118 |
}
|
119 |
|
123 |
if ($status['Engine']=='MyISAM')
|
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) {
|
130 |
+
if (!$STATIC['JOB']['dbshortinsert'])
|
131 |
$keys[] = "`".str_replace("�", "��", $key)."`"; // Add key to key list
|
132 |
if($value === NULL) // Make Value NULL to string NULL
|
133 |
$value = "NULL";
|
138 |
$values[] = $value;
|
139 |
}
|
140 |
// make data dump
|
141 |
+
if ($STATIC['JOB']['dbshortinsert'])
|
142 |
fwrite($file, "INSERT INTO `".$table."` VALUES ( ".implode(", ",$values)." );\n");
|
143 |
else
|
144 |
fwrite($file, "INSERT INTO `".$table."` ( ".implode(", ",$keys)." )\n\tVALUES ( ".implode(", ",$values)." );\n");
|
|
|
|
|
145 |
}
|
146 |
if ($status['Engine']=='MyISAM')
|
147 |
fwrite($file, "/*!40000 ALTER TABLE ".$table." ENABLE KEYS */;\n");
|
|
|
148 |
}
|
149 |
?>
|
job/db_optimize.php
CHANGED
@@ -6,23 +6,24 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function db_optimize() {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
14 |
maintenance_mode(true);
|
15 |
-
foreach ($
|
16 |
-
if (in_array($table, $
|
17 |
continue;
|
18 |
$result=mysql_query('OPTIMIZE TABLE `'.$table.'`');
|
19 |
if (!$result) {
|
20 |
-
trigger_error(sprintf(__('
|
21 |
continue;
|
22 |
}
|
23 |
$optimize=mysql_fetch_assoc($result);
|
24 |
-
$
|
25 |
-
$
|
26 |
if ($optimize['Msg_type']=='error')
|
27 |
trigger_error(sprintf(__('Result of table optimize for %1$s is: %2$s','backwpup'), $table, $optimize['Msg_text']),E_USER_ERROR);
|
28 |
elseif ($optimize['Msg_type']=='warning')
|
@@ -33,9 +34,9 @@ function db_optimize() {
|
|
33 |
trigger_error(__('Database optimize done!','backwpup'),E_USER_NOTICE);
|
34 |
maintenance_mode(false);
|
35 |
} else {
|
36 |
-
trigger_error(__('No
|
37 |
}
|
38 |
-
$
|
39 |
}
|
40 |
|
41 |
?>
|
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 |
+
$WORKING['STEPTODO']=sizeof($STATIC['JOB']['dbtables']);
|
14 |
+
if (sizeof($STATIC['JOB']['dbtables'])>0) {
|
15 |
maintenance_mode(true);
|
16 |
+
foreach ($STATIC['JOB']['dbtables'] as $table) {
|
17 |
+
if (in_array($table, $WORKING['DB_OPTIMIZE']['DONETABLE']))
|
18 |
continue;
|
19 |
$result=mysql_query('OPTIMIZE TABLE `'.$table.'`');
|
20 |
if (!$result) {
|
21 |
+
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), "OPTIMIZE TABLE `".$table."`"),E_USER_ERROR);
|
22 |
continue;
|
23 |
}
|
24 |
$optimize=mysql_fetch_assoc($result);
|
25 |
+
$WORKING['DB_OPTIMIZE']['DONETABLE'][]=$table;
|
26 |
+
$WORKING['STEPDONE']=sizeof($WORKING['DB_OPTIMIZE']['DONETABLE']);
|
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')
|
34 |
trigger_error(__('Database optimize done!','backwpup'),E_USER_NOTICE);
|
35 |
maintenance_mode(false);
|
36 |
} else {
|
37 |
+
trigger_error(__('No tables to optimize','backwpup'),E_USER_WARNING);
|
38 |
}
|
39 |
+
$WORKING['STEPSDONE'][]='DB_OPTIMIZE'; //set done
|
40 |
}
|
41 |
|
42 |
?>
|
job/dest_dropbox.php
CHANGED
@@ -6,79 +6,88 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function dest_dropbox() {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
$_SESSION['WORKING']['STEPTODO']=2+filesize($_SESSION['JOB']['backupdir'].$_SESSION['STATIC']['backupfile']);
|
14 |
-
$_SESSION['WORKING']['STEPDONE']=0;
|
15 |
-
trigger_error($_SESSION['WORKING']['DEST_DROPBOX']['STEP_TRY'].'. '.__('Try to sending backup file to DropBox...','backwpup'),E_USER_NOTICE);
|
16 |
require_once(realpath(dirname(__FILE__).'/../libs/dropbox/dropbox.php'));
|
17 |
try {
|
18 |
-
$dropbox = new Dropbox($
|
19 |
// set the tokens
|
20 |
-
$dropbox->setOAuthTokens($
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
//set boxtype
|
22 |
-
if ($
|
23 |
$dropbox->setSandbox();
|
24 |
else
|
25 |
$dropbox->setDropbox();
|
26 |
$info=$dropbox->accountInfo();
|
27 |
if (!empty($info['uid'])) {
|
28 |
-
trigger_error(__('Authed
|
29 |
}
|
30 |
//Check Quota
|
31 |
$dropboxfreespase=$info['quota_info']['quota']-$info['quota_info']['shared']-$info['quota_info']['normal'];
|
32 |
-
if (filesize($
|
33 |
trigger_error(__('No free space left on DropBox!!!','backwpup'),E_USER_ERROR);
|
34 |
-
$
|
35 |
return;
|
36 |
} else {
|
37 |
-
trigger_error(__('
|
38 |
}
|
39 |
//set calback function
|
40 |
$dropbox->setProgressFunction('curl_progresscallback');
|
41 |
// put the file
|
42 |
-
trigger_error(__('Upload to DropBox now started
|
43 |
-
|
44 |
-
|
|
|
45 |
if ($response['result']=="winner!") {
|
46 |
-
$
|
47 |
-
$
|
48 |
-
trigger_error(__('Backup
|
49 |
} else {
|
50 |
-
trigger_error(__('
|
51 |
return;
|
52 |
}
|
53 |
//unset calback function
|
54 |
$dropbox->setProgressFunction('');
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
57 |
$backupfilelist=array();
|
58 |
-
$metadata = $dropbox->metadata($
|
59 |
if (is_array($metadata)) {
|
60 |
foreach ($metadata['contents'] as $data) {
|
61 |
$file=basename($data['path']);
|
62 |
-
if ($data['is_dir']!=true and $
|
63 |
$backupfilelist[]=$file;
|
64 |
}
|
65 |
}
|
66 |
if (sizeof($backupfilelist)>0) {
|
67 |
rsort($backupfilelist);
|
68 |
$numdeltefiles=0;
|
69 |
-
for ($i=$
|
70 |
-
$dropbox->fileopsDelete($
|
71 |
$numdeltefiles++;
|
72 |
}
|
73 |
if ($numdeltefiles>0)
|
74 |
-
trigger_error(
|
75 |
}
|
76 |
}
|
77 |
} catch (Exception $e) {
|
78 |
-
trigger_error(__('DropBox API:','backwpup')
|
79 |
}
|
80 |
|
81 |
-
$
|
82 |
-
$
|
83 |
}
|
84 |
?>
|
6 |
}
|
7 |
|
8 |
function dest_dropbox() {
|
9 |
+
global $WORKING,$STATIC;
|
10 |
+
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
11 |
+
$WORKING['STEPDONE']=0;
|
12 |
+
trigger_error(sprintf(__('%d. Try to sending backup file to DropBox...','backwpup'),$WORKING['DEST_DROPBOX']['STEP_TRY']),E_USER_NOTICE);
|
|
|
|
|
|
|
13 |
require_once(realpath(dirname(__FILE__).'/../libs/dropbox/dropbox.php'));
|
14 |
try {
|
15 |
+
$dropbox = new Dropbox($STATIC['BACKWPUP']['DROPBOX_APP_KEY'], $STATIC['BACKWPUP']['DROPBOX_APP_SECRET']);
|
16 |
// set the tokens
|
17 |
+
$dropbox->setOAuthTokens($STATIC['JOB']['dropetoken'],$STATIC['JOB']['dropesecret']);
|
18 |
+
//set oAuth Sign method
|
19 |
+
if ($STATIC['JOB']['dropesignmethod']=='PLAIN') {
|
20 |
+
$dropbox->setoAuthSignMethodPlain();
|
21 |
+
trigger_error(sprintf(__('oAuth sign method for DropBox is %s','backwpup'),__('PLAINTEXT', 'backwpup')),E_USER_NOTICE);
|
22 |
+
} else {
|
23 |
+
$dropbox->setoAuthSignMethodSHA1();
|
24 |
+
trigger_error(sprintf(__('oAuth sign method for DropBox is %s','backwpup'),__('HMAC-SHA1', 'backwpup')),E_USER_NOTICE);
|
25 |
+
}
|
26 |
//set boxtype
|
27 |
+
if ($STATIC['JOB']['droperoot']=='sandbox')
|
28 |
$dropbox->setSandbox();
|
29 |
else
|
30 |
$dropbox->setDropbox();
|
31 |
$info=$dropbox->accountInfo();
|
32 |
if (!empty($info['uid'])) {
|
33 |
+
trigger_error(sprintf(__('Authed with DropBox from %s','backwpup'),$info['display_name']),E_USER_NOTICE);
|
34 |
}
|
35 |
//Check Quota
|
36 |
$dropboxfreespase=$info['quota_info']['quota']-$info['quota_info']['shared']-$info['quota_info']['normal'];
|
37 |
+
if (filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile'])>$dropboxfreespase) {
|
38 |
trigger_error(__('No free space left on DropBox!!!','backwpup'),E_USER_ERROR);
|
39 |
+
$WORKING['STEPSDONE'][]='DEST_DROPBOX'; //set done
|
40 |
return;
|
41 |
} else {
|
42 |
+
trigger_error(sprintf(__('%s free on DropBox','backwpup'),formatBytes($dropboxfreespase)),E_USER_NOTICE);
|
43 |
}
|
44 |
//set calback function
|
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 DropBox://%s','backwpup'),$STATIC['JOB']['droperoot'].'/'.$STATIC['JOB']['dropedir'].$STATIC['backupfile']),E_USER_NOTICE);
|
55 |
} else {
|
56 |
+
trigger_error(sprintf(__('Error on transfere backup to DropBox: %s','backwpup'),$response['error']),E_USER_ERROR);
|
57 |
return;
|
58 |
}
|
59 |
//unset calback function
|
60 |
$dropbox->setProgressFunction('');
|
61 |
+
} catch (Exception $e) {
|
62 |
+
trigger_error(sprintf(__('DropBox API: %s','backwpup'),$e->getMessage()),E_USER_ERROR);
|
63 |
+
}
|
64 |
+
try {
|
65 |
+
if ($STATIC['JOB']['dropemaxbackups']>0 and is_object($dropbox)) { //Delete old backups
|
66 |
$backupfilelist=array();
|
67 |
+
$metadata = $dropbox->metadata($STATIC['JOB']['dropedir']);
|
68 |
if (is_array($metadata)) {
|
69 |
foreach ($metadata['contents'] as $data) {
|
70 |
$file=basename($data['path']);
|
71 |
+
if ($data['is_dir']!=true and $STATIC['JOB']['fileprefix'] == substr($file,0,strlen($STATIC['JOB']['fileprefix'])) and $STATIC['JOB']['fileformart'] == substr($file,-strlen($STATIC['JOB']['fileformart'])))
|
72 |
$backupfilelist[]=$file;
|
73 |
}
|
74 |
}
|
75 |
if (sizeof($backupfilelist)>0) {
|
76 |
rsort($backupfilelist);
|
77 |
$numdeltefiles=0;
|
78 |
+
for ($i=$STATIC['JOB']['dropemaxbackups'];$i<count($backupfilelist);$i++) {
|
79 |
+
$dropbox->fileopsDelete($STATIC['JOB']['dropedir'].$backupfilelist[$i]); //delete files on Cloud
|
80 |
$numdeltefiles++;
|
81 |
}
|
82 |
if ($numdeltefiles>0)
|
83 |
+
trigger_error(sprintf(_n('One file deleted on DropBox','%d files deleted on DropBox',$numdeltefiles,'backwpup'),$numdeltefiles),E_USER_NOTICE);
|
84 |
}
|
85 |
}
|
86 |
} catch (Exception $e) {
|
87 |
+
trigger_error(sprintf(__('DropBox API: %s','backwpup'),$e->getMessage()),E_USER_ERROR);
|
88 |
}
|
89 |
|
90 |
+
$WORKING['STEPDONE']++;
|
91 |
+
$WORKING['STEPSDONE'][]='DEST_DROPBOX'; //set done
|
92 |
}
|
93 |
?>
|
job/dest_folder.php
CHANGED
@@ -6,36 +6,33 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function dest_folder() {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
$_SESSION['WORKING']['STEPTODO']=1;
|
14 |
-
$_SESSION['WORKING']['STEPDONE']=0;
|
15 |
-
$_SESSION['JOB']['lastbackupdownloadurl']=$_SESSION['WP']['ADMINURL'].'?page=backwpupbackups&action=download&file='.$_SESSION['JOB']['backupdir'].$_SESSION['STATIC']['backupfile'];
|
16 |
//Delete old Backupfiles
|
17 |
$backupfilelist=array();
|
18 |
-
if ($
|
19 |
-
if ( $dir = @opendir($
|
20 |
while (($file = readdir($dir)) !== false ) {
|
21 |
-
if ($
|
22 |
$backupfilelist[]=$file;
|
23 |
}
|
24 |
-
@closedir(
|
25 |
}
|
26 |
if (sizeof($backupfilelist)>0) {
|
27 |
rsort($backupfilelist);
|
28 |
$numdeltefiles=0;
|
29 |
-
for ($i=$
|
30 |
-
unlink($
|
31 |
$numdeltefiles++;
|
32 |
}
|
33 |
if ($numdeltefiles>0)
|
34 |
-
trigger_error(
|
35 |
}
|
36 |
}
|
37 |
-
$
|
38 |
-
$
|
39 |
}
|
40 |
|
41 |
?>
|
6 |
}
|
7 |
|
8 |
function dest_folder() {
|
9 |
+
global $WORKING,$STATIC;
|
10 |
+
$WORKING['STEPTODO']=1;
|
11 |
+
$WORKING['STEPDONE']=0;
|
12 |
+
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=download&file='.$STATIC['JOB']['backupdir'].$STATIC['backupfile'];
|
|
|
|
|
|
|
13 |
//Delete old Backupfiles
|
14 |
$backupfilelist=array();
|
15 |
+
if ($STATIC['JOB']['maxbackups']>0) {
|
16 |
+
if ( $dir = @opendir($STATIC['JOB']['backupdir']) ) { //make file list
|
17 |
while (($file = readdir($dir)) !== false ) {
|
18 |
+
if ($STATIC['JOB']['fileprefix'] == substr($file,0,strlen($STATIC['JOB']['fileprefix'])) and $STATIC['JOB']['fileformart'] == substr($file,-strlen($STATIC['JOB']['fileformart'])))
|
19 |
$backupfilelist[]=$file;
|
20 |
}
|
21 |
+
@closedir($dir);
|
22 |
}
|
23 |
if (sizeof($backupfilelist)>0) {
|
24 |
rsort($backupfilelist);
|
25 |
$numdeltefiles=0;
|
26 |
+
for ($i=$STATIC['JOB']['maxbackups'];$i<sizeof($backupfilelist);$i++) {
|
27 |
+
unlink($STATIC['JOB']['backupdir'].$backupfilelist[$i]);
|
28 |
$numdeltefiles++;
|
29 |
}
|
30 |
if ($numdeltefiles>0)
|
31 |
+
trigger_error(sprintf(_n('One backup file deleted','%d backup files deleted',$numdeltefiles,'backwpup'),$numdeltefiles),E_USER_NOTICE);
|
32 |
}
|
33 |
}
|
34 |
+
$WORKING['STEPDONE']++;
|
35 |
+
$WORKING['STEPSDONE'][]='DEST_FOLDER'; //set done
|
36 |
}
|
37 |
|
38 |
?>
|
job/dest_ftp.php
CHANGED
@@ -6,50 +6,51 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function dest_ftp() {
|
9 |
-
|
10 |
-
|
|
|
11 |
return;
|
12 |
}
|
13 |
-
$
|
14 |
-
trigger_error(
|
15 |
|
16 |
-
need_free_memory(filesize($
|
17 |
|
18 |
-
if ($
|
19 |
if (function_exists('ftp_ssl_connect')) {
|
20 |
-
$ftp_conn_id = ftp_ssl_connect($
|
21 |
if ($ftp_conn_id)
|
22 |
-
trigger_error(__('Connected by SSL-FTP to Server:','backwpup')
|
23 |
else {
|
24 |
-
trigger_error(__('Can not connect by SSL-FTP to Server:','backwpup')
|
25 |
return false;
|
26 |
}
|
27 |
} else {
|
28 |
-
trigger_error(__('PHP
|
29 |
return false;
|
30 |
}
|
31 |
} else { //make normal FTP conection if SSL not work
|
32 |
-
$ftp_conn_id = ftp_connect($
|
33 |
if ($ftp_conn_id)
|
34 |
-
trigger_error(__('Connected to FTP
|
35 |
else {
|
36 |
-
trigger_error(__('Can not connect to FTP
|
37 |
return false;
|
38 |
}
|
39 |
}
|
40 |
|
41 |
//FTP Login
|
42 |
$loginok=false;
|
43 |
-
trigger_error(__('FTP Client command:','backwpup')
|
44 |
-
if ($loginok=ftp_login($ftp_conn_id, $
|
45 |
-
trigger_error(__('FTP Server reply:','backwpup')
|
46 |
} else { //if PHP ftp login don't work use raw login
|
47 |
-
$return=ftp_raw($ftp_conn_id,'USER '.$
|
48 |
-
trigger_error(__('FTP Server reply:','backwpup')
|
49 |
if (substr(trim($return[0]),0,3)<=400) {
|
50 |
-
trigger_error(__('FTP Client command:','backwpup')
|
51 |
-
$return=ftp_raw($ftp_conn_id,'PASS '.base64_decode($
|
52 |
-
trigger_error(__('FTP Server reply:','backwpup')
|
53 |
if (substr(trim($return[0]),0,3)<=400)
|
54 |
$loginok=true;
|
55 |
}
|
@@ -59,76 +60,76 @@ function dest_ftp() {
|
|
59 |
return false;
|
60 |
|
61 |
//PASV
|
62 |
-
trigger_error(__('FTP Client command:','backwpup')
|
63 |
-
if ($
|
64 |
if (ftp_pasv($ftp_conn_id, true))
|
65 |
-
trigger_error(__('FTP Server reply:','backwpup')
|
66 |
else
|
67 |
-
trigger_error(__('FTP Server reply:','backwpup')
|
68 |
} else {
|
69 |
if (ftp_pasv($ftp_conn_id, false))
|
70 |
-
trigger_error(__('FTP Server reply:','backwpup')
|
71 |
else
|
72 |
-
trigger_error(__('FTP Server reply:','backwpup')
|
73 |
}
|
74 |
//SYSTYPE
|
75 |
-
trigger_error(__('FTP Client command:','backwpup')
|
76 |
$systype=ftp_systype($ftp_conn_id);
|
77 |
if ($systype)
|
78 |
-
trigger_error(__('FTP Server reply:','backwpup')
|
79 |
else
|
80 |
-
trigger_error(__('FTP Server reply:','backwpup')
|
81 |
|
82 |
-
if ($
|
83 |
//test ftp dir and create it f not exists
|
84 |
-
$ftpdirs=explode("/", rtrim($
|
85 |
foreach ($ftpdirs as $ftpdir) {
|
86 |
if (empty($ftpdir))
|
87 |
continue;
|
88 |
if (!@ftp_chdir($ftp_conn_id, $ftpdir)) {
|
89 |
if (@ftp_mkdir($ftp_conn_id, $ftpdir)) {
|
90 |
-
trigger_error(
|
91 |
ftp_chdir($ftp_conn_id, $ftpdir);
|
92 |
} else {
|
93 |
-
trigger_error(
|
94 |
return false;
|
95 |
}
|
96 |
}
|
97 |
}
|
98 |
trigger_error(__('Upload to FTP now started ... ','backwpup'),E_USER_NOTICE);
|
99 |
-
@set_time_limit($
|
100 |
-
if (ftp_put($ftp_conn_id, $
|
101 |
-
$
|
102 |
-
trigger_error(__('Backup
|
103 |
-
$
|
104 |
} else
|
105 |
-
trigger_error(__('Can not transfer backup to FTP server
|
106 |
}
|
107 |
|
108 |
-
if ($
|
109 |
$backupfilelist=array();
|
110 |
-
if ($filelist=ftp_nlist($ftp_conn_id, $
|
111 |
foreach($filelist as $files) {
|
112 |
-
if ($
|
113 |
$backupfilelist[]=basename($files);
|
114 |
}
|
115 |
if (sizeof($backupfilelist)>0) {
|
116 |
rsort($backupfilelist);
|
117 |
$numdeltefiles=0;
|
118 |
-
for ($i=$
|
119 |
-
if (ftp_delete($ftp_conn_id, $
|
120 |
$numdeltefiles++;
|
121 |
else
|
122 |
-
trigger_error(__('Can not delete
|
123 |
}
|
124 |
if ($numdeltefiles>0)
|
125 |
-
trigger_error(
|
126 |
}
|
127 |
}
|
128 |
}
|
129 |
|
130 |
ftp_close($ftp_conn_id);
|
131 |
-
$
|
132 |
-
$
|
133 |
}
|
134 |
?>
|
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'])) {
|
11 |
+
$WORKING['STEPSDONE'][]='DEST_FTP'; //set done
|
12 |
return;
|
13 |
}
|
14 |
+
$WORKING['STEPTODO']=2;
|
15 |
+
trigger_error(sprintf(__('%d. try to sending backup file to a FTP Server...','backwpup'),$WORKING['DEST_FTP']['STEP_TRY']),E_USER_NOTICE);
|
16 |
|
17 |
+
need_free_memory(filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile'])*1.5);
|
18 |
|
19 |
+
if ($STATIC['JOB']['ftpssl']) { //make SSL FTP connection
|
20 |
if (function_exists('ftp_ssl_connect')) {
|
21 |
+
$ftp_conn_id = ftp_ssl_connect($STATIC['JOB']['ftphost'],$STATIC['JOB']['ftphostport'],10);
|
22 |
if ($ftp_conn_id)
|
23 |
+
trigger_error(sprintf(__('Connected by SSL-FTP to Server: %s','backwpup'),$STATIC['JOB']['ftphost'].':'.$STATIC['JOB']['ftphostport']),E_USER_NOTICE);
|
24 |
else {
|
25 |
+
trigger_error(sprintf(__('Can not connect by SSL-FTP to Server: %s','backwpup'),$STATIC['JOB']['ftphost'].':'.$STATIC['JOB']['ftphostport']),E_USER_ERROR);
|
26 |
return false;
|
27 |
}
|
28 |
} else {
|
29 |
+
trigger_error(__('PHP function to connect with SSL-FTP to server not exists!','backwpup'),E_USER_ERROR);
|
30 |
return false;
|
31 |
}
|
32 |
} else { //make normal FTP conection if SSL not work
|
33 |
+
$ftp_conn_id = ftp_connect($STATIC['JOB']['ftphost'],$STATIC['JOB']['ftphostport'],10);
|
34 |
if ($ftp_conn_id)
|
35 |
+
trigger_error(sprintf(__('Connected to FTP server: %s','backwpup'),$STATIC['JOB']['ftphost'].':'.$STATIC['JOB']['ftphostport']),E_USER_NOTICE);
|
36 |
else {
|
37 |
+
trigger_error(sprintf(__('Can not connect to FTP server: %s','backwpup'),$STATIC['JOB']['ftphost'].':'.$STATIC['JOB']['ftphostport']),E_USER_ERROR);
|
38 |
return false;
|
39 |
}
|
40 |
}
|
41 |
|
42 |
//FTP Login
|
43 |
$loginok=false;
|
44 |
+
trigger_error(sprintf(__('FTP Client command: %s','backwpup'),' USER '.$STATIC['JOB']['ftpuser']),E_USER_NOTICE);
|
45 |
+
if ($loginok=ftp_login($ftp_conn_id, $STATIC['JOB']['ftpuser'], base64_decode($STATIC['JOB']['ftppass']))) {
|
46 |
+
trigger_error(sprintf(__('FTP Server reply: %s','backwpup'),' User '.$STATIC['JOB']['ftpuser'].' logged in.'),E_USER_NOTICE);
|
47 |
} else { //if PHP ftp login don't work use raw login
|
48 |
+
$return=ftp_raw($ftp_conn_id,'USER '.$STATIC['JOB']['ftpuser']);
|
49 |
+
trigger_error(sprintf(__('FTP Server reply: %s','backwpup'),$return[0]),E_USER_NOTICE);
|
50 |
if (substr(trim($return[0]),0,3)<=400) {
|
51 |
+
trigger_error(sprintf(__('FTP Client command: %s','backwpup'),' PASS *******'),E_USER_NOTICE);
|
52 |
+
$return=ftp_raw($ftp_conn_id,'PASS '.base64_decode($STATIC['JOB']['ftppass']));
|
53 |
+
trigger_error(sprintf(__('FTP Server reply: %s','backwpup'),$return[0]),E_USER_NOTICE);
|
54 |
if (substr(trim($return[0]),0,3)<=400)
|
55 |
$loginok=true;
|
56 |
}
|
60 |
return false;
|
61 |
|
62 |
//PASV
|
63 |
+
trigger_error(sprintf(__('FTP Client command: %s','backwpup'),' PASV'),E_USER_NOTICE);
|
64 |
+
if ($STATIC['JOB']['ftppasv']) {
|
65 |
if (ftp_pasv($ftp_conn_id, true))
|
66 |
+
trigger_error(sprintf(__('FTP Server reply: %s','backwpup'),__('Entering Passive Mode','backwpup')),E_USER_NOTICE);
|
67 |
else
|
68 |
+
trigger_error(sprintf(__('FTP Server reply: %s','backwpup'),__('Can not Entering Passive Mode','backwpup')),E_USER_WARNING);
|
69 |
} else {
|
70 |
if (ftp_pasv($ftp_conn_id, false))
|
71 |
+
trigger_error(sprintf(__('FTP Server reply: %s','backwpup'),__('Entering Normal Mode','backwpup')),E_USER_NOTICE);
|
72 |
else
|
73 |
+
trigger_error(sprintf(__('FTP Server reply: %s','backwpup'),__('Can not Entering Normal Mode','backwpup')),E_USER_WARNING);
|
74 |
}
|
75 |
//SYSTYPE
|
76 |
+
trigger_error(sprintf(__('FTP Client command: %s','backwpup'),' SYST'),E_USER_NOTICE);
|
77 |
$systype=ftp_systype($ftp_conn_id);
|
78 |
if ($systype)
|
79 |
+
trigger_error(sprintf(__('FTP Server reply: %s','backwpup'),$systype),E_USER_NOTICE);
|
80 |
else
|
81 |
+
trigger_error(sprintf(__('FTP Server reply: %s','backwpup'),__('Error getting SYSTYPE','backwpup')),E_USER_ERROR);
|
82 |
|
83 |
+
if ($WORKING['STEPDONE']==0) {
|
84 |
//test ftp dir and create it f not exists
|
85 |
+
$ftpdirs=explode("/", rtrim($STATIC['JOB']['ftpdir'],'/'));
|
86 |
foreach ($ftpdirs as $ftpdir) {
|
87 |
if (empty($ftpdir))
|
88 |
continue;
|
89 |
if (!@ftp_chdir($ftp_conn_id, $ftpdir)) {
|
90 |
if (@ftp_mkdir($ftp_conn_id, $ftpdir)) {
|
91 |
+
trigger_error(sprintf(__('FTP Folder "%s" created!','backwpup'),$ftpdir),E_USER_NOTICE);
|
92 |
ftp_chdir($ftp_conn_id, $ftpdir);
|
93 |
} else {
|
94 |
+
trigger_error(sprintf(__('FTP Folder "%s" can not created!','backwpup'),$ftpdir),E_USER_ERROR);
|
95 |
return false;
|
96 |
}
|
97 |
}
|
98 |
}
|
99 |
trigger_error(__('Upload to FTP now started ... ','backwpup'),E_USER_NOTICE);
|
100 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
101 |
+
if (ftp_put($ftp_conn_id, $STATIC['JOB']['ftpdir'].$STATIC['backupfile'], $STATIC['JOB']['backupdir'].$STATIC['backupfile'], FTP_BINARY)) { //transfere file
|
102 |
+
$WORKING['STEPTODO']=1+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
103 |
+
trigger_error(sprintf(__('Backup transferred to FTP server: %s','backwpup'),$STATIC['JOB']['ftpdir'].$STATIC['backupfile']),E_USER_NOTICE);
|
104 |
+
$STATIC['JOB']['lastbackupdownloadurl']="ftp://".$STATIC['JOB']['ftpuser'].":".base64_decode($STATIC['JOB']['ftppass'])."@".$STATIC['JOB']['ftphost'].$STATIC['JOB']['ftpdir'].$STATIC['backupfile'];
|
105 |
} else
|
106 |
+
trigger_error(__('Can not transfer backup to FTP server!','backwpup'),E_USER_ERROR);
|
107 |
}
|
108 |
|
109 |
+
if ($STATIC['JOB']['ftpmaxbackups']>0) { //Delete old backups
|
110 |
$backupfilelist=array();
|
111 |
+
if ($filelist=ftp_nlist($ftp_conn_id, $STATIC['JOB']['ftpdir'])) {
|
112 |
foreach($filelist as $files) {
|
113 |
+
if ($STATIC['JOB']['fileprefix'] == substr(basename($files),0,strlen($STATIC['JOB']['fileprefix'])) and $STATIC['JOB']['fileformart'] == substr(basename($files),-strlen($STATIC['JOB']['fileformart'])))
|
114 |
$backupfilelist[]=basename($files);
|
115 |
}
|
116 |
if (sizeof($backupfilelist)>0) {
|
117 |
rsort($backupfilelist);
|
118 |
$numdeltefiles=0;
|
119 |
+
for ($i=$STATIC['JOB']['ftpmaxbackups'];$i<sizeof($backupfilelist);$i++) {
|
120 |
+
if (ftp_delete($ftp_conn_id, $STATIC['JOB']['ftpdir'].$backupfilelist[$i])) //delte files on ftp
|
121 |
$numdeltefiles++;
|
122 |
else
|
123 |
+
trigger_error(sprintf(__('Can not delete "%s" on FTP server!','backwpup'),$STATIC['JOB']['ftpdir'].$backupfilelist[$i]),E_USER_ERROR);
|
124 |
}
|
125 |
if ($numdeltefiles>0)
|
126 |
+
trigger_error(sprintf(_n('One file deleted on FTP Server','%d files deleted on FTP Server',$numdeltefiles,'backwpup'),$numdeltefiles),E_USER_NOTICE);
|
127 |
}
|
128 |
}
|
129 |
}
|
130 |
|
131 |
ftp_close($ftp_conn_id);
|
132 |
+
$WORKING['STEPDONE']++;
|
133 |
+
$WORKING['STEPSDONE'][]='DEST_FTP'; //set done
|
134 |
}
|
135 |
?>
|
job/dest_gstorage.php
CHANGED
@@ -6,72 +6,74 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function dest_gstorage() {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
$_SESSION['WORKING']['STEPTODO']=2+filesize($_SESSION['JOB']['backupdir'].$_SESSION['STATIC']['backupfile']);
|
14 |
-
$_SESSION['WORKING']['STEPDONE']=0;
|
15 |
-
trigger_error($_SESSION['WORKING']['DEST_GSTORAGE']['STEP_TRY'].'. '.__('Try to sending backup file to Google Storage...','backwpup'),E_USER_NOTICE);
|
16 |
|
17 |
require_once(dirname(__FILE__).'/../libs/googlestorage.php');
|
18 |
try {
|
19 |
-
$googlestorage = new GoogleStorage($
|
20 |
$googlestorage->setProgressFunction('curl_progresscallback');
|
21 |
-
$bucket=$googlestorage->getBucketAcl($
|
22 |
if (is_object($bucket)) {
|
23 |
-
trigger_error(__('Connected to Google storage bucket:','backwpup')
|
24 |
//set content Type
|
25 |
-
if ($
|
26 |
$content_type='application/zip';
|
27 |
-
if ($
|
28 |
$content_type='application/x-ustar';
|
29 |
-
if ($
|
30 |
$content_type='application/x-compressed';
|
31 |
-
if ($
|
32 |
$content_type='application/x-compressed';
|
33 |
//Transfer Backup to Google Storrage
|
34 |
-
trigger_error(__('Upload to Google storage now started
|
35 |
-
@set_time_limit($
|
36 |
-
$upload=$googlestorage->putObject($
|
37 |
if (empty($upload)) {
|
38 |
-
$
|
39 |
-
trigger_error(__('Backup
|
40 |
-
$
|
41 |
} else {
|
42 |
-
trigger_error(__('
|
43 |
}
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
$backupfilelist=array();
|
47 |
-
$contents = $googlestorage->getBucket($
|
48 |
if (is_object($contents)) {
|
49 |
foreach ($contents as $object) {
|
50 |
$file=basename($object->Key);
|
51 |
-
if ($
|
52 |
$backupfilelist[]=$file;
|
53 |
}
|
54 |
}
|
55 |
if (sizeof($backupfilelist)>0) {
|
56 |
rsort($backupfilelist);
|
57 |
$numdeltefiles=0;
|
58 |
-
for ($i=$
|
59 |
-
$googlestorage->deleteObject($
|
60 |
$numdeltefiles++;
|
61 |
}
|
62 |
if ($numdeltefiles>0)
|
63 |
-
trigger_error(
|
64 |
}
|
65 |
}
|
66 |
-
} else {
|
67 |
-
trigger_error(__('Bucket error:','backwpup').' '.$bucket,E_USER_ERROR);
|
68 |
}
|
69 |
} catch (Exception $e) {
|
70 |
-
trigger_error(__('
|
71 |
return;
|
72 |
}
|
73 |
|
74 |
-
$
|
75 |
-
$
|
76 |
}
|
77 |
?>
|
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/googlestorage.php');
|
15 |
try {
|
16 |
+
$googlestorage = new GoogleStorage($STATIC['JOB']['GStorageAccessKey'], $STATIC['JOB']['GStorageSecret']);
|
17 |
$googlestorage->setProgressFunction('curl_progresscallback');
|
18 |
+
$bucket=$googlestorage->getBucketAcl($STATIC['JOB']['GStorageBucket']);
|
19 |
if (is_object($bucket)) {
|
20 |
+
trigger_error(sprintf(__('Connected to Google storage bucket: %s','backwpup'),$STATIC['JOB']['GStorageBucket']),E_USER_NOTICE);
|
21 |
//set content Type
|
22 |
+
if ($STATIC['JOB']['fileformart']=='.zip')
|
23 |
$content_type='application/zip';
|
24 |
+
if ($STATIC['JOB']['fileformart']=='.tar')
|
25 |
$content_type='application/x-ustar';
|
26 |
+
if ($STATIC['JOB']['fileformart']=='.tar.gz')
|
27 |
$content_type='application/x-compressed';
|
28 |
+
if ($STATIC['JOB']['fileformart']=='.tar.bz2')
|
29 |
$content_type='application/x-compressed';
|
30 |
//Transfer Backup to Google Storrage
|
31 |
+
trigger_error(__('Upload to Google storage now started...','backwpup'),E_USER_NOTICE);
|
32 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
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 GSTORAGE://%s','backwpup'),$STATIC['JOB']['GStorageBucket'].'/'.$STATIC['JOB']['GStoragedir'].$STATIC['backupfile']),E_USER_NOTICE);
|
37 |
+
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloadgstorage&file='.$STATIC['JOB']['GStoragedir'].$STATIC['backupfile'].'&jobid='.$STATIC['JOB']['jobid'];
|
38 |
} else {
|
39 |
+
trigger_error(sprintf(__('Error "%s" on transfer backup to Google storage!','backwpup'),$upload),E_USER_ERROR);
|
40 |
}
|
41 |
+
} else {
|
42 |
+
trigger_error(sprintf(__('Error "%s" on connect to Google Storage bucket','backwpup'),$bucket),E_USER_ERROR);
|
43 |
+
}
|
44 |
+
} catch (Exception $e) {
|
45 |
+
trigger_error(sprintf(__('Google Storage API: %s','backwpup'),$e->getMessage()),E_USER_ERROR);
|
46 |
+
return;
|
47 |
+
}
|
48 |
+
if (is_object($bucket)) {
|
49 |
+
if ($STATIC['JOB']['GStoragemaxbackups']>0) { //Delete old backups
|
50 |
$backupfilelist=array();
|
51 |
+
$contents = $googlestorage->getBucket($STATIC['JOB']['GStorageBucket'],$STATIC['JOB']['GStoragedir']);
|
52 |
if (is_object($contents)) {
|
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;
|
57 |
}
|
58 |
}
|
59 |
if (sizeof($backupfilelist)>0) {
|
60 |
rsort($backupfilelist);
|
61 |
$numdeltefiles=0;
|
62 |
+
for ($i=$STATIC['JOB']['GStoragemaxbackups'];$i<sizeof($backupfilelist);$i++) {
|
63 |
+
$googlestorage->deleteObject($STATIC['JOB']['GStorageBucket'],$STATIC['JOB']['GStoragedir'].$backupfilelist[$i]); //delte files on Google Storage
|
64 |
$numdeltefiles++;
|
65 |
}
|
66 |
if ($numdeltefiles>0)
|
67 |
+
trigger_error(sprintf(_n('One file deleted on Google Storage bucket','%d files deleted on Google Storage bucket',$numdeltefiles,'backwpup'),$numdeltefiles),E_USER_NOTICE);
|
68 |
}
|
69 |
}
|
|
|
|
|
70 |
}
|
71 |
} catch (Exception $e) {
|
72 |
+
trigger_error(sprintf(__('Google Storage API: %s','backwpup'),$e->getMessage()),E_USER_ERROR);
|
73 |
return;
|
74 |
}
|
75 |
|
76 |
+
$WORKING['STEPDONE']++;
|
77 |
+
$WORKING['STEPSDONE'][]='DEST_GSTORAGE'; //set done
|
78 |
}
|
79 |
?>
|
job/dest_mail.php
CHANGED
@@ -6,31 +6,28 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function dest_mail() {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
$_SESSION['WORKING']['STEPTODO']=filesize($_SESSION['JOB']['backupdir'].$_SESSION['STATIC']['backupfile']);
|
14 |
-
$_SESSION['WORKING']['STEPDONE']=0;
|
15 |
-
trigger_error($_SESSION['WORKING']['DEST_MAIL']['STEP_TRY'].'. '.__('Try to sending backup file with mail...','backwpup'),E_USER_NOTICE);
|
16 |
|
17 |
//Create PHP Mailer
|
18 |
-
require_once(realpath($
|
19 |
$phpmailer = new PHPMailer();
|
20 |
//Setting den methode
|
21 |
-
if ($
|
22 |
-
require_once(realpath($
|
23 |
-
$phpmailer->Host=$
|
24 |
-
$phpmailer->Port=$
|
25 |
-
$phpmailer->SMTPSecure=$
|
26 |
-
$phpmailer->Username=$
|
27 |
-
$phpmailer->Password=base64_decode($
|
28 |
-
if (!empty($
|
29 |
$phpmailer->SMTPAuth=true;
|
30 |
$phpmailer->IsSMTP();
|
31 |
trigger_error(__('Send mail with SMTP','backwpup'),E_USER_NOTICE);
|
32 |
-
} elseif ($
|
33 |
-
$phpmailer->Sendmail=$
|
34 |
$phpmailer->IsSendmail();
|
35 |
trigger_error(__('Send mail with Sendmail','backwpup'),E_USER_NOTICE);
|
36 |
} else {
|
@@ -39,36 +36,36 @@ function dest_mail() {
|
|
39 |
}
|
40 |
|
41 |
trigger_error(__('Creating mail','backwpup'),E_USER_NOTICE);
|
42 |
-
$phpmailer->From = $
|
43 |
-
$phpmailer->FromName = $
|
44 |
-
$phpmailer->AddAddress($
|
45 |
-
$phpmailer->Subject = __('BackWPup
|
46 |
$phpmailer->IsHTML(false);
|
47 |
-
$phpmailer->Body = __('Backup
|
48 |
|
49 |
//check file Size
|
50 |
-
if (!empty($
|
51 |
-
$maxfilezise=abs($
|
52 |
-
if (filesize($
|
53 |
-
trigger_error(__('Backup
|
54 |
-
$
|
55 |
-
$
|
56 |
return;
|
57 |
}
|
58 |
}
|
59 |
|
60 |
-
trigger_error(__('Adding
|
61 |
-
need_free_memory(filesize($
|
62 |
-
$phpmailer->AddAttachment($
|
63 |
|
64 |
trigger_error(__('Send mail....','backwpup'),E_USER_NOTICE);
|
65 |
-
@set_time_limit($
|
66 |
if (false == $phpmailer->Send()) {
|
67 |
-
trigger_error(__('
|
68 |
} else {
|
69 |
-
$
|
70 |
trigger_error(__('Mail send!!!','backwpup'),E_USER_NOTICE);
|
71 |
}
|
72 |
-
$
|
73 |
}
|
74 |
?>
|
6 |
}
|
7 |
|
8 |
function dest_mail() {
|
9 |
+
global $WORKING,$STATIC;
|
10 |
+
$WORKING['STEPTODO']=filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
11 |
+
$WORKING['STEPDONE']=0;
|
12 |
+
trigger_error(sprintf(__('%d. try to sending backup with mail...','backwpup'),$WORKING['DEST_MAIL']['STEP_TRY']),E_USER_NOTICE);
|
|
|
|
|
|
|
13 |
|
14 |
//Create PHP Mailer
|
15 |
+
require_once(realpath($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC']).'/class-phpmailer.php');
|
16 |
$phpmailer = new PHPMailer();
|
17 |
//Setting den methode
|
18 |
+
if ($STATIC['CFG']['mailmethod']=="SMTP") {
|
19 |
+
require_once(realpath($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC']).'/class-smtp.php');
|
20 |
+
$phpmailer->Host=$STATIC['CFG']['mailhost'];
|
21 |
+
$phpmailer->Port=$STATIC['CFG']['mailhostport'];
|
22 |
+
$phpmailer->SMTPSecure=$STATIC['CFG']['mailsecure'];
|
23 |
+
$phpmailer->Username=$STATIC['CFG']['mailuser'];
|
24 |
+
$phpmailer->Password=base64_decode($STATIC['CFG']['mailpass']);
|
25 |
+
if (!empty($STATIC['CFG']['mailuser']) and !empty($STATIC['CFG']['mailpass']))
|
26 |
$phpmailer->SMTPAuth=true;
|
27 |
$phpmailer->IsSMTP();
|
28 |
trigger_error(__('Send mail with SMTP','backwpup'),E_USER_NOTICE);
|
29 |
+
} elseif ($STATIC['CFG']['mailmethod']=="Sendmail") {
|
30 |
+
$phpmailer->Sendmail=$STATIC['CFG']['mailsendmail'];
|
31 |
$phpmailer->IsSendmail();
|
32 |
trigger_error(__('Send mail with Sendmail','backwpup'),E_USER_NOTICE);
|
33 |
} else {
|
36 |
}
|
37 |
|
38 |
trigger_error(__('Creating mail','backwpup'),E_USER_NOTICE);
|
39 |
+
$phpmailer->From = $STATIC['CFG']['mailsndemail'];
|
40 |
+
$phpmailer->FromName = $STATIC['CFG']['mailsndname'];
|
41 |
+
$phpmailer->AddAddress($STATIC['JOB']['mailaddress']);
|
42 |
+
$phpmailer->Subject = sprintf(__('BackWPup archive from %1$s: %2$s','backwpup'),date('Y/m/d @ H:i',$STATIC['JOB']['starttime']+$STATIC['WP']['TIMEDIFF']),$STATIC['JOB']['name']);
|
43 |
$phpmailer->IsHTML(false);
|
44 |
+
$phpmailer->Body = sprintf(__('Backup archive: %s','backwpup'),$STATIC['backupfile']);
|
45 |
|
46 |
//check file Size
|
47 |
+
if (!empty($STATIC['JOB']['mailefilesize'])) {
|
48 |
+
$maxfilezise=abs($STATIC['JOB']['mailefilesize']*1024*1024);
|
49 |
+
if (filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile'])>$maxfilezise) {
|
50 |
+
trigger_error(__('Backup archive too big for sending by mail!','backwpup'),E_USER_ERROR);
|
51 |
+
$WORKING['STEPDONE']=1;
|
52 |
+
$WORKING['STEPSDONE'][]='DEST_MAIL'; //set done
|
53 |
return;
|
54 |
}
|
55 |
}
|
56 |
|
57 |
+
trigger_error(__('Adding backup archive to mail','backwpup'),E_USER_NOTICE);
|
58 |
+
need_free_memory(filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile'])*5);
|
59 |
+
$phpmailer->AddAttachment($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
60 |
|
61 |
trigger_error(__('Send mail....','backwpup'),E_USER_NOTICE);
|
62 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
63 |
if (false == $phpmailer->Send()) {
|
64 |
+
trigger_error(sprintf(__('Error "%s" on sending mail!','backwpup'),$phpmailer->ErrorInfo),E_USER_ERROR);
|
65 |
} else {
|
66 |
+
$WORKING['STEPTODO']=filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
67 |
trigger_error(__('Mail send!!!','backwpup'),E_USER_NOTICE);
|
68 |
}
|
69 |
+
$WORKING['STEPSDONE'][]='DEST_MAIL'; //set done
|
70 |
}
|
71 |
?>
|
job/dest_msazure.php
CHANGED
@@ -6,65 +6,62 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function dest_msazure() {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
}
|
13 |
-
$_SESSION['WORKING']['STEPTODO']=2+filesize($_SESSION['JOB']['backupdir'].$_SESSION['STATIC']['backupfile']);
|
14 |
-
trigger_error($_SESSION['WORKING']['DEST_MSAZURE']['STEP_TRY'].'. '.__('Try to sending backup file to a Microsoft Azure (Blob)...','backwpup'),E_USER_NOTICE);
|
15 |
|
16 |
require_once(dirname(__FILE__).'/../libs/Microsoft/WindowsAzure/Storage/Blob.php');
|
17 |
need_free_memory(4194304*1.5);
|
18 |
|
19 |
try {
|
20 |
-
$storageClient = new Microsoft_WindowsAzure_Storage_Blob($
|
21 |
|
22 |
-
if(!$storageClient->containerExists($
|
23 |
-
trigger_error(__('Microsoft Azure
|
24 |
return;
|
25 |
} else {
|
26 |
-
trigger_error(__('Connected to Microsoft Azure
|
27 |
}
|
28 |
|
29 |
-
trigger_error(__('Upload to MS Azure now started
|
30 |
-
@set_time_limit($
|
31 |
-
$result = $storageClient->putBlob($
|
32 |
|
33 |
-
if ($result->Name==$
|
34 |
-
$
|
35 |
-
trigger_error(__('Backup
|
36 |
-
$
|
37 |
} else {
|
38 |
-
trigger_error(__('Can not transfer backup to Microsoft Azure
|
39 |
}
|
40 |
|
41 |
-
if ($
|
42 |
$backupfilelist=array();
|
43 |
-
$blobs = $storageClient->listBlobs($
|
44 |
if (is_array($blobs)) {
|
45 |
foreach ($blobs as $blob) {
|
46 |
$file=basename($blob->Name);
|
47 |
-
if ($
|
48 |
$backupfilelist[]=$file;
|
49 |
}
|
50 |
}
|
51 |
if (sizeof($backupfilelist)>0) {
|
52 |
rsort($backupfilelist);
|
53 |
$numdeltefiles=0;
|
54 |
-
for ($i=$
|
55 |
-
$storageClient->deleteBlob($
|
56 |
$numdeltefiles++;
|
57 |
}
|
58 |
if ($numdeltefiles>0)
|
59 |
-
trigger_error(
|
60 |
}
|
61 |
}
|
62 |
|
63 |
} catch (Exception $e) {
|
64 |
-
trigger_error(__('Microsoft Azure API:','backwpup')
|
65 |
}
|
66 |
|
67 |
-
$
|
68 |
-
$
|
69 |
}
|
70 |
?>
|
6 |
}
|
7 |
|
8 |
function dest_msazure() {
|
9 |
+
global $WORKING,$STATIC;
|
10 |
+
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
11 |
+
trigger_error(sprintf(__('%d. try sending backup to a Microsoft Azure (Blob)...','backwpup'),$WORKING['DEST_MSAZURE']['STEP_TRY']),E_USER_NOTICE);
|
|
|
|
|
|
|
12 |
|
13 |
require_once(dirname(__FILE__).'/../libs/Microsoft/WindowsAzure/Storage/Blob.php');
|
14 |
need_free_memory(4194304*1.5);
|
15 |
|
16 |
try {
|
17 |
+
$storageClient = new Microsoft_WindowsAzure_Storage_Blob($STATIC['JOB']['msazureHost'],$STATIC['JOB']['msazureAccName'],$STATIC['JOB']['msazureKey']);
|
18 |
|
19 |
+
if(!$storageClient->containerExists($STATIC['JOB']['msazureContainer'])) {
|
20 |
+
trigger_error(sprintf(__('Microsoft Azure container "%s" not exists!','backwpup'),$STATIC['JOB']['msazureContainer']),E_USER_ERROR);
|
21 |
return;
|
22 |
} else {
|
23 |
+
trigger_error(sprintf(__('Connected to Microsoft Azure container "%s"','backwpup'),$STATIC['JOB']['msazureContainer']),E_USER_NOTICE);
|
24 |
}
|
25 |
|
26 |
+
trigger_error(__('Upload to MS Azure now started... ','backwpup'),E_USER_NOTICE);
|
27 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
28 |
+
$result = $storageClient->putBlob($STATIC['JOB']['msazureContainer'], $STATIC['JOB']['msazuredir'].$STATIC['backupfile'], $STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
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 azure://%s','backwpup'),$STATIC['JOB']['msazuredir'].$STATIC['backupfile']),E_USER_NOTICE);
|
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);
|
36 |
}
|
37 |
|
38 |
+
if ($STATIC['JOB']['msazuremaxbackups']>0) { //Delete old backups
|
39 |
$backupfilelist=array();
|
40 |
+
$blobs = $storageClient->listBlobs($STATIC['JOB']['msazureContainer'],$STATIC['JOB']['msazuredir']);
|
41 |
if (is_array($blobs)) {
|
42 |
foreach ($blobs as $blob) {
|
43 |
$file=basename($blob->Name);
|
44 |
+
if ($STATIC['JOB']['fileprefix'] == substr($file,0,strlen($STATIC['JOB']['fileprefix'])) and $STATIC['JOB']['fileformart'] == substr($file,-strlen($STATIC['JOB']['fileformart'])))
|
45 |
$backupfilelist[]=$file;
|
46 |
}
|
47 |
}
|
48 |
if (sizeof($backupfilelist)>0) {
|
49 |
rsort($backupfilelist);
|
50 |
$numdeltefiles=0;
|
51 |
+
for ($i=$STATIC['JOB']['msazuremaxbackups'];$i<sizeof($backupfilelist);$i++) {
|
52 |
+
$storageClient->deleteBlob($STATIC['JOB']['msazureContainer'],$STATIC['JOB']['msazuredir'].$backupfilelist[$i]); //delte files on Cloud
|
53 |
$numdeltefiles++;
|
54 |
}
|
55 |
if ($numdeltefiles>0)
|
56 |
+
trigger_error(sprintf(_n('One file deleted on Microsoft Azure container','%d files deleted on Microsoft Azure container',$numdeltefiles,'backwpup'),$numdeltefiles),E_USER_NOTICE);
|
57 |
}
|
58 |
}
|
59 |
|
60 |
} catch (Exception $e) {
|
61 |
+
trigger_error(sprintf(__('Microsoft Azure API: %s','backwpup'),$e->getMessage()),E_USER_ERROR);
|
62 |
}
|
63 |
|
64 |
+
$WORKING['STEPDONE']++;
|
65 |
+
$WORKING['STEPSDONE'][]='DEST_MSAZURE'; //set done
|
66 |
}
|
67 |
?>
|
job/dest_rsc.php
CHANGED
@@ -6,16 +6,13 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function dest_rsc() {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
trigger_error($_SESSION['WORKING']['DEST_RSC']['STEP_TRY'].'. '.__('Try to sending backup file to Rackspace Cloud...','backwpup'),E_USER_NOTICE);
|
14 |
-
$_SESSION['WORKING']['STEPTODO']=2+filesize($_SESSION['JOB']['backupdir'].$_SESSION['STATIC']['backupfile']);
|
15 |
-
$_SESSION['WORKING']['STEPDONE']=0;
|
16 |
require_once(dirname(__FILE__).'/../libs/rackspace/cloudfiles.php');
|
17 |
|
18 |
-
$auth = new CF_Authentication($
|
19 |
$auth->ssl_use_cabundle();
|
20 |
try {
|
21 |
if ($auth->authenticate())
|
@@ -25,11 +22,11 @@ function dest_rsc() {
|
|
25 |
$is_container=false;
|
26 |
$containers=$conn->get_containers();
|
27 |
foreach ($containers as $container) {
|
28 |
-
if ($container->name == $
|
29 |
$is_container=true;
|
30 |
}
|
31 |
if (!$is_container) {
|
32 |
-
$public_container = $conn->create_container($
|
33 |
$public_container->make_private();
|
34 |
if (empty($public_container))
|
35 |
$is_container=false;
|
@@ -40,43 +37,46 @@ function dest_rsc() {
|
|
40 |
}
|
41 |
|
42 |
if (!$is_container) {
|
43 |
-
trigger_error(__('Rackspase Cloud Container not exists:','backwpup').' '.$
|
44 |
return;
|
45 |
}
|
46 |
|
47 |
try {
|
48 |
//Transfer Backup to Rackspace Cloud
|
49 |
-
$backwpupcontainer = $conn->get_container($
|
50 |
-
//if (!empty($
|
51 |
-
// $backwpupcontainer->create_paths($
|
52 |
-
$backwpupbackup = $backwpupcontainer->create_object($
|
53 |
//set content Type
|
54 |
-
if ($
|
55 |
$backwpupbackup->content_type='application/zip';
|
56 |
-
if ($
|
57 |
$backwpupbackup->content_type='application/x-ustar';
|
58 |
-
if ($
|
59 |
$backwpupbackup->content_type='application/x-compressed';
|
60 |
-
if ($
|
61 |
$backwpupbackup->content_type='application/x-compressed';
|
62 |
trigger_error(__('Upload to RSC now started ... ','backwpup'),E_USER_NOTICE);
|
63 |
-
@set_time_limit($
|
64 |
-
if ($backwpupbackup->load_from_filename($
|
65 |
-
$
|
66 |
-
trigger_error(__('Backup File transferred to RSC://','backwpup').$
|
67 |
-
$
|
68 |
} else {
|
69 |
trigger_error(__('Can not transfer backup to RSC.','backwpup'),E_USER_ERROR);
|
70 |
}
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
73 |
$backupfilelist=array();
|
74 |
-
$contents = $backwpupcontainer->list_objects(0,NULL,NULL,$
|
75 |
if (is_array($contents)) {
|
76 |
foreach ($contents as $object) {
|
77 |
$file=basename($object);
|
78 |
-
if ($
|
79 |
-
if ($
|
80 |
$backupfilelist[]=$file;
|
81 |
}
|
82 |
}
|
@@ -84,21 +84,21 @@ function dest_rsc() {
|
|
84 |
if (sizeof($backupfilelist)>0) {
|
85 |
rsort($backupfilelist);
|
86 |
$numdeltefiles=0;
|
87 |
-
for ($i=$
|
88 |
-
if ($backwpupcontainer->delete_object($
|
89 |
$numdeltefiles++;
|
90 |
else
|
91 |
-
trigger_error(__('Can not delete file on RSC://','backwpup').$
|
92 |
}
|
93 |
if ($numdeltefiles>0)
|
94 |
-
trigger_error(
|
95 |
}
|
96 |
}
|
97 |
} catch (Exception $e) {
|
98 |
trigger_error(__('Rackspase Cloud API:','backwpup').' '.$e->getMessage(),E_USER_ERROR);
|
99 |
}
|
100 |
|
101 |
-
$
|
102 |
-
$
|
103 |
}
|
104 |
?>
|
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);
|
11 |
+
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
12 |
+
$WORKING['STEPDONE']=0;
|
|
|
|
|
|
|
13 |
require_once(dirname(__FILE__).'/../libs/rackspace/cloudfiles.php');
|
14 |
|
15 |
+
$auth = new CF_Authentication($STATIC['JOB']['rscUsername'], $STATIC['JOB']['rscAPIKey']);
|
16 |
$auth->ssl_use_cabundle();
|
17 |
try {
|
18 |
if ($auth->authenticate())
|
22 |
$is_container=false;
|
23 |
$containers=$conn->get_containers();
|
24 |
foreach ($containers as $container) {
|
25 |
+
if ($container->name == $STATIC['JOB']['rscContainer'] )
|
26 |
$is_container=true;
|
27 |
}
|
28 |
if (!$is_container) {
|
29 |
+
$public_container = $conn->create_container($STATIC['JOB']['rscContainer']);
|
30 |
$public_container->make_private();
|
31 |
if (empty($public_container))
|
32 |
$is_container=false;
|
37 |
}
|
38 |
|
39 |
if (!$is_container) {
|
40 |
+
trigger_error(__('Rackspase Cloud Container not exists:','backwpup').' '.$STATIC['JOB']['rscContainer'],E_USER_ERROR);
|
41 |
return;
|
42 |
}
|
43 |
|
44 |
try {
|
45 |
//Transfer Backup to Rackspace Cloud
|
46 |
+
$backwpupcontainer = $conn->get_container($STATIC['JOB']['rscContainer']);
|
47 |
+
//if (!empty($STATIC['JOB']['rscdir'])) //make the foldder
|
48 |
+
// $backwpupcontainer->create_paths($STATIC['JOB']['rscdir']);
|
49 |
+
$backwpupbackup = $backwpupcontainer->create_object($STATIC['JOB']['rscdir'].$STATIC['backupfile']);
|
50 |
//set content Type
|
51 |
+
if ($STATIC['JOB']['fileformart']=='.zip')
|
52 |
$backwpupbackup->content_type='application/zip';
|
53 |
+
if ($STATIC['JOB']['fileformart']=='.tar')
|
54 |
$backwpupbackup->content_type='application/x-ustar';
|
55 |
+
if ($STATIC['JOB']['fileformart']=='.tar.gz')
|
56 |
$backwpupbackup->content_type='application/x-compressed';
|
57 |
+
if ($STATIC['JOB']['fileformart']=='.tar.bz2')
|
58 |
$backwpupbackup->content_type='application/x-compressed';
|
59 |
trigger_error(__('Upload to RSC now started ... ','backwpup'),E_USER_NOTICE);
|
60 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
61 |
+
if ($backwpupbackup->load_from_filename($STATIC['JOB']['backupdir'].$STATIC['backupfile'])) {
|
62 |
+
$WORKING['STEPTODO']=1+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
63 |
+
trigger_error(__('Backup File transferred to RSC://','backwpup').$STATIC['JOB']['rscContainer'].'/'.$STATIC['JOB']['rscdir'].$STATIC['backupfile'],E_USER_NOTICE);
|
64 |
+
$STATIC['JOB']['lastbackupdownloadurl']=$STATIC['WP']['ADMINURL'].'?page=backwpupbackups&action=downloadrsc&file='.$STATIC['JOB']['rscdir'].$STATIC['backupfile'].'&jobid='.$STATIC['JOB']['jobid'];
|
65 |
} else {
|
66 |
trigger_error(__('Can not transfer backup to RSC.','backwpup'),E_USER_ERROR);
|
67 |
}
|
68 |
+
} catch (Exception $e) {
|
69 |
+
trigger_error(__('Rackspase Cloud API:','backwpup').' '.$e->getMessage(),E_USER_ERROR);
|
70 |
+
}
|
71 |
+
try {
|
72 |
+
if ($STATIC['JOB']['rscmaxbackups']>0) { //Delete old backups
|
73 |
$backupfilelist=array();
|
74 |
+
$contents = $backwpupcontainer->list_objects(0,NULL,NULL,$STATIC['JOB']['rscdir']);
|
75 |
if (is_array($contents)) {
|
76 |
foreach ($contents as $object) {
|
77 |
$file=basename($object);
|
78 |
+
if ($STATIC['JOB']['rscdir'].$file == $object) {//only in the folder and not in complete bucket
|
79 |
+
if ($STATIC['JOB']['fileprefix'] == substr($file,0,strlen($STATIC['JOB']['fileprefix'])) and $STATIC['JOB']['fileformart'] == substr($file,-strlen($STATIC['JOB']['fileformart'])))
|
80 |
$backupfilelist[]=$file;
|
81 |
}
|
82 |
}
|
84 |
if (sizeof($backupfilelist)>0) {
|
85 |
rsort($backupfilelist);
|
86 |
$numdeltefiles=0;
|
87 |
+
for ($i=$STATIC['JOB']['rscmaxbackups'];$i<sizeof($backupfilelist);$i++) {
|
88 |
+
if ($backwpupcontainer->delete_object($STATIC['JOB']['rscdir'].$backupfilelist[$i])) //delte files on Cloud
|
89 |
$numdeltefiles++;
|
90 |
else
|
91 |
+
trigger_error(__('Can not delete file on RSC://','backwpup').$STATIC['JOB']['rscContainer'].$STATIC['JOB']['rscdir'].$backupfilelist[$i],E_USER_ERROR);
|
92 |
}
|
93 |
if ($numdeltefiles>0)
|
94 |
+
trigger_error(sprintf(_n('One file deleted on RSC container','%d files deleted on RSC container',$numdeltefiles,'backwpup'),$numdeltefiles),E_USER_NOTICE);
|
95 |
}
|
96 |
}
|
97 |
} catch (Exception $e) {
|
98 |
trigger_error(__('Rackspase Cloud API:','backwpup').' '.$e->getMessage(),E_USER_ERROR);
|
99 |
}
|
100 |
|
101 |
+
$WORKING['STEPDONE']++;
|
102 |
+
$WORKING['STEPSDONE'][]='DEST_RSC'; //set done
|
103 |
}
|
104 |
?>
|
job/dest_s3.php
CHANGED
@@ -6,23 +6,20 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function dest_s3() {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
trigger_error($_SESSION['WORKING']['DEST_S3']['STEP_TRY'].'. '.__('Try to sending backup file to Amazon S3...','backwpup'),E_USER_NOTICE);
|
14 |
-
$_SESSION['WORKING']['STEPTODO']=2+filesize($_SESSION['JOB']['backupdir'].$_SESSION['STATIC']['backupfile']);
|
15 |
-
$_SESSION['WORKING']['STEPDONE']=0;
|
16 |
|
17 |
require_once(dirname(__FILE__).'/../libs/aws/sdk.class.php');
|
18 |
need_free_memory(26214400*1.1);
|
19 |
|
20 |
try {
|
21 |
-
$s3 = new AmazonS3($
|
22 |
-
if ($s3->if_bucket_exists($
|
23 |
-
trigger_error(__('Connected to S3 Bucket:','backwpup')
|
24 |
//Transfer Backup to S3
|
25 |
-
if ($
|
26 |
$storage=AmazonS3::STORAGE_REDUCED;
|
27 |
else
|
28 |
$storage=AmazonS3::STORAGE_STANDARD;
|
@@ -31,47 +28,53 @@ function dest_s3() {
|
|
31 |
if (defined('CURLOPT_PROGRESSFUNCTION'))
|
32 |
$curlops=array(CURLOPT_NOPROGRESS=>false,CURLOPT_PROGRESSFUNCTION=>'curl_progresscallback',CURLOPT_BUFFERSIZE=>256);
|
33 |
else
|
34 |
-
@set_time_limit($
|
35 |
-
trigger_error(__('Upload to Amazon S3 now started
|
36 |
-
if ($s3->create_mpu_object($
|
37 |
-
$
|
38 |
-
trigger_error(__('Backup
|
39 |
-
$
|
40 |
} else {
|
41 |
-
trigger_error(__('Can not transfer backup to S3
|
42 |
}
|
43 |
-
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
$backupfilelist=array();
|
46 |
-
if (($contents = $s3->list_objects($
|
47 |
foreach ($contents->body->Contents as $object) {
|
48 |
$file=basename($object->Key);
|
49 |
-
if ($
|
50 |
$backupfilelist[]=$file;
|
51 |
}
|
52 |
}
|
53 |
if (sizeof($backupfilelist)>0) {
|
54 |
rsort($backupfilelist);
|
55 |
$numdeltefiles=0;
|
56 |
-
for ($i=$
|
57 |
-
if ($s3->delete_object($
|
58 |
$numdeltefiles++;
|
59 |
else
|
60 |
-
trigger_error(__('Can not delete
|
61 |
}
|
62 |
if ($numdeltefiles>0)
|
63 |
-
trigger_error(
|
64 |
}
|
65 |
}
|
66 |
-
} else {
|
67 |
-
trigger_error(__('S3 Bucket not exists:','backwpup').' '.$_SESSION['JOB']['awsBucket'],E_USER_ERROR);
|
68 |
}
|
69 |
} catch (Exception $e) {
|
70 |
-
trigger_error(__('Amazon
|
71 |
return;
|
72 |
}
|
73 |
|
74 |
-
$
|
75 |
-
$
|
76 |
}
|
77 |
?>
|
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);
|
11 |
+
$WORKING['STEPTODO']=2+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
12 |
+
$WORKING['STEPDONE']=0;
|
|
|
|
|
|
|
13 |
|
14 |
require_once(dirname(__FILE__).'/../libs/aws/sdk.class.php');
|
15 |
need_free_memory(26214400*1.1);
|
16 |
|
17 |
try {
|
18 |
+
$s3 = new AmazonS3($STATIC['JOB']['awsAccessKey'], $STATIC['JOB']['awsSecretKey']);
|
19 |
+
if ($s3->if_bucket_exists($STATIC['JOB']['awsBucket'])) {
|
20 |
+
trigger_error(sprintf(__('Connected to S3 Bucket: %s','backwpup'),$STATIC['JOB']['awsBucket']),E_USER_NOTICE);
|
21 |
//Transfer Backup to S3
|
22 |
+
if ($STATIC['JOB']['awsrrs']) //set reduced redundancy or not
|
23 |
$storage=AmazonS3::STORAGE_REDUCED;
|
24 |
else
|
25 |
$storage=AmazonS3::STORAGE_STANDARD;
|
28 |
if (defined('CURLOPT_PROGRESSFUNCTION'))
|
29 |
$curlops=array(CURLOPT_NOPROGRESS=>false,CURLOPT_PROGRESSFUNCTION=>'curl_progresscallback',CURLOPT_BUFFERSIZE=>256);
|
30 |
else
|
31 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
32 |
+
trigger_error(__('Upload to Amazon S3 now started... ','backwpup'),E_USER_NOTICE);
|
33 |
+
if ($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))) {//transfere file to S3
|
34 |
+
$WORKING['STEPTODO']=1+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
35 |
+
trigger_error(sprintf(__('Backup transferred to S3://%s','backwpup'),$STATIC['JOB']['awsBucket'].'/'.$STATIC['JOB']['awsdir'].$STATIC['backupfile']),E_USER_NOTICE);
|
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);
|
42 |
+
}
|
43 |
+
} catch (Exception $e) {
|
44 |
+
trigger_error(sprintf(__('Amazon API: %s','backwpup'),$e->getMessage()),E_USER_ERROR);
|
45 |
+
return;
|
46 |
+
}
|
47 |
+
try {
|
48 |
+
if ($s3->if_bucket_exists($STATIC['JOB']['awsBucket'])) {
|
49 |
+
if ($STATIC['JOB']['awsmaxbackups']>0) { //Delete old backups
|
50 |
$backupfilelist=array();
|
51 |
+
if (($contents = $s3->list_objects($STATIC['JOB']['awsBucket'],array('prefix'=>$STATIC['JOB']['awsdir']))) !== false) {
|
52 |
foreach ($contents->body->Contents as $object) {
|
53 |
$file=basename($object->Key);
|
54 |
+
if ($STATIC['JOB']['fileprefix'] == substr($file,0,strlen($STATIC['JOB']['fileprefix'])) and $STATIC['JOB']['fileformart'] == substr($file,-strlen($STATIC['JOB']['fileformart'])))
|
55 |
$backupfilelist[]=$file;
|
56 |
}
|
57 |
}
|
58 |
if (sizeof($backupfilelist)>0) {
|
59 |
rsort($backupfilelist);
|
60 |
$numdeltefiles=0;
|
61 |
+
for ($i=$STATIC['JOB']['awsmaxbackups'];$i<sizeof($backupfilelist);$i++) {
|
62 |
+
if ($s3->delete_object($STATIC['JOB']['awsBucket'], $STATIC['JOB']['awsdir'].$backupfilelist[$i])) //delte files on S3
|
63 |
$numdeltefiles++;
|
64 |
else
|
65 |
+
trigger_error(sprintf(__('Can not delete backup on S3://%s','backwpup'),$STATIC['JOB']['awsBucket'].'/'.$STATIC['JOB']['awsdir'].$backupfilelist[$i]),E_USER_ERROR);
|
66 |
}
|
67 |
if ($numdeltefiles>0)
|
68 |
+
trigger_error(sprintf(_n('One file deleted on S3 Bucket','%d files deleted on S3 Bucket',$numdeltefiles,'backwpup'),$numdeltefiles),E_USER_NOTICE);
|
69 |
}
|
70 |
}
|
|
|
|
|
71 |
}
|
72 |
} catch (Exception $e) {
|
73 |
+
trigger_error(sprintf(__('Amazon API: %s','backwpup'),$e->getMessage()),E_USER_ERROR);
|
74 |
return;
|
75 |
}
|
76 |
|
77 |
+
$WORKING['STEPDONE']++;
|
78 |
+
$WORKING['STEPSDONE'][]='DEST_S3'; //set done
|
79 |
}
|
80 |
?>
|
job/dest_sugarsync.php
CHANGED
@@ -6,56 +6,53 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function dest_sugarsync() {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
$_SESSION['WORKING']['STEPTODO']=2+filesize($_SESSION['JOB']['backupdir'].$_SESSION['STATIC']['backupfile']);
|
14 |
-
$_SESSION['WORKING']['STEPDONE']=0;
|
15 |
-
trigger_error($_SESSION['WORKING']['DEST_SUGARSYNC']['STEP_TRY'].'. '.__('Try to sending backup file to sugarsync...','backwpup'),E_USER_NOTICE);
|
16 |
|
17 |
require_once(realpath(dirname(__FILE__).'/../libs/sugarsync.php'));
|
18 |
|
19 |
try {
|
20 |
-
$sugarsync = new SugarSync($
|
21 |
//Check Quota
|
22 |
$user=$sugarsync->user();
|
23 |
if (!empty($user->nickname)) {
|
24 |
-
trigger_error(__('Authed to SugarSync with Nick ','backwpup')
|
25 |
}
|
26 |
$sugarsyncfreespase=(float)$user->quota->limit-(float)$user->quota->usage; //float fixes bug for display of no free space
|
27 |
-
if (filesize($
|
28 |
trigger_error(__('No free space left on SugarSync!!!','backwpup'),E_USER_ERROR);
|
29 |
-
$
|
30 |
-
$
|
31 |
return;
|
32 |
} else {
|
33 |
-
trigger_error(__('
|
34 |
}
|
35 |
//Create and change folder
|
36 |
-
$sugarsync->mkdir($
|
37 |
-
$dirid=$sugarsync->chdir($
|
38 |
//Upload to Sugarsync
|
39 |
$sugarsync->setProgressFunction('curl_progresscallback');
|
40 |
-
trigger_error(__('Upload to SugarSync now started
|
41 |
-
@set_time_limit($
|
42 |
-
$reponse=$sugarsync->upload($
|
43 |
if (is_object($reponse)) {
|
44 |
-
$
|
45 |
-
$
|
46 |
-
trigger_error(__('Backup
|
47 |
} else {
|
48 |
-
trigger_error(__('Can not
|
49 |
return;
|
50 |
}
|
51 |
$sugarsync->setProgressFunction('');
|
52 |
|
53 |
-
if ($
|
54 |
$backupfilelist=array();
|
55 |
$getfiles=$sugarsync->getcontents('file');
|
56 |
if (is_object($getfiles)) {
|
57 |
foreach ($getfiles->file as $getfile) {
|
58 |
-
if ($
|
59 |
$backupfilelist[]=$getfile->displayName;
|
60 |
$backupfileref[utf8_encode($getfile->displayName)]=$getfile->ref;
|
61 |
}
|
@@ -63,19 +60,19 @@ function dest_sugarsync() {
|
|
63 |
if (sizeof($backupfilelist)>0) {
|
64 |
rsort($backupfilelist);
|
65 |
$numdeltefiles=0;
|
66 |
-
for ($i=$
|
67 |
$sugarsync->delete($backupfileref[utf8_encode($backupfilelist[$i])]); //delete files on Cloud
|
68 |
$numdeltefiles++;
|
69 |
}
|
70 |
if ($numdeltefiles>0)
|
71 |
-
trigger_error(
|
72 |
}
|
73 |
}
|
74 |
} catch (Exception $e) {
|
75 |
-
trigger_error(__('SugarSync API:','backwpup')
|
76 |
}
|
77 |
|
78 |
-
$
|
79 |
-
$
|
80 |
}
|
81 |
?>
|
6 |
}
|
7 |
|
8 |
function dest_sugarsync() {
|
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 SugarSync...','backwpup'),$WORKING['DEST_SUGARSYNC']['STEP_TRY']),E_USER_NOTICE);
|
|
|
|
|
|
|
13 |
|
14 |
require_once(realpath(dirname(__FILE__).'/../libs/sugarsync.php'));
|
15 |
|
16 |
try {
|
17 |
+
$sugarsync = new SugarSync($STATIC['JOB']['sugaruser'],base64_decode($STATIC['JOB']['sugarpass']),$STATIC['BACKWPUP']['SUGARSYNC_ACCESSKEY'], $STATIC['BACKWPUP']['SUGARSYNC_PRIVATEACCESSKEY']);
|
18 |
//Check Quota
|
19 |
$user=$sugarsync->user();
|
20 |
if (!empty($user->nickname)) {
|
21 |
+
trigger_error(sprintf(__('Authed to SugarSync with Nick %s','backwpup'),$user->nickname),E_USER_NOTICE);
|
22 |
}
|
23 |
$sugarsyncfreespase=(float)$user->quota->limit-(float)$user->quota->usage; //float fixes bug for display of no free space
|
24 |
+
if (filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile'])>$sugarsyncfreespase) {
|
25 |
trigger_error(__('No free space left on SugarSync!!!','backwpup'),E_USER_ERROR);
|
26 |
+
$WORKING['STEPTODO']=1+filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
27 |
+
$WORKING['STEPSDONE'][]='DEST_SUGARSYNC'; //set done
|
28 |
return;
|
29 |
} else {
|
30 |
+
trigger_error(sprintf(__('%s free on SugarSync','backwpup'),formatBytes($sugarsyncfreespase)),E_USER_NOTICE);
|
31 |
}
|
32 |
//Create and change folder
|
33 |
+
$sugarsync->mkdir($STATIC['JOB']['sugardir'],$STATIC['JOB']['sugarroot']);
|
34 |
+
$dirid=$sugarsync->chdir($STATIC['JOB']['sugardir'],$STATIC['JOB']['sugarroot']);
|
35 |
//Upload to Sugarsync
|
36 |
$sugarsync->setProgressFunction('curl_progresscallback');
|
37 |
+
trigger_error(__('Upload to SugarSync now started... ','backwpup'),E_USER_NOTICE);
|
38 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntimelong']);
|
39 |
+
$reponse=$sugarsync->upload($STATIC['JOB']['backupdir'].$STATIC['backupfile']);
|
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 SugarSync://%s','backwpup'),$sugarsync->showdir($dirid).$STATIC['backupfile']),E_USER_NOTICE);
|
44 |
} else {
|
45 |
+
trigger_error(__('Can not transfer backup to SugarSync!','backwpup'),E_USER_ERROR);
|
46 |
return;
|
47 |
}
|
48 |
$sugarsync->setProgressFunction('');
|
49 |
|
50 |
+
if ($STATIC['JOB']['sugarmaxbackups']>0) { //Delete old backups
|
51 |
$backupfilelist=array();
|
52 |
$getfiles=$sugarsync->getcontents('file');
|
53 |
if (is_object($getfiles)) {
|
54 |
foreach ($getfiles->file as $getfile) {
|
55 |
+
if ($STATIC['JOB']['fileprefix'] == substr($getfile->displayName,0,strlen($STATIC['JOB']['fileprefix'])) and $STATIC['JOB']['fileformart'] == substr($getfile->displayName,-strlen($STATIC['JOB']['fileformart'])))
|
56 |
$backupfilelist[]=$getfile->displayName;
|
57 |
$backupfileref[utf8_encode($getfile->displayName)]=$getfile->ref;
|
58 |
}
|
60 |
if (sizeof($backupfilelist)>0) {
|
61 |
rsort($backupfilelist);
|
62 |
$numdeltefiles=0;
|
63 |
+
for ($i=$STATIC['JOB']['sugarmaxbackups'];$i<count($backupfilelist);$i++) {
|
64 |
$sugarsync->delete($backupfileref[utf8_encode($backupfilelist[$i])]); //delete files on Cloud
|
65 |
$numdeltefiles++;
|
66 |
}
|
67 |
if ($numdeltefiles>0)
|
68 |
+
trigger_error(sprintf(_n('One file deleted on SugarSync folder','%d files deleted on SugarSync folder',$numdeltefiles,'backwpup'),$numdeltefiles),E_USER_NOTICE);
|
69 |
}
|
70 |
}
|
71 |
} catch (Exception $e) {
|
72 |
+
trigger_error(sprintf(__('SugarSync API: %s','backwpup'),$e->getMessage()),E_USER_ERROR);
|
73 |
}
|
74 |
|
75 |
+
$WORKING['STEPDONE']++;
|
76 |
+
$WORKING['STEPSDONE'][]='DEST_SUGARSYNC'; //set done
|
77 |
}
|
78 |
?>
|
job/file_list.php
CHANGED
@@ -7,76 +7,73 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
7 |
|
8 |
|
9 |
function file_list() {
|
|
|
10 |
//Make filelist
|
11 |
-
trigger_error(__(
|
12 |
-
$
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
$_SESSION['WORKING']['FILEEXCLUDES']=array_unique($_SESSION['WORKING']['FILEEXCLUDES']);
|
22 |
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
}
|
44 |
-
}
|
45 |
-
$_SESSION['WORKING']['TEMPFILELIST']=array_unique($_SESSION['WORKING']['TEMPFILELIST']); //all files only one time in list
|
46 |
-
sort($_SESSION['WORKING']['TEMPFILELIST']);
|
47 |
-
$_SESSION['WORKING']['FILELISTDONE']=0; //Set number of dine files
|
48 |
-
$_SESSION['WORKING']['STEPDONE']=1; //Step done
|
49 |
-
update_working_file();
|
50 |
-
}
|
51 |
-
if ($_SESSION['WORKING']['STEPDONE']==1) {
|
52 |
-
//Check abs path
|
53 |
-
if ($_SESSION['WP']['ABSPATH']=='/' or $_SESSION['WP']['ABSPATH']=='')
|
54 |
-
$removepath='';
|
55 |
-
else
|
56 |
-
$removepath=$_SESSION['WP']['ABSPATH'];
|
57 |
-
//make file list
|
58 |
-
for ($i=$_SESSION['WORKING']['FILELISTDONE']; $i<count($_SESSION['WORKING']['TEMPFILELIST']); $i++) {
|
59 |
-
$filestat=stat($_SESSION['WORKING']['TEMPFILELIST'][$i]);
|
60 |
-
$_SESSION['WORKING']['ALLFILESIZE']+=$filestat['size'];
|
61 |
-
$_SESSION['WORKING']['FILELIST'][]=array('FILE'=>$_SESSION['WORKING']['TEMPFILELIST'][$i],'OUTFILE'=>str_replace($removepath,'',$_SESSION['WORKING']['TEMPFILELIST'][$i]),'SIZE'=>$filestat['size'],'ATIME'=>$filestat['atime'],'MTIME'=>$filestat['mtime'],'CTIME'=>$filestat['ctime'],'UID'=>$filestat['uid'],'GID'=>$filestat['gid'],'MODE'=>$filestat['mode']);
|
62 |
-
$_SESSION['WORKING']['FILELISTDONE']++;
|
63 |
-
}
|
64 |
-
|
65 |
-
$_SESSION['WORKING']['STEPDONE']=2;
|
66 |
-
$_SESSION['WORKING']['STEPSDONE'][]='FILE_LIST'; //set done
|
67 |
-
unset($_SESSION['WORKING']['FILELISTDONE']); //clean up
|
68 |
-
unset($_SESSION['WORKING']['TEMPFILELIST']);
|
69 |
-
|
70 |
-
if (!is_array($_SESSION['WORKING']['FILELIST'][0])) {
|
71 |
-
trigger_error(__('No files to Backup','backwpup'),E_USER_ERROR);
|
72 |
-
} else {
|
73 |
-
trigger_error(__('Files to Backup:','backwpup').' '.count($_SESSION['WORKING']['FILELIST']),E_USER_NOTICE);
|
74 |
-
trigger_error(__('Size of all Files:','backwpup').' '.formatBytes($_SESSION['WORKING']['ALLFILESIZE']),E_USER_NOTICE);
|
75 |
}
|
76 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
}
|
78 |
|
79 |
function _file_list( $folder = '', $levels = 100, $excludedirs=array()) {
|
|
|
80 |
if( empty($folder) )
|
81 |
return false;
|
82 |
if( ! $levels )
|
@@ -86,7 +83,7 @@ function _file_list( $folder = '', $levels = 100, $excludedirs=array()) {
|
|
86 |
while (($file = readdir( $dir ) ) !== false ) {
|
87 |
if ( in_array($file, array('.', '..','.svn') ) )
|
88 |
continue;
|
89 |
-
foreach ($
|
90 |
$exclusion=trim($exclusion);
|
91 |
if (false !== stripos($folder.$file,$exclusion) and !empty($exclusion) and $exclusion!='/')
|
92 |
continue 2;
|
@@ -94,15 +91,15 @@ function _file_list( $folder = '', $levels = 100, $excludedirs=array()) {
|
|
94 |
if (in_array(rtrim($folder.$file,'/').'/',$excludedirs) and is_dir( $folder.$file ))
|
95 |
continue;
|
96 |
if ( !is_readable($folder.$file)) {
|
97 |
-
trigger_error(__('File or folder is not readable
|
98 |
} elseif ( is_link($folder.$file) ) {
|
99 |
-
trigger_error(__('
|
100 |
} elseif ( is_dir( $folder.$file )) {
|
101 |
_file_list( rtrim($folder.$file,'/'), $levels - 1,$excludedirs);
|
102 |
} elseif ( is_file( $folder.$file ) or is_executable($folder.$file)) { //add file to filelist
|
103 |
-
$
|
104 |
} else {
|
105 |
-
trigger_error(__('
|
106 |
}
|
107 |
|
108 |
}
|
@@ -111,23 +108,27 @@ function _file_list( $folder = '', $levels = 100, $excludedirs=array()) {
|
|
111 |
}
|
112 |
|
113 |
function _get_exclude_dirs($folder) {
|
|
|
114 |
$excludedir=array();
|
115 |
-
$excludedir[]
|
116 |
-
$excludedir[]=$
|
117 |
-
if (false !== strpos($
|
118 |
-
$excludedir[]=$
|
119 |
-
if (false !== strpos($
|
120 |
-
$excludedir[]=$
|
121 |
-
if (false !== strpos($
|
122 |
-
$excludedir[]=$
|
123 |
-
if (false !== strpos($
|
124 |
-
$excludedir[]=$
|
125 |
-
if (false !== strpos($
|
126 |
-
$excludedir[]=$
|
127 |
//Exclude Backup dirs
|
128 |
-
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
131 |
}
|
132 |
return $excludedir;
|
133 |
}
|
7 |
|
8 |
|
9 |
function file_list() {
|
10 |
+
global $WORKING,$STATIC,$tempfilelist;
|
11 |
//Make filelist
|
12 |
+
trigger_error(sprintf(__('%d. try for make list of files to backup....','backwpup'),$WORKING['FILE_LIST']['STEP_TRY']),E_USER_NOTICE);
|
13 |
+
$WORKING['STEPTODO']=2;
|
14 |
|
15 |
+
//Check free memory for file list
|
16 |
+
need_free_memory(2097152); //2MB free memory for filelist
|
17 |
+
//empty filelist
|
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
|
24 |
+
if ($STATIC['JOB']['backuproot'])
|
25 |
+
_file_list($STATIC['WP']['ABSPATH'],100,array_merge($STATIC['JOB']['backuprootexcludedirs'],_get_exclude_dirs($STATIC['WP']['ABSPATH'])));
|
26 |
+
if ($STATIC['JOB']['backupcontent'])
|
27 |
+
_file_list($STATIC['WP']['WP_CONTENT_DIR'],100,array_merge($STATIC['JOB']['backupcontentexcludedirs'],_get_exclude_dirs($STATIC['WP']['WP_CONTENT_DIR'])));
|
28 |
+
if ($STATIC['JOB']['backupplugins'])
|
29 |
+
_file_list($STATIC['WP']['WP_PLUGIN_DIR'],100,array_merge($STATIC['JOB']['backuppluginsexcludedirs'],_get_exclude_dirs($STATIC['WP']['WP_PLUGIN_DIR'])));
|
30 |
+
if ($STATIC['JOB']['backupthemes'])
|
31 |
+
_file_list($STATIC['WP']['WP_THEMES_DIR'],100,array_merge($STATIC['JOB']['backupthemesexcludedirs'],_get_exclude_dirs($STATIC['WP']['WP_THEMES_DIR'])));
|
32 |
+
if ($STATIC['JOB']['backupuploads'])
|
33 |
+
_file_list($STATIC['WP']['WP_UPLOAD_DIR'],100,array_merge($STATIC['JOB']['backupuploadsexcludedirs'],_get_exclude_dirs($STATIC['WP']['WP_UPLOAD_DIR'])));
|
34 |
|
35 |
+
//include dirs
|
36 |
+
if (!empty($STATIC['JOB']['dirinclude'])) {
|
37 |
+
$dirinclude=explode(',',$STATIC['JOB']['dirinclude']);
|
38 |
+
$dirinclude=array_unique($dirinclude);
|
39 |
+
//Crate file list for includes
|
40 |
+
foreach($dirinclude as $dirincludevalue) {
|
41 |
+
if (is_dir($dirincludevalue))
|
42 |
+
_file_list($dirincludevalue,100);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
44 |
}
|
45 |
+
$tempfilelist=array_unique($tempfilelist); //all files only one time in list
|
46 |
+
sort($tempfilelist);
|
47 |
+
$WORKING['STEPDONE']=1; //Step done
|
48 |
+
update_working_file();
|
49 |
+
|
50 |
+
//Check abs path
|
51 |
+
if ($STATIC['WP']['ABSPATH']=='/' or $STATIC['WP']['ABSPATH']=='')
|
52 |
+
$removepath='';
|
53 |
+
else
|
54 |
+
$removepath=$STATIC['WP']['ABSPATH'];
|
55 |
+
//make file list
|
56 |
+
$filelist=array();
|
57 |
+
for ($i=0; $i<count($tempfilelist); $i++) {
|
58 |
+
$filestat=stat($tempfilelist[$i]);
|
59 |
+
$WORKING['ALLFILESIZE']+=$filestat['size'];
|
60 |
+
$filelist[]=array('FILE'=>$tempfilelist[$i],'OUTFILE'=>str_replace($removepath,'',$tempfilelist[$i]),'SIZE'=>$filestat['size'],'ATIME'=>$filestat['atime'],'MTIME'=>$filestat['mtime'],'CTIME'=>$filestat['ctime'],'UID'=>$filestat['uid'],'GID'=>$filestat['gid'],'MODE'=>$filestat['mode']);
|
61 |
+
}
|
62 |
+
add_file($filelist); //add files to list
|
63 |
+
$WORKING['STEPDONE']=2;
|
64 |
+
$WORKING['STEPSDONE'][]='FILE_LIST'; //set done
|
65 |
+
unset($tempfilelist);
|
66 |
+
|
67 |
+
$filelist=get_filelist(); //get files from list
|
68 |
+
if (!is_array($filelist[0])) {
|
69 |
+
trigger_error(__('No files to backup','backwpup'),E_USER_ERROR);
|
70 |
+
} else {
|
71 |
+
trigger_error(sprintf(__('%1$d files with %2$s to backup','backwpup'),count($filelist),formatBytes($WORKING['ALLFILESIZE'])),E_USER_NOTICE);
|
72 |
+
}
|
73 |
}
|
74 |
|
75 |
function _file_list( $folder = '', $levels = 100, $excludedirs=array()) {
|
76 |
+
global $WORKING,$tempfilelist;
|
77 |
if( empty($folder) )
|
78 |
return false;
|
79 |
if( ! $levels )
|
83 |
while (($file = readdir( $dir ) ) !== false ) {
|
84 |
if ( in_array($file, array('.', '..','.svn') ) )
|
85 |
continue;
|
86 |
+
foreach ($WORKING['FILEEXCLUDES'] as $exclusion) { //exclude dirs and files
|
87 |
$exclusion=trim($exclusion);
|
88 |
if (false !== stripos($folder.$file,$exclusion) and !empty($exclusion) and $exclusion!='/')
|
89 |
continue 2;
|
91 |
if (in_array(rtrim($folder.$file,'/').'/',$excludedirs) and is_dir( $folder.$file ))
|
92 |
continue;
|
93 |
if ( !is_readable($folder.$file)) {
|
94 |
+
trigger_error(sprintf(__('File or folder "%s" is not readable!','backwpup'),$folder.$file),E_USER_WARNING);
|
95 |
} elseif ( is_link($folder.$file) ) {
|
96 |
+
trigger_error(sprintf(__('Link "%s" not followed','backwpup'),$folder.$file),E_USER_WARNING);
|
97 |
} elseif ( is_dir( $folder.$file )) {
|
98 |
_file_list( rtrim($folder.$file,'/'), $levels - 1,$excludedirs);
|
99 |
} elseif ( is_file( $folder.$file ) or is_executable($folder.$file)) { //add file to filelist
|
100 |
+
$tempfilelist[]=$folder.$file;
|
101 |
} else {
|
102 |
+
trigger_error(sprintf(__('"%s" is not a file or directory','backwpup'),$folder.$file),E_USER_WARNING);
|
103 |
}
|
104 |
|
105 |
}
|
108 |
}
|
109 |
|
110 |
function _get_exclude_dirs($folder) {
|
111 |
+
global $WORKING,$STATIC;
|
112 |
$excludedir=array();
|
113 |
+
$excludedir[]=$STATIC['TEMPDIR']; //exclude temp dir
|
114 |
+
$excludedir[]=$STATIC['CFG']['dirlogs'];
|
115 |
+
if (false !== strpos($STATIC['WP']['ABSPATH'],$folder) and $STATIC['WP']['ABSPATH']!=$folder)
|
116 |
+
$excludedir[]=$STATIC['WP']['ABSPATH'];
|
117 |
+
if (false !== strpos($STATIC['WP']['WP_CONTENT_DIR'],$folder) and $STATIC['WP']['WP_CONTENT_DIR']!=$folder)
|
118 |
+
$excludedir[]=$STATIC['WP']['WP_CONTENT_DIR'];
|
119 |
+
if (false !== strpos($STATIC['WP']['WP_PLUGIN_DIR'],$folder) and $STATIC['WP']['WP_PLUGIN_DIR']!=$folder)
|
120 |
+
$excludedir[]=$STATIC['WP']['WP_PLUGIN_DIR'];
|
121 |
+
if (false !== strpos($STATIC['WP']['WP_THEMES_DIR'],$folder) and $STATIC['WP']['WP_THEMES_DIR']!=$folder)
|
122 |
+
$excludedir[]=$STATIC['WP']['WP_THEMES_DIR'];
|
123 |
+
if (false !== strpos($STATIC['WP']['WP_UPLOAD_DIR'],$folder) and $STATIC['WP']['WP_UPLOAD_DIR']!=$folder)
|
124 |
+
$excludedir[]=$STATIC['WP']['WP_UPLOAD_DIR'];
|
125 |
//Exclude Backup dirs
|
126 |
+
$jobs=get_option('backwpup_jobs');
|
127 |
+
if (!empty($jobs)) {
|
128 |
+
foreach($jobs as $jobsvalue) {
|
129 |
+
if (!empty($jobsvalue['backupdir']) and $jobsvalue['backupdir']!='/')
|
130 |
+
$excludedir[]=$jobsvalue['backupdir'];
|
131 |
+
}
|
132 |
}
|
133 |
return $excludedir;
|
134 |
}
|
job/job_functions.php
CHANGED
@@ -5,35 +5,41 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
5 |
header("Status: 404 Not Found");
|
6 |
die();
|
7 |
}
|
8 |
-
require_once(dirname(__FILE__).'/../libs/backwpup_get_temp.php');
|
9 |
|
10 |
function __($message,$domain='backwpup') {
|
|
|
11 |
$msgid=md5($message);
|
12 |
-
if (!empty($
|
13 |
-
$message=$
|
14 |
return $message;
|
15 |
}
|
16 |
|
17 |
function _e($message,$domain='backwpup') {
|
|
|
18 |
$msgid=md5($message);
|
19 |
-
if (!empty($
|
20 |
-
$message=$
|
21 |
echo $message;
|
22 |
}
|
23 |
|
24 |
function _n($singular,$plural,$count,$domain='backwpup') {
|
25 |
-
|
|
|
26 |
$msgid=md5($singular);
|
27 |
-
|
|
|
28 |
$msgid=md5($plural);
|
29 |
-
|
30 |
-
|
|
|
|
|
31 |
return $message;
|
32 |
}
|
33 |
|
34 |
function exists_option($option='backwpup_jobs') {
|
|
|
35 |
mysql_update();
|
36 |
-
$query="SELECT option_value as value FROM ".$
|
37 |
$res=mysql_query($query);
|
38 |
if (!$res or mysql_num_rows($res)<1) {
|
39 |
return false;
|
@@ -42,28 +48,50 @@ function exists_option($option='backwpup_jobs') {
|
|
42 |
}
|
43 |
|
44 |
function get_option($option='backwpup_jobs') {
|
|
|
45 |
mysql_update();
|
46 |
-
$query="SELECT option_value FROM ".$
|
47 |
$res=mysql_query($query);
|
48 |
if (!$res) {
|
49 |
-
trigger_error(sprintf(__('
|
50 |
return false;
|
51 |
}
|
52 |
return unserialize(mysql_result($res,0));
|
53 |
}
|
54 |
|
55 |
function update_option($option='backwpup_jobs',$data) {
|
|
|
56 |
mysql_update();
|
57 |
$serdata=mysql_real_escape_string(serialize($data));
|
58 |
-
$query="UPDATE ".$
|
59 |
$res=mysql_query($query);
|
60 |
if (!$res) {
|
61 |
-
trigger_error(sprintf(__('
|
62 |
return false;
|
63 |
}
|
64 |
return true;
|
65 |
}
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
//file size
|
68 |
function formatbytes($bytes, $precision = 2) {
|
69 |
$units = array('B', 'KB', 'MB', 'GB', 'TB');
|
@@ -76,7 +104,7 @@ function formatbytes($bytes, $precision = 2) {
|
|
76 |
|
77 |
function need_free_memory($memneed) {
|
78 |
if (ini_get('safe_mode') or strtolower(ini_get('safe_mode'))=='on' or ini_get('safe_mode')=='1') {
|
79 |
-
trigger_error(sprintf(__('PHP Safe
|
80 |
return false;
|
81 |
}
|
82 |
|
@@ -105,33 +133,34 @@ function need_free_memory($memneed) {
|
|
105 |
if ($oldmem=ini_set('memory_limit', $newmemory.'M'))
|
106 |
trigger_error(sprintf(__('Memory increased from %1$s to %2$s','backwpup'),$oldmem,ini_get('memory_limit')),E_USER_NOTICE);
|
107 |
else
|
108 |
-
trigger_error(sprintf(__('Can not increase
|
109 |
}
|
110 |
return true;
|
111 |
}
|
112 |
|
113 |
function maintenance_mode($enable = false) {
|
114 |
-
|
|
|
115 |
return;
|
116 |
if ( $enable ) {
|
117 |
-
trigger_error(__('Set Blog to
|
118 |
if ( exists_option('wp-maintenance-mode-msqld') ) { //Support for WP Maintenance Mode Plugin
|
119 |
update_option('wp-maintenance-mode-msqld','1');
|
120 |
} elseif ( exists_option('plugin_maintenance-mode') ) { //Support for Maintenance Mode Plugin
|
121 |
$mamo=get_option('plugin_maintenance-mode');
|
122 |
-
$mamo['mamo_activate']='on_'.
|
123 |
$mamo['mamo_backtime_days']='0';
|
124 |
$mamo['mamo_backtime_hours']='0';
|
125 |
$mamo['mamo_backtime_mins']='5';
|
126 |
update_option('plugin_maintenance-mode',$mamo);
|
127 |
} else { //WP Support
|
128 |
-
if (is_writable(rtrim($
|
129 |
-
file_put_contents(rtrim($
|
130 |
else
|
131 |
-
trigger_error(__('Cannot set
|
132 |
}
|
133 |
} else {
|
134 |
-
trigger_error(__('Set Blog to normal
|
135 |
if ( exists_option('wp-maintenance-mode-msqld') ) { //Support for WP Maintenance Mode Plugin
|
136 |
update_option('wp-maintenance-mode-msqld','0');
|
137 |
} elseif ( exists_option('plugin_maintenance-mode') ) { //Support for Maintenance Mode Plugin
|
@@ -139,22 +168,23 @@ function maintenance_mode($enable = false) {
|
|
139 |
$mamo['mamo_activate']='off';
|
140 |
update_option('plugin_maintenance-mode',$mamo);
|
141 |
} else { //WP Support
|
142 |
-
@unlink(rtrim($
|
143 |
}
|
144 |
}
|
145 |
}
|
146 |
|
147 |
function curl_progresscallback($download_size, $downloaded, $upload_size, $uploaded) {
|
148 |
-
|
149 |
-
|
|
|
150 |
update_working_file();
|
151 |
return(0);
|
152 |
}
|
153 |
|
154 |
function get_working_file() {
|
155 |
-
$
|
156 |
-
if (
|
157 |
-
if ($runningfile=file_get_contents($
|
158 |
return unserialize(trim($runningfile));
|
159 |
else
|
160 |
return false;
|
@@ -164,68 +194,72 @@ function get_working_file() {
|
|
164 |
}
|
165 |
|
166 |
function delete_working_file() {
|
167 |
-
$
|
168 |
-
if (
|
169 |
-
unlink($
|
|
|
170 |
return true;
|
171 |
} else {
|
172 |
return false;
|
173 |
}
|
174 |
}
|
175 |
|
176 |
-
function update_working_file() {
|
177 |
-
global $runmicrotime;
|
178 |
-
if (!file_exists($
|
179 |
job_end();
|
180 |
-
if (empty($runmicrotime) or $runmicrotime>(microtime()-500)) { //only update all 500 ms
|
181 |
-
if ($
|
182 |
-
$steppersent=round($
|
183 |
else
|
184 |
$steppersent=1;
|
185 |
-
if (count($
|
186 |
-
$stepspersent=round(count($
|
187 |
else
|
188 |
$stepspersent=1;
|
189 |
-
$
|
190 |
-
@set_time_limit($_SESSION['CFG']['jobscriptruntime']);
|
191 |
mysql_update();
|
192 |
-
|
193 |
-
$pid=posix_getpid();
|
194 |
-
$runningfile=file_get_contents($_SESSION['STATIC']['TEMPDIR'].'.running');
|
195 |
$infile=unserialize(trim($runningfile));
|
196 |
-
|
197 |
-
|
|
|
|
|
|
|
|
|
|
|
198 |
}
|
199 |
return true;
|
200 |
}
|
201 |
|
202 |
function mysql_update() {
|
203 |
-
global $mysqlconlink;
|
204 |
if (!$mysqlconlink or !@mysql_ping($mysqlconlink)) {
|
205 |
// make a mysql connection
|
206 |
-
$mysqlconlink=mysql_connect($
|
207 |
if (!$mysqlconlink)
|
208 |
-
trigger_error(__('No MySQL connection:','backwpup')
|
209 |
//set connecten charset
|
210 |
-
if (!empty($
|
211 |
if ( function_exists( 'mysql_set_charset' )) {
|
212 |
-
mysql_set_charset( $
|
213 |
} else {
|
214 |
-
$query = "SET NAMES '".$
|
215 |
if (!empty($collate))
|
216 |
-
$query .= " COLLATE '".$
|
217 |
mysql_query($query,$mysqlconlink);
|
218 |
}
|
219 |
}
|
220 |
//connect to database
|
221 |
-
$mysqldblink = mysql_select_db($
|
222 |
if (!$mysqldblink)
|
223 |
-
trigger_error(__('No MySQL connection to database:','backwpup')
|
224 |
}
|
225 |
}
|
226 |
|
227 |
//function for PHP error handling
|
228 |
function joberrorhandler() {
|
|
|
229 |
$args = func_get_args(); // 0:errno, 1:errstr, 2:errfile, 3:errline
|
230 |
|
231 |
// if error has been supressed with an @
|
@@ -241,13 +275,13 @@ function joberrorhandler() {
|
|
241 |
break;
|
242 |
case E_WARNING:
|
243 |
case E_USER_WARNING:
|
244 |
-
$
|
245 |
$adderrorwarning=true;
|
246 |
$message="<span class=\"warning\">".__('[WARNING]','backwpup')." ".$args[1]."</span>";
|
247 |
break;
|
248 |
case E_ERROR:
|
249 |
case E_USER_ERROR:
|
250 |
-
$
|
251 |
$adderrorwarning=true;
|
252 |
$message="<span class=\"error\">".__('[ERROR]','backwpup')." ".$args[1]."</span>";
|
253 |
break;
|
@@ -266,36 +300,37 @@ function joberrorhandler() {
|
|
266 |
break;
|
267 |
}
|
268 |
|
269 |
-
//
|
270 |
-
$timestamp="<span class=\"timestamp\" title=\"[Line: ".$args[3]."|File: ".basename($args[2])."|Mem: ".formatbytes(@memory_get_usage(true))."|Mem Max: ".formatbytes(@memory_get_peak_usage(true))."|Mem Limit: ".ini_get('memory_limit')."]\">".date('Y
|
271 |
//wirte log file
|
272 |
-
|
|
|
273 |
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
|
|
|
|
|
|
|
|
289 |
}
|
290 |
-
|
291 |
-
break;
|
292 |
-
$filepos=ftell($fd);
|
293 |
}
|
294 |
-
fclose($fd);
|
295 |
}
|
296 |
-
|
297 |
//write working file
|
298 |
-
if (is_file($
|
299 |
update_working_file();
|
300 |
|
301 |
if ($args[0]==E_ERROR or $args[0]==E_CORE_ERROR or $args[0]==E_COMPILE_ERROR) {//Die on fatal php errors.
|
@@ -308,12 +343,19 @@ function joberrorhandler() {
|
|
308 |
|
309 |
//job end function
|
310 |
function job_end() {
|
311 |
-
global $mysqlconlink;
|
312 |
-
|
313 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
//delete old logs
|
315 |
-
if (!empty($
|
316 |
-
if ( $dir = opendir($
|
317 |
while (($file = readdir($dir)) !== false ) {
|
318 |
if ('backwpup_log_' == substr($file,0,strlen('backwpup_log_')) and (".html" == substr($file,-5) or ".html.gz" == substr($file,-8)))
|
319 |
$logfilelist[]=$file;
|
@@ -323,26 +365,26 @@ function job_end() {
|
|
323 |
if (sizeof($logfilelist)>0) {
|
324 |
rsort($logfilelist);
|
325 |
$numdeltefiles=0;
|
326 |
-
for ($i=$
|
327 |
-
unlink($
|
328 |
$numdeltefiles++;
|
329 |
}
|
330 |
if ($numdeltefiles>0)
|
331 |
-
trigger_error(
|
332 |
}
|
333 |
}
|
334 |
//Display job working time
|
335 |
-
trigger_error(sprintf(__('Job done in %
|
336 |
|
337 |
-
if (!is_file($
|
338 |
$filesize=0;
|
339 |
|
340 |
//clean up temp
|
341 |
-
if ($dir = opendir($
|
342 |
while (($file = readdir($dir)) !== false) {
|
343 |
-
if (is_readable($
|
344 |
if ($file!='.' and $file!='..' and $file!='.running') {
|
345 |
-
unlink($
|
346 |
}
|
347 |
}
|
348 |
}
|
@@ -350,131 +392,131 @@ function job_end() {
|
|
350 |
}
|
351 |
|
352 |
$jobs=get_option('backwpup_jobs');
|
353 |
-
$jobs[$
|
354 |
-
$
|
355 |
-
$jobs[$
|
356 |
-
$
|
357 |
-
$jobs[$
|
358 |
-
if (!empty($
|
359 |
-
$jobs[$
|
360 |
else
|
361 |
-
$jobs[$
|
362 |
update_option('backwpup_jobs',$jobs); //Save Settings
|
363 |
|
364 |
-
//write
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
|
|
|
|
|
|
|
|
|
|
378 |
}
|
379 |
-
|
380 |
-
break;
|
381 |
-
$filepos=ftell($fd);
|
382 |
}
|
383 |
-
fclose($fd);
|
384 |
//Restore error handler
|
385 |
restore_error_handler();
|
386 |
//logfile end
|
387 |
-
file_put_contents($
|
388 |
//gzip logfile
|
389 |
-
if ($
|
390 |
-
$fd=fopen($
|
391 |
-
$zd=gzopen($
|
392 |
while (!feof($fd)) {
|
393 |
gzwrite($zd,fread($fd,4096));
|
394 |
}
|
395 |
gzclose($zd);
|
396 |
fclose($fd);
|
397 |
-
unlink($
|
398 |
-
$
|
399 |
|
400 |
$jobs=get_option('backwpup_jobs');
|
401 |
-
$jobs[$
|
402 |
update_option('backwpup_jobs',$jobs); //Save Settings
|
403 |
}
|
404 |
|
405 |
//Send mail with log
|
406 |
$sendmail=false;
|
407 |
-
if ($
|
408 |
$sendmail=true;
|
409 |
-
if (!$
|
410 |
$sendmail=true;
|
411 |
if ($sendmail) {
|
412 |
//Create PHP Mailer
|
413 |
-
require_once($
|
414 |
$phpmailer = new PHPMailer();
|
415 |
//Setting den methode
|
416 |
-
if ($
|
417 |
-
require_once($
|
418 |
-
$phpmailer->Host=$
|
419 |
-
$phpmailer->Port=$
|
420 |
-
$phpmailer->SMTPSecure=$
|
421 |
-
$phpmailer->Username=$
|
422 |
-
$phpmailer->Password=base64_decode($
|
423 |
-
if (!empty($
|
424 |
$phpmailer->SMTPAuth=true;
|
425 |
$phpmailer->IsSMTP();
|
426 |
-
} elseif ($
|
427 |
-
$phpmailer->Sendmail=$
|
428 |
$phpmailer->IsSendmail();
|
429 |
} else {
|
430 |
$phpmailer->IsMail();
|
431 |
}
|
432 |
|
433 |
-
$mailbody=__("Jobname:","backwpup")
|
434 |
-
$mailbody.=__("Jobtype:","backwpup")
|
435 |
-
if (!empty($
|
436 |
-
$mailbody.=__("Errors:","backwpup")
|
437 |
-
if (!empty($
|
438 |
-
$mailbody.=__("Warnings:","backwpup")
|
439 |
|
440 |
-
$phpmailer->From = $
|
441 |
-
$phpmailer->FromName = $
|
442 |
-
$phpmailer->AddAddress($
|
443 |
-
$phpmailer->Subject = __('BackWPup
|
444 |
$phpmailer->IsHTML(false);
|
445 |
$phpmailer->Body = $mailbody;
|
446 |
-
$phpmailer->AddAttachment($
|
447 |
$phpmailer->Send();
|
448 |
}
|
449 |
|
450 |
-
$
|
451 |
-
$
|
452 |
-
if (is_file($
|
453 |
-
update_working_file();
|
454 |
-
unlink($
|
455 |
-
rmdir($
|
456 |
}
|
457 |
-
//Destroy session
|
458 |
-
$_SESSION = array();
|
459 |
-
session_destroy();
|
460 |
mysql_close($mysqlconlink);
|
461 |
die();
|
462 |
}
|
463 |
|
464 |
// execute on script job shutdown
|
465 |
function job_shutdown() {
|
466 |
-
|
|
|
467 |
return;
|
468 |
-
$
|
469 |
-
if ($
|
470 |
-
file_put_contents($
|
471 |
-
$
|
472 |
-
$fd=fopen($
|
473 |
while (!feof($fd)) {
|
474 |
$line=fgets($fd);
|
475 |
if (stripos($line,"<meta name=\"backwpup_errors\"") !== false) {
|
476 |
fseek($fd,$filepos);
|
477 |
-
fwrite($fd,str_pad("<meta name=\"backwpup_errors\" content=\"".$
|
478 |
break;
|
479 |
}
|
480 |
$filepos=ftell($fd);
|
@@ -484,40 +526,38 @@ function job_shutdown() {
|
|
484 |
}
|
485 |
//Put last error to log if one
|
486 |
$lasterror=error_get_last();
|
487 |
-
if ($lasterror['type']==E_ERROR or $lasterror['type']==E_PARSE or $lasterror['type']==E_CORE_ERROR or $lasterror['type']==E_COMPILE_ERROR) {
|
488 |
-
file_put_contents($
|
489 |
//write new log header
|
490 |
-
$
|
491 |
-
$fd=fopen($
|
492 |
while (!feof($fd)) {
|
493 |
$line=fgets($fd);
|
494 |
if (stripos($line,"<meta name=\"backwpup_errors\"") !== false) {
|
495 |
fseek($fd,$filepos);
|
496 |
-
fwrite($fd,str_pad("<meta name=\"backwpup_errors\" content=\"".$
|
497 |
break;
|
498 |
}
|
499 |
$filepos=ftell($fd);
|
500 |
}
|
501 |
fclose($fd);
|
502 |
}
|
503 |
-
//Close session
|
504 |
-
$backwpupsid=session_id();
|
505 |
-
session_write_close();
|
506 |
//Excute jobrun again
|
507 |
-
if (!file_exists($
|
508 |
return;
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
|
|
522 |
}
|
523 |
?>
|
5 |
header("Status: 404 Not Found");
|
6 |
die();
|
7 |
}
|
|
|
8 |
|
9 |
function __($message,$domain='backwpup') {
|
10 |
+
global $STATIC;
|
11 |
$msgid=md5($message);
|
12 |
+
if (!empty($STATIC['TRANSLATE'][$msgid]))
|
13 |
+
$message=$STATIC['TRANSLATE'][$msgid];
|
14 |
return $message;
|
15 |
}
|
16 |
|
17 |
function _e($message,$domain='backwpup') {
|
18 |
+
global $STATIC;
|
19 |
$msgid=md5($message);
|
20 |
+
if (!empty($STATIC['TRANSLATE'][$msgid]))
|
21 |
+
$message=$STATIC['TRANSLATE'][$msgid];
|
22 |
echo $message;
|
23 |
}
|
24 |
|
25 |
function _n($singular,$plural,$count,$domain='backwpup') {
|
26 |
+
global $STATIC;
|
27 |
+
if ($count<=1) {
|
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') {
|
40 |
+
global $WORKING,$STATIC;
|
41 |
mysql_update();
|
42 |
+
$query="SELECT option_value as value FROM ".$STATIC['WP']['OPTIONS_TABLE']." WHERE option_name='".trim($option)."' LIMIT 1";
|
43 |
$res=mysql_query($query);
|
44 |
if (!$res or mysql_num_rows($res)<1) {
|
45 |
return false;
|
48 |
}
|
49 |
|
50 |
function get_option($option='backwpup_jobs') {
|
51 |
+
global $WORKING,$STATIC;
|
52 |
mysql_update();
|
53 |
+
$query="SELECT option_value FROM ".$STATIC['WP']['OPTIONS_TABLE']." WHERE option_name='".trim($option)."' LIMIT 1";
|
54 |
$res=mysql_query($query);
|
55 |
if (!$res) {
|
56 |
+
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), $query),E_USER_ERROR);
|
57 |
return false;
|
58 |
}
|
59 |
return unserialize(mysql_result($res,0));
|
60 |
}
|
61 |
|
62 |
function update_option($option='backwpup_jobs',$data) {
|
63 |
+
global $WORKING,$STATIC;
|
64 |
mysql_update();
|
65 |
$serdata=mysql_real_escape_string(serialize($data));
|
66 |
+
$query="UPDATE ".$STATIC['WP']['OPTIONS_TABLE']." SET option_value= '".$serdata."' WHERE option_name='".trim($option)."' LIMIT 1";
|
67 |
$res=mysql_query($query);
|
68 |
if (!$res) {
|
69 |
+
trigger_error(sprintf(__('Database error %1$s for query %2$s','backwpup'), mysql_error(), $query),E_USER_ERROR);
|
70 |
return false;
|
71 |
}
|
72 |
return true;
|
73 |
}
|
74 |
|
75 |
+
// add to file list
|
76 |
+
function add_file($files) {
|
77 |
+
global $STATIC;
|
78 |
+
if (empty($files))
|
79 |
+
return;
|
80 |
+
$filelist=get_filelist();
|
81 |
+
foreach($files as $file)
|
82 |
+
$filelist[]=$file;
|
83 |
+
file_put_contents($STATIC['TEMPDIR'].'.filelist',serialize($filelist));
|
84 |
+
}
|
85 |
+
|
86 |
+
// add to file list
|
87 |
+
function get_filelist() {
|
88 |
+
global $STATIC;
|
89 |
+
if (file_exists($STATIC['TEMPDIR'].'.filelist') and $filelistfile=file_get_contents($STATIC['TEMPDIR'].'.filelist'))
|
90 |
+
return unserialize(trim($filelistfile));
|
91 |
+
else
|
92 |
+
return array();
|
93 |
+
}
|
94 |
+
|
95 |
//file size
|
96 |
function formatbytes($bytes, $precision = 2) {
|
97 |
$units = array('B', 'KB', 'MB', 'GB', 'TB');
|
104 |
|
105 |
function need_free_memory($memneed) {
|
106 |
if (ini_get('safe_mode') or strtolower(ini_get('safe_mode'))=='on' or ini_get('safe_mode')=='1') {
|
107 |
+
trigger_error(sprintf(__('PHP Safe mode is on!!! Can not increase memory limit is %s','backwpup'),ini_get('memory_limit')),E_USER_WARNING);
|
108 |
return false;
|
109 |
}
|
110 |
|
133 |
if ($oldmem=ini_set('memory_limit', $newmemory.'M'))
|
134 |
trigger_error(sprintf(__('Memory increased from %1$s to %2$s','backwpup'),$oldmem,ini_get('memory_limit')),E_USER_NOTICE);
|
135 |
else
|
136 |
+
trigger_error(sprintf(__('Can not increase memory limit is %1$s','backwpup'),ini_get('memory_limit')),E_USER_WARNING);
|
137 |
}
|
138 |
return true;
|
139 |
}
|
140 |
|
141 |
function maintenance_mode($enable = false) {
|
142 |
+
global $WORKING,$STATIC;
|
143 |
+
if (!$STATIC['JOB']['maintenance'])
|
144 |
return;
|
145 |
if ( $enable ) {
|
146 |
+
trigger_error(__('Set Blog to maintenance mode','backwpup'),E_USER_NOTICE);
|
147 |
if ( exists_option('wp-maintenance-mode-msqld') ) { //Support for WP Maintenance Mode Plugin
|
148 |
update_option('wp-maintenance-mode-msqld','1');
|
149 |
} elseif ( exists_option('plugin_maintenance-mode') ) { //Support for Maintenance Mode Plugin
|
150 |
$mamo=get_option('plugin_maintenance-mode');
|
151 |
+
$mamo['mamo_activate']='on_'.time();
|
152 |
$mamo['mamo_backtime_days']='0';
|
153 |
$mamo['mamo_backtime_hours']='0';
|
154 |
$mamo['mamo_backtime_mins']='5';
|
155 |
update_option('plugin_maintenance-mode',$mamo);
|
156 |
} else { //WP Support
|
157 |
+
if (is_writable(rtrim($STATIC['WP']['ABSPATH'],'/')))
|
158 |
+
file_put_contents(rtrim($STATIC['WP']['ABSPATH'],'/').'/.maintenance','<?php $upgrading = '.time().'; ?>');
|
159 |
else
|
160 |
+
trigger_error(__('Cannot set Blog to maintenance mode! Root folder is not writeable!','backwpup'),E_USER_NOTICE);
|
161 |
}
|
162 |
} else {
|
163 |
+
trigger_error(__('Set Blog to normal mode','backwpup'),E_USER_NOTICE);
|
164 |
if ( exists_option('wp-maintenance-mode-msqld') ) { //Support for WP Maintenance Mode Plugin
|
165 |
update_option('wp-maintenance-mode-msqld','0');
|
166 |
} elseif ( exists_option('plugin_maintenance-mode') ) { //Support for Maintenance Mode Plugin
|
168 |
$mamo['mamo_activate']='off';
|
169 |
update_option('plugin_maintenance-mode',$mamo);
|
170 |
} else { //WP Support
|
171 |
+
@unlink(rtrim($STATIC['WP']['ABSPATH'],'/').'/.maintenance');
|
172 |
}
|
173 |
}
|
174 |
}
|
175 |
|
176 |
function curl_progresscallback($download_size, $downloaded, $upload_size, $uploaded) {
|
177 |
+
global $WORKING,$STATIC;
|
178 |
+
if ($WORKING['STEPTODO']>10)
|
179 |
+
$WORKING['STEPDONE']=$uploaded;
|
180 |
update_working_file();
|
181 |
return(0);
|
182 |
}
|
183 |
|
184 |
function get_working_file() {
|
185 |
+
global $STATIC;
|
186 |
+
if (is_writable($STATIC['TEMPDIR'].'.running')) {
|
187 |
+
if ($runningfile=file_get_contents($STATIC['TEMPDIR'].'.running'))
|
188 |
return unserialize(trim($runningfile));
|
189 |
else
|
190 |
return false;
|
194 |
}
|
195 |
|
196 |
function delete_working_file() {
|
197 |
+
global $STATIC;
|
198 |
+
if (is_writable($STATIC['TEMPDIR'].'.running')) {
|
199 |
+
unlink($STATIC['TEMPDIR'].'.running');
|
200 |
+
unlink($STATIC['TEMPDIR'].'.static');
|
201 |
return true;
|
202 |
} else {
|
203 |
return false;
|
204 |
}
|
205 |
}
|
206 |
|
207 |
+
function update_working_file($mustwrite=false,$setpid=true) {
|
208 |
+
global $WORKING,$STATIC,$runmicrotime;
|
209 |
+
if (!file_exists($STATIC['TEMPDIR'].'.running'))
|
210 |
job_end();
|
211 |
+
if ($mustwrite or empty($runmicrotime) or $runmicrotime>(microtime()-500)) { //only update all 500 ms
|
212 |
+
if ($WORKING['STEPTODO']>0 and $WORKING['STEPDONE']>0)
|
213 |
+
$steppersent=round($WORKING['STEPDONE']/$WORKING['STEPTODO']*100);
|
214 |
else
|
215 |
$steppersent=1;
|
216 |
+
if (count($WORKING['STEPSDONE'])>0)
|
217 |
+
$stepspersent=round(count($WORKING['STEPSDONE'])/count($WORKING['STEPS'])*100);
|
218 |
else
|
219 |
$stepspersent=1;
|
220 |
+
@set_time_limit($STATIC['CFG']['jobscriptruntime']);
|
|
|
221 |
mysql_update();
|
222 |
+
$runningfile=file_get_contents($STATIC['TEMPDIR'].'.running');
|
|
|
|
|
223 |
$infile=unserialize(trim($runningfile));
|
224 |
+
if (is_writable($STATIC['TEMPDIR'].'.running')) {
|
225 |
+
$PID=0;
|
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 |
}
|
232 |
return true;
|
233 |
}
|
234 |
|
235 |
function mysql_update() {
|
236 |
+
global $WORKING,$STATIC,$mysqlconlink;
|
237 |
if (!$mysqlconlink or !@mysql_ping($mysqlconlink)) {
|
238 |
// make a mysql connection
|
239 |
+
$mysqlconlink=mysql_connect($STATIC['WP']['DB_HOST'], $STATIC['WP']['DB_USER'], $STATIC['WP']['DB_PASSWORD'], true);
|
240 |
if (!$mysqlconlink)
|
241 |
+
trigger_error(sprintf(__('No MySQL connection: %s','backwpup'),mysql_error()),E_USER_ERROR);
|
242 |
//set connecten charset
|
243 |
+
if (!empty($STATIC['WP']['DB_CHARSET'])) {
|
244 |
if ( function_exists( 'mysql_set_charset' )) {
|
245 |
+
mysql_set_charset( $STATIC['WP']['DB_CHARSET'], $mysqlconlink );
|
246 |
} else {
|
247 |
+
$query = "SET NAMES '".$STATIC['WP']['DB_CHARSET']."'";
|
248 |
if (!empty($collate))
|
249 |
+
$query .= " COLLATE '".$STATIC['WP']['DB_COLLATE']."'";
|
250 |
mysql_query($query,$mysqlconlink);
|
251 |
}
|
252 |
}
|
253 |
//connect to database
|
254 |
+
$mysqldblink = mysql_select_db($STATIC['WP']['DB_NAME'], $mysqlconlink);
|
255 |
if (!$mysqldblink)
|
256 |
+
trigger_error(sprintf(__('No MySQL connection to database: %s','backwpup'),mysql_error()),E_USER_ERROR);
|
257 |
}
|
258 |
}
|
259 |
|
260 |
//function for PHP error handling
|
261 |
function joberrorhandler() {
|
262 |
+
global $WORKING,$STATIC;
|
263 |
$args = func_get_args(); // 0:errno, 1:errstr, 2:errfile, 3:errline
|
264 |
|
265 |
// if error has been supressed with an @
|
275 |
break;
|
276 |
case E_WARNING:
|
277 |
case E_USER_WARNING:
|
278 |
+
$WORKING['WARNING']++;
|
279 |
$adderrorwarning=true;
|
280 |
$message="<span class=\"warning\">".__('[WARNING]','backwpup')." ".$args[1]."</span>";
|
281 |
break;
|
282 |
case E_ERROR:
|
283 |
case E_USER_ERROR:
|
284 |
+
$WORKING['ERROR']++;
|
285 |
$adderrorwarning=true;
|
286 |
$message="<span class=\"error\">".__('[ERROR]','backwpup')." ".$args[1]."</span>";
|
287 |
break;
|
300 |
break;
|
301 |
}
|
302 |
|
303 |
+
//log line
|
304 |
+
$timestamp="<span class=\"timestamp\" title=\"[Line: ".$args[3]."|File: ".basename($args[2])."|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> ";
|
305 |
//wirte log file
|
306 |
+
if (is_writable($STATIC['LOGFILE'])) {
|
307 |
+
file_put_contents($STATIC['LOGFILE'], $timestamp.$message."<br />\n", FILE_APPEND);
|
308 |
|
309 |
+
//write new log header
|
310 |
+
if ($adderrorwarning) {
|
311 |
+
$found=0;
|
312 |
+
$fd=fopen($STATIC['LOGFILE'],'r+');
|
313 |
+
while (!feof($fd)) {
|
314 |
+
$line=fgets($fd);
|
315 |
+
if (stripos($line,"<meta name=\"backwpup_errors\"") !== false) {
|
316 |
+
fseek($fd,$filepos);
|
317 |
+
fwrite($fd,str_pad("<meta name=\"backwpup_errors\" content=\"".$WORKING['ERROR']."\" />",100)."\n");
|
318 |
+
$found++;
|
319 |
+
}
|
320 |
+
if (stripos($line,"<meta name=\"backwpup_warnings\"") !== false) {
|
321 |
+
fseek($fd,$filepos);
|
322 |
+
fwrite($fd,str_pad("<meta name=\"backwpup_warnings\" content=\"".$WORKING['WARNING']."\" />",100)."\n");
|
323 |
+
$found++;
|
324 |
+
}
|
325 |
+
if ($found>=2)
|
326 |
+
break;
|
327 |
+
$filepos=ftell($fd);
|
328 |
}
|
329 |
+
fclose($fd);
|
|
|
|
|
330 |
}
|
|
|
331 |
}
|
|
|
332 |
//write working file
|
333 |
+
if (is_file($STATIC['TEMPDIR'].'.running'))
|
334 |
update_working_file();
|
335 |
|
336 |
if ($args[0]==E_ERROR or $args[0]==E_CORE_ERROR or $args[0]==E_COMPILE_ERROR) {//Die on fatal php errors.
|
343 |
|
344 |
//job end function
|
345 |
function job_end() {
|
346 |
+
global $WORKING,$STATIC,$mysqlconlink;
|
347 |
+
//check if job_end allredy runs
|
348 |
+
if (empty($WORKING['JOBENDINPROGRESS']) or !$WORKING['JOBENDINPROGRESS']) {
|
349 |
+
$WORKING['JOBENDINPROGRESS']=true;
|
350 |
+
update_working_file(true);
|
351 |
+
} else
|
352 |
+
return;
|
353 |
+
|
354 |
+
$WORKING['STEPTODO']=1;
|
355 |
+
$WORKING['STEPDONE']=0;
|
356 |
//delete old logs
|
357 |
+
if (!empty($STATIC['CFG']['maxlogs'])) {
|
358 |
+
if ( $dir = opendir($STATIC['CFG']['dirlogs']) ) { //make file list
|
359 |
while (($file = readdir($dir)) !== false ) {
|
360 |
if ('backwpup_log_' == substr($file,0,strlen('backwpup_log_')) and (".html" == substr($file,-5) or ".html.gz" == substr($file,-8)))
|
361 |
$logfilelist[]=$file;
|
365 |
if (sizeof($logfilelist)>0) {
|
366 |
rsort($logfilelist);
|
367 |
$numdeltefiles=0;
|
368 |
+
for ($i=$STATIC['CFG']['maxlogs'];$i<sizeof($logfilelist);$i++) {
|
369 |
+
unlink($STATIC['CFG']['dirlogs'].$logfilelist[$i]);
|
370 |
$numdeltefiles++;
|
371 |
}
|
372 |
if ($numdeltefiles>0)
|
373 |
+
trigger_error(sprintf(_n('One old log deleted','%d old logs deleted',$numdeltefiles,'backwpup'),$numdeltefiles),E_USER_NOTICE);
|
374 |
}
|
375 |
}
|
376 |
//Display job working time
|
377 |
+
trigger_error(sprintf(__('Job done in %s sec.','backwpup'),time()-$STATIC['JOB']['starttime']),E_USER_NOTICE);
|
378 |
|
379 |
+
if (!is_file($STATIC['JOB']['backupdir'].$STATIC['backupfile']) or !($filesize=filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile']))) //Set the filezie corectly
|
380 |
$filesize=0;
|
381 |
|
382 |
//clean up temp
|
383 |
+
if ($dir = opendir($STATIC['TEMPDIR'])) {
|
384 |
while (($file = readdir($dir)) !== false) {
|
385 |
+
if (is_readable($STATIC['TEMPDIR'].$file) and is_file($STATIC['TEMPDIR'].$file)) {
|
386 |
if ($file!='.' and $file!='..' and $file!='.running') {
|
387 |
+
unlink($STATIC['TEMPDIR'].$file);
|
388 |
}
|
389 |
}
|
390 |
}
|
392 |
}
|
393 |
|
394 |
$jobs=get_option('backwpup_jobs');
|
395 |
+
$jobs[$STATIC['JOB']['jobid']]['lastrun']=$jobs[$STATIC['JOB']['jobid']]['starttime'];
|
396 |
+
$STATIC['JOB']['lastrun']=$jobs[$STATIC['JOB']['jobid']]['lastrun'];
|
397 |
+
$jobs[$STATIC['JOB']['jobid']]['lastruntime']=time()-$STATIC['JOB']['starttime'];
|
398 |
+
$STATIC['JOB']['lastruntime']=$jobs[$STATIC['JOB']['jobid']]['lastruntime'];
|
399 |
+
$jobs[$STATIC['JOB']['jobid']]['starttime']='';
|
400 |
+
if (!empty($STATIC['JOB']['lastbackupdownloadurl']))
|
401 |
+
$jobs[$STATIC['JOB']['jobid']]['lastbackupdownloadurl']=$STATIC['JOB']['lastbackupdownloadurl'];
|
402 |
else
|
403 |
+
$jobs[$STATIC['JOB']['jobid']]['lastbackupdownloadurl']='';
|
404 |
update_option('backwpup_jobs',$jobs); //Save Settings
|
405 |
|
406 |
+
//write header info
|
407 |
+
if (is_writable($STATIC['LOGFILE'])) {
|
408 |
+
$fd=fopen($STATIC['LOGFILE'],'r+');
|
409 |
+
$found=0;
|
410 |
+
while (!feof($fd)) {
|
411 |
+
$line=fgets($fd);
|
412 |
+
if (stripos($line,"<meta name=\"backwpup_jobruntime\"") !== false) {
|
413 |
+
fseek($fd,$filepos);
|
414 |
+
fwrite($fd,str_pad("<meta name=\"backwpup_jobruntime\" content=\"".$STATIC['JOB']['lastruntime']."\" />",100)."\n");
|
415 |
+
$found++;
|
416 |
+
}
|
417 |
+
if (stripos($line,"<meta name=\"backwpup_backupfilesize\"") !== false) {
|
418 |
+
fseek($fd,$filepos);
|
419 |
+
fwrite($fd,str_pad("<meta name=\"backwpup_backupfilesize\" content=\"".$filesize."\" />",100)."\n");
|
420 |
+
$found++;
|
421 |
+
}
|
422 |
+
if ($found>=2)
|
423 |
+
break;
|
424 |
+
$filepos=ftell($fd);
|
425 |
}
|
426 |
+
fclose($fd);
|
|
|
|
|
427 |
}
|
|
|
428 |
//Restore error handler
|
429 |
restore_error_handler();
|
430 |
//logfile end
|
431 |
+
file_put_contents($STATIC['LOGFILE'], "</body>\n</html>\n", FILE_APPEND);
|
432 |
//gzip logfile
|
433 |
+
if ($STATIC['CFG']['gzlogs'] and is_writable($STATIC['LOGFILE'])) {
|
434 |
+
$fd=fopen($STATIC['LOGFILE'],'r');
|
435 |
+
$zd=gzopen($STATIC['LOGFILE'].'.gz','w9');
|
436 |
while (!feof($fd)) {
|
437 |
gzwrite($zd,fread($fd,4096));
|
438 |
}
|
439 |
gzclose($zd);
|
440 |
fclose($fd);
|
441 |
+
unlink($STATIC['LOGFILE']);
|
442 |
+
$STATIC['LOGFILE']=$STATIC['LOGFILE'].'.gz';
|
443 |
|
444 |
$jobs=get_option('backwpup_jobs');
|
445 |
+
$jobs[$STATIC['JOB']['jobid']]['logfile']=$STATIC['LOGFILE'];
|
446 |
update_option('backwpup_jobs',$jobs); //Save Settings
|
447 |
}
|
448 |
|
449 |
//Send mail with log
|
450 |
$sendmail=false;
|
451 |
+
if ($WORKING['ERROR']>0 and $STATIC['JOB']['mailerroronly'] and !empty($STATIC['JOB']['mailaddresslog']))
|
452 |
$sendmail=true;
|
453 |
+
if (!$STATIC['JOB']['mailerroronly'] and !empty($STATIC['JOB']['mailaddresslog']))
|
454 |
$sendmail=true;
|
455 |
if ($sendmail) {
|
456 |
//Create PHP Mailer
|
457 |
+
require_once($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC'].'/class-phpmailer.php');
|
458 |
$phpmailer = new PHPMailer();
|
459 |
//Setting den methode
|
460 |
+
if ($STATIC['CFG']['mailmethod']=="SMTP") {
|
461 |
+
require_once($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC'].'/class-smtp.php');
|
462 |
+
$phpmailer->Host=$STATIC['CFG']['mailhost'];
|
463 |
+
$phpmailer->Port=$STATIC['CFG']['mailhostport'];
|
464 |
+
$phpmailer->SMTPSecure=$STATIC['CFG']['mailsecure'];
|
465 |
+
$phpmailer->Username=$STATIC['CFG']['mailuser'];
|
466 |
+
$phpmailer->Password=base64_decode($STATIC['CFG']['mailpass']);
|
467 |
+
if (!empty($STATIC['CFG']['mailuser']) and !empty($STATIC['CFG']['mailpass']))
|
468 |
$phpmailer->SMTPAuth=true;
|
469 |
$phpmailer->IsSMTP();
|
470 |
+
} elseif ($STATIC['CFG']['mailmethod']=="Sendmail") {
|
471 |
+
$phpmailer->Sendmail=$STATIC['CFG']['mailsendmail'];
|
472 |
$phpmailer->IsSendmail();
|
473 |
} else {
|
474 |
$phpmailer->IsMail();
|
475 |
}
|
476 |
|
477 |
+
$mailbody=sprintf(__("Jobname: %s","backwpup"),$STATIC['JOB']['name'])."\n";
|
478 |
+
$mailbody.=sprintf(__("Jobtype: %s","backwpup"),$STATIC['JOB']['type'])."\n";
|
479 |
+
if (!empty($WORKING['ERROR']))
|
480 |
+
$mailbody.=sprintf(__("Errors: %d","backwpup"),$WORKING['ERROR'])."\n";
|
481 |
+
if (!empty($WORKING['WARNINGS']))
|
482 |
+
$mailbody.=sprintf(__("Warnings: %d","backwpup"),$WORKING['WARNINGS'])."\n";
|
483 |
|
484 |
+
$phpmailer->From = $STATIC['CFG']['mailsndemail'];
|
485 |
+
$phpmailer->FromName = $STATIC['CFG']['mailsndname'];
|
486 |
+
$phpmailer->AddAddress($STATIC['JOB']['mailaddresslog']);
|
487 |
+
$phpmailer->Subject = sprintf(__('BackWPup log from %1$s: %2$s','backwpup'),date('Y/m/d @ H:i',$STATIC['JOB']['starttime']+$STATIC['WP']['TIMEDIFF']),$STATIC['JOB']['name']);
|
488 |
$phpmailer->IsHTML(false);
|
489 |
$phpmailer->Body = $mailbody;
|
490 |
+
$phpmailer->AddAttachment($STATIC['LOGFILE']);
|
491 |
$phpmailer->Send();
|
492 |
}
|
493 |
|
494 |
+
$WORKING['STEPDONE']=1;
|
495 |
+
$WORKING['STEPSDONE'][]='JOB_END'; //set done
|
496 |
+
if (is_file($STATIC['TEMPDIR'].'.running')) {
|
497 |
+
update_working_file(true);
|
498 |
+
unlink($STATIC['TEMPDIR'].'.running');
|
499 |
+
rmdir($STATIC['TEMPDIR']);
|
500 |
}
|
|
|
|
|
|
|
501 |
mysql_close($mysqlconlink);
|
502 |
die();
|
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;
|
510 |
+
$WORKING['RESTART']++;
|
511 |
+
if ($WORKING['RESTART']>=$STATIC['CFG']['jobscriptretry'] and file_exists($STATIC['TEMPDIR'].'.running') and is_writable($STATIC['LOGFILE'])) { //only x restarts allowed
|
512 |
+
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]".__('To many restarts....','backwpup')."</span><br />\n", FILE_APPEND);
|
513 |
+
$WORKING['ERROR']++;
|
514 |
+
$fd=fopen($STATIC['LOGFILE'],'r+');
|
515 |
while (!feof($fd)) {
|
516 |
$line=fgets($fd);
|
517 |
if (stripos($line,"<meta name=\"backwpup_errors\"") !== false) {
|
518 |
fseek($fd,$filepos);
|
519 |
+
fwrite($fd,str_pad("<meta name=\"backwpup_errors\" content=\"".$WORKING['ERROR']."\" />",100)."\n");
|
520 |
break;
|
521 |
}
|
522 |
$filepos=ftell($fd);
|
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']++;
|
533 |
+
$fd=fopen($STATIC['LOGFILE'],'r+');
|
534 |
while (!feof($fd)) {
|
535 |
$line=fgets($fd);
|
536 |
if (stripos($line,"<meta name=\"backwpup_errors\"") !== false) {
|
537 |
fseek($fd,$filepos);
|
538 |
+
fwrite($fd,str_pad("<meta name=\"backwpup_errors\" content=\"".$WORKING['ERROR']."\" />",100)."\n");
|
539 |
break;
|
540 |
}
|
541 |
$filepos=ftell($fd);
|
542 |
}
|
543 |
fclose($fd);
|
544 |
}
|
|
|
|
|
|
|
545 |
//Excute jobrun again
|
546 |
+
if (!file_exists($STATIC['TEMPDIR'].'.running'))
|
547 |
return;
|
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,false);
|
551 |
+
if (!empty($STATIC['JOBRUNURL'])) {
|
552 |
+
include_once(dirname(__FILE__).'/../libs/class.http.php');
|
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');
|
558 |
+
$http->setUseragent('BackWPup');
|
559 |
+
$http->setTimeout(0.01);
|
560 |
+
$http->execute($STATIC['JOBRUNURL']);
|
561 |
+
}
|
562 |
}
|
563 |
?>
|
job/job_run.php
CHANGED
@@ -3,123 +3,154 @@
|
|
3 |
define('BACKWPUP_JOBRUN_FOLDER', dirname(__FILE__).'/');
|
4 |
// get needed functions for the jobrun
|
5 |
require_once(BACKWPUP_JOBRUN_FOLDER.'job_functions.php');
|
6 |
-
//
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
// give the session a name
|
11 |
-
session_name('BackWPupSession');
|
12 |
-
//check and set session id must bevor session_start
|
13 |
-
//read runningfile with SID
|
14 |
-
if ($runningfile=get_working_file()) {
|
15 |
-
session_id($runningfile['SID']);//Set session id
|
16 |
-
} else {
|
17 |
die();
|
18 |
}
|
19 |
-
//
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
ob_end_clean();
|
25 |
header("Connection: close");
|
26 |
ob_start();
|
27 |
header("Content-Length: 0");
|
28 |
ob_end_flush();
|
29 |
flush();
|
30 |
-
//
|
31 |
-
|
32 |
-
//check existing session and Logfile
|
33 |
-
if (!empty($_SESSION) and !file_exists($_SESSION['STATIC']['LOGFILE'])) {
|
34 |
delete_working_file();
|
35 |
-
die();
|
36 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
//disable safe mode
|
38 |
@ini_set('safe_mode','0');
|
39 |
//set execution time tom max on safe mode
|
40 |
if (ini_get('safe_mode')) {
|
41 |
-
$
|
42 |
-
$
|
43 |
}
|
44 |
-
if (empty($_SESSION['CFG']['jobscriptruntime']) or !is_int($_SESSION['CFG']['jobscriptruntime']))
|
45 |
-
$_SESSION['CFG']['jobscriptruntime']=ini_get('max_execution_time');
|
46 |
-
if (empty($_SESSION['CFG']['jobscriptruntimelong']) or !is_int($_SESSION['CFG']['jobscriptruntimelong']))
|
47 |
-
$_SESSION['CFG']['jobscriptruntimelong']=300;
|
48 |
// Now user abrot allowed
|
49 |
@ini_set('ignore_user_abort','0');
|
50 |
//disable user abort
|
51 |
ignore_user_abort(true);
|
52 |
-
// execute function on job shutdown
|
53 |
-
register_shutdown_function('job_shutdown');
|
54 |
-
//set function for PHP user defineid error handling
|
55 |
-
if ($_SESSION['WP']['WP_DEBUG'])
|
56 |
-
set_error_handler('joberrorhandler',E_ALL | E_STRICT);
|
57 |
-
else
|
58 |
-
set_error_handler('joberrorhandler',E_ALL & ~E_NOTICE);
|
59 |
-
//check max script execution tme
|
60 |
-
if (ini_get('safe_mode') or strtolower(ini_get('safe_mode'))=='on' or ini_get('safe_mode')=='1')
|
61 |
-
trigger_error(sprintf(__('PHP Safe Mode is on!!! Max exec time is %1$d sec.','backwpup'),ini_get('max_execution_time')),E_USER_NOTICE);
|
62 |
-
|
63 |
//update running file
|
64 |
-
update_working_file();
|
65 |
-
|
66 |
//Load needed files
|
67 |
-
foreach($
|
68 |
$stepfile=strtolower($step).'.php';
|
69 |
if ($step!='JOB_END') {
|
70 |
if (is_file(BACKWPUP_JOBRUN_FOLDER.$stepfile)) {
|
71 |
require_once(BACKWPUP_JOBRUN_FOLDER.$stepfile);
|
72 |
} else {
|
73 |
-
trigger_error(__('Can not find job step file:','backwpup')
|
74 |
}
|
75 |
}
|
76 |
}
|
77 |
-
|
78 |
// Working step by step
|
79 |
-
foreach($
|
80 |
//display some info massages bevor fist step
|
81 |
-
if (count($
|
82 |
-
trigger_error('[INFO]: BackWPup version '
|
83 |
trigger_error(__('[INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.','backwpup'),E_USER_NOTICE);
|
84 |
-
trigger_error(__('[INFO]: BackWPup job:','backwpup').' '.$
|
85 |
-
if ($
|
86 |
-
trigger_error(__('[INFO]: BackWPup cron:','backwpup').' '.$
|
|
|
|
|
|
|
|
|
87 |
trigger_error(__('[INFO]: PHP ver.:','backwpup').' '.phpversion().'; '.php_sapi_name().'; '.PHP_OS,E_USER_NOTICE);
|
88 |
if (ini_get('safe_mode'))
|
89 |
-
trigger_error(__('[INFO]: PHP Safe mode is ON!','backwpup'),E_USER_NOTICE);
|
90 |
trigger_error(__('[INFO]: MySQL ver.:','backwpup').' '.mysql_result(mysql_query("SELECT VERSION() AS version"),0),E_USER_NOTICE);
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
}
|
97 |
-
//update running file
|
98 |
-
update_working_file();
|
99 |
//Set next step
|
100 |
-
if (!isset($
|
101 |
-
$
|
102 |
-
$
|
103 |
-
$
|
104 |
}
|
|
|
|
|
105 |
//Run next step
|
106 |
-
if (!in_array($step,$
|
107 |
if (function_exists(strtolower($step))) {
|
108 |
-
while ($
|
109 |
-
if (in_array($step,$
|
110 |
break;
|
111 |
-
$
|
112 |
-
|
|
|
113 |
}
|
114 |
-
if ($
|
115 |
-
trigger_error(__('Step arborted has too many trys
|
116 |
} else {
|
117 |
-
trigger_error(__('Can not find job step function
|
118 |
-
$
|
119 |
}
|
120 |
}
|
121 |
}
|
122 |
-
|
123 |
//close mysql
|
124 |
mysql_close($mysqlconlink);
|
125 |
?>
|
3 |
define('BACKWPUP_JOBRUN_FOLDER', dirname(__FILE__).'/');
|
4 |
// get needed functions for the jobrun
|
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
|
13 |
+
$STATIC['TEMPDIR']=trim(urldecode($_POST['BackWPupJobTemp']));
|
14 |
+
if (!is_writable($STATIC['TEMPDIR'])) {
|
15 |
+
die('Temp dir not writable!!! Job aborted!');
|
16 |
+
}
|
17 |
+
//read runningfile and config
|
18 |
+
$runningfile=get_working_file();
|
19 |
+
if ($runningfile['JOBID']>0 and $runningfile['WORKING']['NONCE']==$_POST['nonce']) {
|
20 |
+
if ($staticfile=file_get_contents($STATIC['TEMPDIR'].'.static')) {
|
21 |
+
$STATIC=unserialize(trim($staticfile));
|
22 |
+
} else {
|
23 |
+
delete_working_file();
|
24 |
+
die('No config file found');
|
25 |
+
}
|
26 |
+
$WORKING=$runningfile['WORKING'];
|
27 |
+
unset($runningfile);
|
28 |
+
unset($staticfile);
|
29 |
+
} else {
|
30 |
+
die('Hack ?');
|
31 |
+
}
|
32 |
+
//check are temp dirs the same
|
33 |
+
if ($STATIC['TEMPDIR']!=trim($_POST['BackWPupJobTemp'])) {
|
34 |
+
delete_working_file();
|
35 |
+
die('Temp dir not correct!');
|
36 |
+
}
|
37 |
ob_end_clean();
|
38 |
header("Connection: close");
|
39 |
ob_start();
|
40 |
header("Content-Length: 0");
|
41 |
ob_end_flush();
|
42 |
flush();
|
43 |
+
//check existing Logfile
|
44 |
+
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 ($runningfile['PID']!=getmypid() and $runningfile['timestamp']>$revtime and $_POST['type']=='restarttime') {
|
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 ($runningfile['PID']!=getmypid() and $runningfile['PID']!=0 and $runningfile['timestamp']>$revtime) {
|
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
|
70 |
if (ini_get('safe_mode')) {
|
71 |
+
$STATIC['CFG']['jobscriptruntime']=ini_get('max_execution_time');
|
72 |
+
$STATIC['CFG']['jobscriptruntimelong']=ini_get('max_execution_time');
|
73 |
}
|
|
|
|
|
|
|
|
|
74 |
// Now user abrot allowed
|
75 |
@ini_set('ignore_user_abort','0');
|
76 |
//disable user abort
|
77 |
ignore_user_abort(true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
//update running file
|
79 |
+
update_working_file(true);
|
|
|
80 |
//Load needed files
|
81 |
+
foreach($WORKING['STEPS'] as $step) {
|
82 |
$stepfile=strtolower($step).'.php';
|
83 |
if ($step!='JOB_END') {
|
84 |
if (is_file(BACKWPUP_JOBRUN_FOLDER.$stepfile)) {
|
85 |
require_once(BACKWPUP_JOBRUN_FOLDER.$stepfile);
|
86 |
} else {
|
87 |
+
trigger_error(sprintf(__('Can not find job step file: %s','backwpup'),$stepfile),E_USER_ERROR);
|
88 |
}
|
89 |
}
|
90 |
}
|
|
|
91 |
// Working step by step
|
92 |
+
foreach($WORKING['STEPS'] as $step) {
|
93 |
//display some info massages bevor fist step
|
94 |
+
if (count($WORKING['STEPSDONE'])==0) {
|
95 |
+
trigger_error(sprintf(__('[INFO]: BackWPup version %1$s, WordPress version %4$s Copyright © %2$s %3$s'),$STATIC['BACKWPUP']['VERSION'],date('Y',time()+$STATIC['WP']['TIMEDIFF']),'<a href="http://danielhuesken.de" target="_blank">Daniel Hüsken</a>',$STATIC['WP']['VERSION']),E_USER_NOTICE);
|
96 |
trigger_error(__('[INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.','backwpup'),E_USER_NOTICE);
|
97 |
+
trigger_error(__('[INFO]: BackWPup job:','backwpup').' '.$STATIC['JOB']['jobid'].'. '.$STATIC['JOB']['name'].'; '.$STATIC['JOB']['type'],E_USER_NOTICE);
|
98 |
+
if ($STATIC['JOB']['activated'])
|
99 |
+
trigger_error(__('[INFO]: BackWPup cron:','backwpup').' '.$STATIC['JOB']['cron'].'; '.date('D, j M Y @ H:i',$STATIC['JOB']['cronnextrun']),E_USER_NOTICE);
|
100 |
+
if ($STATIC['CRONSTART'])
|
101 |
+
trigger_error(__('[INFO]: BackWPup job strated by cron','backwpup'),E_USER_NOTICE);
|
102 |
+
else
|
103 |
+
trigger_error(__('[INFO]: BackWPup job strated manualy','backwpup'),E_USER_NOTICE);
|
104 |
trigger_error(__('[INFO]: PHP ver.:','backwpup').' '.phpversion().'; '.php_sapi_name().'; '.PHP_OS,E_USER_NOTICE);
|
105 |
if (ini_get('safe_mode'))
|
106 |
+
trigger_error(sprintf(__('[INFO]: PHP Safe mode is ON! Maximum script execution time is %1$d sec.','backwpup'),ini_get('max_execution_time')),E_USER_NOTICE);
|
107 |
trigger_error(__('[INFO]: MySQL ver.:','backwpup').' '.mysql_result(mysql_query("SELECT VERSION() AS version"),0),E_USER_NOTICE);
|
108 |
+
if (function_exists('curl_init')) {
|
109 |
+
$curlversion=curl_version();
|
110 |
+
trigger_error(__('[INFO]: curl ver.:','backwpup').' '.$curlversion['version'].'; '.$curlversion['ssl_version'],E_USER_NOTICE);
|
111 |
+
}
|
112 |
+
trigger_error(__('[INFO]: Temp folder is:','backwpup').' '.$STATIC['TEMPDIR'],E_USER_NOTICE);
|
113 |
+
if(!empty($STATIC['backupfile']))
|
114 |
+
trigger_error(__('[INFO]: Backup file is:','backwpup').' '.$STATIC['JOB']['backupdir'].$STATIC['backupfile'],E_USER_NOTICE);
|
115 |
+
//test for destinations
|
116 |
+
if (in_array('DB',$STATIC['TODO']) or in_array('WPEXP',$STATIC['TODO']) or in_array('FILE',$STATIC['TODO'])) {
|
117 |
+
$desttest=false;
|
118 |
+
foreach($WORKING['STEPS'] as $deststeptest) {
|
119 |
+
if (substr($deststeptest,0,5)=='DEST_') {
|
120 |
+
$desttest=true;
|
121 |
+
break;
|
122 |
+
}
|
123 |
+
}
|
124 |
+
if (!$desttest)
|
125 |
+
trigger_error(__('No destination defineid for backup!!! Please correct job settings','backwpup'),E_USER_ERROR);
|
126 |
+
}
|
127 |
}
|
|
|
|
|
128 |
//Set next step
|
129 |
+
if (!isset($WORKING[$step]['STEP_TRY']) or empty($WORKING[$step]['STEP_TRY'])) {
|
130 |
+
$WORKING[$step]['STEP_TRY']=0;
|
131 |
+
$WORKING['STEPDONE']=0;
|
132 |
+
$WORKING['STEPTODO']=0;
|
133 |
}
|
134 |
+
//update running file
|
135 |
+
update_working_file(true);
|
136 |
//Run next step
|
137 |
+
if (!in_array($step,$WORKING['STEPSDONE'])) {
|
138 |
if (function_exists(strtolower($step))) {
|
139 |
+
while ($WORKING[$step]['STEP_TRY']<$STATIC['CFG']['jobstepretry']) {
|
140 |
+
if (in_array($step,$WORKING['STEPSDONE']))
|
141 |
break;
|
142 |
+
$WORKING[$step]['STEP_TRY']++;
|
143 |
+
update_working_file(true);
|
144 |
+
call_user_func(strtolower($step));
|
145 |
}
|
146 |
+
if ($WORKING[$step]['STEP_TRY']>=$STATIC['CFG']['jobstepretry'])
|
147 |
+
trigger_error(__('Step arborted has too many trys!','backwpup'),E_USER_ERROR);
|
148 |
} else {
|
149 |
+
trigger_error(sprintf(__('Can not find job step function %s!','backwpup'),strtolower($step)),E_USER_ERROR);
|
150 |
+
$WORKING['STEPSDONE'][]=$step;
|
151 |
}
|
152 |
}
|
153 |
}
|
|
|
154 |
//close mysql
|
155 |
mysql_close($mysqlconlink);
|
156 |
?>
|
job/job_start.php
CHANGED
@@ -6,127 +6,41 @@ if (!defined('ABSPATH')) {
|
|
6 |
die();
|
7 |
}
|
8 |
|
9 |
-
function backwpup_jobstart($jobid='') {
|
10 |
-
global $wpdb;
|
11 |
$jobid=(int)trim($jobid);
|
12 |
if (empty($jobid) or !is_integer($jobid)) {
|
13 |
return false;
|
14 |
}
|
|
|
|
|
|
|
|
|
15 |
//check if a job running
|
16 |
if ($infile=backwpup_get_working_file()) {
|
17 |
if ($infile['timestamp']<time()-1800) {
|
18 |
_e("A job already running!","backwpup");
|
19 |
return false;
|
20 |
} else { //delete working file job thing it not works longer.
|
21 |
-
unlink(
|
22 |
-
|
23 |
-
}
|
24 |
-
}
|
25 |
-
// set the cache limiter to 'nocache'
|
26 |
-
session_cache_limiter('nocache');
|
27 |
-
// set the cache expire to 30 minutes
|
28 |
-
session_cache_expire(30);
|
29 |
-
// give the session a name
|
30 |
-
session_name('BackWPupSession');
|
31 |
-
//delete session cookie
|
32 |
-
session_set_cookie_params(0);
|
33 |
-
// start session
|
34 |
-
session_start();
|
35 |
-
//get session id
|
36 |
-
$backwpupsid=session_id();
|
37 |
-
//clean session
|
38 |
-
$_SESSION = array();
|
39 |
-
//Set needed WP vars to Session
|
40 |
-
$_SESSION['WP']['DB_NAME']=DB_NAME;
|
41 |
-
$_SESSION['WP']['DB_USER']=DB_USER;
|
42 |
-
$_SESSION['WP']['DB_PASSWORD']=DB_PASSWORD;
|
43 |
-
$_SESSION['WP']['DB_HOST']=DB_HOST;
|
44 |
-
$_SESSION['WP']['DB_CHARSET']=DB_CHARSET;
|
45 |
-
$_SESSION['WP']['DB_COLLATE']=DB_COLLATE;
|
46 |
-
$_SESSION['WP']['OPTIONS_TABLE']=$wpdb->options;
|
47 |
-
$_SESSION['WP']['TABLE_PREFIX']=$wpdb->prefix;
|
48 |
-
$_SESSION['WP']['WP_DEBUG']=WP_DEBUG;
|
49 |
-
$_SESSION['WP']['BLOGNAME']=get_bloginfo('name');
|
50 |
-
if (defined('WP_SITEURL'))
|
51 |
-
$_SESSION['WP']['SITEURL']=trailingslashit(WP_SITEURL);
|
52 |
-
else
|
53 |
-
$_SESSION['WP']['SITEURL']=trailingslashit(get_option('siteurl'));
|
54 |
-
$_SESSION['WP']['TIMEDIFF']=current_time('timestamp')-time();
|
55 |
-
$_SESSION['WP']['WPLANG']=WPLANG;
|
56 |
-
//timezone
|
57 |
-
$_SESSION['WP']['GMTOFFSET']=get_option('gmt_offset');
|
58 |
-
$_SESSION['WP']['TIMEZONE']=get_option('timezone_string');
|
59 |
-
if (empty($_SESSION['WP']['TIMEZONE'])) { // Create a UTC+- zone if no timezone string exists
|
60 |
-
if ( 0 == $_SESSION['WP']['GMTOFFSET'] )
|
61 |
-
$_SESSION['WP']['TIMEZONE'] = 'UTC+0';
|
62 |
-
elseif ($_SESSION['WP']['GMTOFFSET'] < 0)
|
63 |
-
$_SESSION['WP']['TIMEZONE'] = 'UTC' . $_SESSION['WP']['GMTOFFSET'];
|
64 |
-
else
|
65 |
-
$_SESSION['WP']['TIMEZONE'] = 'UTC+' . $_SESSION['WP']['GMTOFFSET'];
|
66 |
-
}
|
67 |
-
//WP folder
|
68 |
-
$_SESSION['WP']['ABSPATH']=rtrim(str_replace('\\','/',ABSPATH),'/').'/';
|
69 |
-
$_SESSION['WP']['WP_CONTENT_DIR']=rtrim(str_replace('\\','/',WP_CONTENT_DIR),'/').'/';
|
70 |
-
$_SESSION['WP']['WP_PLUGIN_DIR']=rtrim(str_replace('\\','/',WP_PLUGIN_DIR),'/').'/';
|
71 |
-
$_SESSION['WP']['WP_THEMES_DIR']=rtrim(str_replace('\\','/',trailingslashit(WP_CONTENT_DIR).'themes/'),'/').'/';
|
72 |
-
$_SESSION['WP']['WP_UPLOAD_DIR']=rtrim(str_replace('\\','/',backwpup_get_upload_dir()),'/').'/';
|
73 |
-
$_SESSION['WP']['WPINC']=WPINC;
|
74 |
-
$_SESSION['WP']['MULTISITE']=is_multisite();
|
75 |
-
$_SESSION['WP']['ADMINURL']=admin_url('admin.php');
|
76 |
-
//Load Translation
|
77 |
-
if (!empty($_SESSION['WP']['WPLANG']) and is_file(dirname(__FILE__).'/../lang/backwpup-'.$_SESSION['WP']['WPLANG'].'.po')) {
|
78 |
-
$file = fopen (dirname(__FILE__).'/../lang/backwpup-'.$_SESSION['WP']['WPLANG'].'.po', "r");
|
79 |
-
while (!feof($file)){
|
80 |
-
$line = trim(fgets($file));
|
81 |
-
if (substr($line,0,7)=='msgid "') {
|
82 |
-
$msgid=md5(substr($line,7,-1));
|
83 |
-
$msgstr=substr(trim(fgets($file)),8,-1);
|
84 |
-
$_SESSION['TRANSLATE'][$msgid]=$msgstr;
|
85 |
-
}
|
86 |
}
|
87 |
-
fclose($file);
|
88 |
}
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
$_SESSION['BACKWPUP']['BACKWPUP_DESTS']=BACKWPUP_DESTS;
|
93 |
-
$_SESSION['BACKWPUP']['DROPBOX_APP_KEY']=BACKWPUP_DROPBOX_APP_KEY;
|
94 |
-
$_SESSION['BACKWPUP']['DROPBOX_APP_SECRET']=BACKWPUP_DROPBOX_APP_SECRET;
|
95 |
-
$_SESSION['BACKWPUP']['SUGARSYNC_ACCESSKEY']=BACKWPUP_SUGARSYNC_ACCESSKEY;
|
96 |
-
$_SESSION['BACKWPUP']['SUGARSYNC_PRIVATEACCESSKEY']=BACKWPUP_SUGARSYNC_PRIVATEACCESSKEY;
|
97 |
-
//Set config data
|
98 |
-
$_SESSION['CFG']=get_option('backwpup');
|
99 |
-
//Check working times
|
100 |
-
if (empty($_SESSION['CFG']['jobstepretry']) or !is_int($_SESSION['CFG']['jobstepretry']) or $_SESSION['CFG']['jobstepretry']>100)
|
101 |
-
$_SESSION['CFG']['jobstepretry']=3;
|
102 |
-
if (empty($_SESSION['CFG']['jobscriptretry']) or !is_int($_SESSION['CFG']['jobscriptretry']) or $_SESSION['CFG']['jobscriptretry']>100)
|
103 |
-
$_SESSION['CFG']['jobscriptretry']=5;
|
104 |
-
if (empty($_SESSION['CFG']['jobscriptruntime']) or !is_int($_SESSION['CFG']['jobscriptruntime']) or $_SESSION['CFG']['jobscriptruntime']>100)
|
105 |
-
$_SESSION['CFG']['jobscriptruntime']=30;
|
106 |
-
if (empty($_SESSION['CFG']['jobscriptruntimelong']) or !is_int($_SESSION['CFG']['jobscriptruntimelong']) or $_SESSION['CFG']['jobscriptruntimelong']>1000)
|
107 |
-
$_SESSION['CFG']['jobscriptruntimelong']=300;
|
108 |
-
//Set job data
|
109 |
-
$_SESSION['JOB']=backwpup_get_job_vars($jobid);
|
110 |
-
//STATIC data
|
111 |
-
$_SESSION['STATIC']['JOBRUNURL']=BACKWPUP_PLUGIN_BASEURL.'/job/job_run.php';
|
112 |
-
//get and create temp dir
|
113 |
-
$_SESSION['STATIC']['TEMPDIR']=backwpup_get_temp();
|
114 |
-
if (!is_dir($_SESSION['STATIC']['TEMPDIR'])) {
|
115 |
-
if (!mkdir(rtrim($_SESSION['STATIC']['TEMPDIR'],'/'),0777,true)) {
|
116 |
-
sprintf(__('Can not create temp folder: %1$s','backwpup'),$_SESSION['STATIC']['TEMPDIR']);
|
117 |
return false;
|
118 |
}
|
119 |
}
|
120 |
-
if (!is_writable($
|
121 |
_e("Temp dir not writeable","backwpup");
|
122 |
-
session_destroy();
|
123 |
return false;
|
124 |
} else { //clean up old temp files
|
125 |
-
if ($dir = opendir($
|
126 |
while (($file = readdir($dir)) !== false) {
|
127 |
-
if (is_readable($
|
128 |
if ($file!='.' and $file!='..') {
|
129 |
-
unlink($
|
130 |
}
|
131 |
}
|
132 |
}
|
@@ -134,53 +48,120 @@ function backwpup_jobstart($jobid='') {
|
|
134 |
}
|
135 |
//create .htaccess for apache and index.html for other
|
136 |
if (strtolower(substr($_SERVER["SERVER_SOFTWARE"],0,6))=="apache") { //check if it a apache webserver
|
137 |
-
if (!is_file($
|
138 |
-
file_put_contents($
|
139 |
} else {
|
140 |
-
if (!is_file($
|
141 |
-
file_put_contents($
|
142 |
-
if (!is_file($
|
143 |
-
file_put_contents($
|
144 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
}
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
return false;
|
151 |
}
|
152 |
//create .htaccess for apache and index.html for other
|
153 |
if (strtolower(substr($_SERVER["SERVER_SOFTWARE"],0,6))=="apache") { //check if it a apache webserver
|
154 |
-
if (!is_file($
|
155 |
-
file_put_contents($
|
156 |
} else {
|
157 |
-
if (!is_file($
|
158 |
-
file_put_contents($
|
159 |
-
if (!is_file($
|
160 |
-
file_put_contents($
|
161 |
}
|
162 |
}
|
163 |
-
if (!is_writable($
|
164 |
_e("Log folder not writeable!","backwpup");
|
165 |
-
session_destroy();
|
166 |
return false;
|
167 |
}
|
168 |
-
//check exists gzip functions
|
169 |
-
if(!function_exists('gzopen'))
|
170 |
-
$_SESSION['CFG']['gzlogs']=false;
|
171 |
//set Logfile
|
172 |
-
$
|
173 |
//create log file
|
174 |
-
$fd=fopen($
|
175 |
//Create log file header
|
176 |
fwrite($fd,"<html>\n<head>\n");
|
177 |
fwrite($fd,"<meta name=\"backwpup_version\" content=\"".BACKWPUP_VERSION."\" />\n");
|
178 |
-
fwrite($fd,"<meta name=\"backwpup_logtime\" content=\"".
|
179 |
fwrite($fd,str_pad("<meta name=\"backwpup_errors\" content=\"0\" />",100)."\n");
|
180 |
fwrite($fd,str_pad("<meta name=\"backwpup_warnings\" content=\"0\" />",100)."\n");
|
181 |
-
fwrite($fd,"<meta name=\"backwpup_jobid\" content=\"".$
|
182 |
-
fwrite($fd,"<meta name=\"backwpup_jobname\" content=\"".$
|
183 |
-
fwrite($fd,"<meta name=\"backwpup_jobtype\" content=\"".$
|
184 |
fwrite($fd,str_pad("<meta name=\"backwpup_backupfilesize\" content=\"0\" />",100)."\n");
|
185 |
fwrite($fd,str_pad("<meta name=\"backwpup_jobruntime\" content=\"0\" />",100)."\n");
|
186 |
fwrite($fd,"<style type=\"text/css\">\n");
|
@@ -189,108 +170,110 @@ function backwpup_jobstart($jobid='') {
|
|
189 |
fwrite($fd,".error {background-color:red;}\n");
|
190 |
fwrite($fd,"#body {font-family:monospace;font-size:12px;white-space:nowrap;}\n");
|
191 |
fwrite($fd,"</style>\n");
|
192 |
-
fwrite($fd,"<title>".sprintf(__('BackWPup
|
193 |
fclose($fd);
|
194 |
-
//write working file
|
195 |
-
file_put_contents($_SESSION['STATIC']['TEMPDIR'].'.running',serialize(array('SID'=>$backwpupsid,'timestamp'=>time(),'JOBID'=>$_SESSION['JOB']['jobid'],'LOG'=>'','LOGFILE'=>$_SESSION['STATIC']['LOGFILE'],'WARNING'=>0,'ERROR'=>0,'STEPSPERSENT'=>0,'STEPPERSENT'=>0)));
|
196 |
//Set job start settings
|
197 |
$jobs=get_option('backwpup_jobs');
|
198 |
-
$jobs[$
|
199 |
-
$
|
200 |
-
$jobs[$
|
201 |
-
$jobs[$
|
202 |
-
$
|
203 |
-
$jobs[$
|
204 |
-
$
|
205 |
update_option('backwpup_jobs',$jobs); //Save job Settings
|
206 |
//Set todo
|
207 |
-
$
|
208 |
//only for jos that makes backups
|
209 |
-
if (in_array('FILE',$
|
210 |
//make emty file list
|
211 |
-
$
|
212 |
-
$
|
213 |
//set Backup Dir if not set
|
214 |
-
if (empty($
|
215 |
-
$
|
216 |
} else {
|
217 |
//clear path
|
218 |
-
$
|
219 |
//create backup dir if it not exists
|
220 |
-
if (!is_dir($
|
221 |
-
if (!mkdir(
|
222 |
-
sprintf(__('Can not create folder for
|
223 |
return false;
|
224 |
}
|
225 |
//create .htaccess for apache and index.html for other
|
226 |
if (strtolower(substr($_SERVER["SERVER_SOFTWARE"],0,6))=="apache") { //check if it a apache webserver
|
227 |
-
if (!is_file($
|
228 |
-
file_put_contents($
|
229 |
} else {
|
230 |
-
if (!is_file($
|
231 |
-
file_put_contents($
|
232 |
-
if (!is_file($
|
233 |
-
file_put_contents($
|
234 |
}
|
235 |
}
|
236 |
}
|
237 |
//check backup dir
|
238 |
-
if (!is_writable($
|
239 |
_e("Backup folder not writeable!","backwpup");
|
240 |
-
session_destroy();
|
241 |
return false;
|
242 |
}
|
243 |
//set Backup file Name
|
244 |
-
$
|
245 |
}
|
246 |
-
|
247 |
-
$
|
248 |
-
$
|
249 |
-
$
|
250 |
-
$
|
251 |
-
$
|
252 |
-
$
|
|
|
253 |
//build working steps
|
254 |
-
$
|
255 |
//setup job steps
|
256 |
-
if (in_array('DB',$
|
257 |
-
$
|
258 |
-
if (in_array('WPEXP',$
|
259 |
-
$
|
260 |
-
if (in_array('FILE',$
|
261 |
-
$
|
262 |
-
if (in_array('DB',$
|
263 |
-
$
|
264 |
//ADD Destinations
|
265 |
-
$
|
266 |
-
|
267 |
-
$
|
268 |
-
|
269 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
}
|
271 |
-
if (in_array('CHECK',$
|
272 |
-
$
|
273 |
-
if (in_array('OPTIMIZE',$
|
274 |
-
$
|
275 |
-
$
|
276 |
//mark all as not done
|
277 |
-
foreach($
|
278 |
-
$
|
279 |
-
//
|
280 |
-
|
|
|
|
|
281 |
//Run job
|
282 |
-
$
|
283 |
-
|
284 |
-
//curl_setopt($ch,CURLOPT_COOKIESESSION, true);
|
285 |
-
//curl_setopt($ch,CURLOPT_COOKIE,'BackWPupSession='.$backwpupsid.'; path='.ini_get('session.cookie_path'));
|
286 |
-
curl_setopt($ch,CURLOPT_SSL_VERIFYPEER, false);
|
287 |
-
curl_setopt($ch,CURLOPT_SSL_VERIFYHOST, false);
|
288 |
-
curl_setopt($ch,CURLOPT_RETURNTRANSFER,false);
|
289 |
-
curl_setopt($ch,CURLOPT_FORBID_REUSE,true);
|
290 |
-
curl_setopt($ch,CURLOPT_FRESH_CONNECT,true);
|
291 |
-
curl_setopt($ch,CURLOPT_TIMEOUT,0.01);
|
292 |
-
curl_exec($ch);
|
293 |
-
curl_close($ch);
|
294 |
-
return $_SESSION['STATIC']['LOGFILE'];
|
295 |
}
|
296 |
?>
|
6 |
die();
|
7 |
}
|
8 |
|
9 |
+
function backwpup_jobstart($jobid='',$cronstart=false) {
|
10 |
+
global $wpdb,$wp_version;
|
11 |
$jobid=(int)trim($jobid);
|
12 |
if (empty($jobid) or !is_integer($jobid)) {
|
13 |
return false;
|
14 |
}
|
15 |
+
//clean var
|
16 |
+
$backwpup_static = array();
|
17 |
+
//get and create temp dir
|
18 |
+
$backwpup_static['TEMPDIR']=backwpup_get_temp();
|
19 |
//check if a job running
|
20 |
if ($infile=backwpup_get_working_file()) {
|
21 |
if ($infile['timestamp']<time()-1800) {
|
22 |
_e("A job already running!","backwpup");
|
23 |
return false;
|
24 |
} else { //delete working file job thing it not works longer.
|
25 |
+
unlink($backwpup_static['TEMPDIR'].'.running');
|
26 |
+
unlink($backwpup_static['TEMPDIR'].'.static');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
}
|
|
|
28 |
}
|
29 |
+
if (!is_dir($backwpup_static['TEMPDIR'])) {
|
30 |
+
if (!mkdir(rtrim($backwpup_static['TEMPDIR'],'/'),0777,true)) {
|
31 |
+
printf(__('Can not create temp folder: %s','backwpup'),$backwpup_static['TEMPDIR']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
return false;
|
33 |
}
|
34 |
}
|
35 |
+
if (!is_writable($backwpup_static['TEMPDIR'])) {
|
36 |
_e("Temp dir not writeable","backwpup");
|
|
|
37 |
return false;
|
38 |
} else { //clean up old temp files
|
39 |
+
if ($dir = opendir($backwpup_static['TEMPDIR'])) {
|
40 |
while (($file = readdir($dir)) !== false) {
|
41 |
+
if (is_readable($backwpup_static['TEMPDIR'].$file) and is_file($backwpup_static['TEMPDIR'].$file)) {
|
42 |
if ($file!='.' and $file!='..') {
|
43 |
+
unlink($backwpup_static['TEMPDIR'].$file);
|
44 |
}
|
45 |
}
|
46 |
}
|
48 |
}
|
49 |
//create .htaccess for apache and index.html for other
|
50 |
if (strtolower(substr($_SERVER["SERVER_SOFTWARE"],0,6))=="apache") { //check if it a apache webserver
|
51 |
+
if (!is_file($backwpup_static['TEMPDIR'].'.htaccess'))
|
52 |
+
file_put_contents($backwpup_static['TEMPDIR'].'.htaccess',"Order allow,deny\ndeny from all");
|
53 |
} else {
|
54 |
+
if (!is_file($backwpup_static['TEMPDIR'].'index.html'))
|
55 |
+
file_put_contents($backwpup_static['TEMPDIR'].'index.html',"\n");
|
56 |
+
if (!is_file($backwpup_static['TEMPDIR'].'index.php'))
|
57 |
+
file_put_contents($backwpup_static['TEMPDIR'].'index.php',"\n");
|
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'=>'','PID'=>0,'STEPSPERSENT'=>0,'STEPPERSENT'=>0,'WORKING'=>'')));
|
62 |
+
|
63 |
+
//Set needed WP vars
|
64 |
+
$backwpup_static['WP']['DB_NAME']=DB_NAME;
|
65 |
+
$backwpup_static['WP']['DB_USER']=DB_USER;
|
66 |
+
$backwpup_static['WP']['DB_PASSWORD']=DB_PASSWORD;
|
67 |
+
$backwpup_static['WP']['DB_HOST']=DB_HOST;
|
68 |
+
$backwpup_static['WP']['DB_CHARSET']=DB_CHARSET;
|
69 |
+
$backwpup_static['WP']['DB_COLLATE']=DB_COLLATE;
|
70 |
+
$backwpup_static['WP']['OPTIONS_TABLE']=$wpdb->options;
|
71 |
+
$backwpup_static['WP']['TABLE_PREFIX']=$wpdb->prefix;
|
72 |
+
$backwpup_static['WP']['BLOGNAME']=get_bloginfo('name');
|
73 |
+
if (defined('WP_SITEURL'))
|
74 |
+
$backwpup_static['WP']['SITEURL']=trailingslashit(WP_SITEURL);
|
75 |
+
else
|
76 |
+
$backwpup_static['WP']['SITEURL']=trailingslashit(get_option('siteurl'));
|
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),'/').'/';
|
83 |
+
$backwpup_static['WP']['WP_PLUGIN_DIR']=rtrim(str_replace('\\','/',WP_PLUGIN_DIR),'/').'/';
|
84 |
+
$backwpup_static['WP']['WP_THEMES_DIR']=rtrim(str_replace('\\','/',trailingslashit(WP_CONTENT_DIR).'themes/'),'/').'/';
|
85 |
+
$backwpup_static['WP']['WP_UPLOAD_DIR']=backwpup_get_upload_dir();
|
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;
|
105 |
+
$backwpup_static['BACKWPUP']['BACKWPUP_DESTS']=BACKWPUP_DESTS;
|
106 |
+
$backwpup_static['BACKWPUP']['DROPBOX_APP_KEY']=BACKWPUP_DROPBOX_APP_KEY;
|
107 |
+
$backwpup_static['BACKWPUP']['DROPBOX_APP_SECRET']=BACKWPUP_DROPBOX_APP_SECRET;
|
108 |
+
$backwpup_static['BACKWPUP']['SUGARSYNC_ACCESSKEY']=BACKWPUP_SUGARSYNC_ACCESSKEY;
|
109 |
+
$backwpup_static['BACKWPUP']['SUGARSYNC_PRIVATEACCESSKEY']=BACKWPUP_SUGARSYNC_PRIVATEACCESSKEY;
|
110 |
+
//Set config data
|
111 |
+
$backwpup_static['CFG']=get_option('backwpup');
|
112 |
+
//check exists gzip functions
|
113 |
+
if(!function_exists('gzopen'))
|
114 |
+
$backwpup_static['CFG']['gzlogs']=false;
|
115 |
+
if(!class_exists('ZipArchive'))
|
116 |
+
$backwpup_static['CFG']['phpzip']=false;
|
117 |
+
//Check working times
|
118 |
+
if (empty($backwpup_static['CFG']['jobstepretry']) or !is_int($backwpup_static['CFG']['jobstepretry']) or $backwpup_static['CFG']['jobstepretry']>100)
|
119 |
+
$backwpup_static['CFG']['jobstepretry']=3;
|
120 |
+
if (empty($backwpup_static['CFG']['jobscriptretry']) or !is_int($backwpup_static['CFG']['jobscriptretry']) or $backwpup_static['CFG']['jobscriptretry']>100)
|
121 |
+
$backwpup_static['CFG']['jobscriptretry']=5;
|
122 |
+
if (empty($backwpup_static['CFG']['jobscriptruntime']) or !is_int($backwpup_static['CFG']['jobscriptruntime']) or $backwpup_static['CFG']['jobscriptruntime']>100)
|
123 |
+
$backwpup_static['CFG']['jobscriptruntime']=ini_get('max_execution_time');
|
124 |
+
if (empty($backwpup_static['CFG']['jobscriptruntimelong']) or !is_int($backwpup_static['CFG']['jobscriptruntimelong']) or $backwpup_static['CFG']['jobscriptruntimelong']>1000)
|
125 |
+
$backwpup_static['CFG']['jobscriptruntimelong']=300;
|
126 |
+
//Set job data
|
127 |
+
$backwpup_static['JOB']=backwpup_get_job_vars($jobid);
|
128 |
+
//STATIC data
|
129 |
+
$backwpup_static['JOBRUNURL']=BACKWPUP_PLUGIN_BASEURL.'/job/job_run.php';
|
130 |
+
//Setup Logs dir
|
131 |
+
$backwpup_static['CFG']['dirlogs']=rtrim(str_replace('\\','/',$backwpup_static['CFG']['dirlogs']),'/').'/';
|
132 |
+
if (!is_dir($backwpup_static['CFG']['dirlogs'])) {
|
133 |
+
if (!mkdir(rtrim($backwpup_static['CFG']['dirlogs'],'/'),0777,true)) {
|
134 |
+
printf(__('Can not create folder for log files: %s','backwpup'),$backwpup_static['CFG']['dirlogs']);
|
135 |
return false;
|
136 |
}
|
137 |
//create .htaccess for apache and index.html for other
|
138 |
if (strtolower(substr($_SERVER["SERVER_SOFTWARE"],0,6))=="apache") { //check if it a apache webserver
|
139 |
+
if (!is_file($backwpup_static['CFG']['dirlogs'].'.htaccess'))
|
140 |
+
file_put_contents($backwpup_static['CFG']['dirlogs'].'.htaccess',"Order allow,deny\ndeny from all");
|
141 |
} else {
|
142 |
+
if (!is_file($backwpup_static['CFG']['dirlogs'].'index.html'))
|
143 |
+
file_put_contents($backwpup_static['CFG']['dirlogs'].'index.html',"\n");
|
144 |
+
if (!is_file($backwpup_static['CFG']['dirlogs'].'index.php'))
|
145 |
+
file_put_contents($backwpup_static['CFG']['dirlogs'].'index.php',"\n");
|
146 |
}
|
147 |
}
|
148 |
+
if (!is_writable($backwpup_static['CFG']['dirlogs'])) {
|
149 |
_e("Log folder not writeable!","backwpup");
|
|
|
150 |
return false;
|
151 |
}
|
|
|
|
|
|
|
152 |
//set Logfile
|
153 |
+
$backwpup_static['LOGFILE']=$backwpup_static['CFG']['dirlogs'].'backwpup_log_'.backwpup_date_i18n('Y-m-d_H-i-s').'.html';
|
154 |
//create log file
|
155 |
+
$fd=fopen($backwpup_static['LOGFILE'],'w');
|
156 |
//Create log file header
|
157 |
fwrite($fd,"<html>\n<head>\n");
|
158 |
fwrite($fd,"<meta name=\"backwpup_version\" content=\"".BACKWPUP_VERSION."\" />\n");
|
159 |
+
fwrite($fd,"<meta name=\"backwpup_logtime\" content=\"".time()."\" />\n");
|
160 |
fwrite($fd,str_pad("<meta name=\"backwpup_errors\" content=\"0\" />",100)."\n");
|
161 |
fwrite($fd,str_pad("<meta name=\"backwpup_warnings\" content=\"0\" />",100)."\n");
|
162 |
+
fwrite($fd,"<meta name=\"backwpup_jobid\" content=\"".$backwpup_static['JOB']['jobid']."\" />\n");
|
163 |
+
fwrite($fd,"<meta name=\"backwpup_jobname\" content=\"".$backwpup_static['JOB']['name']."\" />\n");
|
164 |
+
fwrite($fd,"<meta name=\"backwpup_jobtype\" content=\"".$backwpup_static['JOB']['type']."\" />\n");
|
165 |
fwrite($fd,str_pad("<meta name=\"backwpup_backupfilesize\" content=\"0\" />",100)."\n");
|
166 |
fwrite($fd,str_pad("<meta name=\"backwpup_jobruntime\" content=\"0\" />",100)."\n");
|
167 |
fwrite($fd,"<style type=\"text/css\">\n");
|
170 |
fwrite($fd,".error {background-color:red;}\n");
|
171 |
fwrite($fd,"#body {font-family:monospace;font-size:12px;white-space:nowrap;}\n");
|
172 |
fwrite($fd,"</style>\n");
|
173 |
+
fwrite($fd,"<title>".sprintf(__('BackWPup log for %1$s from %2$s at %3$s','backwpup'),$backwpup_static['JOB']['name'],backwpup_date_i18n(get_option('date_format')),backwpup_date_i18n(get_option('time_format')))."</title>\n</head>\n<body id=\"body\">\n");
|
174 |
fclose($fd);
|
|
|
|
|
175 |
//Set job start settings
|
176 |
$jobs=get_option('backwpup_jobs');
|
177 |
+
$jobs[$backwpup_static['JOB']['jobid']]['starttime']=time(); //set start time for job
|
178 |
+
$backwpup_static['JOB']['starttime']=$jobs[$backwpup_static['JOB']['jobid']]['starttime'];
|
179 |
+
$jobs[$backwpup_static['JOB']['jobid']]['logfile']=$backwpup_static['LOGFILE']; //Set current logfile
|
180 |
+
$jobs[$backwpup_static['JOB']['jobid']]['cronnextrun']=backwpup_cron_next($jobs[$backwpup_static['JOB']['jobid']]['cron']); //set next run
|
181 |
+
$backwpup_static['JOB']['cronnextrun']=$jobs[$backwpup_static['JOB']['jobid']]['cronnextrun'];
|
182 |
+
$jobs[$backwpup_static['JOB']['jobid']]['lastbackupdownloadurl']='';
|
183 |
+
$backwpup_static['JOB']['lastbackupdownloadurl']='';
|
184 |
update_option('backwpup_jobs',$jobs); //Save job Settings
|
185 |
//Set todo
|
186 |
+
$backwpup_static['TODO']=explode('+',$backwpup_static['JOB']['type']);
|
187 |
//only for jos that makes backups
|
188 |
+
if (in_array('FILE',$backwpup_static['TODO']) or in_array('DB',$backwpup_static['TODO']) or in_array('WPEXP',$backwpup_static['TODO'])) {
|
189 |
//make emty file list
|
190 |
+
$backwpup_working['FILELIST']=array();
|
191 |
+
$backwpup_working['ALLFILESIZE']=0;
|
192 |
//set Backup Dir if not set
|
193 |
+
if (empty($backwpup_static['JOB']['backupdir'])) {
|
194 |
+
$backwpup_static['JOB']['backupdir']=$backwpup_static['TEMPDIR'];
|
195 |
} else {
|
196 |
//clear path
|
197 |
+
$backwpup_static['JOB']['backupdir']=rtrim(str_replace('\\','/',$backwpup_static['JOB']['backupdir']),'/').'/';
|
198 |
//create backup dir if it not exists
|
199 |
+
if (!is_dir($backwpup_static['JOB']['backupdir'])) {
|
200 |
+
if (!mkdir(rtrim($backwpup_static['JOB']['backupdir'],'/'),0777,true)) {
|
201 |
+
sprintf(__('Can not create folder for backups: %1$s','backwpup'),$backwpup_static['JOB']['backupdir']);
|
202 |
return false;
|
203 |
}
|
204 |
//create .htaccess for apache and index.html for other
|
205 |
if (strtolower(substr($_SERVER["SERVER_SOFTWARE"],0,6))=="apache") { //check if it a apache webserver
|
206 |
+
if (!is_file($backwpup_static['JOB']['backupdir'].'.htaccess'))
|
207 |
+
file_put_contents($backwpup_static['JOB']['backupdir'].'.htaccess',"Order allow,deny\ndeny from all");
|
208 |
} else {
|
209 |
+
if (!is_file($backwpup_static['JOB']['backupdir'].'index.html'))
|
210 |
+
file_put_contents($backwpup_static['JOB']['backupdir'].'index.html',"\n");
|
211 |
+
if (!is_file($backwpup_static['JOB']['backupdir'].'index.php'))
|
212 |
+
file_put_contents($backwpup_static['JOB']['backupdir'].'index.php',"\n");
|
213 |
}
|
214 |
}
|
215 |
}
|
216 |
//check backup dir
|
217 |
+
if (!is_writable($backwpup_static['JOB']['backupdir'])) {
|
218 |
_e("Backup folder not writeable!","backwpup");
|
|
|
219 |
return false;
|
220 |
}
|
221 |
//set Backup file Name
|
222 |
+
$backwpup_static['backupfile']=$backwpup_static['JOB']['fileprefix'].backwpup_date_i18n('Y-m-d_H-i-s').$backwpup_static['JOB']['fileformart'];
|
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;
|
229 |
+
$backwpup_working['STEPSDONE']=array();
|
230 |
+
$backwpup_working['STEPTODO']=0;
|
231 |
+
$backwpup_working['STEPDONE']=0;
|
232 |
//build working steps
|
233 |
+
$backwpup_working['STEPS']=array();
|
234 |
//setup job steps
|
235 |
+
if (in_array('DB',$backwpup_static['TODO']))
|
236 |
+
$backwpup_working['STEPS'][]='DB_DUMP';
|
237 |
+
if (in_array('WPEXP',$backwpup_static['TODO']))
|
238 |
+
$backwpup_working['STEPS'][]='WP_EXPORT';
|
239 |
+
if (in_array('FILE',$backwpup_static['TODO']))
|
240 |
+
$backwpup_working['STEPS'][]='FILE_LIST';
|
241 |
+
if (in_array('DB',$backwpup_static['TODO']) or in_array('WPEXP',$backwpup_static['TODO']) or in_array('FILE',$backwpup_static['TODO'])) {
|
242 |
+
$backwpup_working['STEPS'][]='BACKUP_CREATE';
|
243 |
//ADD Destinations
|
244 |
+
if (!empty($backwpup_static['JOB']['backupdir']) and $backwpup_static['JOB']['backupdir']!='/' and $backwpup_static['JOB']['backupdir']!=$backwpup_static['TEMPDIR'])
|
245 |
+
$backwpup_working['STEPS'][]='DEST_FOLDER';
|
246 |
+
if (!empty($backwpup_static['JOB']['mailaddress']))
|
247 |
+
$backwpup_working['STEPS'][]='DEST_MAIL';
|
248 |
+
if (!empty($backwpup_static['JOB']['ftphost']) and !empty($backwpup_static['JOB']['ftpuser']) and !empty($backwpup_static['JOB']['ftppass']) and in_array('FTP',explode(',',strtoupper(BACKWPUP_DESTS))))
|
249 |
+
$backwpup_working['STEPS'][]='DEST_FTP';
|
250 |
+
if (!empty($backwpup_static['JOB']['dropetoken']) and !empty($backwpup_static['JOB']['dropesecret']) and in_array('DROPBOX',explode(',',strtoupper(BACKWPUP_DESTS))))
|
251 |
+
$backwpup_working['STEPS'][]='DEST_DROPBOX';
|
252 |
+
if (!empty($backwpup_static['JOB']['sugaruser']) and !empty($backwpup_static['JOB']['sugarpass']) and !empty($backwpup_static['JOB']['sugarroot']) and in_array('SUGARSYNC',explode(',',strtoupper(BACKWPUP_DESTS))))
|
253 |
+
$backwpup_working['STEPS'][]='DEST_SUGARSYNC';
|
254 |
+
if (!empty($backwpup_static['JOB']['awsAccessKey']) and !empty($backwpup_static['JOB']['awsSecretKey']) and !empty($backwpup_static['JOB']['awsBucket']) and in_array('S3',explode(',',strtoupper(BACKWPUP_DESTS))))
|
255 |
+
$backwpup_working['STEPS'][]='DEST_S3';
|
256 |
+
if (!empty($backwpup_static['JOB']['GStorageAccessKey']) and !empty($backwpup_static['JOB']['GStorageSecret']) and !empty($backwpup_static['JOB']['GStorageBucket']) and in_array('GSTORAGE',explode(',',strtoupper(BACKWPUP_DESTS))))
|
257 |
+
$backwpup_working['STEPS'][]='DEST_GSTORAGE';
|
258 |
+
if (!empty($backwpup_static['JOB']['rscUsername']) and !empty($backwpup_static['JOB']['rscAPIKey']) and !empty($backwpup_static['JOB']['rscContainer']) and in_array('RSC',explode(',',strtoupper(BACKWPUP_DESTS))))
|
259 |
+
$backwpup_working['STEPS'][]='DEST_RSC';
|
260 |
+
if (!empty($backwpup_static['JOB']['msazureHost']) and !empty($backwpup_static['JOB']['msazureAccName']) and !empty($backwpup_static['JOB']['msazureKey']) and !empty($backwpup_static['JOB']['msazureContainer']) and in_array('MSAZURE',explode(',',strtoupper(BACKWPUP_DESTS))))
|
261 |
+
$backwpup_working['STEPS'][]='DEST_MSAZURE';
|
262 |
}
|
263 |
+
if (in_array('CHECK',$backwpup_static['TODO']))
|
264 |
+
$backwpup_working['STEPS'][]='DB_CHECK';
|
265 |
+
if (in_array('OPTIMIZE',$backwpup_static['TODO']))
|
266 |
+
$backwpup_working['STEPS'][]='DB_OPTIMIZE';
|
267 |
+
$backwpup_working['STEPS'][]='JOB_END';
|
268 |
//mark all as not done
|
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'],'PID'=>0,'STEPSPERSENT'=>0,'STEPPERSENT'=>0,'WORKING'=>$backwpup_working)));
|
273 |
+
//write static file
|
274 |
+
file_put_contents($backwpup_static['TEMPDIR'].'.static',serialize($backwpup_static));
|
275 |
//Run job
|
276 |
+
wp_remote_post($backwpup_static['JOBRUNURL'], array('timeout' => 0.01, 'blocking' => false, 'sslverify' => false, 'body'=>array('BackWPupJobTemp'=>$backwpup_static['TEMPDIR'], 'nonce'=>$backwpup_working['NONCE'], 'type'=>'start'), 'user-agent'=>'BackWPup'));
|
277 |
+
return $backwpup_static['LOGFILE'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
}
|
279 |
?>
|
job/show_working.php
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
<?PHP
|
2 |
-
require_once(dirname(__FILE__).'/../libs/backwpup_get_temp.php');
|
3 |
-
|
4 |
function backwpup_read_logfile($logfile) {
|
5 |
if (is_file($logfile) and strtolower(substr($logfile,-3))=='.gz')
|
6 |
$logfiledata=gzfile($logfile);
|
@@ -25,9 +23,8 @@ function backwpup_read_logfile($logfile) {
|
|
25 |
}
|
26 |
|
27 |
function backwpup_get_working_file() {
|
28 |
-
$
|
29 |
-
|
30 |
-
if ($runningfile=file_get_contents($tempdir.'.running'))
|
31 |
return unserialize(trim($runningfile));
|
32 |
else
|
33 |
return false;
|
@@ -73,10 +70,10 @@ if (substr(trim($_POST['logfile']),-3)!='.gz' and substr(trim($_POST['logfile'])
|
|
73 |
|
74 |
$log='';
|
75 |
if (is_file(trim($_POST['logfile']))) {
|
76 |
-
if (is_file(
|
77 |
if ($infile=backwpup_get_working_file()) {
|
78 |
-
$warnings=$infile['WARNING'];
|
79 |
-
$errors=$infile['ERROR'];
|
80 |
$stepspersent=$infile['STEPSPERSENT'];
|
81 |
$steppersent=$infile['STEPPERSENT'];
|
82 |
}
|
1 |
<?PHP
|
|
|
|
|
2 |
function backwpup_read_logfile($logfile) {
|
3 |
if (is_file($logfile) and strtolower(substr($logfile,-3))=='.gz')
|
4 |
$logfiledata=gzfile($logfile);
|
23 |
}
|
24 |
|
25 |
function backwpup_get_working_file() {
|
26 |
+
if (is_file(trim($_POST['BackWPupJobTemp']).'.running')) {
|
27 |
+
if ($runningfile=file_get_contents(trim($_POST['BackWPupJobTemp']).'.running'))
|
|
|
28 |
return unserialize(trim($runningfile));
|
29 |
else
|
30 |
return false;
|
70 |
|
71 |
$log='';
|
72 |
if (is_file(trim($_POST['logfile']))) {
|
73 |
+
if (is_file(trim($_POST['BackWPupJobTemp']).'.running')) {
|
74 |
if ($infile=backwpup_get_working_file()) {
|
75 |
+
$warnings=$infile['WORKING']['WARNING'];
|
76 |
+
$errors=$infile['WORKING']['ERROR'];
|
77 |
$stepspersent=$infile['STEPSPERSENT'];
|
78 |
$steppersent=$infile['STEPPERSENT'];
|
79 |
}
|
job/wp_export.php
CHANGED
@@ -6,12 +6,15 @@ if (!defined('BACKWPUP_JOBRUN_FOLDER')) {
|
|
6 |
}
|
7 |
|
8 |
function wp_export() {
|
9 |
-
$
|
10 |
-
|
|
|
11 |
need_free_memory(10485760); //10MB free memory
|
12 |
if (function_exists('curl_exec')) {
|
13 |
$ch = curl_init();
|
14 |
-
curl_setopt($ch, CURLOPT_URL, substr($
|
|
|
|
|
15 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
16 |
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
|
17 |
curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
|
@@ -31,18 +34,18 @@ function wp_export() {
|
|
31 |
else
|
32 |
trigger_error(__('cURL:','backwpup').' ('.$status['http_code'].') Invalid response.',E_USER_ERROR);
|
33 |
} else {
|
34 |
-
file_put_contents($
|
35 |
}
|
36 |
curl_close($ch);
|
37 |
}
|
38 |
//add XML file to backupfiles
|
39 |
-
if (is_readable($
|
40 |
-
$filestat=stat($
|
41 |
-
trigger_error(__('Add XML export to backup list
|
42 |
-
$
|
43 |
-
|
44 |
}
|
45 |
-
$
|
46 |
-
$
|
47 |
}
|
48 |
?>
|
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 |
if (function_exists('curl_exec')) {
|
14 |
$ch = curl_init();
|
15 |
+
curl_setopt($ch, CURLOPT_URL, substr($STATIC['JOBRUNURL'],0,-11).'wp_export_generate.php');
|
16 |
+
curl_setopt($ch, CURLOPT_COOKIESESSION, true);
|
17 |
+
curl_setopt($ch, CURLOPT_COOKIE,'BackWPupJobTemp='.$STATIC['TEMPDIR'].'; path=/');
|
18 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
19 |
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
|
20 |
curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
|
34 |
else
|
35 |
trigger_error(__('cURL:','backwpup').' ('.$status['http_code'].') Invalid response.',E_USER_ERROR);
|
36 |
} else {
|
37 |
+
file_put_contents($STATIC['TEMPDIR'].preg_replace( '/[^a-z0-9_\-]/', '', strtolower($STATIC['WP']['BLOGNAME'])).'.wordpress.'.date( 'Y-m-d' ).'.xml', $return);
|
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');
|
44 |
+
trigger_error(sprintf(__('Add XML export "%1$s" to backup list with %2$s','backwpup'),preg_replace( '/[^a-z0-9_\-]/', '', strtolower($STATIC['WP']['BLOGNAME'])).'.wordpress.'.date( 'Y-m-d' ).'.xml',formatbytes($filestat['size'])),E_USER_NOTICE);
|
45 |
+
$WORKING['ALLFILESIZE']+=$filestat['size'];
|
46 |
+
add_file(array(array('FILE'=>$STATIC['TEMPDIR'].preg_replace( '/[^a-z0-9_\-]/', '', strtolower($STATIC['WP']['BLOGNAME'])).'.wordpress.'.date( 'Y-m-d' ).'.xml','OUTFILE'=>preg_replace( '/[^a-z0-9_\-]/', '', strtolower($STATIC['WP']['BLOGNAME'])).'.wordpress.'.date( 'Y-m-d' ).'.xml','SIZE'=>$filestat['size'],'ATIME'=>$filestat['atime'],'MTIME'=>$filestat['mtime'],'CTIME'=>$filestat['ctime'],'UID'=>$filestat['uid'],'GID'=>$filestat['gid'],'MODE'=>$filestat['mode'])));
|
47 |
}
|
48 |
+
$WORKING['STEPDONE']=1;
|
49 |
+
$WORKING['STEPSDONE'][]='WP_EXPORT'; //set done
|
50 |
}
|
51 |
?>
|
job/wp_export_generate.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?PHP
|
2 |
-
|
3 |
-
$runningfile=file_get_contents(
|
4 |
$infile=array();
|
5 |
if (!empty($runningfile))
|
6 |
$infile=unserialize(trim($runningfile));
|
1 |
<?PHP
|
2 |
+
if (is_writable(trim($_COOKIE['BackWPupJobTemp']).'.running'))
|
3 |
+
$runningfile=file_get_contents(trim($_COOKIE['BackWPupJobTemp']).'.running');
|
4 |
$infile=array();
|
5 |
if (!empty($runningfile))
|
6 |
$infile=unserialize(trim($runningfile));
|
js/31backwpupeditjob.js
ADDED
@@ -0,0 +1,270 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready( function($) {
|
2 |
+
|
3 |
+
$('.if-js-closed').removeClass('if-js-closed').addClass('closed');
|
4 |
+
|
5 |
+
$('.jobtype-select').change(function() {
|
6 |
+
if ( true == $('#jobtype-select-FILE').attr('checked') || true == $('#jobtype-select-DB').attr('checked') || true == $('#jobtype-select-WPEXP').attr('checked')) {
|
7 |
+
$('#backwpup_jobedit_destfolder').show();
|
8 |
+
$('#backwpup_jobedit_destftp').show();
|
9 |
+
$('#backwpup_jobedit_dests3').show();
|
10 |
+
$('#backwpup_jobedit_destgstorage').show();
|
11 |
+
$('#backwpup_jobedit_destazure').show();
|
12 |
+
$('#backwpup_jobedit_destrsc').show();
|
13 |
+
$('#backwpup_jobedit_destdropbox').show();
|
14 |
+
$('#backwpup_jobedit_destsugarsync').show();
|
15 |
+
$('#backwpup_jobedit_destfile').show();
|
16 |
+
$('#backwpup_jobedit_destmail').show();
|
17 |
+
} else {
|
18 |
+
$('#backwpup_jobedit_destfolder').hide();
|
19 |
+
$('#backwpup_jobedit_destftp').hide();
|
20 |
+
$('#backwpup_jobedit_dests3').hide();
|
21 |
+
$('#backwpup_jobedit_destgstorage').hide();
|
22 |
+
$('#backwpup_jobedit_destazure').hide();
|
23 |
+
$('#backwpup_jobedit_destrsc').hide();
|
24 |
+
$('#backwpup_jobedit_destdropbox').hide();
|
25 |
+
$('#backwpup_jobedit_destsugarsync').hide();
|
26 |
+
$('#backwpup_jobedit_destfile').hide();
|
27 |
+
$('#backwpup_jobedit_destmail').hide();
|
28 |
+
}
|
29 |
+
if ( true == $('#jobtype-select-DB').attr('checked') || true == $('#jobtype-select-CHECK').attr('checked') || true == $('#jobtype-select-OPTIMIZE').attr('checked')) {
|
30 |
+
$('#databasejobs').show();
|
31 |
+
} else {
|
32 |
+
$('#databasejobs').hide();
|
33 |
+
}
|
34 |
+
if ( true == $('#jobtype-select-DB').attr('checked')) {
|
35 |
+
$('#dbshortinsert').show();
|
36 |
+
} else {
|
37 |
+
$('#dbshortinsert').hide();
|
38 |
+
}
|
39 |
+
if ( true == $('#jobtype-select-FILE').attr('checked')) {
|
40 |
+
$('#filebackup').show();
|
41 |
+
} else {
|
42 |
+
$('#filebackup').hide();
|
43 |
+
}
|
44 |
+
});
|
45 |
+
|
46 |
+
$('input[name="cronselect"]').change(function() {
|
47 |
+
if ( 'basic' == $('input[name="cronselect"]:checked').val()) {
|
48 |
+
$('#schedadvanced').hide();
|
49 |
+
$('#schedbasic').show();
|
50 |
+
cronstampbasic();
|
51 |
+
} else {
|
52 |
+
$('#schedadvanced').show();
|
53 |
+
$('#schedbasic').hide();
|
54 |
+
cronstampadvanced();
|
55 |
+
}
|
56 |
+
});
|
57 |
+
|
58 |
+
$('input[name="fileprefix"]').keyup(function() {
|
59 |
+
$('#backupfileprefix').replaceWith('<span id="backupfileprefix">'+$(this).val()+'</span>');
|
60 |
+
});
|
61 |
+
|
62 |
+
$('input[name="fileformart"]').change(function() {
|
63 |
+
$('#backupfileformart').replaceWith('<span id="backupfileformart">'+$(this).val()+'</span>');
|
64 |
+
});
|
65 |
+
|
66 |
+
function cronstampadvanced() {
|
67 |
+
var cronminutes = [];
|
68 |
+
var cronhours = [];
|
69 |
+
var cronmday = [];
|
70 |
+
var cronmon = [];
|
71 |
+
var cronwday = [];
|
72 |
+
$('input[name="cronminutes[]"]:checked').each(function() {
|
73 |
+
cronminutes.push($(this).val());
|
74 |
+
});
|
75 |
+
$('input[name="cronhours[]"]:checked').each(function() {
|
76 |
+
cronhours.push($(this).val());
|
77 |
+
});
|
78 |
+
$('input[name="cronmday[]"]:checked').each(function() {
|
79 |
+
cronmday.push($(this).val());
|
80 |
+
});
|
81 |
+
$('input[name="cronmon[]"]:checked').each(function() {
|
82 |
+
cronmon.push($(this).val());
|
83 |
+
});
|
84 |
+
$('input[name="cronwday[]"]:checked').each(function() {
|
85 |
+
cronwday.push($(this).val());
|
86 |
+
});
|
87 |
+
var data = {
|
88 |
+
action: 'backwpup_get_cron_text',
|
89 |
+
backwpupajaxpage: 'backwpupeditjob',
|
90 |
+
cronminutes: cronminutes,
|
91 |
+
cronhours: cronhours,
|
92 |
+
cronmday: cronmday,
|
93 |
+
cronmon: cronmon,
|
94 |
+
cronwday: cronwday,
|
95 |
+
_ajax_nonce: jQuery('#backwpupeditjobajaxnonce').val()
|
96 |
+
};
|
97 |
+
$.post(ajaxurl, data, function(response) {
|
98 |
+
$('#cron-text').replaceWith(response);
|
99 |
+
});
|
100 |
+
}
|
101 |
+
$('input[name="cronminutes[]"]').change(function() {cronstampadvanced();});
|
102 |
+
$('input[name="cronhours[]"]').change(function() {cronstampadvanced();});
|
103 |
+
$('input[name="cronmday[]"]').change(function() {cronstampadvanced();});
|
104 |
+
$('input[name="cronmon[]"]').change(function() {cronstampadvanced();});
|
105 |
+
$('input[name="cronwday[]"]').change(function() {cronstampadvanced();});
|
106 |
+
|
107 |
+
function cronstampbasic() {
|
108 |
+
var cronminutes = [];
|
109 |
+
var cronhours = [];
|
110 |
+
var cronmday = [];
|
111 |
+
var cronmon = [];
|
112 |
+
var cronwday = [];
|
113 |
+
if ( 'mon' == $('input[name="cronbtype"]:checked').val()) {
|
114 |
+
cronminutes.push($('select[name="moncronminutes"]').val());
|
115 |
+
cronhours.push($('select[name="moncronhours"]').val());
|
116 |
+
cronmday.push($('select[name="moncronmday"]').val());
|
117 |
+
cronmon.push('*');
|
118 |
+
cronwday.push('*');
|
119 |
+
}
|
120 |
+
if ( 'week' == $('input[name="cronbtype"]:checked').val()) {
|
121 |
+
cronminutes.push($('select[name="weekcronminutes"]').val());
|
122 |
+
cronhours.push($('select[name="weekcronhours"]').val());
|
123 |
+
cronmday.push('*');
|
124 |
+
cronmon.push('*');
|
125 |
+
cronwday.push($('select[name="weekcronwday"]').val());
|
126 |
+
}
|
127 |
+
if ( 'day' == $('input[name="cronbtype"]:checked').val()) {
|
128 |
+
cronminutes.push($('select[name="daycronminutes"]').val());
|
129 |
+
cronhours.push($('select[name="daycronhours"]').val());
|
130 |
+
cronmday.push('*');
|
131 |
+
cronmon.push('*');
|
132 |
+
cronwday.push('*');
|
133 |
+
}
|
134 |
+
if ( 'hour' == $('input[name="cronbtype"]:checked').val()) {
|
135 |
+
cronminutes.push($('select[name="hourcronminutes"]').val());
|
136 |
+
cronhours.push('*');
|
137 |
+
cronmday.push('*');
|
138 |
+
cronmon.push('*');
|
139 |
+
cronwday.push('*');
|
140 |
+
}
|
141 |
+
var data = {
|
142 |
+
action: 'backwpup_get_cron_text',
|
143 |
+
backwpupajaxpage: 'backwpupeditjob',
|
144 |
+
cronminutes: cronminutes,
|
145 |
+
cronhours: cronhours,
|
146 |
+
cronmday: cronmday,
|
147 |
+
cronmon: cronmon,
|
148 |
+
cronwday: cronwday,
|
149 |
+
_ajax_nonce: jQuery('#backwpupeditjobajaxnonce').val()
|
150 |
+
};
|
151 |
+
$.post(ajaxurl, data, function(response) {
|
152 |
+
$('#cron-text').replaceWith(response);
|
153 |
+
});
|
154 |
+
}
|
155 |
+
$('input[name="cronbtype"]').change(function() {cronstampbasic();});
|
156 |
+
$('select[name="moncronmday"]').change(function() {cronstampbasic();});
|
157 |
+
$('select[name="moncronhours"]').change(function() {cronstampbasic();});
|
158 |
+
$('select[name="moncronminutes"]').change(function() {cronstampbasic();});
|
159 |
+
$('select[name="weekcronwday"]').change(function() {cronstampbasic();});
|
160 |
+
$('select[name="weekcronhours"]').change(function() {cronstampbasic();});
|
161 |
+
$('select[name="weekcronminutes"]').change(function() {cronstampbasic();});
|
162 |
+
$('select[name="daycronhours"]').change(function() {cronstampbasic();});
|
163 |
+
$('select[name="daycronminutes"]').change(function() {cronstampbasic();});
|
164 |
+
$('select[name="hourcronminutes"]').change(function() {cronstampbasic();});
|
165 |
+
|
166 |
+
|
167 |
+
function awsgetbucket() {
|
168 |
+
var data = {
|
169 |
+
action: 'backwpup_get_aws_buckets',
|
170 |
+
backwpupajaxpage: 'backwpupeditjob',
|
171 |
+
awsAccessKey: jQuery('#awsAccessKey').val(),
|
172 |
+
awsSecretKey: jQuery('#awsSecretKey').val(),
|
173 |
+
awsselected: jQuery('#awsBucketselected').val(),
|
174 |
+
_ajax_nonce: jQuery('#backwpupeditjobajaxnonce').val()
|
175 |
+
};
|
176 |
+
$.post(ajaxurl, data, function(response) {
|
177 |
+
$('#awsBucket').remove();
|
178 |
+
$('#awsBucketselected').after(response);
|
179 |
+
});
|
180 |
+
}
|
181 |
+
$('#awsAccessKey').change(function() {awsgetbucket();});
|
182 |
+
$('#awsSecretKey').change(function() {awsgetbucket();});
|
183 |
+
|
184 |
+
function gstoragegetbucket() {
|
185 |
+
var data = {
|
186 |
+
action: 'backwpup_get_gstorage_buckets',
|
187 |
+
backwpupajaxpage: 'backwpupeditjob',
|
188 |
+
GStorageAccessKey: jQuery('#GStorageAccessKey').val(),
|
189 |
+
GStorageSecret: jQuery('#GStorageSecret').val(),
|
190 |
+
GStorageselected: jQuery('#GStorageselected').val(),
|
191 |
+
_ajax_nonce: jQuery('#backwpupeditjobajaxnonce').val()
|
192 |
+
};
|
193 |
+
$.post(ajaxurl, data, function(response) {
|
194 |
+
$('#GStorageBucket').remove();
|
195 |
+
$('#GStorageselected').after(response);
|
196 |
+
});
|
197 |
+
}
|
198 |
+
$('#GStorageAccessKey').change(function() {gstoragegetbucket();});
|
199 |
+
$('#GStorageSecret').change(function() {gstoragegetbucket();});
|
200 |
+
|
201 |
+
function msazuregetcontainer() {
|
202 |
+
var data = {
|
203 |
+
action: 'backwpup_get_msazure_container',
|
204 |
+
backwpupajaxpage: 'backwpupeditjob',
|
205 |
+
msazureHost: jQuery('#msazureHost').val(),
|
206 |
+
msazureAccName: jQuery('#msazureAccName').val(),
|
207 |
+
msazureKey: jQuery('#msazureKey').val(),
|
208 |
+
msazureselected: jQuery('#msazureContainerselected').val(),
|
209 |
+
_ajax_nonce: jQuery('#backwpupeditjobajaxnonce').val()
|
210 |
+
};
|
211 |
+
$.post(ajaxurl, data, function(response) {
|
212 |
+
$('#msazureContainer').remove();
|
213 |
+
$('#msazureContainerselected').after(response);
|
214 |
+
});
|
215 |
+
}
|
216 |
+
$('#msazureHost').change(function() {msazuregetcontainer();});
|
217 |
+
$('#msazureAccName').change(function() {msazuregetcontainer();});
|
218 |
+
$('#msazureKey').change(function() {msazuregetcontainer();});
|
219 |
+
|
220 |
+
function rscgetcontainer() {
|
221 |
+
var data = {
|
222 |
+
action: 'backwpup_get_rsc_container',
|
223 |
+
backwpupajaxpage: 'backwpupeditjob',
|
224 |
+
rscUsername: jQuery('#rscUsername').val(),
|
225 |
+
rscAPIKey: jQuery('#rscAPIKey').val(),
|
226 |
+
rscselected: jQuery('#rscContainerselected').val(),
|
227 |
+
_ajax_nonce: jQuery('#backwpupeditjobajaxnonce').val()
|
228 |
+
};
|
229 |
+
$.post(ajaxurl, data, function(response) {
|
230 |
+
$('#rscContainer').remove();
|
231 |
+
$('#rscContainerselected').after(response);
|
232 |
+
});
|
233 |
+
}
|
234 |
+
$('#rscUsername').change(function() {rscgetcontainer();});
|
235 |
+
$('#rscAPIKey').change(function() {rscgetcontainer();});
|
236 |
+
|
237 |
+
function sugarsyncgetroot() {
|
238 |
+
var data = {
|
239 |
+
action: 'backwpup_get_sugarsync_root',
|
240 |
+
backwpupajaxpage: 'backwpupeditjob',
|
241 |
+
sugaruser: jQuery('#sugaruser').val(),
|
242 |
+
sugarpass: jQuery('#sugarpass').val(),
|
243 |
+
sugarrootselected: jQuery('#sugarrootselected').val(),
|
244 |
+
_ajax_nonce: jQuery('#backwpupeditjobajaxnonce').val()
|
245 |
+
};
|
246 |
+
$.post(ajaxurl, data, function(response) {
|
247 |
+
$('#sugarroot').remove();
|
248 |
+
$('#sugarrootselected').after(response);
|
249 |
+
});
|
250 |
+
}
|
251 |
+
$('#sugaruser').change(function() {sugarsyncgetroot();});
|
252 |
+
$('#sugarpass').change(function() {sugarsyncgetroot();});
|
253 |
+
|
254 |
+
if ( $('#title').val() == '' )
|
255 |
+
$('#title').siblings('#title-prompt-text').css('visibility', '');
|
256 |
+
$('#title-prompt-text').click(function(){
|
257 |
+
$(this).css('visibility', 'hidden').siblings('#title').focus();
|
258 |
+
});
|
259 |
+
$('#title').blur(function(){
|
260 |
+
if (this.value == '')
|
261 |
+
$(this).siblings('#title-prompt-text').css('visibility', '');
|
262 |
+
}).focus(function(){
|
263 |
+
$(this).siblings('#title-prompt-text').css('visibility', 'hidden');
|
264 |
+
}).keydown(function(e){
|
265 |
+
$(this).siblings('#title-prompt-text').css('visibility', 'hidden');
|
266 |
+
$(this).unbind(e);
|
267 |
+
});
|
268 |
+
|
269 |
+
});
|
270 |
+
|
js/backwpupeditjob.js
CHANGED
@@ -4,7 +4,7 @@ jQuery(document).ready( function($) {
|
|
4 |
|
5 |
$('.jobtype-select').change(function() {
|
6 |
if ( true == $('#jobtype-select-FILE').prop('checked') || true == $('#jobtype-select-DB').prop('checked') || true == $('#jobtype-select-WPEXP').prop('checked')) {
|
7 |
-
$('#
|
8 |
$('#backwpup_jobedit_destftp').show();
|
9 |
$('#backwpup_jobedit_dests3').show();
|
10 |
$('#backwpup_jobedit_destgstorage').show();
|
@@ -15,7 +15,7 @@ jQuery(document).ready( function($) {
|
|
15 |
$('#backwpup_jobedit_destfile').show();
|
16 |
$('#backwpup_jobedit_destmail').show();
|
17 |
} else {
|
18 |
-
$('#
|
19 |
$('#backwpup_jobedit_destftp').hide();
|
20 |
$('#backwpup_jobedit_dests3').hide();
|
21 |
$('#backwpup_jobedit_destgstorage').hide();
|
4 |
|
5 |
$('.jobtype-select').change(function() {
|
6 |
if ( true == $('#jobtype-select-FILE').prop('checked') || true == $('#jobtype-select-DB').prop('checked') || true == $('#jobtype-select-WPEXP').prop('checked')) {
|
7 |
+
$('#backwpup_jobedit_destfolder').show();
|
8 |
$('#backwpup_jobedit_destftp').show();
|
9 |
$('#backwpup_jobedit_dests3').show();
|
10 |
$('#backwpup_jobedit_destgstorage').show();
|
15 |
$('#backwpup_jobedit_destfile').show();
|
16 |
$('#backwpup_jobedit_destmail').show();
|
17 |
} else {
|
18 |
+
$('#backwpup_jobedit_destfolder').hide();
|
19 |
$('#backwpup_jobedit_destftp').hide();
|
20 |
$('#backwpup_jobedit_dests3').hide();
|
21 |
$('#backwpup_jobedit_destgstorage').hide();
|
js/backwpupworking.js
CHANGED
@@ -7,6 +7,7 @@ jQuery(document).ready( function($) {
|
|
7 |
url: backwpupajaxurl,
|
8 |
data: {
|
9 |
logfile: $('#logfile').val(),
|
|
|
10 |
logpos: $('#logpos').val()
|
11 |
},
|
12 |
dataType: 'json',
|
7 |
url: backwpupajaxurl,
|
8 |
data: {
|
9 |
logfile: $('#logfile').val(),
|
10 |
+
BackWPupJobTemp: $('#backwpupjobtemp').val(),
|
11 |
logpos: $('#logpos').val()
|
12 |
},
|
13 |
dataType: 'json',
|
lang/backwpup-de_DE.mo
CHANGED
Binary file
|
lang/backwpup-de_DE.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: BackWPup 2.0 Branch\n"
|
4 |
-
"Report-Msgid-Bugs-To: http://
|
5 |
"POT-Creation-Date: 2010-06-23 17:08+0000\n"
|
6 |
-
"PO-Revision-Date: 2011-07-
|
7 |
"Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
|
8 |
"Language-Team: DECKERWEB <deckerweb.mobil@googlemail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -19,87 +19,45 @@ msgstr ""
|
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
#@ backwpup
|
22 |
-
#: job/job_functions.php:
|
23 |
msgid "[WARNING]"
|
24 |
msgstr "[WARNUNG]"
|
25 |
|
26 |
#@ backwpup
|
27 |
-
#: job/job_functions.php:
|
28 |
msgid "[ERROR]"
|
29 |
msgstr "[FEHLER]"
|
30 |
|
31 |
#@ backwpup
|
32 |
-
#: job/job_functions.php:
|
33 |
msgid "[DEPRECATED]"
|
34 |
msgstr "[VERALTET]"
|
35 |
|
36 |
#@ backwpup
|
37 |
-
#: job/job_functions.php:
|
38 |
msgid "[STRICT NOTICE]"
|
39 |
msgstr "[STRENGER HINWEIS]"
|
40 |
|
41 |
#@ backwpup
|
42 |
-
#: job/job_functions.php:
|
43 |
msgid "[RECOVERABLE ERROR]"
|
44 |
msgstr "[LÖSBARER FEHLER]"
|
45 |
|
46 |
#@ backwpup
|
47 |
-
#: job/
|
48 |
-
#, php-format
|
49 |
-
msgid "BackWPup Log for %1$s from %2$s at %3$s"
|
50 |
-
msgstr "BackWPup Protokoll für %1$s vom %2$s um %3$s"
|
51 |
-
|
52 |
-
#@ backwpup
|
53 |
-
#: job/job_run.php:61
|
54 |
-
#, php-format
|
55 |
-
msgid "PHP Safe Mode is on!!! Max exec time is %1$d sec."
|
56 |
-
msgstr "PHP Safe Mode ist an!!! Maximale ausführbare Zeit ist %1$d Sek."
|
57 |
-
|
58 |
-
#@ backwpup
|
59 |
-
#: job/job_functions.php:79
|
60 |
-
#, php-format
|
61 |
-
msgid "PHP Safe Mode is on!!! Can not increase Memory Limit is %1$s"
|
62 |
-
msgstr "PHP Safe Mode ist an!!! Speicherlimit kann nicht erhöht werden, ist %1$s"
|
63 |
-
|
64 |
-
#@ backwpup
|
65 |
-
#: job/job_functions.php:106
|
66 |
#, php-format
|
67 |
msgid "Memory increased from %1$s to %2$s"
|
68 |
msgstr "Speicher(limit) erhöht von %1$s auf %2$s"
|
69 |
|
70 |
#@ backwpup
|
71 |
-
#: job/
|
72 |
-
|
73 |
-
|
74 |
-
msgstr "Speicherlimit kann nicht erhöht werden, ist %1$s"
|
75 |
-
|
76 |
-
#@ backwpup
|
77 |
-
#: job/job_functions.php:117
|
78 |
-
msgid "Set Blog to Maintenance Mode"
|
79 |
-
msgstr "Setze Webseite/ Blog in den Wartungsmodus (via Plugin!)"
|
80 |
-
|
81 |
-
#@ backwpup
|
82 |
-
#: job/job_functions.php:134
|
83 |
-
msgid "Set Blog to normal Mode"
|
84 |
-
msgstr "Setze Webseite/ Blog zurück in den Normalmodus"
|
85 |
-
|
86 |
-
#@ backwpup
|
87 |
-
#: job/db_check.php:27
|
88 |
-
#: job/db_check.php:29
|
89 |
-
#: job/db_check.php:31
|
90 |
#, php-format
|
91 |
msgid "Result of table check for %1$s is: %2$s"
|
92 |
msgstr "Ergebnis für den Tabellencheck für %1$s, ist %2$s"
|
93 |
|
94 |
#@ backwpup
|
95 |
-
#: job/db_check.php:22
|
96 |
-
#: job/db_check.php:37
|
97 |
-
#: job/db_dump.php:20
|
98 |
-
#: job/db_dump.php:103
|
99 |
-
#: job/db_dump.php:113
|
100 |
-
#: job/db_optimize.php:20
|
101 |
-
#: job/job_functions.php:49
|
102 |
-
#: job/job_functions.php:61
|
103 |
#: pages/tools/db_restore.php:70
|
104 |
#: pages/tools/db_restore.php:81
|
105 |
#: pages/tools/db_restore.php:84
|
@@ -110,232 +68,73 @@ msgid "BackWPup database error %1$s for query %2$s"
|
|
110 |
msgstr "BackWPup-Datenbankfehler %1$s für die Anfrage %2$s"
|
111 |
|
112 |
#@ backwpup
|
113 |
-
#: job/db_check.php:
|
114 |
-
#: job/db_check.php:
|
115 |
-
#: job/db_check.php:
|
116 |
#, php-format
|
117 |
msgid "Result of table repair for %1$s is: %2$s"
|
118 |
msgstr "Ergebnis der Tabellenreparatur für %1$s ist: %2$s"
|
119 |
|
120 |
#@ backwpup
|
121 |
-
#: job/db_check.php:
|
122 |
msgid "Database check done!"
|
123 |
msgstr "Datenbank-Check fertig!"
|
124 |
|
125 |
#@ backwpup
|
126 |
-
#: job/
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
#@ backwpup
|
131 |
-
#: job/db_dump.php:53
|
132 |
-
msgid "Dump Database table: "
|
133 |
-
msgstr "Datenbanktabelle dumpen: "
|
134 |
-
|
135 |
-
#@ backwpup
|
136 |
-
#: job/db_dump.php:72
|
137 |
-
msgid "Can not create Database Dump file"
|
138 |
-
msgstr "Datenbank-Dump-Datei kann nicht erstellt werden"
|
139 |
-
|
140 |
-
#@ backwpup
|
141 |
-
#: job/db_dump.php:75
|
142 |
-
msgid "No Tables to Dump"
|
143 |
-
msgstr "Keine Tabellen zum Dumpen"
|
144 |
-
|
145 |
-
#@ backwpup
|
146 |
-
#: job/db_dump.php:70
|
147 |
-
msgid "Database Dump done!"
|
148 |
-
msgstr "Datenbank-Dump fertig!"
|
149 |
-
|
150 |
-
#@ backwpup
|
151 |
-
#: job/db_optimize.php:27
|
152 |
-
#: job/db_optimize.php:29
|
153 |
-
#: job/db_optimize.php:31
|
154 |
#, php-format
|
155 |
msgid "Result of table optimize for %1$s is: %2$s"
|
156 |
msgstr "Ergebnis der Tabellenoptimierung für %1$s ist: %2$s"
|
157 |
|
158 |
#@ backwpup
|
159 |
-
#: job/db_optimize.php:
|
160 |
msgid "Database optimize done!"
|
161 |
msgstr "Datenbankoptimierung fertig!"
|
162 |
|
163 |
#@ backwpup
|
164 |
-
#: job/
|
165 |
-
msgid "No Tables to optimize"
|
166 |
-
msgstr "Keine Tabellen zum Optimieren"
|
167 |
-
|
168 |
-
#@ backwpup
|
169 |
-
#: job/file_list.php:105
|
170 |
-
msgid "Is not a file or directory:"
|
171 |
-
msgstr "Dies ist kein(e) Datei oder ein Verzeichnis:"
|
172 |
-
|
173 |
-
#@ backwpup
|
174 |
-
#: job/file_list.php:71
|
175 |
-
msgid "No files to Backup"
|
176 |
-
msgstr "Keine Dateien für die Datensicherung"
|
177 |
-
|
178 |
-
#@ backwpup
|
179 |
-
#: job/backup_create.php:22
|
180 |
-
msgid "Can not add File to ZIP file:"
|
181 |
-
msgstr "Datei kann dem ZIP-Paket nicht hinzugefügt werden:"
|
182 |
-
|
183 |
-
#@ backwpup
|
184 |
-
#: job/backup_create.php:52
|
185 |
-
msgid "Backup Zip file create done!"
|
186 |
-
msgstr "Erstellung der Datensicherungs-ZIP-Datei fertig!"
|
187 |
-
|
188 |
-
#@ backwpup
|
189 |
-
#: job/backup_create.php:173
|
190 |
-
msgid "Backup Archive file create done!"
|
191 |
-
msgstr "Datensicherungs-Archivdatei wurde erstellt!"
|
192 |
-
|
193 |
-
#@ backwpup
|
194 |
-
#: job/dest_ftp.php:43
|
195 |
-
#: job/dest_ftp.php:50
|
196 |
-
#: job/dest_ftp.php:62
|
197 |
-
#: job/dest_ftp.php:75
|
198 |
-
msgid "FTP Client command:"
|
199 |
-
msgstr "FTP-Client Kommando:"
|
200 |
-
|
201 |
-
#@ backwpup
|
202 |
-
#: job/dest_ftp.php:45
|
203 |
-
#: job/dest_ftp.php:48
|
204 |
-
#: job/dest_ftp.php:52
|
205 |
-
#: job/dest_ftp.php:65
|
206 |
-
#: job/dest_ftp.php:67
|
207 |
-
#: job/dest_ftp.php:70
|
208 |
-
#: job/dest_ftp.php:72
|
209 |
-
#: job/dest_ftp.php:78
|
210 |
-
#: job/dest_ftp.php:80
|
211 |
-
msgid "FTP Server reply:"
|
212 |
-
msgstr "FTP-Server Antwort:"
|
213 |
-
|
214 |
-
#@ backwpup
|
215 |
-
#: job/dest_ftp.php:67
|
216 |
msgid "Can not Entering Passive Mode"
|
217 |
msgstr "Einstieg in den passiven Modus nicht möglich"
|
218 |
|
219 |
#@ backwpup
|
220 |
-
#: job/
|
221 |
-
msgid "Backup File transferred to FTP Server:"
|
222 |
-
msgstr "Datensicherungsdatei auf den FTP-Server übertragen:"
|
223 |
-
|
224 |
-
#@ backwpup
|
225 |
-
#: job/dest_ftp.php:105
|
226 |
-
msgid "Can not transfer backup to FTP server."
|
227 |
-
msgstr "Datensicherung kann nicht auf den FTP-Server übertragen werden."
|
228 |
-
|
229 |
-
#@ backwpup
|
230 |
-
#: job/dest_ftp.php:122
|
231 |
-
msgid "Can not delete file on FTP Server:"
|
232 |
-
msgstr "Datei auf dem FTP-Server kann nicht gelöscht werden:"
|
233 |
-
|
234 |
-
#@ backwpup
|
235 |
-
#: job/dest_ftp.php:125
|
236 |
-
msgid "files deleted on FTP Server:"
|
237 |
-
msgstr "Dateien gelöscht auf dem FTP-Server:"
|
238 |
-
|
239 |
-
#@ backwpup
|
240 |
-
#: job/dest_mail.php:31
|
241 |
msgid "Send mail with SMTP"
|
242 |
msgstr "E-Mail senden mit SMTP"
|
243 |
|
244 |
#@ backwpup
|
245 |
-
#: job/dest_mail.php:
|
246 |
msgid "Send mail with Sendmail"
|
247 |
msgstr "E-Mail senden mit Sendmail"
|
248 |
|
249 |
#@ backwpup
|
250 |
-
#: job/dest_mail.php:
|
251 |
msgid "Send mail with PHP mail"
|
252 |
msgstr "E-Mail senden mit PHP mail"
|
253 |
|
254 |
#@ backwpup
|
255 |
-
#: job/dest_mail.php:
|
256 |
msgid "Creating mail"
|
257 |
msgstr "E-Mail erstellen"
|
258 |
|
259 |
#@ backwpup
|
260 |
-
#: job/dest_mail.php:
|
261 |
-
msgid "BackWPup File from"
|
262 |
-
msgstr "BackWPup-Datei von"
|
263 |
-
|
264 |
-
#@ backwpup
|
265 |
-
#: job/dest_mail.php:53
|
266 |
-
msgid "Backup Archive too big for sending by mail"
|
267 |
-
msgstr "Datensicherungs-Archiv ist zu groß, um es via E-Mail zu senden"
|
268 |
-
|
269 |
-
#@ backwpup
|
270 |
-
#: job/dest_mail.php:60
|
271 |
-
msgid "Adding Attachment to mail"
|
272 |
-
msgstr "Anhang wird zur E-Mail hinzugefügt"
|
273 |
-
|
274 |
-
#@ backwpup
|
275 |
-
#: job/dest_mail.php:64
|
276 |
msgid "Send mail...."
|
277 |
msgstr "E-Mail wird gesendet ..."
|
278 |
|
279 |
#@ backwpup
|
280 |
-
#: job/dest_mail.php:
|
281 |
msgid "Mail send!!!"
|
282 |
msgstr "E-Mail wurde gesendet!!!"
|
283 |
|
284 |
#@ backwpup
|
285 |
-
#:
|
286 |
-
msgid "Can not send mail:"
|
287 |
-
msgstr "E-Mail kann nicht gesendet werden:"
|
288 |
-
|
289 |
-
#@ backwpup
|
290 |
-
#: job/dest_s3.php:23
|
291 |
-
msgid "Connected to S3 Bucket:"
|
292 |
-
msgstr "Verbunden mit S3 Bucket:"
|
293 |
-
|
294 |
-
#@ backwpup
|
295 |
-
#: job/dest_s3.php:38
|
296 |
-
msgid "Backup File transferred to S3://"
|
297 |
-
msgstr "Datensicherungsdatei zu S3 übertragen://"
|
298 |
-
|
299 |
-
#@ backwpup
|
300 |
-
#: job/dest_s3.php:41
|
301 |
-
msgid "Can not transfer backup to S3."
|
302 |
-
msgstr "Datensicherung kann nicht zu S3 übertragen werden."
|
303 |
-
|
304 |
-
#@ backwpup
|
305 |
-
#: job/dest_s3.php:63
|
306 |
-
msgid "files deleted on S3 Bucket!"
|
307 |
-
msgstr "Dateien wurden auf S3 Bucket gelöscht!"
|
308 |
-
|
309 |
-
#@ backwpup
|
310 |
-
#: job/dest_s3.php:67
|
311 |
-
msgid "S3 Bucket not exists:"
|
312 |
-
msgstr "S3 Bucket existiert nicht:"
|
313 |
-
|
314 |
-
#@ backwpup
|
315 |
-
#: job/job_functions.php:335
|
316 |
-
#, php-format
|
317 |
-
msgid "Job done in %1s sec."
|
318 |
-
msgstr "Auftrag ausgeführt in %1s Sekunden."
|
319 |
-
|
320 |
-
#@ backwpup
|
321 |
-
#: job/job_functions.php:433
|
322 |
-
msgid "Jobname:"
|
323 |
-
msgstr "Auftragsname:"
|
324 |
-
|
325 |
-
#@ backwpup
|
326 |
-
#: job/job_functions.php:434
|
327 |
-
msgid "Jobtype:"
|
328 |
-
msgstr "Auftragstyp:"
|
329 |
-
|
330 |
-
#@ backwpup
|
331 |
-
#: job/job_functions.php:436
|
332 |
-
#: pages/page_backwpupworking.php:34
|
333 |
msgid "Errors:"
|
334 |
msgstr "Fehler:"
|
335 |
|
336 |
#@ backwpup
|
337 |
-
#:
|
338 |
-
#: pages/page_backwpupworking.php:30
|
339 |
msgid "Warnings:"
|
340 |
msgstr "Warnungen:"
|
341 |
|
@@ -343,8 +142,8 @@ msgstr "Warnungen:"
|
|
343 |
#@ textdomain
|
344 |
#. translators: plugin header field 'Name'
|
345 |
#: backwpup-functions.php:10
|
346 |
-
#: backwpup-functions.php:
|
347 |
-
#: backwpup-functions.php:
|
348 |
#: backwpup.php:0
|
349 |
msgid "BackWPup"
|
350 |
msgstr "BackWPup"
|
@@ -356,7 +155,7 @@ msgstr "Auftrag"
|
|
356 |
|
357 |
#@ backwpup
|
358 |
#: pages/func_backwpup.php:63
|
359 |
-
#: pages/func_backwpupeditjob.php:
|
360 |
#: pages/func_backwpuplogs.php:87
|
361 |
msgid "Type"
|
362 |
msgstr "Typ"
|
@@ -403,80 +202,75 @@ msgid "Last Run"
|
|
403 |
msgstr "Letzter Durchlauf"
|
404 |
|
405 |
#@ backwpup
|
406 |
-
#: backwpup-functions.php:
|
407 |
-
#: backwpup-functions.php:
|
408 |
msgid "Support"
|
409 |
msgstr "Hilfe + Unterstützung (Support)"
|
410 |
|
411 |
#@ backwpup
|
412 |
-
#: backwpup-functions.php:
|
413 |
-
#: backwpup-functions.php:
|
414 |
msgid "FAQ"
|
415 |
msgstr "FAQ"
|
416 |
|
417 |
#@ backwpup
|
418 |
-
#: backwpup-functions.php:
|
419 |
msgid "Plugin Homepage"
|
420 |
msgstr "Plugin Homepage"
|
421 |
|
422 |
#@ backwpup
|
423 |
-
#: backwpup-functions.php:
|
424 |
-
|
425 |
-
msgstr "Plugin-Seite bei WordPress.org"
|
426 |
-
|
427 |
-
#@ backwpup
|
428 |
-
#: backwpup-functions.php:100
|
429 |
-
#: backwpup-functions.php:197
|
430 |
msgid "Donate"
|
431 |
msgstr "Spenden"
|
432 |
|
433 |
#@ backwpup
|
434 |
-
#: backwpup-functions.php:
|
435 |
msgid "Go to Settings Page"
|
436 |
msgstr "Gehe zur Einstellungsseite"
|
437 |
|
438 |
#@ backwpup
|
439 |
#: backwpup-functions.php:23
|
440 |
-
#: backwpup-functions.php:
|
441 |
msgid "Settings"
|
442 |
msgstr "Einstellungen"
|
443 |
|
444 |
#@ backwpup
|
445 |
-
#: backwpup-functions.php:
|
446 |
msgid "WP XML Export"
|
447 |
msgstr "WP XML Export"
|
448 |
|
449 |
#@ backwpup
|
450 |
-
#: backwpup-functions.php:
|
451 |
msgid "Database Backup"
|
452 |
msgstr "Datenbank-Sicherung"
|
453 |
|
454 |
#@ backwpup
|
455 |
-
#: backwpup-functions.php:
|
456 |
#: pages/page_backwpupeditjob.php:78
|
457 |
msgid "File Backup"
|
458 |
msgstr "Dateien-Sicherung"
|
459 |
|
460 |
#@ backwpup
|
461 |
-
#: backwpup-functions.php:
|
462 |
msgid "Optimize Database Tables"
|
463 |
msgstr "Datenbanktabellen optimieren"
|
464 |
|
465 |
#@ backwpup
|
466 |
-
#: backwpup-functions.php:
|
467 |
msgid "Check Database Tables"
|
468 |
msgstr "Datenbanktabellen checken"
|
469 |
|
470 |
#@ backwpup
|
471 |
-
#: backwpup-functions.php:
|
472 |
-
#: backwpup-functions.php:
|
473 |
-
#: backwpup-functions.php:
|
474 |
#: pages/page_backwpupsettings.php:61
|
475 |
msgid "none"
|
476 |
msgstr "nichts"
|
477 |
|
478 |
#@ backwpup
|
479 |
-
#: backwpup-functions.php:
|
480 |
msgid "Edit Job"
|
481 |
msgstr "Auftrag bearbeiten"
|
482 |
|
@@ -505,7 +299,7 @@ msgid "Job Type"
|
|
505 |
msgstr "Auftrags-Typ"
|
506 |
|
507 |
#@ backwpup
|
508 |
-
#: pages/func_backwpupeditjob.php:
|
509 |
msgid ""
|
510 |
"You are about to delete this Job. \n"
|
511 |
" 'Cancel' to stop, 'OK' to delete."
|
@@ -519,7 +313,7 @@ msgstr ""
|
|
519 |
#: pages/func_backwpup.php:109
|
520 |
#: pages/func_backwpupbackups.php:136
|
521 |
#: pages/func_backwpupbackups.php:233
|
522 |
-
#: pages/func_backwpupeditjob.php:
|
523 |
#: pages/func_backwpuplogs.php:79
|
524 |
#: pages/func_backwpuplogs.php:133
|
525 |
msgid "Delete"
|
@@ -527,7 +321,7 @@ msgstr "Löschen"
|
|
527 |
|
528 |
#@ backwpup
|
529 |
#: pages/func_backwpupeditjob.php:14
|
530 |
-
#: pages/func_backwpupeditjob.php:
|
531 |
msgid "Save Changes"
|
532 |
msgstr "Änderungen speichern"
|
533 |
|
@@ -537,72 +331,72 @@ msgid "Job Schedule"
|
|
537 |
msgstr "Auftragsplanung"
|
538 |
|
539 |
#@ backwpup
|
540 |
-
#: pages/func_backwpupeditjob.php:
|
541 |
msgid "Activate scheduling"
|
542 |
msgstr "Planung aktiv?"
|
543 |
|
544 |
#@ backwpup
|
545 |
-
#: pages/func_backwpupeditjob.php:
|
546 |
msgid "January"
|
547 |
msgstr "Januar"
|
548 |
|
549 |
#@ backwpup
|
550 |
-
#: pages/func_backwpupeditjob.php:
|
551 |
msgid "February"
|
552 |
msgstr "Februar"
|
553 |
|
554 |
#@ backwpup
|
555 |
-
#: pages/func_backwpupeditjob.php:
|
556 |
msgid "March"
|
557 |
msgstr "März"
|
558 |
|
559 |
#@ backwpup
|
560 |
-
#: pages/func_backwpupeditjob.php:
|
561 |
msgid "April"
|
562 |
msgstr "April"
|
563 |
|
564 |
#@ backwpup
|
565 |
-
#: pages/func_backwpupeditjob.php:
|
566 |
msgid "May"
|
567 |
msgstr "Mai"
|
568 |
|
569 |
#@ backwpup
|
570 |
-
#: pages/func_backwpupeditjob.php:
|
571 |
msgid "June"
|
572 |
msgstr "Juni"
|
573 |
|
574 |
#@ backwpup
|
575 |
-
#: pages/func_backwpupeditjob.php:
|
576 |
msgid "July"
|
577 |
msgstr "Juli"
|
578 |
|
579 |
#@ backwpup
|
580 |
-
#: pages/func_backwpupeditjob.php:
|
581 |
msgid "September"
|
582 |
msgstr "September"
|
583 |
|
584 |
#@ backwpup
|
585 |
-
#: pages/func_backwpupeditjob.php:
|
586 |
msgid "October"
|
587 |
msgstr "Oktober"
|
588 |
|
589 |
#@ backwpup
|
590 |
-
#: pages/func_backwpupeditjob.php:
|
591 |
msgid "November"
|
592 |
msgstr "November"
|
593 |
|
594 |
#@ backwpup
|
595 |
-
#: pages/func_backwpupeditjob.php:
|
596 |
msgid "December"
|
597 |
msgstr "Dezember"
|
598 |
|
599 |
#@ backwpup
|
600 |
-
#: pages/header_backwpupeditjob.php:
|
601 |
msgid "Send log"
|
602 |
msgstr "Sende Protokoll"
|
603 |
|
604 |
#@ backwpup
|
605 |
-
#: pages/func_backwpupeditjob.php:
|
606 |
msgid "E-Mail-Adress:"
|
607 |
msgstr "E-Mail-Adresse:"
|
608 |
|
@@ -643,51 +437,51 @@ msgid "Exclude Files/Folders from Backup:"
|
|
643 |
msgstr "Dateien/ Ordner von der Sicherung ausschließen:"
|
644 |
|
645 |
#@ backwpup
|
646 |
-
#: pages/func_backwpupeditjob.php:
|
647 |
#: pages/page_backwpupsettings.php:92
|
648 |
msgid "(Oldest files will deleted first.)"
|
649 |
msgstr "(Älteste Dateien werden zuerst gelöscht.)"
|
650 |
|
651 |
#@ backwpup
|
652 |
-
#: pages/header_backwpupeditjob.php:
|
653 |
msgid "Backup to FTP Server"
|
654 |
msgstr "Datensicherung zum FTP-Server"
|
655 |
|
656 |
#@ backwpup
|
657 |
-
#: pages/func_backwpupeditjob.php:
|
658 |
msgid "Hostname:"
|
659 |
msgstr "Hostname:"
|
660 |
|
661 |
#@ backwpup
|
662 |
-
#: pages/func_backwpupeditjob.php:
|
663 |
-
#: pages/func_backwpupeditjob.php:
|
664 |
msgid "Username:"
|
665 |
msgstr "Benutzername:"
|
666 |
|
667 |
#@ backwpup
|
668 |
-
#: pages/func_backwpupeditjob.php:
|
669 |
-
#: pages/func_backwpupeditjob.php:
|
670 |
msgid "Password:"
|
671 |
msgstr "Passwort:"
|
672 |
|
673 |
#@ backwpup
|
674 |
-
#: pages/header_backwpupeditjob.php:
|
675 |
msgid "Backup to Amazon S3"
|
676 |
msgstr "Datensicherung zu Amazon S3"
|
677 |
|
678 |
#@ backwpup
|
679 |
-
#: pages/func_backwpupeditjob.php:
|
680 |
msgid "Access Key ID:"
|
681 |
msgstr "Access Key ID (Zugangsschlüssel-ID):"
|
682 |
|
683 |
#@ backwpup
|
684 |
-
#: pages/func_backwpupeditjob.php:
|
685 |
msgid "Secret Access Key:"
|
686 |
msgstr "Secret Access Key (Geheimer Schlüssel):"
|
687 |
|
688 |
#@ backwpup
|
689 |
-
#: pages/func_backwpupeditjob.php:
|
690 |
-
#: pages/func_backwpupeditjob.php:
|
691 |
msgid "Bucket:"
|
692 |
msgstr "Bucket:"
|
693 |
|
@@ -697,26 +491,26 @@ msgid "Backup to E-Mail"
|
|
697 |
msgstr "Datensicherung via E-Mail"
|
698 |
|
699 |
#@ backwpup
|
700 |
-
#: pages/func_backwpupeditjob.php:
|
701 |
msgid "Max. File Size for sending Backups with mail:"
|
702 |
msgstr "Maximale Dateigröße zum Senden von Datensicherungen via E-Mail:"
|
703 |
|
704 |
#@ backwpup
|
705 |
-
#: backwpup-functions.php:
|
706 |
#: pages/page_backwpuplogs.php:10
|
707 |
msgid "BackWPup Logs"
|
708 |
msgstr "BackWPup Protokolle"
|
709 |
|
710 |
#@ backwpup
|
711 |
#: backwpup-functions.php:11
|
712 |
-
#: backwpup-functions.php:
|
713 |
#: pages/page_backwpupsettings.php:103
|
714 |
msgid "Jobs"
|
715 |
msgstr "Aufträge"
|
716 |
|
717 |
#@ backwpup
|
718 |
#: backwpup-functions.php:17
|
719 |
-
#: backwpup-functions.php:
|
720 |
#: pages/header_backwpupbackups.php:361
|
721 |
#: pages/header_backwpuplogs.php:63
|
722 |
#: pages/page_backwpupsettings.php:81
|
@@ -744,7 +538,7 @@ msgid "only Log"
|
|
744 |
msgstr "nur Protokoll"
|
745 |
|
746 |
#@ backwpup
|
747 |
-
#: pages/header_backwpupsettings.php:
|
748 |
msgid "Settings saved"
|
749 |
msgstr "Einstellungen gespeichert"
|
750 |
|
@@ -779,8 +573,8 @@ msgid "SMTP"
|
|
779 |
msgstr "SMTP"
|
780 |
|
781 |
#@ backwpup
|
782 |
-
#: pages/page_backwpupsettings.php:
|
783 |
-
#: pages/page_backwpupsettings.php:
|
784 |
msgid "Disable WP-Cron"
|
785 |
msgstr "WP-Cron deaktivieren"
|
786 |
|
@@ -886,49 +680,35 @@ msgid "Restore Done. Please delete the SQL file after Restore."
|
|
886 |
msgstr "Wiederherstellung abgeschlossen. Bitte löschen Sie die SQL-Datei nach der Wiederherstellung."
|
887 |
|
888 |
#@ backwpup
|
889 |
-
#: job/wp_export.php:
|
890 |
-
#: job/wp_export.php:
|
891 |
msgid "cURL:"
|
892 |
msgstr "cURL:"
|
893 |
|
894 |
#@ backwpup
|
895 |
-
#: job/
|
896 |
-
msgid "FTP Folder created!"
|
897 |
-
msgstr "FTP-Ordner erstellt!"
|
898 |
-
|
899 |
-
#@ backwpup
|
900 |
-
#: job/dest_ftp.php:93
|
901 |
-
msgid "FTP Folder on Server can not created!"
|
902 |
-
msgstr "Der FTP-Ordner auf dem Server kann nicht angelegt werden!"
|
903 |
-
|
904 |
-
#@ backwpup
|
905 |
-
#: job/dest_s3.php:60
|
906 |
-
msgid "Can not delete file on S3://"
|
907 |
-
msgstr "Datei auf S3 kann nicht gelöscht werden://"
|
908 |
-
|
909 |
-
#@ backwpup
|
910 |
-
#: job/dest_rsc.php:22
|
911 |
msgid "Connected to Rackspase ..."
|
912 |
msgstr "Verbunden mit Rackspace ..."
|
913 |
|
914 |
#@ backwpup
|
915 |
-
#: job/dest_rsc.php:
|
|
|
916 |
#: job/dest_rsc.php:98
|
917 |
msgid "Rackspase Cloud API:"
|
918 |
msgstr "Rackspace Cloud API (Schnittstelle):"
|
919 |
|
920 |
#@ backwpup
|
921 |
-
#: job/dest_rsc.php:
|
922 |
msgid "Rackspase Cloud Container not exists:"
|
923 |
msgstr "Rackspace Cloud Container existiert nicht:"
|
924 |
|
925 |
#@ backwpup
|
926 |
-
#: job/dest_rsc.php:
|
927 |
msgid "Backup File transferred to RSC://"
|
928 |
msgstr "Datensicherungsdatei übertragen zu RSC://"
|
929 |
|
930 |
#@ backwpup
|
931 |
-
#: job/dest_rsc.php:
|
932 |
msgid "Can not transfer backup to RSC."
|
933 |
msgstr "Datensicherung kann nicht zu RSC übertragen werden."
|
934 |
|
@@ -937,11 +717,6 @@ msgstr "Datensicherung kann nicht zu RSC übertragen werden."
|
|
937 |
msgid "Can not delete file on RSC://"
|
938 |
msgstr "Datei kann nicht gelöscht werden auf RSC://"
|
939 |
|
940 |
-
#@ backwpup
|
941 |
-
#: job/dest_rsc.php:94
|
942 |
-
msgid "files deleted on Racspase Cloud Container!"
|
943 |
-
msgstr "Dateien gelöscht auf dem Rackspase Cloud Container!"
|
944 |
-
|
945 |
#@ backwpup
|
946 |
#: pages/page_backwpupbackups.php:10
|
947 |
msgid "BackWPup Manage Backups"
|
@@ -949,53 +724,53 @@ msgstr "BackWPup-Datensicherungen verwalten"
|
|
949 |
|
950 |
#@ backwpup
|
951 |
#: backwpup-functions.php:19
|
952 |
-
#: backwpup-functions.php:
|
953 |
msgid "Backups"
|
954 |
msgstr "Datensicherungen"
|
955 |
|
956 |
#@ backwpup
|
957 |
-
#: backwpup-functions.php:
|
958 |
msgid "New"
|
959 |
msgstr "Neu"
|
960 |
|
961 |
#@ backwpup
|
962 |
-
#: pages/func_backwpupeditjob.php:
|
963 |
msgid "Missing Access Key ID!"
|
964 |
msgstr "Access Key ID wird vermisst!"
|
965 |
|
966 |
#@ backwpup
|
967 |
-
#: pages/func_backwpupeditjob.php:
|
968 |
msgid "Missing Secret Access Key!"
|
969 |
msgstr "Secret Access Key wird vermisst!"
|
970 |
|
971 |
#@ backwpup
|
972 |
-
#: pages/func_backwpupeditjob.php:
|
973 |
-
#: pages/func_backwpupeditjob.php:
|
974 |
msgid "Missing Username!"
|
975 |
msgstr "Falscher Benutzername!"
|
976 |
|
977 |
#@ backwpup
|
978 |
-
#: pages/func_backwpupeditjob.php:
|
979 |
msgid "Missing API Key!"
|
980 |
msgstr "API-Schlüssel wird vermisst!"
|
981 |
|
982 |
#@ backwpup
|
983 |
-
#: pages/func_backwpupeditjob.php:
|
984 |
msgid "No Containerss found!"
|
985 |
msgstr "Keine Container gefunden!"
|
986 |
|
987 |
#@ backwpup
|
988 |
-
#: backwpup-functions.php:
|
989 |
msgid "- Logs Folder not writeable:"
|
990 |
msgstr "- Protokolldateien-Ordner ist nicht beschreibbar:"
|
991 |
|
992 |
#@ backwpup
|
993 |
-
#: backwpup-functions.php:
|
994 |
msgid "- Please Check Scheduling time for Job:"
|
995 |
msgstr "- Bitte überprüfen Sie die Zeitplanung für den Auftrag (Scheduling):"
|
996 |
|
997 |
#@ backwpup
|
998 |
-
#: backwpup-functions.php:
|
999 |
msgid "- WP-Cron don't working please check it!"
|
1000 |
msgstr "- WP-Cron arbeitet nicht, bitte überprüfen Sie die Funktion!"
|
1001 |
|
@@ -1010,22 +785,22 @@ msgid "Information"
|
|
1010 |
msgstr "Information"
|
1011 |
|
1012 |
#@ backwpup
|
1013 |
-
#: pages/func_backwpup.php:
|
1014 |
msgid "Files Size:"
|
1015 |
msgstr "Größe der Dateien:"
|
1016 |
|
1017 |
#@ backwpup
|
1018 |
-
#: pages/func_backwpup.php:
|
1019 |
msgid "Files count:"
|
1020 |
msgstr "Dateizähler:"
|
1021 |
|
1022 |
#@ backwpup
|
1023 |
-
#: pages/func_backwpup.php:
|
1024 |
msgid "DB Tables:"
|
1025 |
msgstr "Datenbank-Tabellen:"
|
1026 |
|
1027 |
#@ backwpup
|
1028 |
-
#: pages/func_backwpup.php:
|
1029 |
msgid "DB Rows:"
|
1030 |
msgstr "Datenbank-Zeilen:"
|
1031 |
|
@@ -1061,116 +836,116 @@ msgid "?"
|
|
1061 |
msgstr "?"
|
1062 |
|
1063 |
#@ backwpup
|
1064 |
-
#: pages/func_backwpupeditjob.php:
|
1065 |
msgid "Minutes: "
|
1066 |
msgstr "Minuten: "
|
1067 |
|
1068 |
#@ backwpup
|
1069 |
-
#: pages/func_backwpupeditjob.php:
|
1070 |
-
#: pages/func_backwpupeditjob.php:
|
1071 |
-
#: pages/func_backwpupeditjob.php:
|
1072 |
-
#: pages/func_backwpupeditjob.php:
|
1073 |
-
#: pages/func_backwpupeditjob.php:
|
1074 |
msgid "Any (*)"
|
1075 |
msgstr "Alle (*)"
|
1076 |
|
1077 |
#@ backwpup
|
1078 |
-
#: pages/func_backwpupeditjob.php:
|
1079 |
msgid "Hours:"
|
1080 |
msgstr "Stunden:"
|
1081 |
|
1082 |
#@ backwpup
|
1083 |
-
#: pages/func_backwpupeditjob.php:
|
1084 |
msgid "Augest"
|
1085 |
msgstr "August"
|
1086 |
|
1087 |
#@ backwpup
|
1088 |
-
#: pages/func_backwpupeditjob.php:
|
1089 |
-
#: pages/func_backwpupeditjob.php:
|
1090 |
msgid "Sunday"
|
1091 |
msgstr "Sonntag"
|
1092 |
|
1093 |
#@ backwpup
|
1094 |
-
#: pages/func_backwpupeditjob.php:
|
1095 |
-
#: pages/func_backwpupeditjob.php:
|
1096 |
msgid "Monday"
|
1097 |
msgstr "Montag"
|
1098 |
|
1099 |
#@ backwpup
|
1100 |
-
#: pages/func_backwpupeditjob.php:
|
1101 |
-
#: pages/func_backwpupeditjob.php:
|
1102 |
msgid "Tuesday"
|
1103 |
msgstr "Dienstag"
|
1104 |
|
1105 |
#@ backwpup
|
1106 |
-
#: pages/func_backwpupeditjob.php:
|
1107 |
-
#: pages/func_backwpupeditjob.php:
|
1108 |
msgid "Wednesday"
|
1109 |
msgstr "Mittwoch"
|
1110 |
|
1111 |
#@ backwpup
|
1112 |
-
#: pages/func_backwpupeditjob.php:
|
1113 |
-
#: pages/func_backwpupeditjob.php:
|
1114 |
msgid "Thursday"
|
1115 |
msgstr "Donnerstag"
|
1116 |
|
1117 |
#@ backwpup
|
1118 |
-
#: pages/func_backwpupeditjob.php:
|
1119 |
-
#: pages/func_backwpupeditjob.php:
|
1120 |
msgid "Friday"
|
1121 |
msgstr "Freitag"
|
1122 |
|
1123 |
#@ backwpup
|
1124 |
-
#: pages/func_backwpupeditjob.php:
|
1125 |
-
#: pages/func_backwpupeditjob.php:
|
1126 |
msgid "Saturday"
|
1127 |
msgstr "Samstag"
|
1128 |
|
1129 |
#@ backwpup
|
1130 |
-
#: pages/func_backwpupeditjob.php:
|
1131 |
msgid "Working as <a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a> job schedule:"
|
1132 |
msgstr "Arbeiten nach der <a href=\"http://de.wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a>-Auftragsplanung:"
|
1133 |
|
1134 |
#@ backwpup
|
1135 |
-
#: pages/func_backwpupeditjob.php:
|
1136 |
msgid "Next runtime:"
|
1137 |
msgstr "Nächster Durchlauf:"
|
1138 |
|
1139 |
#@ backwpup
|
1140 |
-
#: pages/header_backwpupeditjob.php:
|
1141 |
msgid "Backup File"
|
1142 |
msgstr "Datensicherungsdatei"
|
1143 |
|
1144 |
#@ backwpup
|
1145 |
-
#: pages/func_backwpupeditjob.php:
|
1146 |
msgid "File Prefix:"
|
1147 |
msgstr "Datei-Vorsilbe:"
|
1148 |
|
1149 |
#@ backwpup
|
1150 |
-
#: pages/func_backwpupeditjob.php:
|
1151 |
msgid "File Formart:"
|
1152 |
msgstr "Dateiformat:"
|
1153 |
|
1154 |
#@ backwpup
|
1155 |
-
#: pages/func_backwpupeditjob.php:47
|
1156 |
#: pages/func_backwpupeditjob.php:49
|
|
|
1157 |
msgid "Zip"
|
1158 |
msgstr "Zip"
|
1159 |
|
1160 |
#@ backwpup
|
1161 |
-
#: pages/func_backwpupeditjob.php:
|
1162 |
msgid "Tar"
|
1163 |
msgstr "Tar"
|
1164 |
|
1165 |
#@ backwpup
|
1166 |
-
#: pages/func_backwpupeditjob.php:52
|
1167 |
#: pages/func_backwpupeditjob.php:54
|
|
|
1168 |
msgid "Tar GZip"
|
1169 |
msgstr "Tar GZip"
|
1170 |
|
1171 |
#@ backwpup
|
1172 |
-
#: pages/func_backwpupeditjob.php:56
|
1173 |
#: pages/func_backwpupeditjob.php:58
|
|
|
1174 |
msgid "Tar BZip2"
|
1175 |
msgstr "Tar BZip2"
|
1176 |
|
@@ -1209,115 +984,80 @@ msgid "Blog Uploads"
|
|
1209 |
msgstr "Blog-Uploads"
|
1210 |
|
1211 |
#@ backwpup
|
1212 |
-
#: pages/func_backwpupeditjob.php:
|
1213 |
msgid "Bucket Region"
|
1214 |
msgstr "Bucket Region"
|
1215 |
|
1216 |
#@ backwpup
|
1217 |
-
#: pages/func_backwpupeditjob.php:
|
1218 |
msgid "Save Backups with reduced redundancy!"
|
1219 |
msgstr "Sichere Datensicherungen mit reduzierter Redundanz!"
|
1220 |
|
1221 |
#@ backwpup
|
1222 |
-
#: pages/header_backwpupeditjob.php:
|
1223 |
msgid "Backup to Rackspace Cloud"
|
1224 |
msgstr "Datensicherung in die Rackspace Cloud"
|
1225 |
|
1226 |
#@ backwpup
|
1227 |
-
#: pages/func_backwpupeditjob.php:
|
1228 |
msgid "API Key:"
|
1229 |
msgstr "API-Schlüssel"
|
1230 |
|
1231 |
#@ backwpup
|
1232 |
-
#: pages/func_backwpupeditjob.php:
|
1233 |
-
#: pages/func_backwpupeditjob.php:
|
1234 |
msgid "Container:"
|
1235 |
msgstr "Container:"
|
1236 |
|
1237 |
#@ backwpup
|
1238 |
-
#: pages/func_backwpupeditjob.php:
|
1239 |
-
#: pages/func_backwpupeditjob.php:
|
1240 |
msgid "Create Container:"
|
1241 |
msgstr "Erstelle Container:"
|
1242 |
|
1243 |
#@ backwpup
|
1244 |
-
#: pages/header_backwpupeditjob.php:
|
1245 |
#, php-format
|
1246 |
msgid "Job '%1' changes saved."
|
1247 |
msgstr "Auftrag '%1' Veränderungen gepeichert."
|
1248 |
|
1249 |
#@ backwpup
|
1250 |
-
#: pages/header_backwpupeditjob.php:
|
1251 |
msgid "Jobs overview."
|
1252 |
msgstr "Auftragsüberblick"
|
1253 |
|
1254 |
#@ backwpup
|
1255 |
-
#: pages/func_backwpupeditjob.php:
|
1256 |
msgid "Use FTP Passiv mode."
|
1257 |
msgstr "FTP-Passiv-Modus benutzen."
|
1258 |
|
1259 |
#@ backwpup
|
1260 |
-
#: job/
|
1261 |
-
msgid "Files to Backup:"
|
1262 |
-
msgstr "Dateien zur Datensicherung:"
|
1263 |
-
|
1264 |
-
#@ backwpup
|
1265 |
-
#: job/file_list.php:74
|
1266 |
-
msgid "Size of all Files:"
|
1267 |
-
msgstr "Größe aller Dateien:"
|
1268 |
-
|
1269 |
-
#@ backwpup
|
1270 |
-
#: job/dest_ftp.php:22
|
1271 |
-
msgid "Connected by SSL-FTP to Server:"
|
1272 |
-
msgstr "Verbunden via SSL-FTP zum Server:"
|
1273 |
-
|
1274 |
-
#@ backwpup
|
1275 |
-
#: job/dest_ftp.php:24
|
1276 |
-
msgid "Can not connect by SSL-FTP to Server:"
|
1277 |
-
msgstr "Verbindung via SSL-FTP zum Server kann nicht hergestellt werden:"
|
1278 |
-
|
1279 |
-
#@ backwpup
|
1280 |
-
#: job/dest_ftp.php:28
|
1281 |
-
msgid "PHP Function to connect with SSL-FTP to Server not exists!"
|
1282 |
-
msgstr "Die PHP-Funktion, um via SSL-FTP zum Server zu verbinden, existiert nicht!"
|
1283 |
-
|
1284 |
-
#@ backwpup
|
1285 |
-
#: job/dest_ftp.php:34
|
1286 |
-
msgid "Connected to FTP Server:"
|
1287 |
-
msgstr "Verbunden mit dem FTP-Server:"
|
1288 |
-
|
1289 |
-
#@ backwpup
|
1290 |
-
#: job/dest_ftp.php:36
|
1291 |
-
msgid "Can not connect to FTP Server:"
|
1292 |
-
msgstr "Verbindung zu FTP-Server kann nicht hergestellt werden:"
|
1293 |
-
|
1294 |
-
#@ backwpup
|
1295 |
-
#: job/dest_ftp.php:65
|
1296 |
msgid "Entering Passive Mode"
|
1297 |
msgstr "Passivmodus wird betreten"
|
1298 |
|
1299 |
#@ backwpup
|
1300 |
-
#: job/dest_ftp.php:
|
1301 |
msgid "Entering Normal Mode"
|
1302 |
msgstr "Normalmodus wird betreten"
|
1303 |
|
1304 |
#@ backwpup
|
1305 |
-
#: job/dest_ftp.php:
|
1306 |
msgid "Can not Entering Normal Mode"
|
1307 |
msgstr "Normalmodus kann nicht betreten werden"
|
1308 |
|
1309 |
#@ backwpup
|
1310 |
-
#: job/dest_ftp.php:
|
1311 |
msgid "Error getting SYSTYPE"
|
1312 |
msgstr "Fehler, SYSTYPE wird angezeigt"
|
1313 |
|
1314 |
#@ backwpup
|
1315 |
-
#: pages/func_backwpupeditjob.php:
|
1316 |
msgid "Use SSL-FTP Connection."
|
1317 |
msgstr "Benutze SSL-FTP-Verbindung."
|
1318 |
|
1319 |
#@ backwpup
|
1320 |
-
#: pages/header_backwpupeditjob.php:
|
1321 |
msgid "Backup to Dropbox"
|
1322 |
msgstr "Datensicherung in die Dropbox"
|
1323 |
|
@@ -1333,16 +1073,6 @@ msgstr "Daniel Hüsken"
|
|
1333 |
msgid "http://danielhuesken.de"
|
1334 |
msgstr "http://danielhuesken.de/"
|
1335 |
|
1336 |
-
#@ backwpup
|
1337 |
-
#: job/dest_s3.php:70
|
1338 |
-
msgid "Amazon S3 API:"
|
1339 |
-
msgstr "Amazon S3 API (Schnittstelle):"
|
1340 |
-
|
1341 |
-
#@ backwpup
|
1342 |
-
#: job/job_functions.php:443
|
1343 |
-
msgid "BackWPup Log from"
|
1344 |
-
msgstr "BackWPup Protokolldaten von"
|
1345 |
-
|
1346 |
#@ default
|
1347 |
#@ backwpup
|
1348 |
#: pages/func_backwpup.php:52
|
@@ -1366,22 +1096,22 @@ msgid "Log"
|
|
1366 |
msgstr "Protokoll"
|
1367 |
|
1368 |
#@ backwpup
|
1369 |
-
#: pages/func_backwpupeditjob.php:
|
1370 |
msgid "US-East (Northern Virginia)"
|
1371 |
msgstr "US-Ost (Nord-Virginia)"
|
1372 |
|
1373 |
#@ backwpup
|
1374 |
-
#: pages/func_backwpupeditjob.php:
|
1375 |
msgid "US-West (Northern California)"
|
1376 |
msgstr "US-West (Nordkalifornien)"
|
1377 |
|
1378 |
#@ backwpup
|
1379 |
-
#: pages/func_backwpupeditjob.php:
|
1380 |
msgid "EU (Ireland)"
|
1381 |
msgstr "EU (Irland)"
|
1382 |
|
1383 |
#@ backwpup
|
1384 |
-
#: pages/func_backwpupeditjob.php:
|
1385 |
msgid "Asia Pacific (Singapore)"
|
1386 |
msgstr "Asien/ Pazifik (Singapur)"
|
1387 |
|
@@ -1435,139 +1165,84 @@ msgid "Jobs imported!"
|
|
1435 |
msgstr "Aufträge importiert!"
|
1436 |
|
1437 |
#@ backwpup
|
1438 |
-
#:
|
1439 |
-
msgid "Microsoft Azure Container not exists:"
|
1440 |
-
msgstr "Microsoft Azure Container existiert nicht:"
|
1441 |
-
|
1442 |
-
#@ backwpup
|
1443 |
-
#: job/dest_msazure.php:26
|
1444 |
-
msgid "Connected to Microsoft Azure Container:"
|
1445 |
-
msgstr "Mit Microsoft Azure Container verbinden:"
|
1446 |
-
|
1447 |
-
#@ backwpup
|
1448 |
-
#: job/dest_msazure.php:35
|
1449 |
-
msgid "Backup File transferred to azure://"
|
1450 |
-
msgstr "Datensicherungsdatei übertragen zu azure://"
|
1451 |
-
|
1452 |
-
#@ backwpup
|
1453 |
-
#: job/dest_msazure.php:38
|
1454 |
-
msgid "Can not transfer backup to Microsoft Azure."
|
1455 |
-
msgstr "Die Datensicherungsdatei kann nicht zu Microsoft Azure übertragen werden."
|
1456 |
-
|
1457 |
-
#@ backwpup
|
1458 |
-
#: job/dest_msazure.php:59
|
1459 |
-
msgid "files deleted on Microsoft Azure Container!"
|
1460 |
-
msgstr "Dateien gelöscht im Microsoft Azure Container!"
|
1461 |
-
|
1462 |
-
#@ backwpup
|
1463 |
-
#: job/dest_msazure.php:64
|
1464 |
-
msgid "Microsoft Azure API:"
|
1465 |
-
msgstr "Microsoft Azure API (Schnittstelle):"
|
1466 |
-
|
1467 |
-
#@ backwpup
|
1468 |
-
#: pages/func_backwpupeditjob.php:673
|
1469 |
msgid "Missing Hostname!"
|
1470 |
msgstr "Hostname (Server) nicht angegeben!"
|
1471 |
|
1472 |
#@ backwpup
|
1473 |
-
#: pages/func_backwpupeditjob.php:
|
1474 |
msgid "Missing Account Name!"
|
1475 |
msgstr "Kontoname (Benutzername) nicht angegeben!"
|
1476 |
|
1477 |
#@ backwpup
|
1478 |
-
#: pages/func_backwpupeditjob.php:
|
1479 |
-
#: pages/func_backwpupeditjob.php:
|
1480 |
msgid "Missing Access Key!"
|
1481 |
msgstr "Zugangsschlüssel (Access Key) nicht angegeben!"
|
1482 |
|
1483 |
#@ backwpup
|
1484 |
-
#: pages/func_backwpupeditjob.php:
|
1485 |
msgid "No Container found!"
|
1486 |
msgstr "Kein Container gefunden!"
|
1487 |
|
1488 |
#@ backwpup
|
1489 |
-
#: pages/func_backwpupeditjob.php:
|
1490 |
msgid "Asia Pacific (Japan)"
|
1491 |
msgstr "Asien Pazifik (Japan)"
|
1492 |
|
1493 |
#@ backwpup
|
1494 |
-
#: pages/header_backwpupeditjob.php:
|
1495 |
msgid "Backup to Micosoft Azure (Blob)"
|
1496 |
msgstr "Datensicherung zu Microsoft Azure (Blob)"
|
1497 |
|
1498 |
#@ backwpup
|
1499 |
-
#: pages/func_backwpupeditjob.php:
|
1500 |
msgid "Host:"
|
1501 |
msgstr "Host (Server):"
|
1502 |
|
1503 |
#@ backwpup
|
1504 |
-
#: pages/func_backwpupeditjob.php:
|
1505 |
msgid "Normely: blob.core.windows.net"
|
1506 |
msgstr "Normalerweise: blob.core.windows.net"
|
1507 |
|
1508 |
#@ backwpup
|
1509 |
-
#: pages/func_backwpupeditjob.php:
|
1510 |
msgid "Account Name:"
|
1511 |
msgstr "Kontoname/ Benutzername:"
|
1512 |
|
1513 |
#@ backwpup
|
1514 |
-
#: pages/func_backwpupeditjob.php:
|
1515 |
-
#: pages/func_backwpupeditjob.php:
|
1516 |
msgid "Access Key:"
|
1517 |
msgstr "Zugangsschlüssel (Access Key):"
|
1518 |
|
1519 |
#@ backwpup
|
1520 |
-
#:
|
1521 |
-
|
1522 |
-
|
|
|
|
|
|
|
|
|
|
|
1523 |
|
1524 |
#@ backwpup
|
1525 |
-
#: job/dest_dropbox.php:
|
1526 |
-
msgid "
|
1527 |
-
msgstr "
|
1528 |
|
1529 |
#@ backwpup
|
1530 |
-
#:
|
1531 |
-
msgid "
|
1532 |
-
msgstr "
|
1533 |
|
1534 |
#@ backwpup
|
1535 |
-
#: pages/func_backwpupeditjob.php:
|
1536 |
-
#: pages/func_backwpupeditjob.php:292
|
1537 |
-
#: pages/func_backwpupeditjob.php:319
|
1538 |
-
#: pages/func_backwpupeditjob.php:342
|
1539 |
-
#: pages/func_backwpupeditjob.php:369
|
1540 |
-
#: pages/func_backwpupeditjob.php:391
|
1541 |
-
msgid "Create Account"
|
1542 |
-
msgstr "Konto erstellen"
|
1543 |
-
|
1544 |
-
#@ backwpup
|
1545 |
-
#: job/dest_dropbox.php:28
|
1546 |
-
msgid "Authed to DropBox from "
|
1547 |
-
msgstr "Authentifiziert mit Dropbox von "
|
1548 |
-
|
1549 |
-
#@ backwpup
|
1550 |
-
#: job/dest_dropbox.php:33
|
1551 |
-
msgid "No free space left on DropBox!!!"
|
1552 |
-
msgstr "Kein freier Speicherplatz mehr übrig auf Dropbox!!!"
|
1553 |
-
|
1554 |
-
#@ backwpup
|
1555 |
-
#: job/dest_dropbox.php:37
|
1556 |
-
msgid "Free Space on DropBox: "
|
1557 |
-
msgstr "Freier Speicherplatz auf Dropbox: "
|
1558 |
-
|
1559 |
-
#@ backwpup
|
1560 |
-
#: pages/func_backwpupeditjob.php:124
|
1561 |
-
msgid "Day of Month:"
|
1562 |
-
msgstr "Tag des Monats:"
|
1563 |
-
|
1564 |
-
#@ backwpup
|
1565 |
-
#: pages/func_backwpupeditjob.php:155
|
1566 |
msgid "Day of Week:"
|
1567 |
msgstr "Wochentag:"
|
1568 |
|
1569 |
#@ backwpup
|
1570 |
-
#: pages/func_backwpupeditjob.php:
|
1571 |
msgid "Only send an e-mail if there are errors."
|
1572 |
msgstr "Eine E-Mail nur senden, wenn Fehler auftraten."
|
1573 |
|
@@ -1577,54 +1252,54 @@ msgid "Use short INSERTs instead of full (with keys)"
|
|
1577 |
msgstr "Kurze INSERTs benutzen, statt kompletter (mit Schlüssel)"
|
1578 |
|
1579 |
#@ backwpup
|
1580 |
-
#: pages/func_backwpupeditjob.php:
|
1581 |
-
#: pages/func_backwpupeditjob.php:
|
1582 |
-
#: pages/func_backwpupeditjob.php:
|
1583 |
-
#: pages/func_backwpupeditjob.php:
|
1584 |
-
#: pages/func_backwpupeditjob.php:
|
1585 |
-
#: pages/func_backwpupeditjob.php:
|
1586 |
-
#: pages/func_backwpupeditjob.php:
|
1587 |
msgid "(Oldest files will be deleted first.)"
|
1588 |
msgstr "(Älteste Dateien werden zuerst gelöscht.)"
|
1589 |
|
1590 |
#@ backwpup
|
1591 |
-
#: pages/func_backwpupeditjob.php:
|
1592 |
msgid "Login:"
|
1593 |
msgstr "Login:"
|
1594 |
|
1595 |
#@ backwpup
|
1596 |
-
#: pages/func_backwpupeditjob.php:
|
1597 |
msgid "Not authenticated!"
|
1598 |
msgstr "Nicht authentifiziert!"
|
1599 |
|
1600 |
#@ backwpup
|
1601 |
-
#: pages/func_backwpupeditjob.php:
|
1602 |
msgid "Authenticate!"
|
1603 |
msgstr "Authentifizieren!"
|
1604 |
|
1605 |
#@ backwpup
|
1606 |
-
#: pages/func_backwpupeditjob.php:
|
1607 |
msgid "Authenticated!"
|
1608 |
msgstr "Authentifiziert!"
|
1609 |
|
1610 |
#@ backwpup
|
1611 |
-
#: pages/func_backwpupeditjob.php:
|
1612 |
msgid "Delete!"
|
1613 |
msgstr "Löschen!"
|
1614 |
|
1615 |
#@ backwpup
|
1616 |
-
#: pages/func_backwpupeditjob.php:
|
1617 |
-
#: pages/func_backwpupeditjob.php:
|
1618 |
msgid "E-mail address:"
|
1619 |
msgstr "E-Mail-Adresse:"
|
1620 |
|
1621 |
#@ backwpup
|
1622 |
-
#: pages/header_backwpupeditjob.php:
|
1623 |
msgid "Dropbox authentication deleted!"
|
1624 |
msgstr "Dropbox-Authentifizierung gelöscht!"
|
1625 |
|
1626 |
#@ backwpup
|
1627 |
-
#: pages/page_backwpupsettings.php:
|
1628 |
msgid "Use your host's Cron Job and disable WP-Cron"
|
1629 |
msgstr "Den Cron-Job Ihres Webhosters/ -Servers benutzen und WP-Cron deaktivieren"
|
1630 |
|
@@ -1634,53 +1309,33 @@ msgid "Copy SQL file to blog root folder to use for a restoration."
|
|
1634 |
msgstr "Die SQL-Datei in den root-Ordner Ihrer Webseite (bzw. WordPress-Installation) kopieren, damit die Datei für eine Wiederherstellung genutzt werden kann."
|
1635 |
|
1636 |
#@ backwpup
|
1637 |
-
#: backwpup-functions.php:
|
1638 |
msgid "- Logs Folder not exists:"
|
1639 |
msgstr "- Der Protokolldateien-Ordner existiert nicht:"
|
1640 |
|
1641 |
#@ backwpup
|
1642 |
-
#:
|
1643 |
-
msgid "SugarSync API:"
|
1644 |
-
msgstr "SugarSync-API (Schnittstelle):"
|
1645 |
-
|
1646 |
-
#@ backwpup
|
1647 |
-
#: pages/header_backwpupeditjob.php:251
|
1648 |
msgid "Backup to SugarSync"
|
1649 |
msgstr "Datensicherung zu SugarSync"
|
1650 |
|
1651 |
#@ backwpup
|
1652 |
-
#: job/dest_sugarsync.php:
|
1653 |
-
msgid "Authed to SugarSync with Nick "
|
1654 |
-
msgstr "Authentifiziert mit SugarSync mit Nick "
|
1655 |
-
|
1656 |
-
#@ backwpup
|
1657 |
-
#: job/dest_sugarsync.php:28
|
1658 |
msgid "No free space left on SugarSync!!!"
|
1659 |
msgstr "Sie haben keinen freien Speicherplatz mehr übrig bei SugarSync!!!"
|
1660 |
|
1661 |
#@ backwpup
|
1662 |
-
#:
|
1663 |
-
|
1664 |
-
msgstr "Freier Speicherplatz bei SugarSync: "
|
1665 |
-
|
1666 |
-
#@ backwpup
|
1667 |
-
#: job/dest_sugarsync.php:48
|
1668 |
-
msgid "Can not transfere Backup file to SugarSync:"
|
1669 |
-
msgstr "Datensicherungsdatei kann nicht zu SugarSync übertragen werden:"
|
1670 |
-
|
1671 |
-
#@ backwpup
|
1672 |
-
#: pages/func_backwpupeditjob.php:359
|
1673 |
-
#: pages/func_backwpupeditjob.php:383
|
1674 |
msgid "Root:"
|
1675 |
msgstr "Root:"
|
1676 |
|
1677 |
#@ backwpup
|
1678 |
-
#: pages/func_backwpupeditjob.php:
|
1679 |
msgid "Missing Password!"
|
1680 |
msgstr "Passwort fehlt!"
|
1681 |
|
1682 |
#@ backwpup
|
1683 |
-
#: pages/func_backwpupeditjob.php:
|
1684 |
msgid "No Syncfolders found!"
|
1685 |
msgstr "Keine Sync-Ordner gefunden!"
|
1686 |
|
@@ -1705,12 +1360,12 @@ msgid "Working"
|
|
1705 |
msgstr "In Bearbeitung"
|
1706 |
|
1707 |
#@ backwpup
|
1708 |
-
#: backwpup-functions.php:
|
1709 |
msgid "View Log:"
|
1710 |
msgstr "Protokoll ansehen:"
|
1711 |
|
1712 |
#@ backwpup
|
1713 |
-
#: backwpup-functions.php:
|
1714 |
#: pages/func_backwpuplogs.php:141
|
1715 |
#, php-format
|
1716 |
msgid "%d ERROR"
|
@@ -1719,7 +1374,7 @@ msgstr[0] "%d FEHLER"
|
|
1719 |
msgstr[1] "%d FEHLER"
|
1720 |
|
1721 |
#@ backwpup
|
1722 |
-
#: backwpup-functions.php:
|
1723 |
#: pages/func_backwpuplogs.php:143
|
1724 |
#, php-format
|
1725 |
msgid "%d WARNING"
|
@@ -1728,348 +1383,89 @@ msgstr[0] "%d WARNUNG"
|
|
1728 |
msgstr[1] "%d WARNUNGEN"
|
1729 |
|
1730 |
#@ backwpup
|
1731 |
-
#: backwpup-functions.php:
|
1732 |
#: pages/func_backwpuplogs.php:145
|
1733 |
msgid "O.K."
|
1734 |
msgstr "O.K."
|
1735 |
|
1736 |
#@ backwpup
|
1737 |
-
#: backwpup-functions.php:
|
1738 |
msgid "How many of the lastes logs would you like to display?"
|
1739 |
msgstr "Wieviele der letzten Protokolle wollen Sie anzeigen lassen?"
|
1740 |
|
1741 |
#@ backwpup
|
1742 |
-
#: backwpup-functions.php:
|
1743 |
#, php-format
|
1744 |
msgid "working since %d sec."
|
1745 |
msgstr "in Arbeit seit %d Sek."
|
1746 |
|
1747 |
#@ backwpup
|
1748 |
-
#: backwpup-functions.php:
|
1749 |
#: pages/func_backwpup.php:113
|
1750 |
msgid "View!"
|
1751 |
msgstr "Ansehen!"
|
1752 |
|
1753 |
#@ backwpup
|
1754 |
-
#: backwpup-functions.php:
|
1755 |
#: pages/func_backwpup.php:114
|
1756 |
msgid "Abort!"
|
1757 |
msgstr "Abbrechen!"
|
1758 |
|
1759 |
#@ backwpup
|
1760 |
-
#: backwpup-functions.php:
|
1761 |
msgid "BackWPup Aktive Jobs"
|
1762 |
msgstr "BackWPup aktive Aufträge"
|
1763 |
|
1764 |
#@ backwpup
|
1765 |
-
#: backwpup-functions.php:
|
1766 |
msgid "- PHP 5.2.4 or higher needed!"
|
1767 |
msgstr "- PHP 5.2.4 oder höher ist erforderlich!"
|
1768 |
|
1769 |
#@ backwpup
|
1770 |
-
#:
|
1771 |
-
msgid "- Multiseite Blogs not allowed!"
|
1772 |
-
msgstr "- Multisite-Installationen sind nicht möglich!"
|
1773 |
-
|
1774 |
-
#@ backwpup
|
1775 |
-
#: backwpup-functions.php:671
|
1776 |
-
msgid "- curl is needed!"
|
1777 |
-
msgstr "- CURL ist erforderlich!"
|
1778 |
-
|
1779 |
-
#@ backwpup
|
1780 |
-
#: backwpup-functions.php:675
|
1781 |
-
msgid "- PHP sessions needed!"
|
1782 |
-
msgstr "- PHP-Sessions sind erforderlich!"
|
1783 |
-
|
1784 |
-
#@ backwpup
|
1785 |
-
#: job/backup_create.php:17
|
1786 |
-
msgid "Try to create backup zip file..."
|
1787 |
-
msgstr "Versuch, die Datensicherungs-ZIP-Datei zu erstellen..."
|
1788 |
-
|
1789 |
-
#@ backwpup
|
1790 |
-
#: job/backup_create.php:29
|
1791 |
-
msgid "Backup zip file create done!"
|
1792 |
-
msgstr "Datensicherungs-ZIP-Datei wurde erstellt!"
|
1793 |
-
|
1794 |
-
#@ backwpup
|
1795 |
-
#: job/backup_create.php:32
|
1796 |
-
msgid "Can not create backup zip file:"
|
1797 |
-
msgstr "Datensicherungs-ZIP-Datei kann nicht erstellt werden:"
|
1798 |
-
|
1799 |
-
#@ backwpup
|
1800 |
-
#: job/backup_create.php:39
|
1801 |
-
msgid "Try to create backup zip (PclZip) file..."
|
1802 |
-
msgstr "Versuche Datensicherungs-ZIP-Dateie (PcLZip) zu erstellen..."
|
1803 |
-
|
1804 |
-
#@ backwpup
|
1805 |
-
#: job/backup_create.php:67
|
1806 |
-
msgid "Can not create tar backup file"
|
1807 |
-
msgstr "Tar Datensicherungsdatei kann nicht erstellt werden"
|
1808 |
-
|
1809 |
-
#@ backwpup
|
1810 |
-
#: job/backup_create.php:70
|
1811 |
-
msgid "Try to create backup archive file..."
|
1812 |
-
msgstr "Versuche Datensicherungs-Archivdatei zu erstellen..."
|
1813 |
-
|
1814 |
-
#@ backwpup
|
1815 |
-
#: job/backup_create.php:79
|
1816 |
-
msgid "File not readable:"
|
1817 |
-
msgstr "Datei nicht lesbar:"
|
1818 |
-
|
1819 |
-
#@ backwpup
|
1820 |
-
#: job/backup_create.php:94
|
1821 |
-
msgid "File name to long to save corectly in tar backup archive:"
|
1822 |
-
msgstr "Dateiname ist zu lang, um die Datei korrekt im Tar Datensicherungsarchiv speichern zu können:"
|
1823 |
-
|
1824 |
-
#@ backwpup
|
1825 |
-
#: job/backup_create.php:96
|
1826 |
-
msgid "File path to long to save corectly in tar backup archive:"
|
1827 |
-
msgstr "Dateipfad ist zu lang um die Datei korrekt im Tar Datensicherungsarchiv speichern zu können:"
|
1828 |
-
|
1829 |
-
#@ backwpup
|
1830 |
-
#: job/backup_create.php:177
|
1831 |
-
#, php-format
|
1832 |
-
msgid "Backup archive file size is %1s"
|
1833 |
-
msgstr "Datensicherungsarchiv-Dateigröße ist %1s"
|
1834 |
-
|
1835 |
-
#@ backwpup
|
1836 |
-
#: job/db_check.php:9
|
1837 |
-
msgid "Try to run Database check..."
|
1838 |
-
msgstr "Versuche Datenbank-Check laufen zu lassen..."
|
1839 |
-
|
1840 |
-
#@ backwpup
|
1841 |
-
#: job/db_dump.php:10
|
1842 |
-
msgid "Try for dump database to file..."
|
1843 |
-
msgstr "Versuche Datenbank in Datei zu dumpen..."
|
1844 |
-
|
1845 |
-
#@ backwpup
|
1846 |
-
#: job/db_dump.php:81
|
1847 |
-
msgid "Add Database Dump to Backup list:"
|
1848 |
-
msgstr "Füge Datenbank-Dump der Datensicherungs-Liste hinzu:"
|
1849 |
-
|
1850 |
-
#@ backwpup
|
1851 |
-
#: job/db_optimize.php:9
|
1852 |
-
msgid "Try to run database optimize..."
|
1853 |
-
msgstr "Versuche die Datenbank-Optimierung laufen zu lassen..."
|
1854 |
-
|
1855 |
-
#@ backwpup
|
1856 |
-
#: job/dest_dropbox.php:15
|
1857 |
-
msgid "Try to sending backup file to DropBox..."
|
1858 |
-
msgstr "Versuche Datensicherungsdatei an die Dropbox zu senden..."
|
1859 |
-
|
1860 |
-
#@ backwpup
|
1861 |
-
#: job/dest_dropbox.php:42
|
1862 |
-
msgid "Upload to DropBox now started ... "
|
1863 |
-
msgstr "Hochladen in die Dropbox hat begonnen ... "
|
1864 |
-
|
1865 |
-
#@ backwpup
|
1866 |
-
#: job/dest_ftp.php:14
|
1867 |
-
msgid "Try to sending backup file to a FTP Server..."
|
1868 |
-
msgstr "Versuche Datensicherungsdatei an einen FTP-Server zu senden..."
|
1869 |
-
|
1870 |
-
#@ backwpup
|
1871 |
-
#: job/dest_ftp.php:98
|
1872 |
msgid "Upload to FTP now started ... "
|
1873 |
msgstr "Hochladen ins FTP-Verzeichnis hat begonnen ... "
|
1874 |
|
1875 |
#@ backwpup
|
1876 |
-
#: job/
|
1877 |
-
msgid "Try to sending backup file to Google Storage..."
|
1878 |
-
msgstr "Versuche Datensicherungsdatei zu Google Storage zu senden..."
|
1879 |
-
|
1880 |
-
#@ backwpup
|
1881 |
-
#: job/dest_gstorage.php:23
|
1882 |
-
msgid "Connected to Google storage bucket:"
|
1883 |
-
msgstr "Verbunden mit Google Storage Bucket:"
|
1884 |
-
|
1885 |
-
#@ backwpup
|
1886 |
-
#: job/dest_gstorage.php:34
|
1887 |
-
msgid "Upload to Google storage now started ... "
|
1888 |
-
msgstr "Hochladen zu Google Storage hat begonnen ... "
|
1889 |
-
|
1890 |
-
#@ backwpup
|
1891 |
-
#: job/dest_gstorage.php:39
|
1892 |
-
msgid "Backup File transferred to GSTORAGE://"
|
1893 |
-
msgstr "Datensicherungsdatei übertragen zu GSTORAGE://"
|
1894 |
-
|
1895 |
-
#@ backwpup
|
1896 |
-
#: job/dest_gstorage.php:42
|
1897 |
-
msgid "Can not transfer backup to Google storage!"
|
1898 |
-
msgstr "Kann Datensicherungsdatei nicht zu Google Storage übertragen!"
|
1899 |
-
|
1900 |
-
#@ backwpup
|
1901 |
-
#: job/dest_gstorage.php:63
|
1902 |
-
msgid "files deleted on Google Storage Bucket!"
|
1903 |
-
msgstr "Dateie(n) gelöscht im Google Storage Bucket!"
|
1904 |
-
|
1905 |
-
#@ backwpup
|
1906 |
-
#: job/dest_gstorage.php:67
|
1907 |
-
msgid "Bucket error:"
|
1908 |
-
msgstr "Bucket-Fehler:"
|
1909 |
-
|
1910 |
-
#@ backwpup
|
1911 |
-
#: job/dest_gstorage.php:70
|
1912 |
-
msgid "Amazon Google Storage API:"
|
1913 |
-
msgstr "Amazon Google Storage API (Schnittstelle):"
|
1914 |
-
|
1915 |
-
#@ backwpup
|
1916 |
-
#: job/dest_mail.php:15
|
1917 |
-
msgid "Try to sending backup file with mail..."
|
1918 |
-
msgstr "Versuche Datensicherungsdatei via E-Mail zu senden..."
|
1919 |
-
|
1920 |
-
#@ backwpup
|
1921 |
-
#: job/dest_mail.php:47
|
1922 |
-
msgid "Backup File:"
|
1923 |
-
msgstr "Datensicherungsdatei:"
|
1924 |
-
|
1925 |
-
#@ backwpup
|
1926 |
-
#: job/dest_msazure.php:14
|
1927 |
-
msgid "Try to sending backup file to a Microsoft Azure (Blob)..."
|
1928 |
-
msgstr "Versuche Datensicherungsdatei zu Microsfot Azure (Blob) zu senden..."
|
1929 |
-
|
1930 |
-
#@ backwpup
|
1931 |
-
#: job/dest_msazure.php:29
|
1932 |
-
msgid "Upload to MS Azure now started ... "
|
1933 |
-
msgstr "Hochladen zu MS Azure hat begonnen ... "
|
1934 |
-
|
1935 |
-
#@ backwpup
|
1936 |
-
#: job/dest_rsc.php:13
|
1937 |
msgid "Try to sending backup file to Rackspace Cloud..."
|
1938 |
msgstr "Versuche Datensicherungsdatei an die Rackspace Cloud zu senden..."
|
1939 |
|
1940 |
#@ backwpup
|
1941 |
-
#: job/dest_rsc.php:
|
1942 |
msgid "Upload to RSC now started ... "
|
1943 |
msgstr "Hochladen zu RSC hat begonnen ... "
|
1944 |
|
1945 |
#@ backwpup
|
1946 |
-
#: job/
|
1947 |
-
msgid "Try to sending backup file to Amazon S3..."
|
1948 |
-
msgstr "Versuche Datensicherungsdatei an Amazon S3 zu senden..."
|
1949 |
-
|
1950 |
-
#@ backwpup
|
1951 |
-
#: job/dest_s3.php:35
|
1952 |
-
msgid "Upload to Amazon S3 now started ... "
|
1953 |
-
msgstr "Hochladen zu Amazon S3 hat begonnen ... "
|
1954 |
-
|
1955 |
-
#@ backwpup
|
1956 |
-
#: job/dest_sugarsync.php:15
|
1957 |
-
msgid "Try to sending backup file to sugarsync..."
|
1958 |
-
msgstr "Versuche Datensicherungsdatei zu SugarSync zu senden..."
|
1959 |
-
|
1960 |
-
#@ backwpup
|
1961 |
-
#: job/dest_sugarsync.php:40
|
1962 |
-
msgid "Upload to SugarSync now started ... "
|
1963 |
-
msgstr "Hochladen zu SugarSync hat begonnen ... "
|
1964 |
-
|
1965 |
-
#@ backwpup
|
1966 |
-
#: job/dest_sugarsync.php:71
|
1967 |
-
msgid "files deleted on Sugarsync folder!"
|
1968 |
-
msgstr "Dateien gelöscht im SugarSync-Ordner!"
|
1969 |
-
|
1970 |
-
#@ backwpup
|
1971 |
-
#: job/file_list.php:11
|
1972 |
-
msgid "WORKINGFILE_LISTSTEP_TRY. Try for make a list of files to Backup ...."
|
1973 |
-
msgstr "WORKINGFILE_LISTSTEP_TRY. Versuche eine Liste mit Dateien zum Sichern zu erstellen ..."
|
1974 |
-
|
1975 |
-
#@ backwpup
|
1976 |
-
#: job/file_list.php:97
|
1977 |
-
msgid "File or folder is not readable:"
|
1978 |
-
msgstr "Datei oder Ordner ist nicht lesbar:"
|
1979 |
-
|
1980 |
-
#@ backwpup
|
1981 |
-
#: job/file_list.php:99
|
1982 |
-
msgid "Links not followed:"
|
1983 |
-
msgstr "Links nicht gefolgt:"
|
1984 |
-
|
1985 |
-
#@ backwpup
|
1986 |
-
#: job/job_functions.php:331
|
1987 |
-
msgid " old Log files deleted!!!"
|
1988 |
-
msgstr " alte Protokolldateien gelöscht!!!"
|
1989 |
-
|
1990 |
-
#@ backwpup
|
1991 |
-
#: job/job_functions.php:470
|
1992 |
msgid "To many restarts...."
|
1993 |
msgstr "Zu viele Neustarts..."
|
1994 |
|
1995 |
#@ backwpup
|
1996 |
-
#: job/job_functions.php:
|
1997 |
msgid "Script stop! Will started again now!"
|
1998 |
msgstr "Skript-Stop! Wird jetzt wieder neu gestartet!"
|
1999 |
|
2000 |
#@ backwpup
|
2001 |
-
#: job/
|
2002 |
-
msgid "No MySQL connection:"
|
2003 |
-
msgstr "Keine MySQL-Verbindung:"
|
2004 |
-
|
2005 |
-
#@ backwpup
|
2006 |
-
#: job/job_functions.php:223
|
2007 |
-
msgid "No MySQL connection to database:"
|
2008 |
-
msgstr "Keine MySQL-Verbindung zur Datenbank:"
|
2009 |
-
|
2010 |
-
#@ backwpup
|
2011 |
-
#: job/job_run.php:73
|
2012 |
-
msgid "Can not find job step file:"
|
2013 |
-
msgstr "Kann Datei mit Abarbeitungsschritten für den Auftrag nicht finden:"
|
2014 |
-
|
2015 |
-
#@ backwpup
|
2016 |
-
#: job/job_run.php:115
|
2017 |
-
msgid "Step arborted has too many trys!!!"
|
2018 |
-
msgstr "Arbeitsschritt abgebrochen - hat zu viele Versuche!!!"
|
2019 |
-
|
2020 |
-
#@ backwpup
|
2021 |
-
#: job/job_run.php:117
|
2022 |
-
msgid "Can not find job step function:"
|
2023 |
-
msgstr "Kann Funktion für den Arbeitsschritt des Auftrages nicht finden:"
|
2024 |
-
|
2025 |
-
#@ backwpup
|
2026 |
-
#: job/job_start.php:18
|
2027 |
msgid "A job already running!"
|
2028 |
msgstr "Es läuft bereits ein Auftrag!"
|
2029 |
|
2030 |
#@ backwpup
|
2031 |
-
#: job/job_start.php:
|
2032 |
-
#, php-format
|
2033 |
-
msgid "Can not create temp folder: %1$s"
|
2034 |
-
msgstr "Kann Temp-Ordner nicht erstellen: %1$s"
|
2035 |
-
|
2036 |
-
#@ backwpup
|
2037 |
-
#: job/job_start.php:121
|
2038 |
msgid "Temp dir not writeable"
|
2039 |
msgstr "Temp-Verzeichnis nicht beschreibbar"
|
2040 |
|
2041 |
#@ backwpup
|
2042 |
#: job/job_start.php:149
|
2043 |
-
#, php-format
|
2044 |
-
msgid "Can not create folder for log files: %1$s"
|
2045 |
-
msgstr "Kann Ordner für Protokolldateien nicht erstellen: %1$s"
|
2046 |
-
|
2047 |
-
#@ backwpup
|
2048 |
-
#: job/job_start.php:164
|
2049 |
msgid "Log folder not writeable!"
|
2050 |
msgstr "Protokolldateien-Ordner nicht beschreibbar!"
|
2051 |
|
2052 |
#@ backwpup
|
2053 |
-
#: job/job_start.php:
|
2054 |
-
#, php-format
|
2055 |
-
msgid "Can not create folder for backup files: %1$s"
|
2056 |
-
msgstr "Kann Ordner für Datensicherungsdateien nicht erstellen: %1$s"
|
2057 |
-
|
2058 |
-
#@ backwpup
|
2059 |
-
#: job/job_start.php:239
|
2060 |
msgid "Backup folder not writeable!"
|
2061 |
msgstr "Datensicherungs-Ordner nicht beschreibbar!"
|
2062 |
|
2063 |
-
#@ backwpup
|
2064 |
-
#: job/wp_export.php:10
|
2065 |
-
msgid "Try for wordpress export to XML file..."
|
2066 |
-
msgstr "Versuche WordPress-XML-Exportdatei zu erstellen ..."
|
2067 |
-
|
2068 |
-
#@ backwpup
|
2069 |
-
#: job/wp_export.php:41
|
2070 |
-
msgid "Add XML export to backup list:"
|
2071 |
-
msgstr "Füge XML-Exportdatei der Datensicherungsliste hinzu:"
|
2072 |
-
|
2073 |
#@ backwpup
|
2074 |
#: pages/func_backwpupbackups.php:131
|
2075 |
msgid "No Files found."
|
@@ -2103,47 +1499,47 @@ msgid "Login failure!"
|
|
2103 |
msgstr "Anmeldung fehlgeschlagen!"
|
2104 |
|
2105 |
#@ backwpup
|
2106 |
-
#: pages/func_backwpupeditjob.php:
|
2107 |
msgid "Month:"
|
2108 |
msgstr "Monat:"
|
2109 |
|
2110 |
#@ backwpup
|
2111 |
-
#: pages/func_backwpupeditjob.php:
|
2112 |
msgid "Secret:"
|
2113 |
msgstr "Geheimnis (secret):"
|
2114 |
|
2115 |
#@ backwpup
|
2116 |
-
#: pages/func_backwpupeditjob.php:
|
2117 |
msgid "dropbox"
|
2118 |
msgstr "dropbox"
|
2119 |
|
2120 |
#@ backwpup
|
2121 |
-
#: pages/func_backwpupeditjob.php:
|
2122 |
msgid "sandbox (disabled by DropBox)"
|
2123 |
msgstr "sandbox (deaktiviert von Dropbox)"
|
2124 |
|
2125 |
#@ backwpup
|
2126 |
-
#: pages/func_backwpupeditjob.php:
|
2127 |
msgid "Missing Secret!"
|
2128 |
msgstr "Geheimnis (secret) fehlt noch!"
|
2129 |
|
2130 |
#@ backwpup
|
2131 |
-
#: pages/header_backwpup.php:
|
2132 |
msgid "Job will be terminated."
|
2133 |
msgstr "Auftrag wird beendet."
|
2134 |
|
2135 |
#@ backwpup
|
2136 |
-
#: pages/header_backwpup.php:
|
2137 |
msgid "Process killed with PID:"
|
2138 |
msgstr "Prozess abgewürgt mit PID:"
|
2139 |
|
2140 |
#@ backwpup
|
2141 |
-
#: pages/header_backwpup.php:
|
2142 |
msgid "Can't kill process with PID:"
|
2143 |
msgstr "Prozess mit PID kann nicht abgewürgt werden:"
|
2144 |
|
2145 |
#@ backwpup
|
2146 |
-
#: pages/header_backwpupeditjob.php:
|
2147 |
msgid "Backup to Google storage"
|
2148 |
msgstr "Datensicherung zu Google Storage"
|
2149 |
|
@@ -2249,7 +1645,7 @@ msgid "Max. retrys for job script restarts"
|
|
2249 |
msgstr "Max. Wiederholungsversuche für Neustarts des Auftrags-Skriptes"
|
2250 |
|
2251 |
#@ backwpup
|
2252 |
-
#: pages/page_backwpupsettings.php:
|
2253 |
msgid "WP-Cron"
|
2254 |
msgstr "WP-Cron"
|
2255 |
|
@@ -2274,147 +1670,142 @@ msgid "BackWPup Working"
|
|
2274 |
msgstr "BackWPup arbeitet"
|
2275 |
|
2276 |
#@ backwpup
|
2277 |
-
#: backwpup-functions.php:
|
2278 |
msgid "See Working!"
|
2279 |
msgstr "Siehe unter 'In Bearbeitung'!"
|
2280 |
|
2281 |
#@ backwpup
|
2282 |
-
#: backwpup-functions.php:
|
2283 |
msgid "BackWPup Job"
|
2284 |
msgstr "BackWPup Auftrag"
|
2285 |
|
2286 |
#@ backwpup
|
2287 |
-
#: pages/page_backwpupsettings.php:
|
2288 |
msgid "WP Admin Bar"
|
2289 |
msgstr "WordPress Adminbar"
|
2290 |
|
2291 |
#@ backwpup
|
2292 |
-
#: pages/page_backwpupsettings.php:
|
2293 |
-
#: pages/page_backwpupsettings.php:
|
2294 |
msgid "Admin Bar"
|
2295 |
msgstr "Adminbar"
|
2296 |
|
2297 |
#@ backwpup
|
2298 |
-
#: pages/page_backwpupsettings.php:
|
2299 |
msgid "Show BackWPup Links in Admin Bar."
|
2300 |
msgstr "BackWPup-Links in der Adminbar anzeigen."
|
2301 |
|
2302 |
#@ backwpup
|
2303 |
-
#: backwpup-functions.php:
|
2304 |
#, php-format
|
2305 |
msgid "- WordPress %d or heiger needed!"
|
2306 |
msgstr "- WordPress %d oder höher erforderlich!"
|
2307 |
|
2308 |
#@ backwpup
|
2309 |
-
#:
|
2310 |
-
msgid "Backup File transferred to SugarSync://"
|
2311 |
-
msgstr "Datensicherungsdatei zu SugarSync übertragen://"
|
2312 |
-
|
2313 |
-
#@ backwpup
|
2314 |
-
#: pages/func_backwpupeditjob.php:59
|
2315 |
msgid "Preview:"
|
2316 |
msgstr "Vorschau:"
|
2317 |
|
2318 |
#@ backwpup
|
2319 |
-
#: pages/func_backwpupeditjob.php:
|
2320 |
msgid "Full Path to folder for Backup Files:"
|
2321 |
msgstr "Kompletter Pfad zum Ordner für Datensicherungsdateien:"
|
2322 |
|
2323 |
#@ backwpup
|
2324 |
-
#: pages/func_backwpupeditjob.php:
|
2325 |
msgid "Your WordPress dir is:"
|
2326 |
msgstr "Ihr WordPress-Verzeichnis ist:"
|
2327 |
|
2328 |
#@ backwpup
|
2329 |
-
#: pages/func_backwpupeditjob.php:
|
2330 |
-
#: pages/func_backwpupeditjob.php:
|
2331 |
msgid "Max. backup files in folder:"
|
2332 |
msgstr "Max. Anzahl von Dateien im Ordner:"
|
2333 |
|
2334 |
#@ backwpup
|
2335 |
-
#: pages/func_backwpupeditjob.php:
|
2336 |
msgid "Folder on Server:"
|
2337 |
msgstr "Ordner auf dem Server:"
|
2338 |
|
2339 |
#@ backwpup
|
2340 |
-
#: pages/func_backwpupeditjob.php:
|
2341 |
msgid "Max. backup files in FTP folder:"
|
2342 |
msgstr "Max. Anzahl von Dateien im FTP-Ordner:"
|
2343 |
|
2344 |
#@ backwpup
|
2345 |
-
#: pages/func_backwpupeditjob.php:
|
2346 |
-
#: pages/func_backwpupeditjob.php:
|
2347 |
msgid "Create bucket:"
|
2348 |
msgstr "Bucket erstellen:"
|
2349 |
|
2350 |
#@ backwpup
|
2351 |
-
#: pages/func_backwpupeditjob.php:
|
2352 |
-
#: pages/func_backwpupeditjob.php:
|
2353 |
msgid "Folder in bucket:"
|
2354 |
msgstr "Ordner im Bucket:"
|
2355 |
|
2356 |
#@ backwpup
|
2357 |
-
#: pages/func_backwpupeditjob.php:
|
2358 |
-
#: pages/func_backwpupeditjob.php:
|
2359 |
msgid "Max. backup files in bucket folder:"
|
2360 |
msgstr "Max. Anzahl Datensicherungsdateien im Bucket-Ordner:"
|
2361 |
|
2362 |
#@ backwpup
|
2363 |
-
#: pages/func_backwpupeditjob.php:
|
2364 |
-
#: pages/func_backwpupeditjob.php:
|
2365 |
msgid "Find Keys"
|
2366 |
msgstr "Schlüssel (Keys) finden"
|
2367 |
|
2368 |
#@ backwpup
|
2369 |
-
#: pages/func_backwpupeditjob.php:
|
2370 |
-
#: pages/func_backwpupeditjob.php:
|
2371 |
-
#: pages/func_backwpupeditjob.php:
|
2372 |
-
#: pages/func_backwpupeditjob.php:
|
2373 |
-
#: pages/func_backwpupeditjob.php:
|
2374 |
msgid "Webinterface"
|
2375 |
msgstr "Web-Oberfläche"
|
2376 |
|
2377 |
#@ backwpup
|
2378 |
-
#: pages/func_backwpupeditjob.php:
|
2379 |
msgid "Folder in Container:"
|
2380 |
msgstr "Ordner im Container:"
|
2381 |
|
2382 |
#@ backwpup
|
2383 |
-
#: pages/func_backwpupeditjob.php:
|
2384 |
-
#: pages/func_backwpupeditjob.php:
|
2385 |
msgid "Max. backup files in container folder:"
|
2386 |
msgstr "Max. Anzahl von Dateien im Container-Ordner:"
|
2387 |
|
2388 |
#@ backwpup
|
2389 |
-
#: pages/func_backwpupeditjob.php:
|
2390 |
-
#: pages/func_backwpupeditjob.php:
|
2391 |
msgid "Find Key"
|
2392 |
msgstr "Schlüssel (Key) finden"
|
2393 |
|
2394 |
#@ backwpup
|
2395 |
-
#: pages/func_backwpupeditjob.php:
|
2396 |
msgid "Folder in container:"
|
2397 |
msgstr "Ordner im Container:"
|
2398 |
|
2399 |
#@ backwpup
|
2400 |
-
#: pages/func_backwpupeditjob.php:
|
2401 |
-
#: pages/func_backwpupeditjob.php:
|
2402 |
msgid "Folder:"
|
2403 |
msgstr "Ordner:"
|
2404 |
|
2405 |
#@ backwpup
|
2406 |
-
#: pages/func_backwpupeditjob.php:
|
2407 |
msgid "Max. backup files in Dropbox folder:"
|
2408 |
msgstr "Max. Anzahl von Dateien im Dropbox-Ordner:"
|
2409 |
|
2410 |
#@ backwpup
|
2411 |
-
#: pages/func_backwpupeditjob.php:
|
2412 |
#, php-format
|
2413 |
msgid "ATTENTION: Job runs every %d mins.!!!"
|
2414 |
msgstr "ACHTUNG: Auftrag läuft alle %d Minuten!"
|
2415 |
|
2416 |
#@ backwpup
|
2417 |
-
#: pages/func_backwpupeditjob.php:
|
2418 |
#, php-format
|
2419 |
msgid "ATTENTION: Job runs every %d houers.!!!"
|
2420 |
msgstr "ACHTUNG: Auftrag läuft alle %d Stunden!"
|
@@ -2445,23 +1836,23 @@ msgid "Script runtime for loong operations withaut responce to script. You can o
|
|
2445 |
msgstr "Die Skript-Laufzeit für sehr lange Operationen ohne Antwort vom Skript. Sie können sie nur festlegen, wenn PHP <code>safe_mode</code> ausgeschaltet (off) ist. Die Standardlaufzeit ist 300 Sekunden (das Maximum auf den meisten Webservern)."
|
2446 |
|
2447 |
#@ backwpup
|
2448 |
-
#: pages/func_backwpupeditjob.php:
|
2449 |
#: pages/page_backwpupsettings.php:54
|
2450 |
msgid "Port:"
|
2451 |
msgstr "Port:"
|
2452 |
|
2453 |
#@ backwpup
|
2454 |
-
#: backwpup-functions.php:
|
2455 |
msgid "For more information:"
|
2456 |
msgstr "Für weitere Informationen:"
|
2457 |
|
2458 |
#@ backwpup
|
2459 |
-
#: backwpup-functions.php:
|
2460 |
msgid "Flattr"
|
2461 |
msgstr "Flattr"
|
2462 |
|
2463 |
#@ backwpup
|
2464 |
-
#: pages/header_backwpup.php:
|
2465 |
msgid "Aborted by user!!!"
|
2466 |
msgstr "Abgebrochen vom Benutzer!!!"
|
2467 |
|
@@ -2476,122 +1867,112 @@ msgid "Here you see working jobs or logfiles"
|
|
2476 |
msgstr "Hier können Sie gerade aktive Aufträge oder Protokolle einsehen."
|
2477 |
|
2478 |
#@ backwpup
|
2479 |
-
#: pages/page_backwpupsettings.php:
|
2480 |
msgid "Will you see BackWPup in the WordPress Admin Bar?"
|
2481 |
msgstr "Möchten Sie BackWPup-Menüpunkte in der WordPress-Adminbar sehen?"
|
2482 |
|
2483 |
#@ backwpup
|
2484 |
-
#: pages/page_backwpupsettings.php:
|
2485 |
msgid "If you would use the cron job of your hoster you must point it to the url:"
|
2486 |
msgstr "Wenn Sie den Cronjob Ihres Webhosting-Anbieters nutzen möchten, müssen Sie diesen zu dieser URL verweisen:"
|
2487 |
|
2488 |
#@ backwpup
|
2489 |
-
#: backwpup-functions.php:
|
2490 |
msgid "BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions."
|
2491 |
msgstr "BackWPup erhalten Sie OHNE JEDWEDE GARANTIE. Dies ist freie Software (quelloffen, im Sinne von Open Source) und Sie sind eingeladen, sie unter bestimmten Bedingungen weiterzugeben."
|
2492 |
|
2493 |
#@ backwpup
|
2494 |
-
#: job/
|
2495 |
-
msgid "Backup File transferred to DropBox://"
|
2496 |
-
msgstr "Datensicherungdatei zur Dropbox:// übertragen"
|
2497 |
-
|
2498 |
-
#@ backwpup
|
2499 |
-
#: job/job_functions.php:131
|
2500 |
-
msgid "Cannot set Website/Blog to Maintenance Mode! Root folder is not writeable!"
|
2501 |
-
msgstr "Webseite/ Blog kann nicht in den Wartungsmodus versetzt werden. Das Wurzelverzeichnis (root-Ordner) ist nicht beschreibbar!"
|
2502 |
-
|
2503 |
-
#@ backwpup
|
2504 |
-
#: job/job_run.php:83
|
2505 |
msgid "[INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions."
|
2506 |
msgstr "[INFO]: BackWPup erhalten Sie OHNE JEDWEDE GARANTIE. Dies ist freie Software (quelloffen, im Sinne von Open Source) und Sie sind eingeladen, sie unter bestimmten Bedingungen weiterzugeben."
|
2507 |
|
2508 |
#@ backwpup
|
2509 |
-
#: job/job_run.php:
|
2510 |
msgid "[INFO]: BackWPup job:"
|
2511 |
msgstr "[INFO]: BackWPup Auftrag:"
|
2512 |
|
2513 |
#@ backwpup
|
2514 |
-
#: job/job_run.php:
|
2515 |
msgid "[INFO]: BackWPup cron:"
|
2516 |
msgstr "[INFO]: BackWPup-Planung (Cron):"
|
2517 |
|
2518 |
#@ backwpup
|
2519 |
-
#: job/job_run.php:
|
2520 |
msgid "[INFO]: PHP ver.:"
|
2521 |
msgstr "[INFO]: PHP-Version:"
|
2522 |
|
2523 |
#@ backwpup
|
2524 |
-
#: job/job_run.php:
|
2525 |
msgid "[INFO]: MySQL ver.:"
|
2526 |
msgstr "[INFO]: MySQL-Version:"
|
2527 |
|
2528 |
#@ backwpup
|
2529 |
-
#: job/job_run.php:
|
2530 |
msgid "[INFO]: curl ver.:"
|
2531 |
msgstr "[INFO]: cURL-Version:"
|
2532 |
|
2533 |
#@ backwpup
|
2534 |
-
#: job/job_run.php:
|
2535 |
msgid "[INFO]: Temp folder is:"
|
2536 |
msgstr "[INFO]: Temp-Ordner ist:"
|
2537 |
|
2538 |
#@ backwpup
|
2539 |
-
#: job/job_run.php:
|
2540 |
msgid "[INFO]: Backup file is:"
|
2541 |
msgstr "[INFO]: Datensicherungsdatei ist:"
|
2542 |
|
2543 |
#@ backwpup
|
2544 |
-
#: pages/func_backwpupeditjob.php:
|
2545 |
msgid "advanced"
|
2546 |
msgstr "erweitert"
|
2547 |
|
2548 |
#@ backwpup
|
2549 |
-
#: pages/func_backwpupeditjob.php:
|
2550 |
msgid "basic"
|
2551 |
msgstr "einfach"
|
2552 |
|
2553 |
#@ backwpup
|
2554 |
-
#: pages/func_backwpupeditjob.php:
|
2555 |
msgid "Hour"
|
2556 |
msgstr "Stunde"
|
2557 |
|
2558 |
#@ backwpup
|
2559 |
-
#: pages/func_backwpupeditjob.php:
|
2560 |
msgid "Minute"
|
2561 |
msgstr "Minute"
|
2562 |
|
2563 |
#@ backwpup
|
2564 |
-
#: pages/func_backwpupeditjob.php:
|
2565 |
msgid "monthly"
|
2566 |
msgstr "monatlich"
|
2567 |
|
2568 |
#@ backwpup
|
2569 |
-
#: pages/func_backwpupeditjob.php:
|
2570 |
msgid "on"
|
2571 |
msgstr "am"
|
2572 |
|
2573 |
#@ backwpup
|
2574 |
-
#: pages/func_backwpupeditjob.php:
|
2575 |
msgid "weekly"
|
2576 |
msgstr "wöchentl."
|
2577 |
|
2578 |
#@ backwpup
|
2579 |
-
#: pages/func_backwpupeditjob.php:
|
2580 |
msgid "daily"
|
2581 |
msgstr "täglich"
|
2582 |
|
2583 |
#@ backwpup
|
2584 |
-
#: pages/func_backwpupeditjob.php:
|
2585 |
msgid "hourly"
|
2586 |
msgstr "stündlich"
|
2587 |
|
2588 |
#@ backwpup
|
2589 |
-
#: pages/func_backwpupeditjob.php:
|
2590 |
msgid "ATTENTION: Can't calculate cron!!!"
|
2591 |
msgstr "ACHTUNG: Cron (Auftragsplanung) kann nicht berechnet werden!!!"
|
2592 |
|
2593 |
#@ backwpup
|
2594 |
-
#: pages/header_backwpup.php:
|
2595 |
msgid "Here is the job overview with some information. You can see some further information of the jobs, how many can be switched with the view button. Also you can manage the jobs or abbort working jobs. Some links are added to have direct access to the last log or download."
|
2596 |
msgstr "Hier ist der Auftragsüberblick mit einigen Informationen. Sie können einige Informationen zu den Aufträgen einsehen, wieviele, kann über den Ansehen-Button geändert werden. Sie können auch die Aufträge verwalten oder aktive Aufträge abbrechen. Einige Links wurden hinzugefügt, damit Sie direkt auf das letzte Protokoll oder die letzte Datensicherungsdatei via Download zugreifen können."
|
2597 |
|
@@ -2617,40 +1998,894 @@ msgstr "http://backwpup.com/"
|
|
2617 |
msgid "Wordpress Backup and more..."
|
2618 |
msgstr "WordPress-Datensicherung und mehr ..."
|
2619 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2620 |
#@ backwpup
|
2621 |
#: job/backup_create.php:48
|
2622 |
-
|
2623 |
-
|
|
|
2624 |
|
2625 |
#@ backwpup
|
2626 |
-
#: job/
|
2627 |
-
msgid "
|
2628 |
-
msgstr "
|
2629 |
|
2630 |
#@ backwpup
|
2631 |
-
|
2632 |
-
|
2633 |
-
|
2634 |
-
msgstr "2.0.3"
|
2635 |
|
2636 |
#@ backwpup
|
2637 |
-
#: job/backup_create.php:
|
2638 |
-
|
2639 |
-
|
|
|
2640 |
|
2641 |
#@ backwpup
|
2642 |
-
#: job/backup_create.php:
|
2643 |
#, php-format
|
2644 |
-
msgid "
|
2645 |
-
msgstr "
|
2646 |
|
2647 |
#@ backwpup
|
2648 |
-
#: job/
|
2649 |
-
msgid "
|
2650 |
-
msgstr "
|
2651 |
|
2652 |
#@ backwpup
|
2653 |
-
#:
|
2654 |
-
msgid "
|
2655 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2656 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: BackWPup 2.0 Branch\n"
|
4 |
+
"Report-Msgid-Bugs-To: http://backwpup.com/forum/\n"
|
5 |
"POT-Creation-Date: 2010-06-23 17:08+0000\n"
|
6 |
+
"PO-Revision-Date: 2011-07-23 21:12+0100\n"
|
7 |
"Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
|
8 |
"Language-Team: DECKERWEB <deckerweb.mobil@googlemail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
|
21 |
#@ backwpup
|
22 |
+
#: job/job_functions.php:280
|
23 |
msgid "[WARNING]"
|
24 |
msgstr "[WARNUNG]"
|
25 |
|
26 |
#@ backwpup
|
27 |
+
#: job/job_functions.php:286
|
28 |
msgid "[ERROR]"
|
29 |
msgstr "[FEHLER]"
|
30 |
|
31 |
#@ backwpup
|
32 |
+
#: job/job_functions.php:290
|
33 |
msgid "[DEPRECATED]"
|
34 |
msgstr "[VERALTET]"
|
35 |
|
36 |
#@ backwpup
|
37 |
+
#: job/job_functions.php:293
|
38 |
msgid "[STRICT NOTICE]"
|
39 |
msgstr "[STRENGER HINWEIS]"
|
40 |
|
41 |
#@ backwpup
|
42 |
+
#: job/job_functions.php:296
|
43 |
msgid "[RECOVERABLE ERROR]"
|
44 |
msgstr "[LÖSBARER FEHLER]"
|
45 |
|
46 |
#@ backwpup
|
47 |
+
#: job/job_functions.php:134
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
#, php-format
|
49 |
msgid "Memory increased from %1$s to %2$s"
|
50 |
msgstr "Speicher(limit) erhöht von %1$s auf %2$s"
|
51 |
|
52 |
#@ backwpup
|
53 |
+
#: job/db_check.php:28
|
54 |
+
#: job/db_check.php:30
|
55 |
+
#: job/db_check.php:32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
#, php-format
|
57 |
msgid "Result of table check for %1$s is: %2$s"
|
58 |
msgstr "Ergebnis für den Tabellencheck für %1$s, ist %2$s"
|
59 |
|
60 |
#@ backwpup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
#: pages/tools/db_restore.php:70
|
62 |
#: pages/tools/db_restore.php:81
|
63 |
#: pages/tools/db_restore.php:84
|
68 |
msgstr "BackWPup-Datenbankfehler %1$s für die Anfrage %2$s"
|
69 |
|
70 |
#@ backwpup
|
71 |
+
#: job/db_check.php:43
|
72 |
+
#: job/db_check.php:45
|
73 |
+
#: job/db_check.php:47
|
74 |
#, php-format
|
75 |
msgid "Result of table repair for %1$s is: %2$s"
|
76 |
msgstr "Ergebnis der Tabellenreparatur für %1$s ist: %2$s"
|
77 |
|
78 |
#@ backwpup
|
79 |
+
#: job/db_check.php:53
|
80 |
msgid "Database check done!"
|
81 |
msgstr "Datenbank-Check fertig!"
|
82 |
|
83 |
#@ backwpup
|
84 |
+
#: job/db_optimize.php:28
|
85 |
+
#: job/db_optimize.php:30
|
86 |
+
#: job/db_optimize.php:32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
#, php-format
|
88 |
msgid "Result of table optimize for %1$s is: %2$s"
|
89 |
msgstr "Ergebnis der Tabellenoptimierung für %1$s ist: %2$s"
|
90 |
|
91 |
#@ backwpup
|
92 |
+
#: job/db_optimize.php:34
|
93 |
msgid "Database optimize done!"
|
94 |
msgstr "Datenbankoptimierung fertig!"
|
95 |
|
96 |
#@ backwpup
|
97 |
+
#: job/dest_ftp.php:68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
msgid "Can not Entering Passive Mode"
|
99 |
msgstr "Einstieg in den passiven Modus nicht möglich"
|
100 |
|
101 |
#@ backwpup
|
102 |
+
#: job/dest_mail.php:28
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
msgid "Send mail with SMTP"
|
104 |
msgstr "E-Mail senden mit SMTP"
|
105 |
|
106 |
#@ backwpup
|
107 |
+
#: job/dest_mail.php:32
|
108 |
msgid "Send mail with Sendmail"
|
109 |
msgstr "E-Mail senden mit Sendmail"
|
110 |
|
111 |
#@ backwpup
|
112 |
+
#: job/dest_mail.php:35
|
113 |
msgid "Send mail with PHP mail"
|
114 |
msgstr "E-Mail senden mit PHP mail"
|
115 |
|
116 |
#@ backwpup
|
117 |
+
#: job/dest_mail.php:38
|
118 |
msgid "Creating mail"
|
119 |
msgstr "E-Mail erstellen"
|
120 |
|
121 |
#@ backwpup
|
122 |
+
#: job/dest_mail.php:61
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
msgid "Send mail...."
|
124 |
msgstr "E-Mail wird gesendet ..."
|
125 |
|
126 |
#@ backwpup
|
127 |
+
#: job/dest_mail.php:67
|
128 |
msgid "Mail send!!!"
|
129 |
msgstr "E-Mail wurde gesendet!!!"
|
130 |
|
131 |
#@ backwpup
|
132 |
+
#: pages/page_backwpupworking.php:35
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
msgid "Errors:"
|
134 |
msgstr "Fehler:"
|
135 |
|
136 |
#@ backwpup
|
137 |
+
#: pages/page_backwpupworking.php:31
|
|
|
138 |
msgid "Warnings:"
|
139 |
msgstr "Warnungen:"
|
140 |
|
142 |
#@ textdomain
|
143 |
#. translators: plugin header field 'Name'
|
144 |
#: backwpup-functions.php:10
|
145 |
+
#: backwpup-functions.php:264
|
146 |
+
#: backwpup-functions.php:484
|
147 |
#: backwpup.php:0
|
148 |
msgid "BackWPup"
|
149 |
msgstr "BackWPup"
|
155 |
|
156 |
#@ backwpup
|
157 |
#: pages/func_backwpup.php:63
|
158 |
+
#: pages/func_backwpupeditjob.php:177
|
159 |
#: pages/func_backwpuplogs.php:87
|
160 |
msgid "Type"
|
161 |
msgstr "Typ"
|
202 |
msgstr "Letzter Durchlauf"
|
203 |
|
204 |
#@ backwpup
|
205 |
+
#: backwpup-functions.php:101
|
206 |
+
#: backwpup-functions.php:256
|
207 |
msgid "Support"
|
208 |
msgstr "Hilfe + Unterstützung (Support)"
|
209 |
|
210 |
#@ backwpup
|
211 |
+
#: backwpup-functions.php:102
|
212 |
+
#: backwpup-functions.php:255
|
213 |
msgid "FAQ"
|
214 |
msgstr "FAQ"
|
215 |
|
216 |
#@ backwpup
|
217 |
+
#: backwpup-functions.php:103
|
218 |
msgid "Plugin Homepage"
|
219 |
msgstr "Plugin Homepage"
|
220 |
|
221 |
#@ backwpup
|
222 |
+
#: backwpup-functions.php:105
|
223 |
+
#: backwpup-functions.php:257
|
|
|
|
|
|
|
|
|
|
|
224 |
msgid "Donate"
|
225 |
msgstr "Spenden"
|
226 |
|
227 |
#@ backwpup
|
228 |
+
#: backwpup-functions.php:245
|
229 |
msgid "Go to Settings Page"
|
230 |
msgstr "Gehe zur Einstellungsseite"
|
231 |
|
232 |
#@ backwpup
|
233 |
#: backwpup-functions.php:23
|
234 |
+
#: backwpup-functions.php:245
|
235 |
msgid "Settings"
|
236 |
msgstr "Einstellungen"
|
237 |
|
238 |
#@ backwpup
|
239 |
+
#: backwpup-functions.php:316
|
240 |
msgid "WP XML Export"
|
241 |
msgstr "WP XML Export"
|
242 |
|
243 |
#@ backwpup
|
244 |
+
#: backwpup-functions.php:322
|
245 |
msgid "Database Backup"
|
246 |
msgstr "Datenbank-Sicherung"
|
247 |
|
248 |
#@ backwpup
|
249 |
+
#: backwpup-functions.php:319
|
250 |
#: pages/page_backwpupeditjob.php:78
|
251 |
msgid "File Backup"
|
252 |
msgstr "Dateien-Sicherung"
|
253 |
|
254 |
#@ backwpup
|
255 |
+
#: backwpup-functions.php:325
|
256 |
msgid "Optimize Database Tables"
|
257 |
msgstr "Datenbanktabellen optimieren"
|
258 |
|
259 |
#@ backwpup
|
260 |
+
#: backwpup-functions.php:328
|
261 |
msgid "Check Database Tables"
|
262 |
msgstr "Datenbanktabellen checken"
|
263 |
|
264 |
#@ backwpup
|
265 |
+
#: backwpup-functions.php:407
|
266 |
+
#: backwpup-functions.php:437
|
267 |
+
#: backwpup-functions.php:465
|
268 |
#: pages/page_backwpupsettings.php:61
|
269 |
msgid "none"
|
270 |
msgstr "nichts"
|
271 |
|
272 |
#@ backwpup
|
273 |
+
#: backwpup-functions.php:458
|
274 |
msgid "Edit Job"
|
275 |
msgstr "Auftrag bearbeiten"
|
276 |
|
299 |
msgstr "Auftrags-Typ"
|
300 |
|
301 |
#@ backwpup
|
302 |
+
#: pages/func_backwpupeditjob.php:31
|
303 |
msgid ""
|
304 |
"You are about to delete this Job. \n"
|
305 |
" 'Cancel' to stop, 'OK' to delete."
|
313 |
#: pages/func_backwpup.php:109
|
314 |
#: pages/func_backwpupbackups.php:136
|
315 |
#: pages/func_backwpupbackups.php:233
|
316 |
+
#: pages/func_backwpupeditjob.php:31
|
317 |
#: pages/func_backwpuplogs.php:79
|
318 |
#: pages/func_backwpuplogs.php:133
|
319 |
msgid "Delete"
|
321 |
|
322 |
#@ backwpup
|
323 |
#: pages/func_backwpupeditjob.php:14
|
324 |
+
#: pages/func_backwpupeditjob.php:34
|
325 |
msgid "Save Changes"
|
326 |
msgstr "Änderungen speichern"
|
327 |
|
331 |
msgstr "Auftragsplanung"
|
332 |
|
333 |
#@ backwpup
|
334 |
+
#: pages/func_backwpupeditjob.php:97
|
335 |
msgid "Activate scheduling"
|
336 |
msgstr "Planung aktiv?"
|
337 |
|
338 |
#@ backwpup
|
339 |
+
#: pages/func_backwpupeditjob.php:141
|
340 |
msgid "January"
|
341 |
msgstr "Januar"
|
342 |
|
343 |
#@ backwpup
|
344 |
+
#: pages/func_backwpupeditjob.php:142
|
345 |
msgid "February"
|
346 |
msgstr "Februar"
|
347 |
|
348 |
#@ backwpup
|
349 |
+
#: pages/func_backwpupeditjob.php:143
|
350 |
msgid "March"
|
351 |
msgstr "März"
|
352 |
|
353 |
#@ backwpup
|
354 |
+
#: pages/func_backwpupeditjob.php:144
|
355 |
msgid "April"
|
356 |
msgstr "April"
|
357 |
|
358 |
#@ backwpup
|
359 |
+
#: pages/func_backwpupeditjob.php:145
|
360 |
msgid "May"
|
361 |
msgstr "Mai"
|
362 |
|
363 |
#@ backwpup
|
364 |
+
#: pages/func_backwpupeditjob.php:146
|
365 |
msgid "June"
|
366 |
msgstr "Juni"
|
367 |
|
368 |
#@ backwpup
|
369 |
+
#: pages/func_backwpupeditjob.php:147
|
370 |
msgid "July"
|
371 |
msgstr "Juli"
|
372 |
|
373 |
#@ backwpup
|
374 |
+
#: pages/func_backwpupeditjob.php:149
|
375 |
msgid "September"
|
376 |
msgstr "September"
|
377 |
|
378 |
#@ backwpup
|
379 |
+
#: pages/func_backwpupeditjob.php:150
|
380 |
msgid "October"
|
381 |
msgstr "Oktober"
|
382 |
|
383 |
#@ backwpup
|
384 |
+
#: pages/func_backwpupeditjob.php:151
|
385 |
msgid "November"
|
386 |
msgstr "November"
|
387 |
|
388 |
#@ backwpup
|
389 |
+
#: pages/func_backwpupeditjob.php:152
|
390 |
msgid "December"
|
391 |
msgstr "Dezember"
|
392 |
|
393 |
#@ backwpup
|
394 |
+
#: pages/header_backwpupeditjob.php:249
|
395 |
msgid "Send log"
|
396 |
msgstr "Sende Protokoll"
|
397 |
|
398 |
#@ backwpup
|
399 |
+
#: pages/func_backwpupeditjob.php:66
|
400 |
msgid "E-Mail-Adress:"
|
401 |
msgstr "E-Mail-Adresse:"
|
402 |
|
437 |
msgstr "Dateien/ Ordner von der Sicherung ausschließen:"
|
438 |
|
439 |
#@ backwpup
|
440 |
+
#: pages/func_backwpupeditjob.php:230
|
441 |
#: pages/page_backwpupsettings.php:92
|
442 |
msgid "(Oldest files will deleted first.)"
|
443 |
msgstr "(Älteste Dateien werden zuerst gelöscht.)"
|
444 |
|
445 |
#@ backwpup
|
446 |
+
#: pages/header_backwpupeditjob.php:251
|
447 |
msgid "Backup to FTP Server"
|
448 |
msgstr "Datensicherung zum FTP-Server"
|
449 |
|
450 |
#@ backwpup
|
451 |
+
#: pages/func_backwpupeditjob.php:236
|
452 |
msgid "Hostname:"
|
453 |
msgstr "Hostname:"
|
454 |
|
455 |
#@ backwpup
|
456 |
+
#: pages/func_backwpupeditjob.php:240
|
457 |
+
#: pages/func_backwpupeditjob.php:331
|
458 |
msgid "Username:"
|
459 |
msgstr "Benutzername:"
|
460 |
|
461 |
#@ backwpup
|
462 |
+
#: pages/func_backwpupeditjob.php:242
|
463 |
+
#: pages/func_backwpupeditjob.php:388
|
464 |
msgid "Password:"
|
465 |
msgstr "Passwort:"
|
466 |
|
467 |
#@ backwpup
|
468 |
+
#: pages/header_backwpupeditjob.php:257
|
469 |
msgid "Backup to Amazon S3"
|
470 |
msgstr "Datensicherung zu Amazon S3"
|
471 |
|
472 |
#@ backwpup
|
473 |
+
#: pages/func_backwpupeditjob.php:256
|
474 |
msgid "Access Key ID:"
|
475 |
msgstr "Access Key ID (Zugangsschlüssel-ID):"
|
476 |
|
477 |
#@ backwpup
|
478 |
+
#: pages/func_backwpupeditjob.php:258
|
479 |
msgid "Secret Access Key:"
|
480 |
msgstr "Secret Access Key (Geheimer Schlüssel):"
|
481 |
|
482 |
#@ backwpup
|
483 |
+
#: pages/func_backwpupeditjob.php:260
|
484 |
+
#: pages/func_backwpupeditjob.php:285
|
485 |
msgid "Bucket:"
|
486 |
msgstr "Bucket:"
|
487 |
|
491 |
msgstr "Datensicherung via E-Mail"
|
492 |
|
493 |
#@ backwpup
|
494 |
+
#: pages/func_backwpupeditjob.php:409
|
495 |
msgid "Max. File Size for sending Backups with mail:"
|
496 |
msgstr "Maximale Dateigröße zum Senden von Datensicherungen via E-Mail:"
|
497 |
|
498 |
#@ backwpup
|
499 |
+
#: backwpup-functions.php:473
|
500 |
#: pages/page_backwpuplogs.php:10
|
501 |
msgid "BackWPup Logs"
|
502 |
msgstr "BackWPup Protokolle"
|
503 |
|
504 |
#@ backwpup
|
505 |
#: backwpup-functions.php:11
|
506 |
+
#: backwpup-functions.php:487
|
507 |
#: pages/page_backwpupsettings.php:103
|
508 |
msgid "Jobs"
|
509 |
msgstr "Aufträge"
|
510 |
|
511 |
#@ backwpup
|
512 |
#: backwpup-functions.php:17
|
513 |
+
#: backwpup-functions.php:488
|
514 |
#: pages/header_backwpupbackups.php:361
|
515 |
#: pages/header_backwpuplogs.php:63
|
516 |
#: pages/page_backwpupsettings.php:81
|
538 |
msgstr "nur Protokoll"
|
539 |
|
540 |
#@ backwpup
|
541 |
+
#: pages/header_backwpupsettings.php:54
|
542 |
msgid "Settings saved"
|
543 |
msgstr "Einstellungen gespeichert"
|
544 |
|
573 |
msgstr "SMTP"
|
574 |
|
575 |
#@ backwpup
|
576 |
+
#: pages/page_backwpupsettings.php:161
|
577 |
+
#: pages/page_backwpupsettings.php:162
|
578 |
msgid "Disable WP-Cron"
|
579 |
msgstr "WP-Cron deaktivieren"
|
580 |
|
680 |
msgstr "Wiederherstellung abgeschlossen. Bitte löschen Sie die SQL-Datei nach der Wiederherstellung."
|
681 |
|
682 |
#@ backwpup
|
683 |
+
#: job/wp_export.php:33
|
684 |
+
#: job/wp_export.php:35
|
685 |
msgid "cURL:"
|
686 |
msgstr "cURL:"
|
687 |
|
688 |
#@ backwpup
|
689 |
+
#: job/dest_rsc.php:19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
690 |
msgid "Connected to Rackspase ..."
|
691 |
msgstr "Verbunden mit Rackspace ..."
|
692 |
|
693 |
#@ backwpup
|
694 |
+
#: job/dest_rsc.php:35
|
695 |
+
#: job/dest_rsc.php:69
|
696 |
#: job/dest_rsc.php:98
|
697 |
msgid "Rackspase Cloud API:"
|
698 |
msgstr "Rackspace Cloud API (Schnittstelle):"
|
699 |
|
700 |
#@ backwpup
|
701 |
+
#: job/dest_rsc.php:40
|
702 |
msgid "Rackspase Cloud Container not exists:"
|
703 |
msgstr "Rackspace Cloud Container existiert nicht:"
|
704 |
|
705 |
#@ backwpup
|
706 |
+
#: job/dest_rsc.php:63
|
707 |
msgid "Backup File transferred to RSC://"
|
708 |
msgstr "Datensicherungsdatei übertragen zu RSC://"
|
709 |
|
710 |
#@ backwpup
|
711 |
+
#: job/dest_rsc.php:66
|
712 |
msgid "Can not transfer backup to RSC."
|
713 |
msgstr "Datensicherung kann nicht zu RSC übertragen werden."
|
714 |
|
717 |
msgid "Can not delete file on RSC://"
|
718 |
msgstr "Datei kann nicht gelöscht werden auf RSC://"
|
719 |
|
|
|
|
|
|
|
|
|
|
|
720 |
#@ backwpup
|
721 |
#: pages/page_backwpupbackups.php:10
|
722 |
msgid "BackWPup Manage Backups"
|
724 |
|
725 |
#@ backwpup
|
726 |
#: backwpup-functions.php:19
|
727 |
+
#: backwpup-functions.php:489
|
728 |
msgid "Backups"
|
729 |
msgstr "Datensicherungen"
|
730 |
|
731 |
#@ backwpup
|
732 |
+
#: backwpup-functions.php:790
|
733 |
msgid "New"
|
734 |
msgstr "Neu"
|
735 |
|
736 |
#@ backwpup
|
737 |
+
#: pages/func_backwpupeditjob.php:500
|
738 |
msgid "Missing Access Key ID!"
|
739 |
msgstr "Access Key ID wird vermisst!"
|
740 |
|
741 |
#@ backwpup
|
742 |
+
#: pages/func_backwpupeditjob.php:507
|
743 |
msgid "Missing Secret Access Key!"
|
744 |
msgstr "Secret Access Key wird vermisst!"
|
745 |
|
746 |
#@ backwpup
|
747 |
+
#: pages/func_backwpupeditjob.php:617
|
748 |
+
#: pages/func_backwpupeditjob.php:746
|
749 |
msgid "Missing Username!"
|
750 |
msgstr "Falscher Benutzername!"
|
751 |
|
752 |
#@ backwpup
|
753 |
+
#: pages/func_backwpupeditjob.php:624
|
754 |
msgid "Missing API Key!"
|
755 |
msgstr "API-Schlüssel wird vermisst!"
|
756 |
|
757 |
#@ backwpup
|
758 |
+
#: pages/func_backwpupeditjob.php:645
|
759 |
msgid "No Containerss found!"
|
760 |
msgstr "Keine Container gefunden!"
|
761 |
|
762 |
#@ backwpup
|
763 |
+
#: backwpup-functions.php:723
|
764 |
msgid "- Logs Folder not writeable:"
|
765 |
msgstr "- Protokolldateien-Ordner ist nicht beschreibbar:"
|
766 |
|
767 |
#@ backwpup
|
768 |
+
#: backwpup-functions.php:732
|
769 |
msgid "- Please Check Scheduling time for Job:"
|
770 |
msgstr "- Bitte überprüfen Sie die Zeitplanung für den Auftrag (Scheduling):"
|
771 |
|
772 |
#@ backwpup
|
773 |
+
#: backwpup-functions.php:737
|
774 |
msgid "- WP-Cron don't working please check it!"
|
775 |
msgstr "- WP-Cron arbeitet nicht, bitte überprüfen Sie die Funktion!"
|
776 |
|
785 |
msgstr "Information"
|
786 |
|
787 |
#@ backwpup
|
788 |
+
#: pages/func_backwpup.php:253
|
789 |
msgid "Files Size:"
|
790 |
msgstr "Größe der Dateien:"
|
791 |
|
792 |
#@ backwpup
|
793 |
+
#: pages/func_backwpup.php:255
|
794 |
msgid "Files count:"
|
795 |
msgstr "Dateizähler:"
|
796 |
|
797 |
#@ backwpup
|
798 |
+
#: pages/func_backwpup.php:247
|
799 |
msgid "DB Tables:"
|
800 |
msgstr "Datenbank-Tabellen:"
|
801 |
|
802 |
#@ backwpup
|
803 |
+
#: pages/func_backwpup.php:248
|
804 |
msgid "DB Rows:"
|
805 |
msgstr "Datenbank-Zeilen:"
|
806 |
|
836 |
msgstr "?"
|
837 |
|
838 |
#@ backwpup
|
839 |
+
#: pages/func_backwpupeditjob.php:103
|
840 |
msgid "Minutes: "
|
841 |
msgstr "Minuten: "
|
842 |
|
843 |
#@ backwpup
|
844 |
+
#: pages/func_backwpupeditjob.php:105
|
845 |
+
#: pages/func_backwpupeditjob.php:117
|
846 |
+
#: pages/func_backwpupeditjob.php:128
|
847 |
+
#: pages/func_backwpupeditjob.php:139
|
848 |
+
#: pages/func_backwpupeditjob.php:159
|
849 |
msgid "Any (*)"
|
850 |
msgstr "Alle (*)"
|
851 |
|
852 |
#@ backwpup
|
853 |
+
#: pages/func_backwpupeditjob.php:114
|
854 |
msgid "Hours:"
|
855 |
msgstr "Stunden:"
|
856 |
|
857 |
#@ backwpup
|
858 |
+
#: pages/func_backwpupeditjob.php:148
|
859 |
msgid "Augest"
|
860 |
msgstr "August"
|
861 |
|
862 |
#@ backwpup
|
863 |
+
#: pages/func_backwpupeditjob.php:161
|
864 |
+
#: pages/func_backwpupeditjob.php:197
|
865 |
msgid "Sunday"
|
866 |
msgstr "Sonntag"
|
867 |
|
868 |
#@ backwpup
|
869 |
+
#: pages/func_backwpupeditjob.php:162
|
870 |
+
#: pages/func_backwpupeditjob.php:198
|
871 |
msgid "Monday"
|
872 |
msgstr "Montag"
|
873 |
|
874 |
#@ backwpup
|
875 |
+
#: pages/func_backwpupeditjob.php:163
|
876 |
+
#: pages/func_backwpupeditjob.php:199
|
877 |
msgid "Tuesday"
|
878 |
msgstr "Dienstag"
|
879 |
|
880 |
#@ backwpup
|
881 |
+
#: pages/func_backwpupeditjob.php:164
|
882 |
+
#: pages/func_backwpupeditjob.php:200
|
883 |
msgid "Wednesday"
|
884 |
msgstr "Mittwoch"
|
885 |
|
886 |
#@ backwpup
|
887 |
+
#: pages/func_backwpupeditjob.php:165
|
888 |
+
#: pages/func_backwpupeditjob.php:201
|
889 |
msgid "Thursday"
|
890 |
msgstr "Donnerstag"
|
891 |
|
892 |
#@ backwpup
|
893 |
+
#: pages/func_backwpupeditjob.php:166
|
894 |
+
#: pages/func_backwpupeditjob.php:202
|
895 |
msgid "Friday"
|
896 |
msgstr "Freitag"
|
897 |
|
898 |
#@ backwpup
|
899 |
+
#: pages/func_backwpupeditjob.php:167
|
900 |
+
#: pages/func_backwpupeditjob.php:203
|
901 |
msgid "Saturday"
|
902 |
msgstr "Samstag"
|
903 |
|
904 |
#@ backwpup
|
905 |
+
#: pages/func_backwpupeditjob.php:456
|
906 |
msgid "Working as <a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a> job schedule:"
|
907 |
msgstr "Arbeiten nach der <a href=\"http://de.wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a>-Auftragsplanung:"
|
908 |
|
909 |
#@ backwpup
|
910 |
+
#: pages/func_backwpupeditjob.php:474
|
911 |
msgid "Next runtime:"
|
912 |
msgstr "Nächster Durchlauf:"
|
913 |
|
914 |
#@ backwpup
|
915 |
+
#: pages/header_backwpupeditjob.php:248
|
916 |
msgid "Backup File"
|
917 |
msgstr "Datensicherungsdatei"
|
918 |
|
919 |
#@ backwpup
|
920 |
+
#: pages/func_backwpupeditjob.php:44
|
921 |
msgid "File Prefix:"
|
922 |
msgstr "Datei-Vorsilbe:"
|
923 |
|
924 |
#@ backwpup
|
925 |
+
#: pages/func_backwpupeditjob.php:46
|
926 |
msgid "File Formart:"
|
927 |
msgstr "Dateiformat:"
|
928 |
|
929 |
#@ backwpup
|
|
|
930 |
#: pages/func_backwpupeditjob.php:49
|
931 |
+
#: pages/func_backwpupeditjob.php:51
|
932 |
msgid "Zip"
|
933 |
msgstr "Zip"
|
934 |
|
935 |
#@ backwpup
|
936 |
+
#: pages/func_backwpupeditjob.php:52
|
937 |
msgid "Tar"
|
938 |
msgstr "Tar"
|
939 |
|
940 |
#@ backwpup
|
|
|
941 |
#: pages/func_backwpupeditjob.php:54
|
942 |
+
#: pages/func_backwpupeditjob.php:56
|
943 |
msgid "Tar GZip"
|
944 |
msgstr "Tar GZip"
|
945 |
|
946 |
#@ backwpup
|
|
|
947 |
#: pages/func_backwpupeditjob.php:58
|
948 |
+
#: pages/func_backwpupeditjob.php:60
|
949 |
msgid "Tar BZip2"
|
950 |
msgstr "Tar BZip2"
|
951 |
|
984 |
msgstr "Blog-Uploads"
|
985 |
|
986 |
#@ backwpup
|
987 |
+
#: pages/func_backwpupeditjob.php:263
|
988 |
msgid "Bucket Region"
|
989 |
msgstr "Bucket Region"
|
990 |
|
991 |
#@ backwpup
|
992 |
+
#: pages/func_backwpupeditjob.php:267
|
993 |
msgid "Save Backups with reduced redundancy!"
|
994 |
msgstr "Sichere Datensicherungen mit reduzierter Redundanz!"
|
995 |
|
996 |
#@ backwpup
|
997 |
+
#: pages/header_backwpupeditjob.php:263
|
998 |
msgid "Backup to Rackspace Cloud"
|
999 |
msgstr "Datensicherung in die Rackspace Cloud"
|
1000 |
|
1001 |
#@ backwpup
|
1002 |
+
#: pages/func_backwpupeditjob.php:333
|
1003 |
msgid "API Key:"
|
1004 |
msgstr "API-Schlüssel"
|
1005 |
|
1006 |
#@ backwpup
|
1007 |
+
#: pages/func_backwpupeditjob.php:312
|
1008 |
+
#: pages/func_backwpupeditjob.php:335
|
1009 |
msgid "Container:"
|
1010 |
msgstr "Container:"
|
1011 |
|
1012 |
#@ backwpup
|
1013 |
+
#: pages/func_backwpupeditjob.php:315
|
1014 |
+
#: pages/func_backwpupeditjob.php:338
|
1015 |
msgid "Create Container:"
|
1016 |
msgstr "Erstelle Container:"
|
1017 |
|
1018 |
#@ backwpup
|
1019 |
+
#: pages/header_backwpupeditjob.php:236
|
1020 |
#, php-format
|
1021 |
msgid "Job '%1' changes saved."
|
1022 |
msgstr "Auftrag '%1' Veränderungen gepeichert."
|
1023 |
|
1024 |
#@ backwpup
|
1025 |
+
#: pages/header_backwpupeditjob.php:236
|
1026 |
msgid "Jobs overview."
|
1027 |
msgstr "Auftragsüberblick"
|
1028 |
|
1029 |
#@ backwpup
|
1030 |
+
#: pages/func_backwpupeditjob.php:249
|
1031 |
msgid "Use FTP Passiv mode."
|
1032 |
msgstr "FTP-Passiv-Modus benutzen."
|
1033 |
|
1034 |
#@ backwpup
|
1035 |
+
#: job/dest_ftp.php:66
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1036 |
msgid "Entering Passive Mode"
|
1037 |
msgstr "Passivmodus wird betreten"
|
1038 |
|
1039 |
#@ backwpup
|
1040 |
+
#: job/dest_ftp.php:71
|
1041 |
msgid "Entering Normal Mode"
|
1042 |
msgstr "Normalmodus wird betreten"
|
1043 |
|
1044 |
#@ backwpup
|
1045 |
+
#: job/dest_ftp.php:73
|
1046 |
msgid "Can not Entering Normal Mode"
|
1047 |
msgstr "Normalmodus kann nicht betreten werden"
|
1048 |
|
1049 |
#@ backwpup
|
1050 |
+
#: job/dest_ftp.php:81
|
1051 |
msgid "Error getting SYSTYPE"
|
1052 |
msgstr "Fehler, SYSTYPE wird angezeigt"
|
1053 |
|
1054 |
#@ backwpup
|
1055 |
+
#: pages/func_backwpupeditjob.php:248
|
1056 |
msgid "Use SSL-FTP Connection."
|
1057 |
msgstr "Benutze SSL-FTP-Verbindung."
|
1058 |
|
1059 |
#@ backwpup
|
1060 |
+
#: pages/header_backwpupeditjob.php:253
|
1061 |
msgid "Backup to Dropbox"
|
1062 |
msgstr "Datensicherung in die Dropbox"
|
1063 |
|
1073 |
msgid "http://danielhuesken.de"
|
1074 |
msgstr "http://danielhuesken.de/"
|
1075 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1076 |
#@ default
|
1077 |
#@ backwpup
|
1078 |
#: pages/func_backwpup.php:52
|
1096 |
msgstr "Protokoll"
|
1097 |
|
1098 |
#@ backwpup
|
1099 |
+
#: pages/func_backwpupeditjob.php:263
|
1100 |
msgid "US-East (Northern Virginia)"
|
1101 |
msgstr "US-Ost (Nord-Virginia)"
|
1102 |
|
1103 |
#@ backwpup
|
1104 |
+
#: pages/func_backwpupeditjob.php:263
|
1105 |
msgid "US-West (Northern California)"
|
1106 |
msgstr "US-West (Nordkalifornien)"
|
1107 |
|
1108 |
#@ backwpup
|
1109 |
+
#: pages/func_backwpupeditjob.php:263
|
1110 |
msgid "EU (Ireland)"
|
1111 |
msgstr "EU (Irland)"
|
1112 |
|
1113 |
#@ backwpup
|
1114 |
+
#: pages/func_backwpupeditjob.php:263
|
1115 |
msgid "Asia Pacific (Singapore)"
|
1116 |
msgstr "Asien/ Pazifik (Singapur)"
|
1117 |
|
1165 |
msgstr "Aufträge importiert!"
|
1166 |
|
1167 |
#@ backwpup
|
1168 |
+
#: pages/func_backwpupeditjob.php:680
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1169 |
msgid "Missing Hostname!"
|
1170 |
msgstr "Hostname (Server) nicht angegeben!"
|
1171 |
|
1172 |
#@ backwpup
|
1173 |
+
#: pages/func_backwpupeditjob.php:687
|
1174 |
msgid "Missing Account Name!"
|
1175 |
msgstr "Kontoname (Benutzername) nicht angegeben!"
|
1176 |
|
1177 |
#@ backwpup
|
1178 |
+
#: pages/func_backwpupeditjob.php:558
|
1179 |
+
#: pages/func_backwpupeditjob.php:694
|
1180 |
msgid "Missing Access Key!"
|
1181 |
msgstr "Zugangsschlüssel (Access Key) nicht angegeben!"
|
1182 |
|
1183 |
#@ backwpup
|
1184 |
+
#: pages/func_backwpupeditjob.php:711
|
1185 |
msgid "No Container found!"
|
1186 |
msgstr "Kein Container gefunden!"
|
1187 |
|
1188 |
#@ backwpup
|
1189 |
+
#: pages/func_backwpupeditjob.php:263
|
1190 |
msgid "Asia Pacific (Japan)"
|
1191 |
msgstr "Asien Pazifik (Japan)"
|
1192 |
|
1193 |
#@ backwpup
|
1194 |
+
#: pages/header_backwpupeditjob.php:261
|
1195 |
msgid "Backup to Micosoft Azure (Blob)"
|
1196 |
msgstr "Datensicherung zu Microsoft Azure (Blob)"
|
1197 |
|
1198 |
#@ backwpup
|
1199 |
+
#: pages/func_backwpupeditjob.php:306
|
1200 |
msgid "Host:"
|
1201 |
msgstr "Host (Server):"
|
1202 |
|
1203 |
#@ backwpup
|
1204 |
+
#: pages/func_backwpupeditjob.php:307
|
1205 |
msgid "Normely: blob.core.windows.net"
|
1206 |
msgstr "Normalerweise: blob.core.windows.net"
|
1207 |
|
1208 |
#@ backwpup
|
1209 |
+
#: pages/func_backwpupeditjob.php:308
|
1210 |
msgid "Account Name:"
|
1211 |
msgstr "Kontoname/ Benutzername:"
|
1212 |
|
1213 |
#@ backwpup
|
1214 |
+
#: pages/func_backwpupeditjob.php:281
|
1215 |
+
#: pages/func_backwpupeditjob.php:310
|
1216 |
msgid "Access Key:"
|
1217 |
msgstr "Zugangsschlüssel (Access Key):"
|
1218 |
|
1219 |
#@ backwpup
|
1220 |
+
#: pages/func_backwpupeditjob.php:270
|
1221 |
+
#: pages/func_backwpupeditjob.php:294
|
1222 |
+
#: pages/func_backwpupeditjob.php:321
|
1223 |
+
#: pages/func_backwpupeditjob.php:344
|
1224 |
+
#: pages/func_backwpupeditjob.php:376
|
1225 |
+
#: pages/func_backwpupeditjob.php:398
|
1226 |
+
msgid "Create Account"
|
1227 |
+
msgstr "Konto erstellen"
|
1228 |
|
1229 |
#@ backwpup
|
1230 |
+
#: job/dest_dropbox.php:38
|
1231 |
+
msgid "No free space left on DropBox!!!"
|
1232 |
+
msgstr "Kein freier Speicherplatz mehr übrig auf Dropbox!!!"
|
1233 |
|
1234 |
#@ backwpup
|
1235 |
+
#: pages/func_backwpupeditjob.php:126
|
1236 |
+
msgid "Day of Month:"
|
1237 |
+
msgstr "Tag des Monats:"
|
1238 |
|
1239 |
#@ backwpup
|
1240 |
+
#: pages/func_backwpupeditjob.php:157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1241 |
msgid "Day of Week:"
|
1242 |
msgstr "Wochentag:"
|
1243 |
|
1244 |
#@ backwpup
|
1245 |
+
#: pages/func_backwpupeditjob.php:68
|
1246 |
msgid "Only send an e-mail if there are errors."
|
1247 |
msgstr "Eine E-Mail nur senden, wenn Fehler auftraten."
|
1248 |
|
1252 |
msgstr "Kurze INSERTs benutzen, statt kompletter (mit Schlüssel)"
|
1253 |
|
1254 |
#@ backwpup
|
1255 |
+
#: pages/func_backwpupeditjob.php:247
|
1256 |
+
#: pages/func_backwpupeditjob.php:266
|
1257 |
+
#: pages/func_backwpupeditjob.php:291
|
1258 |
+
#: pages/func_backwpupeditjob.php:318
|
1259 |
+
#: pages/func_backwpupeditjob.php:341
|
1260 |
+
#: pages/func_backwpupeditjob.php:373
|
1261 |
+
#: pages/func_backwpupeditjob.php:395
|
1262 |
msgid "(Oldest files will be deleted first.)"
|
1263 |
msgstr "(Älteste Dateien werden zuerst gelöscht.)"
|
1264 |
|
1265 |
#@ backwpup
|
1266 |
+
#: pages/func_backwpupeditjob.php:355
|
1267 |
msgid "Login:"
|
1268 |
msgstr "Login:"
|
1269 |
|
1270 |
#@ backwpup
|
1271 |
+
#: pages/func_backwpupeditjob.php:357
|
1272 |
msgid "Not authenticated!"
|
1273 |
msgstr "Nicht authentifiziert!"
|
1274 |
|
1275 |
#@ backwpup
|
1276 |
+
#: pages/func_backwpupeditjob.php:357
|
1277 |
msgid "Authenticate!"
|
1278 |
msgstr "Authentifizieren!"
|
1279 |
|
1280 |
#@ backwpup
|
1281 |
+
#: pages/func_backwpupeditjob.php:359
|
1282 |
msgid "Authenticated!"
|
1283 |
msgstr "Authentifiziert!"
|
1284 |
|
1285 |
#@ backwpup
|
1286 |
+
#: pages/func_backwpupeditjob.php:359
|
1287 |
msgid "Delete!"
|
1288 |
msgstr "Löschen!"
|
1289 |
|
1290 |
#@ backwpup
|
1291 |
+
#: pages/func_backwpupeditjob.php:386
|
1292 |
+
#: pages/func_backwpupeditjob.php:406
|
1293 |
msgid "E-mail address:"
|
1294 |
msgstr "E-Mail-Adresse:"
|
1295 |
|
1296 |
#@ backwpup
|
1297 |
+
#: pages/header_backwpupeditjob.php:212
|
1298 |
msgid "Dropbox authentication deleted!"
|
1299 |
msgstr "Dropbox-Authentifizierung gelöscht!"
|
1300 |
|
1301 |
#@ backwpup
|
1302 |
+
#: pages/page_backwpupsettings.php:164
|
1303 |
msgid "Use your host's Cron Job and disable WP-Cron"
|
1304 |
msgstr "Den Cron-Job Ihres Webhosters/ -Servers benutzen und WP-Cron deaktivieren"
|
1305 |
|
1309 |
msgstr "Die SQL-Datei in den root-Ordner Ihrer Webseite (bzw. WordPress-Installation) kopieren, damit die Datei für eine Wiederherstellung genutzt werden kann."
|
1310 |
|
1311 |
#@ backwpup
|
1312 |
+
#: backwpup-functions.php:720
|
1313 |
msgid "- Logs Folder not exists:"
|
1314 |
msgstr "- Der Protokolldateien-Ordner existiert nicht:"
|
1315 |
|
1316 |
#@ backwpup
|
1317 |
+
#: pages/header_backwpupeditjob.php:255
|
|
|
|
|
|
|
|
|
|
|
1318 |
msgid "Backup to SugarSync"
|
1319 |
msgstr "Datensicherung zu SugarSync"
|
1320 |
|
1321 |
#@ backwpup
|
1322 |
+
#: job/dest_sugarsync.php:25
|
|
|
|
|
|
|
|
|
|
|
1323 |
msgid "No free space left on SugarSync!!!"
|
1324 |
msgstr "Sie haben keinen freien Speicherplatz mehr übrig bei SugarSync!!!"
|
1325 |
|
1326 |
#@ backwpup
|
1327 |
+
#: pages/func_backwpupeditjob.php:366
|
1328 |
+
#: pages/func_backwpupeditjob.php:390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1329 |
msgid "Root:"
|
1330 |
msgstr "Root:"
|
1331 |
|
1332 |
#@ backwpup
|
1333 |
+
#: pages/func_backwpupeditjob.php:753
|
1334 |
msgid "Missing Password!"
|
1335 |
msgstr "Passwort fehlt!"
|
1336 |
|
1337 |
#@ backwpup
|
1338 |
+
#: pages/func_backwpupeditjob.php:773
|
1339 |
msgid "No Syncfolders found!"
|
1340 |
msgstr "Keine Sync-Ordner gefunden!"
|
1341 |
|
1360 |
msgstr "In Bearbeitung"
|
1361 |
|
1362 |
#@ backwpup
|
1363 |
+
#: backwpup-functions.php:393
|
1364 |
msgid "View Log:"
|
1365 |
msgstr "Protokoll ansehen:"
|
1366 |
|
1367 |
#@ backwpup
|
1368 |
+
#: backwpup-functions.php:395
|
1369 |
#: pages/func_backwpuplogs.php:141
|
1370 |
#, php-format
|
1371 |
msgid "%d ERROR"
|
1374 |
msgstr[1] "%d FEHLER"
|
1375 |
|
1376 |
#@ backwpup
|
1377 |
+
#: backwpup-functions.php:397
|
1378 |
#: pages/func_backwpuplogs.php:143
|
1379 |
#, php-format
|
1380 |
msgid "%d WARNING"
|
1383 |
msgstr[1] "%d WARNUNGEN"
|
1384 |
|
1385 |
#@ backwpup
|
1386 |
+
#: backwpup-functions.php:399
|
1387 |
#: pages/func_backwpuplogs.php:145
|
1388 |
msgid "O.K."
|
1389 |
msgstr "O.K."
|
1390 |
|
1391 |
#@ backwpup
|
1392 |
+
#: backwpup-functions.php:425
|
1393 |
msgid "How many of the lastes logs would you like to display?"
|
1394 |
msgstr "Wieviele der letzten Protokolle wollen Sie anzeigen lassen?"
|
1395 |
|
1396 |
#@ backwpup
|
1397 |
+
#: backwpup-functions.php:451
|
1398 |
#, php-format
|
1399 |
msgid "working since %d sec."
|
1400 |
msgstr "in Arbeit seit %d Sek."
|
1401 |
|
1402 |
#@ backwpup
|
1403 |
+
#: backwpup-functions.php:452
|
1404 |
#: pages/func_backwpup.php:113
|
1405 |
msgid "View!"
|
1406 |
msgstr "Ansehen!"
|
1407 |
|
1408 |
#@ backwpup
|
1409 |
+
#: backwpup-functions.php:453
|
1410 |
#: pages/func_backwpup.php:114
|
1411 |
msgid "Abort!"
|
1412 |
msgstr "Abbrechen!"
|
1413 |
|
1414 |
#@ backwpup
|
1415 |
+
#: backwpup-functions.php:474
|
1416 |
msgid "BackWPup Aktive Jobs"
|
1417 |
msgstr "BackWPup aktive Aufträge"
|
1418 |
|
1419 |
#@ backwpup
|
1420 |
+
#: backwpup-functions.php:713
|
1421 |
msgid "- PHP 5.2.4 or higher needed!"
|
1422 |
msgstr "- PHP 5.2.4 oder höher ist erforderlich!"
|
1423 |
|
1424 |
#@ backwpup
|
1425 |
+
#: job/dest_ftp.php:99
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1426 |
msgid "Upload to FTP now started ... "
|
1427 |
msgstr "Hochladen ins FTP-Verzeichnis hat begonnen ... "
|
1428 |
|
1429 |
#@ backwpup
|
1430 |
+
#: job/dest_rsc.php:10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1431 |
msgid "Try to sending backup file to Rackspace Cloud..."
|
1432 |
msgstr "Versuche Datensicherungsdatei an die Rackspace Cloud zu senden..."
|
1433 |
|
1434 |
#@ backwpup
|
1435 |
+
#: job/dest_rsc.php:59
|
1436 |
msgid "Upload to RSC now started ... "
|
1437 |
msgstr "Hochladen zu RSC hat begonnen ... "
|
1438 |
|
1439 |
#@ backwpup
|
1440 |
+
#: job/job_functions.php:512
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1441 |
msgid "To many restarts...."
|
1442 |
msgstr "Zu viele Neustarts..."
|
1443 |
|
1444 |
#@ backwpup
|
1445 |
+
#: job/job_functions.php:549
|
1446 |
msgid "Script stop! Will started again now!"
|
1447 |
msgstr "Skript-Stop! Wird jetzt wieder neu gestartet!"
|
1448 |
|
1449 |
#@ backwpup
|
1450 |
+
#: job/job_start.php:22
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1451 |
msgid "A job already running!"
|
1452 |
msgstr "Es läuft bereits ein Auftrag!"
|
1453 |
|
1454 |
#@ backwpup
|
1455 |
+
#: job/job_start.php:36
|
|
|
|
|
|
|
|
|
|
|
|
|
1456 |
msgid "Temp dir not writeable"
|
1457 |
msgstr "Temp-Verzeichnis nicht beschreibbar"
|
1458 |
|
1459 |
#@ backwpup
|
1460 |
#: job/job_start.php:149
|
|
|
|
|
|
|
|
|
|
|
|
|
1461 |
msgid "Log folder not writeable!"
|
1462 |
msgstr "Protokolldateien-Ordner nicht beschreibbar!"
|
1463 |
|
1464 |
#@ backwpup
|
1465 |
+
#: job/job_start.php:218
|
|
|
|
|
|
|
|
|
|
|
|
|
1466 |
msgid "Backup folder not writeable!"
|
1467 |
msgstr "Datensicherungs-Ordner nicht beschreibbar!"
|
1468 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1469 |
#@ backwpup
|
1470 |
#: pages/func_backwpupbackups.php:131
|
1471 |
msgid "No Files found."
|
1499 |
msgstr "Anmeldung fehlgeschlagen!"
|
1500 |
|
1501 |
#@ backwpup
|
1502 |
+
#: pages/func_backwpupeditjob.php:137
|
1503 |
msgid "Month:"
|
1504 |
msgstr "Monat:"
|
1505 |
|
1506 |
#@ backwpup
|
1507 |
+
#: pages/func_backwpupeditjob.php:283
|
1508 |
msgid "Secret:"
|
1509 |
msgstr "Geheimnis (secret):"
|
1510 |
|
1511 |
#@ backwpup
|
1512 |
+
#: pages/func_backwpupeditjob.php:368
|
1513 |
msgid "dropbox"
|
1514 |
msgstr "dropbox"
|
1515 |
|
1516 |
#@ backwpup
|
1517 |
+
#: pages/func_backwpupeditjob.php:369
|
1518 |
msgid "sandbox (disabled by DropBox)"
|
1519 |
msgstr "sandbox (deaktiviert von Dropbox)"
|
1520 |
|
1521 |
#@ backwpup
|
1522 |
+
#: pages/func_backwpupeditjob.php:565
|
1523 |
msgid "Missing Secret!"
|
1524 |
msgstr "Geheimnis (secret) fehlt noch!"
|
1525 |
|
1526 |
#@ backwpup
|
1527 |
+
#: pages/header_backwpup.php:81
|
1528 |
msgid "Job will be terminated."
|
1529 |
msgstr "Auftrag wird beendet."
|
1530 |
|
1531 |
#@ backwpup
|
1532 |
+
#: pages/header_backwpup.php:84
|
1533 |
msgid "Process killed with PID:"
|
1534 |
msgstr "Prozess abgewürgt mit PID:"
|
1535 |
|
1536 |
#@ backwpup
|
1537 |
+
#: pages/header_backwpup.php:99
|
1538 |
msgid "Can't kill process with PID:"
|
1539 |
msgstr "Prozess mit PID kann nicht abgewürgt werden:"
|
1540 |
|
1541 |
#@ backwpup
|
1542 |
+
#: pages/header_backwpupeditjob.php:259
|
1543 |
msgid "Backup to Google storage"
|
1544 |
msgstr "Datensicherung zu Google Storage"
|
1545 |
|
1645 |
msgstr "Max. Wiederholungsversuche für Neustarts des Auftrags-Skriptes"
|
1646 |
|
1647 |
#@ backwpup
|
1648 |
+
#: pages/page_backwpupsettings.php:157
|
1649 |
msgid "WP-Cron"
|
1650 |
msgstr "WP-Cron"
|
1651 |
|
1670 |
msgstr "BackWPup arbeitet"
|
1671 |
|
1672 |
#@ backwpup
|
1673 |
+
#: backwpup-functions.php:486
|
1674 |
msgid "See Working!"
|
1675 |
msgstr "Siehe unter 'In Bearbeitung'!"
|
1676 |
|
1677 |
#@ backwpup
|
1678 |
+
#: backwpup-functions.php:491
|
1679 |
msgid "BackWPup Job"
|
1680 |
msgstr "BackWPup Auftrag"
|
1681 |
|
1682 |
#@ backwpup
|
1683 |
+
#: pages/page_backwpupsettings.php:145
|
1684 |
msgid "WP Admin Bar"
|
1685 |
msgstr "WordPress Adminbar"
|
1686 |
|
1687 |
#@ backwpup
|
1688 |
+
#: pages/page_backwpupsettings.php:149
|
1689 |
+
#: pages/page_backwpupsettings.php:150
|
1690 |
msgid "Admin Bar"
|
1691 |
msgstr "Adminbar"
|
1692 |
|
1693 |
#@ backwpup
|
1694 |
+
#: pages/page_backwpupsettings.php:152
|
1695 |
msgid "Show BackWPup Links in Admin Bar."
|
1696 |
msgstr "BackWPup-Links in der Adminbar anzeigen."
|
1697 |
|
1698 |
#@ backwpup
|
1699 |
+
#: backwpup-functions.php:709
|
1700 |
#, php-format
|
1701 |
msgid "- WordPress %d or heiger needed!"
|
1702 |
msgstr "- WordPress %d oder höher erforderlich!"
|
1703 |
|
1704 |
#@ backwpup
|
1705 |
+
#: pages/func_backwpupeditjob.php:61
|
|
|
|
|
|
|
|
|
|
|
1706 |
msgid "Preview:"
|
1707 |
msgstr "Vorschau:"
|
1708 |
|
1709 |
#@ backwpup
|
1710 |
+
#: pages/func_backwpupeditjob.php:227
|
1711 |
msgid "Full Path to folder for Backup Files:"
|
1712 |
msgstr "Kompletter Pfad zum Ordner für Datensicherungsdateien:"
|
1713 |
|
1714 |
#@ backwpup
|
1715 |
+
#: pages/func_backwpupeditjob.php:229
|
1716 |
msgid "Your WordPress dir is:"
|
1717 |
msgstr "Ihr WordPress-Verzeichnis ist:"
|
1718 |
|
1719 |
#@ backwpup
|
1720 |
+
#: pages/func_backwpupeditjob.php:230
|
1721 |
+
#: pages/func_backwpupeditjob.php:395
|
1722 |
msgid "Max. backup files in folder:"
|
1723 |
msgstr "Max. Anzahl von Dateien im Ordner:"
|
1724 |
|
1725 |
#@ backwpup
|
1726 |
+
#: pages/func_backwpupeditjob.php:244
|
1727 |
msgid "Folder on Server:"
|
1728 |
msgstr "Ordner auf dem Server:"
|
1729 |
|
1730 |
#@ backwpup
|
1731 |
+
#: pages/func_backwpupeditjob.php:247
|
1732 |
msgid "Max. backup files in FTP folder:"
|
1733 |
msgstr "Max. Anzahl von Dateien im FTP-Ordner:"
|
1734 |
|
1735 |
#@ backwpup
|
1736 |
+
#: pages/func_backwpupeditjob.php:263
|
1737 |
+
#: pages/func_backwpupeditjob.php:288
|
1738 |
msgid "Create bucket:"
|
1739 |
msgstr "Bucket erstellen:"
|
1740 |
|
1741 |
#@ backwpup
|
1742 |
+
#: pages/func_backwpupeditjob.php:264
|
1743 |
+
#: pages/func_backwpupeditjob.php:289
|
1744 |
msgid "Folder in bucket:"
|
1745 |
msgstr "Ordner im Bucket:"
|
1746 |
|
1747 |
#@ backwpup
|
1748 |
+
#: pages/func_backwpupeditjob.php:266
|
1749 |
+
#: pages/func_backwpupeditjob.php:291
|
1750 |
msgid "Max. backup files in bucket folder:"
|
1751 |
msgstr "Max. Anzahl Datensicherungsdateien im Bucket-Ordner:"
|
1752 |
|
1753 |
#@ backwpup
|
1754 |
+
#: pages/func_backwpupeditjob.php:271
|
1755 |
+
#: pages/func_backwpupeditjob.php:295
|
1756 |
msgid "Find Keys"
|
1757 |
msgstr "Schlüssel (Keys) finden"
|
1758 |
|
1759 |
#@ backwpup
|
1760 |
+
#: pages/func_backwpupeditjob.php:272
|
1761 |
+
#: pages/func_backwpupeditjob.php:296
|
1762 |
+
#: pages/func_backwpupeditjob.php:346
|
1763 |
+
#: pages/func_backwpupeditjob.php:377
|
1764 |
+
#: pages/func_backwpupeditjob.php:399
|
1765 |
msgid "Webinterface"
|
1766 |
msgstr "Web-Oberfläche"
|
1767 |
|
1768 |
#@ backwpup
|
1769 |
+
#: pages/func_backwpupeditjob.php:316
|
1770 |
msgid "Folder in Container:"
|
1771 |
msgstr "Ordner im Container:"
|
1772 |
|
1773 |
#@ backwpup
|
1774 |
+
#: pages/func_backwpupeditjob.php:318
|
1775 |
+
#: pages/func_backwpupeditjob.php:341
|
1776 |
msgid "Max. backup files in container folder:"
|
1777 |
msgstr "Max. Anzahl von Dateien im Container-Ordner:"
|
1778 |
|
1779 |
#@ backwpup
|
1780 |
+
#: pages/func_backwpupeditjob.php:322
|
1781 |
+
#: pages/func_backwpupeditjob.php:345
|
1782 |
msgid "Find Key"
|
1783 |
msgstr "Schlüssel (Key) finden"
|
1784 |
|
1785 |
#@ backwpup
|
1786 |
+
#: pages/func_backwpupeditjob.php:339
|
1787 |
msgid "Folder in container:"
|
1788 |
msgstr "Ordner im Container:"
|
1789 |
|
1790 |
#@ backwpup
|
1791 |
+
#: pages/func_backwpupeditjob.php:371
|
1792 |
+
#: pages/func_backwpupeditjob.php:393
|
1793 |
msgid "Folder:"
|
1794 |
msgstr "Ordner:"
|
1795 |
|
1796 |
#@ backwpup
|
1797 |
+
#: pages/func_backwpupeditjob.php:373
|
1798 |
msgid "Max. backup files in Dropbox folder:"
|
1799 |
msgstr "Max. Anzahl von Dateien im Dropbox-Ordner:"
|
1800 |
|
1801 |
#@ backwpup
|
1802 |
+
#: pages/func_backwpupeditjob.php:462
|
1803 |
#, php-format
|
1804 |
msgid "ATTENTION: Job runs every %d mins.!!!"
|
1805 |
msgstr "ACHTUNG: Auftrag läuft alle %d Minuten!"
|
1806 |
|
1807 |
#@ backwpup
|
1808 |
+
#: pages/func_backwpupeditjob.php:468
|
1809 |
#, php-format
|
1810 |
msgid "ATTENTION: Job runs every %d houers.!!!"
|
1811 |
msgstr "ACHTUNG: Auftrag läuft alle %d Stunden!"
|
1836 |
msgstr "Die Skript-Laufzeit für sehr lange Operationen ohne Antwort vom Skript. Sie können sie nur festlegen, wenn PHP <code>safe_mode</code> ausgeschaltet (off) ist. Die Standardlaufzeit ist 300 Sekunden (das Maximum auf den meisten Webservern)."
|
1837 |
|
1838 |
#@ backwpup
|
1839 |
+
#: pages/func_backwpupeditjob.php:238
|
1840 |
#: pages/page_backwpupsettings.php:54
|
1841 |
msgid "Port:"
|
1842 |
msgstr "Port:"
|
1843 |
|
1844 |
#@ backwpup
|
1845 |
+
#: backwpup-functions.php:100
|
1846 |
msgid "For more information:"
|
1847 |
msgstr "Für weitere Informationen:"
|
1848 |
|
1849 |
#@ backwpup
|
1850 |
+
#: backwpup-functions.php:106
|
1851 |
msgid "Flattr"
|
1852 |
msgstr "Flattr"
|
1853 |
|
1854 |
#@ backwpup
|
1855 |
+
#: pages/header_backwpup.php:67
|
1856 |
msgid "Aborted by user!!!"
|
1857 |
msgstr "Abgebrochen vom Benutzer!!!"
|
1858 |
|
1867 |
msgstr "Hier können Sie gerade aktive Aufträge oder Protokolle einsehen."
|
1868 |
|
1869 |
#@ backwpup
|
1870 |
+
#: pages/page_backwpupsettings.php:146
|
1871 |
msgid "Will you see BackWPup in the WordPress Admin Bar?"
|
1872 |
msgstr "Möchten Sie BackWPup-Menüpunkte in der WordPress-Adminbar sehen?"
|
1873 |
|
1874 |
#@ backwpup
|
1875 |
+
#: pages/page_backwpupsettings.php:158
|
1876 |
msgid "If you would use the cron job of your hoster you must point it to the url:"
|
1877 |
msgstr "Wenn Sie den Cronjob Ihres Webhosting-Anbieters nutzen möchten, müssen Sie diesen zu dieser URL verweisen:"
|
1878 |
|
1879 |
#@ backwpup
|
1880 |
+
#: backwpup-functions.php:107
|
1881 |
msgid "BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions."
|
1882 |
msgstr "BackWPup erhalten Sie OHNE JEDWEDE GARANTIE. Dies ist freie Software (quelloffen, im Sinne von Open Source) und Sie sind eingeladen, sie unter bestimmten Bedingungen weiterzugeben."
|
1883 |
|
1884 |
#@ backwpup
|
1885 |
+
#: job/job_run.php:96
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1886 |
msgid "[INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions."
|
1887 |
msgstr "[INFO]: BackWPup erhalten Sie OHNE JEDWEDE GARANTIE. Dies ist freie Software (quelloffen, im Sinne von Open Source) und Sie sind eingeladen, sie unter bestimmten Bedingungen weiterzugeben."
|
1888 |
|
1889 |
#@ backwpup
|
1890 |
+
#: job/job_run.php:97
|
1891 |
msgid "[INFO]: BackWPup job:"
|
1892 |
msgstr "[INFO]: BackWPup Auftrag:"
|
1893 |
|
1894 |
#@ backwpup
|
1895 |
+
#: job/job_run.php:99
|
1896 |
msgid "[INFO]: BackWPup cron:"
|
1897 |
msgstr "[INFO]: BackWPup-Planung (Cron):"
|
1898 |
|
1899 |
#@ backwpup
|
1900 |
+
#: job/job_run.php:104
|
1901 |
msgid "[INFO]: PHP ver.:"
|
1902 |
msgstr "[INFO]: PHP-Version:"
|
1903 |
|
1904 |
#@ backwpup
|
1905 |
+
#: job/job_run.php:107
|
1906 |
msgid "[INFO]: MySQL ver.:"
|
1907 |
msgstr "[INFO]: MySQL-Version:"
|
1908 |
|
1909 |
#@ backwpup
|
1910 |
+
#: job/job_run.php:110
|
1911 |
msgid "[INFO]: curl ver.:"
|
1912 |
msgstr "[INFO]: cURL-Version:"
|
1913 |
|
1914 |
#@ backwpup
|
1915 |
+
#: job/job_run.php:112
|
1916 |
msgid "[INFO]: Temp folder is:"
|
1917 |
msgstr "[INFO]: Temp-Ordner ist:"
|
1918 |
|
1919 |
#@ backwpup
|
1920 |
+
#: job/job_run.php:114
|
1921 |
msgid "[INFO]: Backup file is:"
|
1922 |
msgstr "[INFO]: Datensicherungsdatei ist:"
|
1923 |
|
1924 |
#@ backwpup
|
1925 |
+
#: pages/func_backwpupeditjob.php:98
|
1926 |
msgid "advanced"
|
1927 |
msgstr "erweitert"
|
1928 |
|
1929 |
#@ backwpup
|
1930 |
+
#: pages/func_backwpupeditjob.php:99
|
1931 |
msgid "basic"
|
1932 |
msgstr "einfach"
|
1933 |
|
1934 |
#@ backwpup
|
1935 |
+
#: pages/func_backwpupeditjob.php:182
|
1936 |
msgid "Hour"
|
1937 |
msgstr "Stunde"
|
1938 |
|
1939 |
#@ backwpup
|
1940 |
+
#: pages/func_backwpupeditjob.php:185
|
1941 |
msgid "Minute"
|
1942 |
msgstr "Minute"
|
1943 |
|
1944 |
#@ backwpup
|
1945 |
+
#: pages/func_backwpupeditjob.php:189
|
1946 |
msgid "monthly"
|
1947 |
msgstr "monatlich"
|
1948 |
|
1949 |
#@ backwpup
|
1950 |
+
#: pages/func_backwpupeditjob.php:190
|
1951 |
msgid "on"
|
1952 |
msgstr "am"
|
1953 |
|
1954 |
#@ backwpup
|
1955 |
+
#: pages/func_backwpupeditjob.php:195
|
1956 |
msgid "weekly"
|
1957 |
msgstr "wöchentl."
|
1958 |
|
1959 |
#@ backwpup
|
1960 |
+
#: pages/func_backwpupeditjob.php:209
|
1961 |
msgid "daily"
|
1962 |
msgstr "täglich"
|
1963 |
|
1964 |
#@ backwpup
|
1965 |
+
#: pages/func_backwpupeditjob.php:215
|
1966 |
msgid "hourly"
|
1967 |
msgstr "stündlich"
|
1968 |
|
1969 |
#@ backwpup
|
1970 |
+
#: pages/func_backwpupeditjob.php:472
|
1971 |
msgid "ATTENTION: Can't calculate cron!!!"
|
1972 |
msgstr "ACHTUNG: Cron (Auftragsplanung) kann nicht berechnet werden!!!"
|
1973 |
|
1974 |
#@ backwpup
|
1975 |
+
#: pages/header_backwpup.php:114
|
1976 |
msgid "Here is the job overview with some information. You can see some further information of the jobs, how many can be switched with the view button. Also you can manage the jobs or abbort working jobs. Some links are added to have direct access to the last log or download."
|
1977 |
msgstr "Hier ist der Auftragsüberblick mit einigen Informationen. Sie können einige Informationen zu den Aufträgen einsehen, wieviele, kann über den Ansehen-Button geändert werden. Sie können auch die Aufträge verwalten oder aktive Aufträge abbrechen. Einige Links wurden hinzugefügt, damit Sie direkt auf das letzte Protokoll oder die letzte Datensicherungsdatei via Download zugreifen können."
|
1978 |
|
1998 |
msgid "Wordpress Backup and more..."
|
1999 |
msgstr "WordPress-Datensicherung und mehr ..."
|
2000 |
|
2001 |
+
#@ backwpup
|
2002 |
+
#: pages/func_backwpup.php:245
|
2003 |
+
msgid "DB Size:"
|
2004 |
+
msgstr "Datenbankgröße:"
|
2005 |
+
|
2006 |
+
#@ backwpup
|
2007 |
+
#: backwpup-functions.php:104
|
2008 |
+
msgid "Plugin on WordPress.org"
|
2009 |
+
msgstr "Plugin bei WordPress.org"
|
2010 |
+
|
2011 |
+
#@ backwpup
|
2012 |
+
#: backwpup-functions.php:726
|
2013 |
+
msgid "- Logs Folder in open_basedir path:"
|
2014 |
+
msgstr "- Protokolldateien-Ordner in open_basedir path:"
|
2015 |
+
|
2016 |
+
#@ backwpup
|
2017 |
+
#: job/backup_create.php:19
|
2018 |
+
#, php-format
|
2019 |
+
msgid "%d. try to create backup zip archive..."
|
2020 |
+
msgstr "%d. Versuche ein Datensicherungs-ZIP-Archiv zu erstellen ..."
|
2021 |
+
|
2022 |
+
#@ backwpup
|
2023 |
+
#: job/backup_create.php:24
|
2024 |
+
#, php-format
|
2025 |
+
msgid "Can not add \"%s\" to zip archive!"
|
2026 |
+
msgstr "\"%s\" kann dem ZIP-Archiv nicht hinzugefügt werden!"
|
2027 |
+
|
2028 |
+
#@ backwpup
|
2029 |
+
#: job/backup_create.php:31
|
2030 |
+
msgid "(4) ER_SEEK"
|
2031 |
+
msgstr "(4) ER_SEEK"
|
2032 |
+
|
2033 |
+
#@ backwpup
|
2034 |
+
#: job/backup_create.php:33
|
2035 |
+
msgid "(5) ER_READ"
|
2036 |
+
msgstr "(5) ER_READ"
|
2037 |
+
|
2038 |
+
#@ backwpup
|
2039 |
+
#: job/backup_create.php:35
|
2040 |
+
msgid "(9) ER_NOENT"
|
2041 |
+
msgstr "(9) ER_NOENT"
|
2042 |
+
|
2043 |
+
#@ backwpup
|
2044 |
+
#: job/backup_create.php:37
|
2045 |
+
msgid "(10) ER_EXISTS"
|
2046 |
+
msgstr "(10) ER_EXISTS"
|
2047 |
+
|
2048 |
+
#@ backwpup
|
2049 |
+
#: job/backup_create.php:39
|
2050 |
+
msgid "(11) ER_OPEN"
|
2051 |
+
msgstr "(11) ER_OPEN"
|
2052 |
+
|
2053 |
+
#@ backwpup
|
2054 |
+
#: job/backup_create.php:41
|
2055 |
+
msgid "(14) ER_MEMORY"
|
2056 |
+
msgstr "(14) ER_MEMORY"
|
2057 |
+
|
2058 |
+
#@ backwpup
|
2059 |
+
#: job/backup_create.php:43
|
2060 |
+
msgid "(18) ER_INVAL"
|
2061 |
+
msgstr "(18) ER_INVAL"
|
2062 |
+
|
2063 |
+
#@ backwpup
|
2064 |
+
#: job/backup_create.php:45
|
2065 |
+
msgid "(19) ER_NOZIP"
|
2066 |
+
msgstr "(19) ER_NOZIP"
|
2067 |
+
|
2068 |
+
#@ backwpup
|
2069 |
+
#: job/backup_create.php:47
|
2070 |
+
msgid "(21) ER_INCONS"
|
2071 |
+
msgstr "(21) ER_INCONS"
|
2072 |
+
|
2073 |
#@ backwpup
|
2074 |
#: job/backup_create.php:48
|
2075 |
+
#, php-format
|
2076 |
+
msgid "Zip returns status: %s"
|
2077 |
+
msgstr "ZIP liefert Status zurück: %s"
|
2078 |
|
2079 |
#@ backwpup
|
2080 |
+
#: job/backup_create.php:52
|
2081 |
+
msgid "Backup zip archive create done!"
|
2082 |
+
msgstr "Datensicherungs-ZIP-Archiv wurde erstellt!"
|
2083 |
|
2084 |
#@ backwpup
|
2085 |
+
#: job/backup_create.php:55
|
2086 |
+
msgid "Can not create backup zip archive $s!"
|
2087 |
+
msgstr "Datensicherungs-ZIP-Archiv kann nicht erstellt werden $s!"
|
|
|
2088 |
|
2089 |
#@ backwpup
|
2090 |
+
#: job/backup_create.php:62
|
2091 |
+
#, php-format
|
2092 |
+
msgid "%d. try to create backup zip (PclZip) archive..."
|
2093 |
+
msgstr "%d. Versuche Datensicherungs-Zip-Archiv (PclZip) zu erstellen ..."
|
2094 |
|
2095 |
#@ backwpup
|
2096 |
+
#: job/backup_create.php:71
|
2097 |
#, php-format
|
2098 |
+
msgid "Zip archive create error: %s"
|
2099 |
+
msgstr "ZIP-Archiv Erstellungsfehler: %s"
|
2100 |
|
2101 |
#@ backwpup
|
2102 |
+
#: job/backup_create.php:75
|
2103 |
+
msgid "Backup zip archive create done"
|
2104 |
+
msgstr "Datensicherungs-ZIP-Archiv wurde erstellt"
|
2105 |
|
2106 |
#@ backwpup
|
2107 |
+
#: job/backup_create.php:90
|
2108 |
+
msgid "Can not create tar arcive file!"
|
2109 |
+
msgstr "TAR-Archivdatei konnte nicht erstellt werden!"
|
2110 |
+
|
2111 |
+
#@ backwpup
|
2112 |
+
#: job/backup_create.php:93
|
2113 |
+
#, php-format
|
2114 |
+
msgid "%1$d. try to create %2$s archive file..."
|
2115 |
+
msgstr "%1$d. Versuche %2$s Archivdatei zu erstellen ..."
|
2116 |
+
|
2117 |
+
#@ backwpup
|
2118 |
+
#: job/backup_create.php:101
|
2119 |
+
#, php-format
|
2120 |
+
msgid "File \"%s\" not readable!"
|
2121 |
+
msgstr "Datei \"%s\" nicht lesbar!"
|
2122 |
+
|
2123 |
+
#@ backwpup
|
2124 |
+
#: job/backup_create.php:116
|
2125 |
+
#, php-format
|
2126 |
+
msgid "File name \"%1$s\" to long to save corectly in %2$s archive!"
|
2127 |
+
msgstr "Dateiname \"%1$s\" ist zu lang, um korrekt im %2$s Archiv zu speichern!"
|
2128 |
+
|
2129 |
+
#@ backwpup
|
2130 |
+
#: job/backup_create.php:118
|
2131 |
+
#, php-format
|
2132 |
+
msgid "File path \"%1$s\" to long to save corectly in %2$s archive!"
|
2133 |
+
msgstr "Dateipfad \"%1$s\" ist zu lang, um korrekt im %2$s Archiv zu speichern!"
|
2134 |
+
|
2135 |
+
#@ backwpup
|
2136 |
+
#: job/backup_create.php:195
|
2137 |
+
#, php-format
|
2138 |
+
msgid "%s archive creation done"
|
2139 |
+
msgstr "%s Archiverstellung fertig"
|
2140 |
+
|
2141 |
+
#@ backwpup
|
2142 |
+
#: job/backup_create.php:199
|
2143 |
+
#, php-format
|
2144 |
+
msgid "Archive size is %s"
|
2145 |
+
msgstr "Archivgröße ist %s"
|
2146 |
+
|
2147 |
+
#@ backwpup
|
2148 |
+
#: job/backup_create.php:206
|
2149 |
+
#, php-format
|
2150 |
+
msgid "PCL ZIP Error \"%1$s\" on file %2$s!"
|
2151 |
+
msgstr "PCL ZIP Fehler \"%1$s\" bei der Datei %2$s!"
|
2152 |
+
|
2153 |
+
#@ backwpup
|
2154 |
+
#: job/db_check.php:10
|
2155 |
+
#, php-format
|
2156 |
+
msgid "%d. try for database check..."
|
2157 |
+
msgstr "%d. Versuche Datenbank zu checken ..."
|
2158 |
+
|
2159 |
+
#@ backwpup
|
2160 |
+
#: job/db_check.php:23
|
2161 |
+
#: job/db_check.php:38
|
2162 |
+
#: job/db_dump.php:21
|
2163 |
+
#: job/db_dump.php:106
|
2164 |
+
#: job/db_dump.php:116
|
2165 |
+
#: job/db_optimize.php:21
|
2166 |
+
#: job/job_functions.php:56
|
2167 |
+
#: job/job_functions.php:69
|
2168 |
+
#, php-format
|
2169 |
+
msgid "Database error %1$s for query %2$s"
|
2170 |
+
msgstr "Datenbankfehler %1$s für die Abfrage (query) %2$s"
|
2171 |
+
|
2172 |
+
#@ backwpup
|
2173 |
+
#: job/db_check.php:55
|
2174 |
+
msgid "No tables to check"
|
2175 |
+
msgstr "Keine Tabellen zum checken"
|
2176 |
+
|
2177 |
+
#@ backwpup
|
2178 |
+
#: job/db_dump.php:11
|
2179 |
+
#, php-format
|
2180 |
+
msgid "%d. try for database dump..."
|
2181 |
+
msgstr "%d. Versuche Datenbank-Dump ..."
|
2182 |
+
|
2183 |
+
#@ backwpup
|
2184 |
+
#: job/db_dump.php:54
|
2185 |
+
#, php-format
|
2186 |
+
msgid "Dump database table \"%s\""
|
2187 |
+
msgstr "Dumpe Datenbanktabelle \"%s\""
|
2188 |
+
|
2189 |
+
#@ backwpup
|
2190 |
+
#: job/db_dump.php:71
|
2191 |
+
msgid "Database dump done!"
|
2192 |
+
msgstr "Datenbank-Dump fertig!"
|
2193 |
+
|
2194 |
+
#@ backwpup
|
2195 |
+
#: job/db_dump.php:73
|
2196 |
+
msgid "Can not create database dump!"
|
2197 |
+
msgstr "Datenbank-Dump kann nicht erstellt werden!"
|
2198 |
+
|
2199 |
+
#@ backwpup
|
2200 |
+
#: job/db_dump.php:76
|
2201 |
+
msgid "No tables to dump"
|
2202 |
+
msgstr "Es gibt keine Tabellen zum dumpen"
|
2203 |
+
|
2204 |
+
#@ backwpup
|
2205 |
+
#: job/db_dump.php:82
|
2206 |
+
#, php-format
|
2207 |
+
msgid "Add database dump \"%1$s\" with %2$s to backup file list"
|
2208 |
+
msgstr "Füge Datenbank-Dump \"%1$s\" mit %2$s der Datensicherungsdateiliste hinzu"
|
2209 |
+
|
2210 |
+
#@ backwpup
|
2211 |
+
#: job/db_optimize.php:10
|
2212 |
+
#, php-format
|
2213 |
+
msgid "%d. try for database optimize..."
|
2214 |
+
msgstr "%d. Versuche die Datenbank zu optimieren ..."
|
2215 |
+
|
2216 |
+
#@ backwpup
|
2217 |
+
#: job/db_optimize.php:37
|
2218 |
+
msgid "No tables to optimize"
|
2219 |
+
msgstr "Es gibt keine Datenbanktabellen zum Optimieren"
|
2220 |
+
|
2221 |
+
#@ backwpup
|
2222 |
+
#: job/dest_dropbox.php:12
|
2223 |
+
#, php-format
|
2224 |
+
msgid "%d. Try to sending backup file to DropBox..."
|
2225 |
+
msgstr "%d. Versuche Datensicherungsdatei zur Dropbox zu senden ..."
|
2226 |
+
|
2227 |
+
#@ backwpup
|
2228 |
+
#: job/dest_dropbox.php:21
|
2229 |
+
#: job/dest_dropbox.php:24
|
2230 |
+
#, php-format
|
2231 |
+
msgid "oAuth sign method for DropBox is %s"
|
2232 |
+
msgstr "oAuth Sign-Methode für Dropbox ist %s"
|
2233 |
+
|
2234 |
+
#@ backwpup
|
2235 |
+
#: job/dest_dropbox.php:21
|
2236 |
+
#: pages/func_backwpupeditjob.php:364
|
2237 |
+
msgid "PLAINTEXT"
|
2238 |
+
msgstr "PLAINTEXT"
|
2239 |
+
|
2240 |
+
#@ backwpup
|
2241 |
+
#: job/dest_dropbox.php:24
|
2242 |
+
#: pages/func_backwpupeditjob.php:363
|
2243 |
+
msgid "HMAC-SHA1"
|
2244 |
+
msgstr "HMAC-SHA1"
|
2245 |
+
|
2246 |
+
#@ backwpup
|
2247 |
+
#: job/dest_dropbox.php:33
|
2248 |
+
#, php-format
|
2249 |
+
msgid "Authed with DropBox from %s"
|
2250 |
+
msgstr "Authentifiziert mit Dropbox von %s"
|
2251 |
+
|
2252 |
+
#@ backwpup
|
2253 |
+
#: job/dest_dropbox.php:42
|
2254 |
+
#, php-format
|
2255 |
+
msgid "%s free on DropBox"
|
2256 |
+
msgstr "%s frei in der Dropbox"
|
2257 |
+
|
2258 |
+
#@ backwpup
|
2259 |
+
#: job/dest_dropbox.php:47
|
2260 |
+
msgid "Upload to DropBox now started... "
|
2261 |
+
msgstr "Hochladen zur Dropbox hat begonnen ... "
|
2262 |
+
|
2263 |
+
#@ backwpup
|
2264 |
+
#: job/dest_dropbox.php:54
|
2265 |
+
#, php-format
|
2266 |
+
msgid "Backup transferred to DropBox://%s"
|
2267 |
+
msgstr "Datensicherungsdatei übertragen zu Dropbox://%s"
|
2268 |
+
|
2269 |
+
#@ backwpup
|
2270 |
+
#: job/dest_dropbox.php:56
|
2271 |
+
#, php-format
|
2272 |
+
msgid "Error on transfere backup to DropBox: %s"
|
2273 |
+
msgstr "Fehler beim Übertragen der Datensicherungsdatei zur Dropbox: %s"
|
2274 |
+
|
2275 |
+
#@ backwpup
|
2276 |
+
#: job/dest_dropbox.php:62
|
2277 |
+
#: job/dest_dropbox.php:87
|
2278 |
+
#, php-format
|
2279 |
+
msgid "DropBox API: %s"
|
2280 |
+
msgstr "Dropbox-API: %s"
|
2281 |
+
|
2282 |
+
#@ backwpup
|
2283 |
+
#: job/dest_dropbox.php:83
|
2284 |
+
#, php-format
|
2285 |
+
msgid "One file deleted on DropBox"
|
2286 |
+
msgid_plural "%d files deleted on DropBox"
|
2287 |
+
msgstr[0] "Eine Datei in der Dropbox gelöscht"
|
2288 |
+
msgstr[1] "%d Dateien in der Dropbox gelöscht"
|
2289 |
+
|
2290 |
+
#@ backwpup
|
2291 |
+
#: job/dest_folder.php:31
|
2292 |
+
#, php-format
|
2293 |
+
msgid "One backup file deleted"
|
2294 |
+
msgid_plural "%d backup files deleted"
|
2295 |
+
msgstr[0] "Eine Datensicherungsdatei gelöscht"
|
2296 |
+
msgstr[1] "%d Datensicherungsdateien gelöscht"
|
2297 |
+
|
2298 |
+
#@ backwpup
|
2299 |
+
#: job/dest_ftp.php:15
|
2300 |
+
#, php-format
|
2301 |
+
msgid "%d. try to sending backup file to a FTP Server..."
|
2302 |
+
msgstr "%d. Versuche Datensicherungsdatei zu einem FTP-Server zu senden ..."
|
2303 |
+
|
2304 |
+
#@ backwpup
|
2305 |
+
#: job/dest_ftp.php:23
|
2306 |
+
#, php-format
|
2307 |
+
msgid "Connected by SSL-FTP to Server: %s"
|
2308 |
+
msgstr "Verbunden via SSL-FTP mit dem Server: %s"
|
2309 |
+
|
2310 |
+
#@ backwpup
|
2311 |
+
#: job/dest_ftp.php:25
|
2312 |
+
#, php-format
|
2313 |
+
msgid "Can not connect by SSL-FTP to Server: %s"
|
2314 |
+
msgstr "Kann nicht via SSL-FTP mit dem Server verbinden: %s"
|
2315 |
+
|
2316 |
+
#@ backwpup
|
2317 |
+
#: job/dest_ftp.php:29
|
2318 |
+
msgid "PHP function to connect with SSL-FTP to server not exists!"
|
2319 |
+
msgstr "PHP-Funktion, um mit SSL-FTP zum Server zu verbinden, existiert nicht!"
|
2320 |
+
|
2321 |
+
#@ backwpup
|
2322 |
+
#: job/dest_ftp.php:35
|
2323 |
+
#, php-format
|
2324 |
+
msgid "Connected to FTP server: %s"
|
2325 |
+
msgstr "Verbunden mit dem FTP-Server: %s"
|
2326 |
+
|
2327 |
+
#@ backwpup
|
2328 |
+
#: job/dest_ftp.php:37
|
2329 |
+
#, php-format
|
2330 |
+
msgid "Can not connect to FTP server: %s"
|
2331 |
+
msgstr "Kann nicht mit dem FTP-Server verbinden: %s"
|
2332 |
+
|
2333 |
+
#@ backwpup
|
2334 |
+
#: job/dest_ftp.php:44
|
2335 |
+
#: job/dest_ftp.php:51
|
2336 |
+
#: job/dest_ftp.php:63
|
2337 |
+
#: job/dest_ftp.php:76
|
2338 |
+
#, php-format
|
2339 |
+
msgid "FTP Client command: %s"
|
2340 |
+
msgstr "FTP-Client-Kommando: %s"
|
2341 |
+
|
2342 |
+
#@ backwpup
|
2343 |
+
#: job/dest_ftp.php:46
|
2344 |
+
#: job/dest_ftp.php:49
|
2345 |
+
#: job/dest_ftp.php:53
|
2346 |
+
#: job/dest_ftp.php:66
|
2347 |
+
#: job/dest_ftp.php:68
|
2348 |
+
#: job/dest_ftp.php:71
|
2349 |
+
#: job/dest_ftp.php:73
|
2350 |
+
#: job/dest_ftp.php:79
|
2351 |
+
#: job/dest_ftp.php:81
|
2352 |
+
#, php-format
|
2353 |
+
msgid "FTP Server reply: %s"
|
2354 |
+
msgstr "FTP-Server Antwort: %s"
|
2355 |
+
|
2356 |
+
#@ backwpup
|
2357 |
+
#: job/dest_ftp.php:91
|
2358 |
+
#, php-format
|
2359 |
+
msgid "FTP Folder \"%s\" created!"
|
2360 |
+
msgstr "FTP-Ordner \"%s\" erstellt!"
|
2361 |
+
|
2362 |
+
#@ backwpup
|
2363 |
+
#: job/dest_ftp.php:94
|
2364 |
+
#, php-format
|
2365 |
+
msgid "FTP Folder \"%s\" can not created!"
|
2366 |
+
msgstr "FTP-Ordner \"%s\" kann nicht erstellt werden!"
|
2367 |
+
|
2368 |
+
#@ backwpup
|
2369 |
+
#: job/dest_ftp.php:103
|
2370 |
+
#, php-format
|
2371 |
+
msgid "Backup transferred to FTP server: %s"
|
2372 |
+
msgstr "Datensicherungsdatei übertragen zum FTP-Server: %s"
|
2373 |
+
|
2374 |
+
#@ backwpup
|
2375 |
+
#: job/dest_ftp.php:106
|
2376 |
+
msgid "Can not transfer backup to FTP server!"
|
2377 |
+
msgstr "Datensicherungsdatei kann nicht zum FTP-Server übertragen werden!"
|
2378 |
+
|
2379 |
+
#@ backwpup
|
2380 |
+
#: job/dest_ftp.php:123
|
2381 |
+
#, php-format
|
2382 |
+
msgid "Can not delete \"%s\" on FTP server!"
|
2383 |
+
msgstr "Kann \"%s\" nicht löschen auf dem FTP-Server!"
|
2384 |
+
|
2385 |
+
#@ backwpup
|
2386 |
+
#: job/dest_ftp.php:126
|
2387 |
+
#, php-format
|
2388 |
+
msgid "One file deleted on FTP Server"
|
2389 |
+
msgid_plural "%d files deleted on FTP Server"
|
2390 |
+
msgstr[0] "Eine Datei auf dem FTP-Server gelöscht"
|
2391 |
+
msgstr[1] "%d Dateien auf dem FTP-Server gelöscht"
|
2392 |
+
|
2393 |
+
#@ backwpup
|
2394 |
+
#: job/dest_gstorage.php:12
|
2395 |
+
#, php-format
|
2396 |
+
msgid "%d. try sending backup to Google Storage..."
|
2397 |
+
msgstr "%d. Versuche Datensicherungsdatei zu Google Storage zu senden ..."
|
2398 |
+
|
2399 |
+
#@ backwpup
|
2400 |
+
#: job/dest_gstorage.php:20
|
2401 |
+
#, php-format
|
2402 |
+
msgid "Connected to Google storage bucket: %s"
|
2403 |
+
msgstr "Verbunden mit Google Storage Bucket: %s"
|
2404 |
+
|
2405 |
+
#@ backwpup
|
2406 |
+
#: job/dest_gstorage.php:31
|
2407 |
+
msgid "Upload to Google storage now started..."
|
2408 |
+
msgstr "Hochladen zu Google Storage hat jetzt begonnen ..."
|
2409 |
+
|
2410 |
+
#@ backwpup
|
2411 |
+
#: job/dest_gstorage.php:36
|
2412 |
+
#, php-format
|
2413 |
+
msgid "Backup transferred to GSTORAGE://%s"
|
2414 |
+
msgstr "Datensicherungsdatei übertragen zu GSTORAGE://%s"
|
2415 |
+
|
2416 |
+
#@ backwpup
|
2417 |
+
#: job/dest_gstorage.php:39
|
2418 |
+
#, php-format
|
2419 |
+
msgid "Error \"%s\" on transfer backup to Google storage!"
|
2420 |
+
msgstr "Fehler \"%s\" bei der Übertragung der Datensicherung zu Google Storage!"
|
2421 |
+
|
2422 |
+
#@ backwpup
|
2423 |
+
#: job/dest_gstorage.php:42
|
2424 |
+
#, php-format
|
2425 |
+
msgid "Error \"%s\" on connect to Google Storage bucket"
|
2426 |
+
msgstr "Fehler \"%s\" beim Verbinden zu Google Storage Bucket"
|
2427 |
+
|
2428 |
+
#@ backwpup
|
2429 |
+
#: job/dest_gstorage.php:45
|
2430 |
+
#: job/dest_gstorage.php:72
|
2431 |
+
#, php-format
|
2432 |
+
msgid "Google Storage API: %s"
|
2433 |
+
msgstr "Google Storage API: %s"
|
2434 |
+
|
2435 |
+
#@ backwpup
|
2436 |
+
#: job/dest_gstorage.php:67
|
2437 |
+
#, php-format
|
2438 |
+
msgid "One file deleted on Google Storage bucket"
|
2439 |
+
msgid_plural "%d files deleted on Google Storage bucket"
|
2440 |
+
msgstr[0] "Eine Datei im Google Storage Bucket gelöscht"
|
2441 |
+
msgstr[1] "%d Dateien im Google Storage Bucket gelöscht"
|
2442 |
+
|
2443 |
+
#@ backwpup
|
2444 |
+
#: job/dest_mail.php:12
|
2445 |
+
#, php-format
|
2446 |
+
msgid "%d. try to sending backup with mail..."
|
2447 |
+
msgstr "%d. Versuche Datensicherung via E-Mail zu senden ..."
|
2448 |
+
|
2449 |
+
#@ backwpup
|
2450 |
+
#: job/dest_mail.php:42
|
2451 |
+
#, php-format
|
2452 |
+
msgid "BackWPup archive from %1$s: %2$s"
|
2453 |
+
msgstr "BackWPup-Archiv vom %1$s: %2$s"
|
2454 |
+
|
2455 |
+
#@ backwpup
|
2456 |
+
#: job/dest_mail.php:44
|
2457 |
+
#, php-format
|
2458 |
+
msgid "Backup archive: %s"
|
2459 |
+
msgstr "Datensicherungsarchiv: %s"
|
2460 |
+
|
2461 |
+
#@ backwpup
|
2462 |
+
#: job/dest_mail.php:50
|
2463 |
+
msgid "Backup archive too big for sending by mail!"
|
2464 |
+
msgstr "Das Datensicherungsarchiv ist zu groß zum Senden via E-Mail!"
|
2465 |
+
|
2466 |
+
#@ backwpup
|
2467 |
+
#: job/dest_mail.php:57
|
2468 |
+
msgid "Adding backup archive to mail"
|
2469 |
+
msgstr "Datensicherungsarchiv wird der E-Mail hinzugefügt"
|
2470 |
+
|
2471 |
+
#@ backwpup
|
2472 |
+
#: job/dest_mail.php:64
|
2473 |
+
#, php-format
|
2474 |
+
msgid "Error \"%s\" on sending mail!"
|
2475 |
+
msgstr "Fehler \"%s\" beim Mailversand!"
|
2476 |
+
|
2477 |
+
#@ backwpup
|
2478 |
+
#: job/dest_msazure.php:11
|
2479 |
+
#, php-format
|
2480 |
+
msgid "%d. try sending backup to a Microsoft Azure (Blob)..."
|
2481 |
+
msgstr "%d. Versuche Datensicherung zu Microsoft Azure (Blob) zu senden ..."
|
2482 |
+
|
2483 |
+
#@ backwpup
|
2484 |
+
#: job/dest_msazure.php:20
|
2485 |
+
#, php-format
|
2486 |
+
msgid "Microsoft Azure container \"%s\" not exists!"
|
2487 |
+
msgstr "Microsoft Azure Container \"%s\" existiert nicht!"
|
2488 |
+
|
2489 |
+
#@ backwpup
|
2490 |
+
#: job/dest_msazure.php:23
|
2491 |
+
#, php-format
|
2492 |
+
msgid "Connected to Microsoft Azure container \"%s\""
|
2493 |
+
msgstr "Verbunden mit Microsoft Azure Container \"%s\""
|
2494 |
+
|
2495 |
+
#@ backwpup
|
2496 |
+
#: job/dest_msazure.php:26
|
2497 |
+
msgid "Upload to MS Azure now started... "
|
2498 |
+
msgstr "Hochladen zu MS Azure hat begonnen ... "
|
2499 |
+
|
2500 |
+
#@ backwpup
|
2501 |
+
#: job/dest_msazure.php:32
|
2502 |
+
#, php-format
|
2503 |
+
msgid "Backup transferred to azure://%s"
|
2504 |
+
msgstr "Datensicherungsdatei übertragen zu MS Azure://%s"
|
2505 |
+
|
2506 |
+
#@ backwpup
|
2507 |
+
#: job/dest_msazure.php:35
|
2508 |
+
msgid "Can not transfer backup to Microsoft Azure!"
|
2509 |
+
msgstr "Kann Datensicherung nicht Microsoft Azure übertragen!"
|
2510 |
+
|
2511 |
+
#@ backwpup
|
2512 |
+
#: job/dest_msazure.php:56
|
2513 |
+
#, php-format
|
2514 |
+
msgid "One file deleted on Microsoft Azure container"
|
2515 |
+
msgid_plural "%d files deleted on Microsoft Azure container"
|
2516 |
+
msgstr[0] "Eine Datei im Microsoft Azure Container gelöscht"
|
2517 |
+
msgstr[1] "%d Dateien im Microsoft Azure Container gelöscht"
|
2518 |
+
|
2519 |
+
#@ backwpup
|
2520 |
+
#: job/dest_msazure.php:61
|
2521 |
+
#, php-format
|
2522 |
+
msgid "Microsoft Azure API: %s"
|
2523 |
+
msgstr "Microsoft Azure API: %s"
|
2524 |
+
|
2525 |
+
#@ backwpup
|
2526 |
+
#: job/dest_rsc.php:94
|
2527 |
+
#, php-format
|
2528 |
+
msgid "One file deleted on RSC container"
|
2529 |
+
msgid_plural "%d files deleted on RSC container"
|
2530 |
+
msgstr[0] "Eine Datei im RSC-Container gelöscht"
|
2531 |
+
msgstr[1] "%d Dateien im RSC-Container gelöscht"
|
2532 |
+
|
2533 |
+
#@ backwpup
|
2534 |
+
#: job/dest_s3.php:10
|
2535 |
+
#, php-format
|
2536 |
+
msgid "%d. try sending backup file to Amazon S3..."
|
2537 |
+
msgstr "%d. Versuche Datensicherungsdatei zu Amazon S3 zu senden ..."
|
2538 |
+
|
2539 |
+
#@ backwpup
|
2540 |
+
#: job/dest_s3.php:20
|
2541 |
+
#, php-format
|
2542 |
+
msgid "Connected to S3 Bucket: %s"
|
2543 |
+
msgstr "Verbunden mit dem S3 Bucket: %s"
|
2544 |
+
|
2545 |
+
#@ backwpup
|
2546 |
+
#: job/dest_s3.php:32
|
2547 |
+
msgid "Upload to Amazon S3 now started... "
|
2548 |
+
msgstr "Hochladen zu Amazon S3 hat begonnen ..."
|
2549 |
+
|
2550 |
+
#@ backwpup
|
2551 |
+
#: job/dest_s3.php:35
|
2552 |
+
#, php-format
|
2553 |
+
msgid "Backup transferred to S3://%s"
|
2554 |
+
msgstr "Datensicherungsdatei übertragen zu Amazon S3://%s"
|
2555 |
+
|
2556 |
+
#@ backwpup
|
2557 |
+
#: job/dest_s3.php:38
|
2558 |
+
msgid "Can not transfer backup to S3!"
|
2559 |
+
msgstr "Kann Datensicherung nicht zu Amazon S3 übertragen!"
|
2560 |
+
|
2561 |
+
#@ backwpup
|
2562 |
+
#: job/dest_s3.php:41
|
2563 |
+
#, php-format
|
2564 |
+
msgid "S3 Bucket \"%s\" not exists!"
|
2565 |
+
msgstr "Amazon S3 Bucket \"%s\" existiert nicht!"
|
2566 |
+
|
2567 |
+
#@ backwpup
|
2568 |
+
#: job/dest_s3.php:44
|
2569 |
+
#: job/dest_s3.php:73
|
2570 |
+
#, php-format
|
2571 |
+
msgid "Amazon API: %s"
|
2572 |
+
msgstr "Amazon S3 API: %s"
|
2573 |
+
|
2574 |
+
#@ backwpup
|
2575 |
+
#: job/dest_s3.php:65
|
2576 |
+
#, php-format
|
2577 |
+
msgid "Can not delete backup on S3://%s"
|
2578 |
+
msgstr "Datensicherung kann nicht gelöscht werden bei Amazon S3://%s"
|
2579 |
+
|
2580 |
+
#@ backwpup
|
2581 |
+
#: job/dest_s3.php:68
|
2582 |
+
#, php-format
|
2583 |
+
msgid "One file deleted on S3 Bucket"
|
2584 |
+
msgid_plural "%d files deleted on S3 Bucket"
|
2585 |
+
msgstr[0] "Eine Datei im Amazon S3 Bucket gelöscht"
|
2586 |
+
msgstr[1] "%d Dateien im Amazon S3 Bucket gelöscht"
|
2587 |
+
|
2588 |
+
#@ backwpup
|
2589 |
+
#: job/dest_sugarsync.php:12
|
2590 |
+
#, php-format
|
2591 |
+
msgid "%d. try sending backup to SugarSync..."
|
2592 |
+
msgstr "%d. Versuche Datensicherung zu SugarSync zu senden ..."
|
2593 |
+
|
2594 |
+
#@ backwpup
|
2595 |
+
#: job/dest_sugarsync.php:21
|
2596 |
+
#, php-format
|
2597 |
+
msgid "Authed to SugarSync with Nick %s"
|
2598 |
+
msgstr "Authentifiziert mit SugarSync, mit dem Namen %s"
|
2599 |
+
|
2600 |
+
#@ backwpup
|
2601 |
+
#: job/dest_sugarsync.php:30
|
2602 |
+
#, php-format
|
2603 |
+
msgid "%s free on SugarSync"
|
2604 |
+
msgstr "%s frei bei SugarSync"
|
2605 |
+
|
2606 |
+
#@ backwpup
|
2607 |
+
#: job/dest_sugarsync.php:37
|
2608 |
+
msgid "Upload to SugarSync now started... "
|
2609 |
+
msgstr "Hochladen zu SugarSync hat begonnen ... "
|
2610 |
+
|
2611 |
+
#@ backwpup
|
2612 |
+
#: job/dest_sugarsync.php:43
|
2613 |
+
#, php-format
|
2614 |
+
msgid "Backup transferred to SugarSync://%s"
|
2615 |
+
msgstr "Datensicherungsdatei übertragen zu SugarSync://%s"
|
2616 |
+
|
2617 |
+
#@ backwpup
|
2618 |
+
#: job/dest_sugarsync.php:45
|
2619 |
+
msgid "Can not transfer backup to SugarSync!"
|
2620 |
+
msgstr "Datensicherung kann nicht zu SugarSync übertragen werden!"
|
2621 |
+
|
2622 |
+
#@ backwpup
|
2623 |
+
#: job/dest_sugarsync.php:68
|
2624 |
+
#, php-format
|
2625 |
+
msgid "One file deleted on SugarSync folder"
|
2626 |
+
msgid_plural "%d files deleted on SugarSync folder"
|
2627 |
+
msgstr[0] "Eine Datei im SugarSync-Ordner gelöscht"
|
2628 |
+
msgstr[1] "%d Dateien im SugarSync-Ordner gelöscht"
|
2629 |
+
|
2630 |
+
#@ backwpup
|
2631 |
+
#: job/dest_sugarsync.php:72
|
2632 |
+
#, php-format
|
2633 |
+
msgid "SugarSync API: %s"
|
2634 |
+
msgstr "SugarSync API: %s"
|
2635 |
+
|
2636 |
+
#@ backwpup
|
2637 |
+
#: job/file_list.php:12
|
2638 |
+
#, php-format
|
2639 |
+
msgid "%d. try for make list of files to backup...."
|
2640 |
+
msgstr "%d. Versuche Liste von Dateien zur Datensicherung zu erstellen ..."
|
2641 |
+
|
2642 |
+
#@ backwpup
|
2643 |
+
#: job/file_list.php:69
|
2644 |
+
msgid "No files to backup"
|
2645 |
+
msgstr "Keine Dateien zur Datensicherung vorhanden"
|
2646 |
+
|
2647 |
+
#@ backwpup
|
2648 |
+
#: job/file_list.php:71
|
2649 |
+
#, php-format
|
2650 |
+
msgid "%1$d files with %2$s to backup"
|
2651 |
+
msgstr "%1$d Dateien mit %2$s zum Sichern"
|
2652 |
+
|
2653 |
+
#@ backwpup
|
2654 |
+
#: job/file_list.php:94
|
2655 |
+
#, php-format
|
2656 |
+
msgid "File or folder \"%s\" is not readable!"
|
2657 |
+
msgstr "Datei oder Ordner \"%s\" ist nicht lesbar!"
|
2658 |
+
|
2659 |
+
#@ backwpup
|
2660 |
+
#: job/file_list.php:96
|
2661 |
+
#, php-format
|
2662 |
+
msgid "Link \"%s\" not followed"
|
2663 |
+
msgstr "Link \"%s\" ist nicht erlaubt"
|
2664 |
+
|
2665 |
+
#@ backwpup
|
2666 |
+
#: job/file_list.php:102
|
2667 |
+
#, php-format
|
2668 |
+
msgid "\"%s\" is not a file or directory"
|
2669 |
+
msgstr "\"%s\" ist keine Datei oder ein Verzeichnis"
|
2670 |
+
|
2671 |
+
#@ backwpup
|
2672 |
+
#: job/job_functions.php:107
|
2673 |
+
#, php-format
|
2674 |
+
msgid "PHP Safe mode is on!!! Can not increase memory limit is %s"
|
2675 |
+
msgstr "PHP-Safemode ist an!!! Das PHP-Speicherlimit kann nicht erhöht werden, es beträgt derzeit %s"
|
2676 |
+
|
2677 |
+
#@ backwpup
|
2678 |
+
#: job/job_functions.php:136
|
2679 |
+
#, php-format
|
2680 |
+
msgid "Can not increase memory limit is %1$s"
|
2681 |
+
msgstr "Das PHP-Speicherlimit kann nicht erhöht werden, es beträgt derzeit %s"
|
2682 |
+
|
2683 |
+
#@ backwpup
|
2684 |
+
#: job/job_functions.php:146
|
2685 |
+
msgid "Set Blog to maintenance mode"
|
2686 |
+
msgstr "Webseite/ Blog in den Wartungsmodus versetzen"
|
2687 |
+
|
2688 |
+
#@ backwpup
|
2689 |
+
#: job/job_functions.php:160
|
2690 |
+
msgid "Cannot set Blog to maintenance mode! Root folder is not writeable!"
|
2691 |
+
msgstr "Webseite/ Blog kann nicht in den Wartungsmodus versetzt werden! Der Root-Ordner ist nicht beschreibbar!"
|
2692 |
+
|
2693 |
+
#@ backwpup
|
2694 |
+
#: job/job_functions.php:163
|
2695 |
+
msgid "Set Blog to normal mode"
|
2696 |
+
msgstr "Setze Webseite/ Blog zurück in den Normalmodus"
|
2697 |
+
|
2698 |
+
#@ backwpup
|
2699 |
+
#: job/job_functions.php:241
|
2700 |
+
#, php-format
|
2701 |
+
msgid "No MySQL connection: %s"
|
2702 |
+
msgstr "Keine MySQL-Verbindung: %s"
|
2703 |
+
|
2704 |
+
#@ backwpup
|
2705 |
+
#: job/job_functions.php:256
|
2706 |
+
#, php-format
|
2707 |
+
msgid "No MySQL connection to database: %s"
|
2708 |
+
msgstr "Keine MySQL-Verbindung zur Datenbank: %s"
|
2709 |
+
|
2710 |
+
#@ backwpup
|
2711 |
+
#: job/job_functions.php:373
|
2712 |
+
#, php-format
|
2713 |
+
msgid "One old log deleted"
|
2714 |
+
msgid_plural "%d old logs deleted"
|
2715 |
+
msgstr[0] "Eine alte Protokolldatei gelöscht"
|
2716 |
+
msgstr[1] "%d alte Protokolldateien gelöscht"
|
2717 |
+
|
2718 |
+
#@ backwpup
|
2719 |
+
#: job/job_functions.php:377
|
2720 |
+
#, php-format
|
2721 |
+
msgid "Job done in %s sec."
|
2722 |
+
msgstr "Auftrag erledigt in %s Sekunden."
|
2723 |
+
|
2724 |
+
#@ backwpup
|
2725 |
+
#: job/job_functions.php:477
|
2726 |
+
#, php-format
|
2727 |
+
msgid "Jobname: %s"
|
2728 |
+
msgstr "Auftragsname: %s"
|
2729 |
+
|
2730 |
+
#@ backwpup
|
2731 |
+
#: job/job_functions.php:478
|
2732 |
+
#, php-format
|
2733 |
+
msgid "Jobtype: %s"
|
2734 |
+
msgstr "Auftragstyp: %s"
|
2735 |
+
|
2736 |
+
#@ backwpup
|
2737 |
+
#: job/job_functions.php:480
|
2738 |
+
#, php-format
|
2739 |
+
msgid "Errors: %d"
|
2740 |
+
msgstr "Fehler: %d"
|
2741 |
+
|
2742 |
+
#@ backwpup
|
2743 |
+
#: job/job_functions.php:482
|
2744 |
+
#, php-format
|
2745 |
+
msgid "Warnings: %d"
|
2746 |
+
msgstr "Warnungen: %d"
|
2747 |
+
|
2748 |
+
#@ backwpup
|
2749 |
+
#: job/job_functions.php:487
|
2750 |
+
#, php-format
|
2751 |
+
msgid "BackWPup log from %1$s: %2$s"
|
2752 |
+
msgstr "BackWPup-Protokoll vom %1$s: %2$s"
|
2753 |
+
|
2754 |
+
#@ backwpup
|
2755 |
+
#: job/job_run.php:56
|
2756 |
+
msgid "Job restart terminated, bcause old job runs again!"
|
2757 |
+
msgstr "Auftragsneustart verschoben, weil der alte/ bisherige Auftrag noch läuft!"
|
2758 |
+
|
2759 |
+
#@ backwpup
|
2760 |
+
#: job/job_run.php:59
|
2761 |
+
msgid "Job restarted, bcause inactivity!"
|
2762 |
+
msgstr "Auftrag neu gestartet, wegen Inaktivität!"
|
2763 |
+
|
2764 |
+
#@ backwpup
|
2765 |
+
#: job/job_run.php:61
|
2766 |
+
#, php-format
|
2767 |
+
msgid "Second Prozess is running, bcause old job runs! Start type is %s"
|
2768 |
+
msgstr "Ein zweiter Prozess läuft, weil alte/ bisherige Aufträge laufen! Startzeit ist %s"
|
2769 |
+
|
2770 |
+
#@ backwpup
|
2771 |
+
#: job/job_run.php:87
|
2772 |
+
#, php-format
|
2773 |
+
msgid "Can not find job step file: %s"
|
2774 |
+
msgstr "Datei mit Abarbeitungsschritten kann nicht gefunden werden: %s"
|
2775 |
+
|
2776 |
+
#@ backwpup
|
2777 |
+
#: job/job_run.php:101
|
2778 |
+
msgid "[INFO]: BackWPup job strated by cron"
|
2779 |
+
msgstr "[INFO]: BackWPup-Auftrag via Cron gestartet"
|
2780 |
+
|
2781 |
+
#@ backwpup
|
2782 |
+
#: job/job_run.php:103
|
2783 |
+
msgid "[INFO]: BackWPup job strated manualy"
|
2784 |
+
msgstr "[INFO]: BackWPup-Auftrag manuell gestartet"
|
2785 |
+
|
2786 |
+
#@ backwpup
|
2787 |
+
#: job/job_run.php:106
|
2788 |
+
#, php-format
|
2789 |
+
msgid "[INFO]: PHP Safe mode is ON! Maximum script execution time is %1$d sec."
|
2790 |
+
msgstr "[INFO]: PHP-Safemode ist AN! Die maximale Skriptausführzeit ist %1$d Sekunden"
|
2791 |
+
|
2792 |
+
#@ backwpup
|
2793 |
+
#: job/job_run.php:125
|
2794 |
+
msgid "No destination defineid for backup!!! Please correct job settings"
|
2795 |
+
msgstr "Kein Zielort für die Datensicherung festgelegt!!! Bitte korrigieren Sie die Auftragseinstellungen."
|
2796 |
+
|
2797 |
+
#@ backwpup
|
2798 |
+
#: job/job_run.php:147
|
2799 |
+
msgid "Step arborted has too many trys!"
|
2800 |
+
msgstr "Schritt wurde abgebrochen - hat zuviele Versuche!"
|
2801 |
+
|
2802 |
+
#@ backwpup
|
2803 |
+
#: job/job_run.php:149
|
2804 |
+
#, php-format
|
2805 |
+
msgid "Can not find job step function %s!"
|
2806 |
+
msgstr "Funktion für die Auftragsschritte kann nicht gefunden werden %s!"
|
2807 |
+
|
2808 |
+
#@ backwpup
|
2809 |
+
#: job/job_start.php:31
|
2810 |
+
#, php-format
|
2811 |
+
msgid "Can not create temp folder: %s"
|
2812 |
+
msgstr "Temp-Ordner kann nicht erstellt werden: %s"
|
2813 |
+
|
2814 |
+
#@ backwpup
|
2815 |
+
#: job/job_start.php:134
|
2816 |
+
#, php-format
|
2817 |
+
msgid "Can not create folder for log files: %s"
|
2818 |
+
msgstr "Ordner für Protokolldateien kann nicht erstellt werden: %s"
|
2819 |
+
|
2820 |
+
#@ backwpup
|
2821 |
+
#: job/job_start.php:173
|
2822 |
+
#, php-format
|
2823 |
+
msgid "BackWPup log for %1$s from %2$s at %3$s"
|
2824 |
+
msgstr "BackWPup-Protokoll für %1$s von %2$s am %3$s"
|
2825 |
+
|
2826 |
+
#@ backwpup
|
2827 |
+
#: job/job_start.php:201
|
2828 |
+
#, php-format
|
2829 |
+
msgid "Can not create folder for backups: %1$s"
|
2830 |
+
msgstr "Ordner für Datensicherungen kann nicht erstellt werden: %1$s"
|
2831 |
+
|
2832 |
+
#@ backwpup
|
2833 |
+
#: job/wp_export.php:11
|
2834 |
+
#, php-format
|
2835 |
+
msgid "%d. try for wordpress export to XML file..."
|
2836 |
+
msgstr "%d. Versuche WordPress-XML-Datei zu exportieren ..."
|
2837 |
+
|
2838 |
+
#@ backwpup
|
2839 |
+
#: job/wp_export.php:44
|
2840 |
+
#, php-format
|
2841 |
+
msgid "Add XML export \"%1$s\" to backup list with %2$s"
|
2842 |
+
msgstr "Füge XML-Export \"%1$s\" der Datensicherungs-Liste hinzu, mit %2$s"
|
2843 |
+
|
2844 |
+
#@ backwpup
|
2845 |
+
#: pages/func_backwpupeditjob.php:23
|
2846 |
+
msgid "PHP curl functions not available! Most backup destinations deaktivated!"
|
2847 |
+
msgstr "PHP cURL-Funktionen nicht verfügbar! Daher werden die meisten Datensicherungsziele deaktiviert!"
|
2848 |
+
|
2849 |
+
#@ backwpup
|
2850 |
+
#: pages/func_backwpupeditjob.php:361
|
2851 |
+
msgid "oAuth sign method:"
|
2852 |
+
msgstr "oAuth Sign-Methode:"
|
2853 |
+
|
2854 |
+
#@ backwpup
|
2855 |
+
#: pages/page_backwpupsettings.php:137
|
2856 |
+
msgid "PHP zip class"
|
2857 |
+
msgstr "PHP ZIP-Klasse"
|
2858 |
+
|
2859 |
+
#@ backwpup
|
2860 |
+
#: pages/page_backwpupsettings.php:138
|
2861 |
+
msgid "PHP zip"
|
2862 |
+
msgstr "PHP-ZIP"
|
2863 |
+
|
2864 |
+
#@ backwpup
|
2865 |
+
#: pages/page_backwpupsettings.php:140
|
2866 |
+
msgid "Use PHP zip class if available! Normaly PCL Zip class will used."
|
2867 |
+
msgstr "Benutze die PHP ZIP-Klasse, falls verfügbar! Normalerweise wird die PCL ZIP-Klasse benutzt."
|
2868 |
+
|
2869 |
+
#@ backwpup
|
2870 |
+
#: pages/page_backwpupsettings.php:168
|
2871 |
+
#: pages/page_backwpupsettings.php:169
|
2872 |
+
msgid "Use corn service of backwpup.com"
|
2873 |
+
msgstr "Benutze den Cron-Dienst von backwpup.com"
|
2874 |
+
|
2875 |
+
#@ backwpup
|
2876 |
+
#: pages/page_backwpupsettings.php:171
|
2877 |
+
msgid "If you check this than the job Schedule will submited too 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 have less visits.</em> Pelase make a littel donaten for the plugin if you use this servcie. The service can every time removed by me without a massage."
|
2878 |
+
msgstr "Wenn Sie diese Einstellung setzen, wird Ihre Auftragsplanung an BackWPup.com übermittelt. BackWPup.com wird die Datei wp-cron.php von Ihrer Webseite/ Ihrem Blog aufrufen, um den Auftrag zu starten. <em>Benutzen Sie diesen Dienst nur, wenn Ihr Webhoster keinen Cron-Dienst anbietet, oder Ihre Webseite/ Ihr Blog nur wenige Besucher hat.</em> Bitte spenden Sie doch einen kleinen Betrag, falls Sie diesen Cron-Dienst nutzen. - Wichtiger Hinweis: Dieser externe Service kann jederzeit wieder geschlossen werden, auch ohne Benachrichtigung!"
|
2879 |
+
|
2880 |
+
#@ default
|
2881 |
+
#: job/job_run.php:95
|
2882 |
+
#, php-format
|
2883 |
+
msgid "[INFO]: BackWPup version %1$s, WordPress version %4$s Copyright © %2$s %3$s"
|
2884 |
+
msgstr "[INFO]: BackWPup Version %1$s, WordPress Version %4$s Urheberrecht © %2$s %3$s"
|
2885 |
+
|
2886 |
+
#@ backwpup
|
2887 |
+
#. translators: plugin header field 'Version'
|
2888 |
+
#: backwpup.php:0
|
2889 |
+
msgid "2.1.0"
|
2890 |
+
msgstr "2.1.0"
|
2891 |
|
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.0\n"
|
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,1841 +12,2000 @@ 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 |
-
#: pages/func_backwpuplogs.php:79 pages/func_backwpuplogs.php:133
|
22 |
-
#: pages/func_backwpupeditjob.php:29
|
23 |
-
msgid "Delete"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#:
|
27 |
-
msgid "
|
28 |
msgstr ""
|
29 |
|
30 |
-
#:
|
31 |
-
msgid "File"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#:
|
35 |
-
msgid "
|
36 |
msgstr ""
|
37 |
|
38 |
-
#:
|
39 |
-
msgid "
|
40 |
msgstr ""
|
41 |
|
42 |
-
#:
|
43 |
-
msgid "
|
44 |
msgstr ""
|
45 |
|
46 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
msgid ""
|
48 |
-
"
|
49 |
-
"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#:
|
53 |
-
|
54 |
-
|
|
|
55 |
msgstr ""
|
56 |
|
57 |
-
#:
|
58 |
-
msgid "
|
59 |
msgstr ""
|
60 |
|
61 |
-
#:
|
62 |
-
msgid "
|
63 |
msgstr ""
|
64 |
|
65 |
-
#:
|
66 |
-
msgid "
|
67 |
msgstr ""
|
68 |
|
69 |
-
#:
|
70 |
-
msgid "
|
71 |
msgstr ""
|
72 |
|
73 |
-
#:
|
74 |
-
msgid "
|
75 |
msgstr ""
|
76 |
|
77 |
-
#:
|
78 |
-
msgid "
|
79 |
msgstr ""
|
80 |
|
81 |
-
#:
|
82 |
-
msgid "
|
83 |
msgstr ""
|
84 |
|
85 |
-
#:
|
86 |
-
msgid "
|
87 |
msgstr ""
|
88 |
|
89 |
-
#:
|
90 |
-
msgid "
|
91 |
msgstr ""
|
92 |
|
93 |
-
#:
|
94 |
-
msgid "
|
95 |
msgstr ""
|
96 |
|
97 |
-
#:
|
98 |
-
msgid "
|
99 |
msgstr ""
|
100 |
|
101 |
-
#:
|
102 |
-
msgid "
|
103 |
msgstr ""
|
104 |
|
105 |
-
#:
|
106 |
-
msgid "
|
107 |
msgstr ""
|
108 |
|
109 |
-
#:
|
110 |
-
msgid "
|
111 |
msgstr ""
|
112 |
|
113 |
-
#:
|
114 |
-
msgid "
|
115 |
msgstr ""
|
116 |
|
117 |
-
#:
|
118 |
-
|
119 |
-
#: pages/page_backwpupeditjob.php:150
|
120 |
-
msgid "Exclude:"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#:
|
124 |
-
msgid "
|
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 |
msgstr ""
|
146 |
|
147 |
-
#:
|
148 |
-
msgid "
|
149 |
msgstr ""
|
150 |
|
151 |
-
#:
|
152 |
-
msgid "
|
153 |
msgstr ""
|
154 |
|
155 |
-
#:
|
156 |
-
msgid "
|
157 |
msgstr ""
|
158 |
|
159 |
-
#:
|
160 |
-
msgid "
|
161 |
msgstr ""
|
162 |
|
163 |
-
#:
|
164 |
-
msgid "
|
165 |
msgstr ""
|
166 |
|
167 |
-
#:
|
168 |
-
|
169 |
-
msgid "Type"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#:
|
173 |
-
msgid "
|
174 |
msgstr ""
|
175 |
|
176 |
-
#:
|
177 |
-
msgid "
|
178 |
msgstr ""
|
179 |
|
180 |
-
#:
|
181 |
-
msgid "
|
182 |
msgstr ""
|
183 |
|
184 |
-
#:
|
185 |
-
msgid "
|
186 |
msgstr ""
|
187 |
|
188 |
-
#:
|
189 |
-
msgid "
|
190 |
msgstr ""
|
191 |
|
192 |
-
#:
|
193 |
-
msgid "
|
194 |
msgstr ""
|
195 |
|
196 |
-
#:
|
197 |
-
msgid "
|
198 |
msgstr ""
|
199 |
|
200 |
-
#:
|
201 |
-
msgid "
|
202 |
msgstr ""
|
203 |
|
204 |
-
#:
|
205 |
-
msgid "
|
206 |
msgstr ""
|
207 |
|
208 |
-
#:
|
209 |
-
msgid "
|
210 |
msgstr ""
|
211 |
|
212 |
-
#:
|
213 |
-
|
214 |
-
#: pages/page_backwpupsettings.php:133
|
215 |
-
msgid "sec."
|
216 |
msgstr ""
|
217 |
|
218 |
-
#:
|
219 |
-
msgid "
|
220 |
msgstr ""
|
221 |
|
222 |
-
#:
|
223 |
-
msgid "
|
224 |
msgstr ""
|
225 |
|
226 |
-
#:
|
227 |
-
msgid "
|
228 |
msgstr ""
|
229 |
|
230 |
-
#:
|
231 |
-
msgid "
|
232 |
msgstr ""
|
233 |
|
234 |
-
#:
|
235 |
-
msgid "
|
236 |
msgstr ""
|
237 |
|
238 |
-
#:
|
239 |
-
msgid "
|
240 |
msgstr ""
|
241 |
|
242 |
-
#:
|
243 |
-
|
|
|
|
|
244 |
msgstr ""
|
245 |
|
246 |
-
#:
|
247 |
-
msgid "
|
248 |
msgstr ""
|
249 |
|
250 |
-
#:
|
251 |
-
msgid "
|
252 |
msgstr ""
|
253 |
|
254 |
-
#:
|
255 |
-
msgid "
|
256 |
msgstr ""
|
257 |
|
258 |
-
#:
|
259 |
-
msgid "
|
260 |
msgstr ""
|
261 |
|
262 |
-
#:
|
263 |
-
msgid "
|
264 |
msgstr ""
|
265 |
|
266 |
-
#:
|
267 |
-
msgid "
|
268 |
msgstr ""
|
269 |
|
270 |
-
#:
|
271 |
-
msgid "
|
272 |
msgstr ""
|
273 |
|
274 |
-
#:
|
275 |
-
msgid "
|
276 |
msgstr ""
|
277 |
|
278 |
-
#:
|
279 |
-
msgid "
|
280 |
msgstr ""
|
281 |
|
282 |
-
#:
|
283 |
-
msgid "
|
284 |
msgstr ""
|
285 |
|
286 |
-
#:
|
287 |
-
msgid "
|
288 |
msgstr ""
|
289 |
|
290 |
-
#:
|
291 |
-
msgid "
|
292 |
msgstr ""
|
293 |
|
294 |
-
#:
|
295 |
-
msgid "
|
296 |
-
|
297 |
-
msgstr[0] ""
|
298 |
-
msgstr[1] ""
|
299 |
|
300 |
-
#:
|
301 |
-
msgid "
|
302 |
-
msgid_plural "%d
|
303 |
msgstr[0] ""
|
304 |
msgstr[1] ""
|
305 |
|
306 |
-
#:
|
307 |
-
msgid "
|
308 |
msgstr ""
|
309 |
|
310 |
-
#:
|
311 |
-
msgid "
|
312 |
msgstr ""
|
313 |
|
314 |
-
#:
|
315 |
-
|
316 |
-
#: pages/tools/db_restore.php:84 pages/tools/db_restore.php:87
|
317 |
-
#: pages/tools/db_restore.php:92
|
318 |
-
msgid "ERROR:"
|
319 |
msgstr ""
|
320 |
|
321 |
-
#:
|
322 |
-
msgid "
|
323 |
msgstr ""
|
324 |
|
325 |
-
#:
|
326 |
-
msgid "
|
327 |
msgstr ""
|
328 |
|
329 |
-
#:
|
330 |
-
|
331 |
-
#: pages/tools/db_restore.php:92 job/db_optimize.php:20
|
332 |
-
#: job/job_functions.php:48 job/job_functions.php:60 job/db_check.php:22
|
333 |
-
#: job/db_check.php:37 job/db_dump.php:20 job/db_dump.php:103
|
334 |
-
#: job/db_dump.php:113
|
335 |
-
msgid "BackWPup database error %1$s for query %2$s"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#:
|
339 |
-
msgid "
|
340 |
msgstr ""
|
341 |
|
342 |
-
#:
|
343 |
-
msgid "
|
344 |
msgstr ""
|
345 |
|
346 |
-
#:
|
347 |
-
msgid "
|
348 |
-
|
|
|
|
|
349 |
|
350 |
-
#:
|
351 |
-
msgid "
|
352 |
msgstr ""
|
353 |
|
354 |
-
#:
|
355 |
-
msgid "
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: pages/
|
359 |
-
msgid "
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: pages/
|
363 |
-
msgid "
|
364 |
msgstr ""
|
365 |
|
366 |
-
#:
|
367 |
-
msgid "
|
368 |
msgstr ""
|
369 |
|
370 |
-
#:
|
371 |
-
msgid "
|
372 |
msgstr ""
|
373 |
|
374 |
-
#:
|
375 |
-
msgid "
|
376 |
msgstr ""
|
377 |
|
378 |
-
#:
|
379 |
-
msgid "
|
380 |
msgstr ""
|
381 |
|
382 |
-
#:
|
383 |
-
msgid "
|
384 |
msgstr ""
|
385 |
|
386 |
-
#:
|
387 |
-
msgid "
|
388 |
msgstr ""
|
389 |
|
390 |
-
#:
|
391 |
-
msgid "
|
392 |
msgstr ""
|
393 |
|
394 |
-
#:
|
395 |
-
msgid "
|
396 |
-
|
|
|
|
|
397 |
|
398 |
-
#:
|
399 |
-
msgid "
|
400 |
msgstr ""
|
401 |
|
402 |
-
#:
|
403 |
-
msgid "
|
404 |
msgstr ""
|
405 |
|
406 |
-
#:
|
407 |
-
msgid "
|
408 |
msgstr ""
|
409 |
|
410 |
-
#:
|
411 |
-
msgid "
|
412 |
msgstr ""
|
413 |
|
414 |
-
#:
|
415 |
-
msgid "
|
416 |
msgstr ""
|
417 |
|
418 |
-
#:
|
419 |
-
msgid "
|
420 |
msgstr ""
|
421 |
|
422 |
-
#:
|
423 |
-
msgid "
|
424 |
msgstr ""
|
425 |
|
426 |
-
#:
|
427 |
-
msgid "
|
428 |
msgstr ""
|
429 |
|
430 |
-
#:
|
431 |
-
msgid "
|
432 |
msgstr ""
|
433 |
|
434 |
-
#:
|
435 |
-
msgid ""
|
436 |
-
"Here you can set special things for Mail sending. The settings will be used "
|
437 |
-
"in jobs for sending backups via email or for sending log files."
|
438 |
msgstr ""
|
439 |
|
440 |
-
#:
|
441 |
-
msgid "
|
442 |
msgstr ""
|
443 |
|
444 |
-
#:
|
445 |
-
msgid "
|
446 |
msgstr ""
|
447 |
|
448 |
-
#:
|
449 |
-
msgid "
|
450 |
msgstr ""
|
451 |
|
452 |
-
#:
|
453 |
-
msgid "
|
454 |
msgstr ""
|
455 |
|
456 |
-
#:
|
457 |
-
msgid "
|
458 |
msgstr ""
|
459 |
|
460 |
-
#:
|
461 |
-
msgid "
|
462 |
msgstr ""
|
463 |
|
464 |
-
#:
|
465 |
-
msgid "
|
466 |
msgstr ""
|
467 |
|
468 |
-
#:
|
469 |
-
msgid "
|
470 |
msgstr ""
|
471 |
|
472 |
-
#:
|
473 |
-
msgid "
|
474 |
msgstr ""
|
475 |
|
476 |
-
#:
|
477 |
-
msgid "
|
478 |
msgstr ""
|
479 |
|
480 |
-
#:
|
481 |
-
|
482 |
-
msgid "none"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#:
|
486 |
-
msgid "
|
487 |
msgstr ""
|
488 |
|
489 |
-
#:
|
490 |
-
msgid "
|
491 |
msgstr ""
|
492 |
|
493 |
-
#:
|
494 |
-
|
495 |
-
|
496 |
-
|
|
|
|
|
|
|
|
|
497 |
msgstr ""
|
498 |
|
499 |
-
#:
|
500 |
-
msgid "
|
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 |
-
|
525 |
-
|
|
|
|
|
|
|
|
|
|
|
526 |
msgstr ""
|
527 |
|
528 |
-
#:
|
529 |
-
msgid "
|
530 |
msgstr ""
|
531 |
|
532 |
-
#:
|
533 |
-
msgid "
|
534 |
msgstr ""
|
535 |
|
536 |
-
#:
|
537 |
-
msgid "
|
538 |
msgstr ""
|
539 |
|
540 |
-
#:
|
541 |
-
msgid "
|
542 |
msgstr ""
|
543 |
|
544 |
-
#:
|
545 |
-
msgid ""
|
546 |
-
"Script runtime will reset on many job functions. You can only set it if "
|
547 |
-
"safemode off. Default runtime is 30 sec. Your ini setting is in sec.:"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#:
|
551 |
-
msgid "
|
552 |
msgstr ""
|
553 |
|
554 |
-
#:
|
555 |
-
msgid ""
|
556 |
-
"Script runtime for loong operations withaut responce to script. You can only "
|
557 |
-
"set it if safemode off. Default runtime is 300 sec.(Max. on most webservers.)"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#:
|
561 |
-
msgid "
|
562 |
msgstr ""
|
563 |
|
564 |
-
#:
|
565 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
566 |
msgstr ""
|
567 |
|
568 |
-
#:
|
569 |
-
msgid "
|
570 |
msgstr ""
|
571 |
|
572 |
-
#:
|
573 |
-
msgid "
|
574 |
msgstr ""
|
575 |
|
576 |
-
#:
|
577 |
-
msgid "
|
578 |
msgstr ""
|
579 |
|
580 |
-
#:
|
581 |
-
msgid ""
|
582 |
-
"If you would use the cron job of your hoster you must point it to the url:"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#:
|
586 |
-
msgid "
|
587 |
msgstr ""
|
588 |
|
589 |
-
#:
|
590 |
-
msgid "
|
591 |
msgstr ""
|
592 |
|
593 |
-
#:
|
594 |
-
msgid "
|
595 |
msgstr ""
|
596 |
|
597 |
-
#:
|
598 |
-
msgid "
|
599 |
msgstr ""
|
600 |
|
601 |
-
#:
|
602 |
-
msgid "
|
603 |
msgstr ""
|
604 |
|
605 |
-
#:
|
606 |
-
msgid "
|
607 |
msgstr ""
|
608 |
|
609 |
-
#:
|
610 |
-
msgid "
|
611 |
msgstr ""
|
612 |
|
613 |
-
#:
|
614 |
-
msgid ""
|
615 |
-
"Here you can mange the log files of the jobs. You can download, view or "
|
616 |
-
"delete them."
|
617 |
msgstr ""
|
618 |
|
619 |
-
#:
|
620 |
-
msgid ""
|
621 |
-
"Here you see a list of backup files. Change the destionation to jobname:"
|
622 |
-
"destination to become a list of backups from other destinations and jobs. "
|
623 |
-
"Then you kann delete or download backup files."
|
624 |
msgstr ""
|
625 |
|
626 |
-
#:
|
627 |
-
msgid "
|
628 |
msgstr ""
|
629 |
|
630 |
-
#:
|
631 |
-
msgid "
|
632 |
msgstr ""
|
633 |
|
634 |
-
#:
|
635 |
-
msgid "
|
636 |
msgstr ""
|
637 |
|
638 |
-
#:
|
639 |
-
msgid "
|
640 |
msgstr ""
|
641 |
|
642 |
-
#:
|
643 |
-
msgid "
|
644 |
msgstr ""
|
645 |
|
646 |
-
#:
|
647 |
-
msgid ""
|
648 |
-
"Here is the job overview with some information. You can see some further "
|
649 |
-
"information of the jobs, how many can be switched with the view button. Also "
|
650 |
-
"you can manage the jobs or abbort working jobs. Some links are added to have "
|
651 |
-
"direct access to the last log or download."
|
652 |
msgstr ""
|
653 |
|
654 |
-
#:
|
655 |
-
msgid "
|
656 |
msgstr ""
|
657 |
|
658 |
-
#:
|
659 |
-
msgid "
|
660 |
msgstr ""
|
661 |
|
662 |
-
#:
|
663 |
-
msgid "
|
664 |
msgstr ""
|
665 |
|
666 |
-
#:
|
667 |
-
msgid "
|
668 |
msgstr ""
|
669 |
|
670 |
-
#:
|
671 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
672 |
msgstr ""
|
673 |
|
674 |
-
#:
|
675 |
-
msgid "
|
676 |
msgstr ""
|
677 |
|
678 |
-
#:
|
679 |
-
msgid "
|
680 |
msgstr ""
|
681 |
|
682 |
-
#:
|
683 |
-
msgid "
|
684 |
msgstr ""
|
685 |
|
686 |
-
#:
|
687 |
-
msgid "
|
688 |
msgstr ""
|
689 |
|
690 |
-
#:
|
691 |
-
msgid "
|
692 |
msgstr ""
|
693 |
|
694 |
-
#:
|
695 |
-
msgid "
|
696 |
msgstr ""
|
697 |
|
698 |
-
#:
|
699 |
-
msgid "
|
700 |
msgstr ""
|
701 |
|
702 |
-
#:
|
703 |
-
msgid "
|
704 |
msgstr ""
|
705 |
|
706 |
-
#:
|
707 |
-
msgid "
|
708 |
msgstr ""
|
709 |
|
710 |
-
#:
|
711 |
-
|
712 |
-
msgid "Import"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#:
|
716 |
-
msgid "
|
717 |
msgstr ""
|
718 |
|
719 |
-
#:
|
720 |
-
|
|
|
721 |
msgstr ""
|
722 |
|
723 |
-
#:
|
724 |
-
|
725 |
-
|
726 |
-
"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#:
|
730 |
-
msgid "
|
731 |
msgstr ""
|
732 |
|
733 |
-
#:
|
734 |
-
msgid "
|
735 |
msgstr ""
|
736 |
|
737 |
-
#:
|
738 |
-
msgid "
|
739 |
msgstr ""
|
740 |
|
741 |
-
#:
|
742 |
-
msgid "
|
743 |
msgstr ""
|
744 |
|
745 |
-
#:
|
746 |
-
msgid "
|
747 |
msgstr ""
|
748 |
|
749 |
-
#:
|
750 |
-
msgid "
|
751 |
msgstr ""
|
752 |
|
753 |
-
#:
|
754 |
-
msgid "
|
755 |
msgstr ""
|
756 |
|
757 |
-
#:
|
758 |
-
msgid "
|
759 |
msgstr ""
|
760 |
|
761 |
-
#:
|
762 |
-
msgid "
|
763 |
msgstr ""
|
764 |
|
765 |
-
#:
|
766 |
-
msgid "
|
767 |
msgstr ""
|
768 |
|
769 |
-
#:
|
770 |
-
msgid "
|
771 |
msgstr ""
|
772 |
|
773 |
-
#:
|
774 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: pages/
|
778 |
-
|
|
|
|
|
|
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: pages/
|
782 |
-
|
783 |
-
#: pages/func_backwpupeditjob.php:157
|
784 |
-
msgid "Any (*)"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: pages/
|
788 |
-
msgid "
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: pages/
|
792 |
-
|
|
|
|
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: pages/
|
796 |
-
msgid "
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: pages/
|
800 |
-
msgid "
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: pages/
|
804 |
-
msgid "
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: pages/
|
808 |
-
msgid "
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: pages/
|
812 |
-
msgid "
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: pages/
|
816 |
-
|
|
|
|
|
|
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: pages/
|
820 |
-
msgid "
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: pages/
|
824 |
-
|
|
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: pages/
|
828 |
-
msgid "
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: pages/
|
832 |
-
msgid "
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: pages/
|
836 |
-
msgid "
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: pages/
|
840 |
-
msgid "
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: pages/
|
844 |
-
msgid "
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: pages/
|
848 |
-
msgid "
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: pages/
|
852 |
-
|
|
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: pages/
|
856 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: pages/
|
860 |
-
msgid "
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: pages/
|
864 |
-
|
|
|
|
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: pages/
|
868 |
-
msgid "
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: pages/
|
872 |
-
msgid "
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: pages/
|
876 |
-
msgid "
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: pages/
|
880 |
-
msgid "
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: pages/
|
884 |
-
msgid "
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: pages/
|
888 |
-
msgid "
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: pages/
|
892 |
-
msgid "
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: pages/
|
896 |
-
msgid "
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: pages/
|
900 |
-
msgid "
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: pages/
|
904 |
-
msgid "
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: pages/
|
908 |
-
msgid "
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: pages/
|
912 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: pages/
|
916 |
-
msgid "
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: pages/
|
920 |
-
msgid "
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: pages/
|
924 |
-
msgid "
|
925 |
msgstr ""
|
926 |
|
927 |
-
#: pages/
|
928 |
-
msgid "
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: pages/
|
932 |
-
msgid "
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: pages/
|
936 |
-
msgid "
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: pages/
|
940 |
-
|
941 |
-
#: pages/func_backwpupeditjob.php:339 pages/func_backwpupeditjob.php:366
|
942 |
-
#: pages/func_backwpupeditjob.php:388
|
943 |
-
msgid "(Oldest files will be deleted first.)"
|
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 |
-
msgid "
|
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 |
-
msgid "
|
1000 |
msgstr ""
|
1001 |
|
1002 |
-
#: pages/
|
1003 |
-
msgid "
|
1004 |
msgstr ""
|
1005 |
|
1006 |
-
#: pages/
|
1007 |
-
|
1008 |
-
#: pages/func_backwpupeditjob.php:369 pages/func_backwpupeditjob.php:391
|
1009 |
-
msgid "Create Account"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
-
#: pages/
|
1013 |
-
msgid "
|
1014 |
msgstr ""
|
1015 |
|
1016 |
-
#: pages/
|
1017 |
-
|
1018 |
-
#: pages/func_backwpupeditjob.php:392
|
1019 |
-
msgid "Webinterface"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
-
#: pages/
|
1023 |
-
msgid "
|
1024 |
msgstr ""
|
1025 |
|
1026 |
-
#: pages/
|
1027 |
-
msgid "
|
|
|
|
|
|
|
|
|
1028 |
msgstr ""
|
1029 |
|
1030 |
-
#: pages/
|
1031 |
-
msgid "
|
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 |
-
msgid "
|
1052 |
msgstr ""
|
1053 |
|
1054 |
-
#: pages/
|
1055 |
-
msgid "
|
1056 |
msgstr ""
|
1057 |
|
1058 |
-
#: pages/
|
1059 |
-
msgid "
|
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/func_backwpupeditjob.php:
|
1075 |
-
msgid "
|
1076 |
msgstr ""
|
1077 |
|
1078 |
-
#: pages/
|
1079 |
-
msgid "
|
1080 |
msgstr ""
|
1081 |
|
1082 |
-
#: pages/
|
1083 |
-
|
|
|
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 "Folder
|
1104 |
msgstr ""
|
1105 |
|
1106 |
-
#: pages/func_backwpupeditjob.php:
|
1107 |
-
msgid "
|
1108 |
msgstr ""
|
1109 |
|
1110 |
-
#: pages/
|
1111 |
-
msgid "
|
1112 |
msgstr ""
|
1113 |
|
1114 |
-
#: pages/
|
1115 |
-
msgid "
|
1116 |
msgstr ""
|
1117 |
|
1118 |
-
#: pages/
|
1119 |
-
|
1120 |
-
|
1121 |
-
"\">Cron</a> job schedule:"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: pages/
|
1125 |
-
msgid "
|
1126 |
msgstr ""
|
1127 |
|
1128 |
-
#: pages/
|
1129 |
-
msgid "
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: pages/
|
1133 |
-
msgid "
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: pages/
|
1137 |
-
msgid "
|
1138 |
msgstr ""
|
1139 |
|
1140 |
-
#: pages/
|
1141 |
-
msgid "
|
|
|
|
|
1142 |
msgstr ""
|
1143 |
|
1144 |
-
#: pages/
|
1145 |
-
msgid "
|
1146 |
msgstr ""
|
1147 |
|
1148 |
-
#: pages/
|
1149 |
-
msgid "
|
|
|
|
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: pages/
|
1153 |
-
msgid "
|
1154 |
msgstr ""
|
1155 |
|
1156 |
-
#: pages/
|
1157 |
-
msgid "
|
1158 |
msgstr ""
|
1159 |
|
1160 |
-
#: pages/
|
1161 |
-
msgid "
|
1162 |
msgstr ""
|
1163 |
|
1164 |
-
#: pages/
|
1165 |
-
msgid "
|
1166 |
msgstr ""
|
1167 |
|
1168 |
-
#: pages/
|
1169 |
-
msgid "
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: pages/
|
1173 |
-
msgid "
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: pages/
|
1177 |
-
msgid "
|
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 |
-
#:
|
1197 |
-
msgid "
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#:
|
1201 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#:
|
1205 |
-
msgid "
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#:
|
1209 |
-
msgid "
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#:
|
1213 |
-
msgid "
|
|
|
|
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#:
|
1217 |
-
msgid "
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#:
|
1221 |
-
msgid "
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#:
|
1225 |
-
msgid "
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#:
|
1229 |
-
msgid "
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#:
|
1233 |
-
msgid "
|
1234 |
msgstr ""
|
1235 |
|
1236 |
-
#:
|
1237 |
-
msgid "
|
1238 |
msgstr ""
|
1239 |
|
1240 |
-
#:
|
1241 |
-
msgid "
|
1242 |
msgstr ""
|
1243 |
|
1244 |
-
#:
|
1245 |
-
msgid "
|
1246 |
msgstr ""
|
1247 |
|
1248 |
-
#:
|
1249 |
-
msgid "
|
1250 |
msgstr ""
|
1251 |
|
1252 |
-
#:
|
1253 |
-
msgid "
|
1254 |
msgstr ""
|
1255 |
|
1256 |
-
#:
|
1257 |
-
msgid "
|
1258 |
msgstr ""
|
1259 |
|
1260 |
-
#:
|
1261 |
-
msgid "
|
1262 |
msgstr ""
|
1263 |
|
1264 |
-
#:
|
1265 |
-
msgid "
|
1266 |
msgstr ""
|
1267 |
|
1268 |
-
#:
|
1269 |
-
|
|
|
|
|
1270 |
msgstr ""
|
1271 |
|
1272 |
-
#:
|
1273 |
-
msgid "
|
1274 |
msgstr ""
|
1275 |
|
1276 |
-
#:
|
1277 |
-
msgid "
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
#:
|
1281 |
-
msgid "
|
1282 |
msgstr ""
|
1283 |
|
1284 |
-
#:
|
1285 |
-
msgid ""
|
1286 |
-
"[INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, "
|
1287 |
-
"and you are welcome to redistribute it under certain conditions."
|
1288 |
msgstr ""
|
1289 |
|
1290 |
-
#:
|
1291 |
-
msgid "
|
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 |
-
msgid "
|
1312 |
msgstr ""
|
1313 |
|
1314 |
-
#:
|
1315 |
-
msgid "
|
1316 |
msgstr ""
|
1317 |
|
1318 |
-
#:
|
1319 |
-
msgid "
|
1320 |
msgstr ""
|
1321 |
|
1322 |
-
#:
|
1323 |
-
msgid "
|
1324 |
msgstr ""
|
1325 |
|
1326 |
-
#:
|
1327 |
-
msgid "
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#:
|
1331 |
-
msgid "
|
1332 |
msgstr ""
|
1333 |
|
1334 |
-
#:
|
1335 |
-
msgid "
|
1336 |
msgstr ""
|
1337 |
|
1338 |
-
#:
|
1339 |
-
msgid "
|
1340 |
msgstr ""
|
1341 |
|
1342 |
-
#:
|
1343 |
-
msgid "
|
1344 |
msgstr ""
|
1345 |
|
1346 |
-
#:
|
1347 |
-
msgid "
|
1348 |
msgstr ""
|
1349 |
|
1350 |
-
#:
|
1351 |
-
msgid "
|
1352 |
msgstr ""
|
1353 |
|
1354 |
-
#:
|
1355 |
-
msgid "
|
1356 |
msgstr ""
|
1357 |
|
1358 |
-
#:
|
1359 |
-
msgid "
|
1360 |
msgstr ""
|
1361 |
|
1362 |
-
#:
|
1363 |
-
msgid "
|
1364 |
msgstr ""
|
1365 |
|
1366 |
-
#:
|
1367 |
-
msgid "
|
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 |
-
"Cannot set Website/Blog to Maintenance Mode! Root folder is not writeable!"
|
1397 |
msgstr ""
|
1398 |
|
1399 |
-
#:
|
1400 |
-
msgid "
|
1401 |
msgstr ""
|
1402 |
|
1403 |
-
#:
|
1404 |
-
msgid "
|
1405 |
msgstr ""
|
1406 |
|
1407 |
-
#:
|
1408 |
-
msgid "
|
1409 |
msgstr ""
|
1410 |
|
1411 |
-
#:
|
1412 |
-
msgid "
|
1413 |
msgstr ""
|
1414 |
|
1415 |
-
#:
|
1416 |
-
msgid "
|
1417 |
msgstr ""
|
1418 |
|
1419 |
-
#:
|
1420 |
-
msgid "
|
1421 |
msgstr ""
|
1422 |
|
1423 |
-
#:
|
1424 |
-
msgid "
|
1425 |
msgstr ""
|
1426 |
|
1427 |
-
#:
|
1428 |
-
|
|
|
|
|
|
|
1429 |
msgstr ""
|
1430 |
|
1431 |
-
#:
|
1432 |
-
msgid "
|
1433 |
msgstr ""
|
1434 |
|
1435 |
-
#:
|
1436 |
-
msgid "
|
1437 |
msgstr ""
|
1438 |
|
1439 |
-
#:
|
1440 |
-
msgid "
|
1441 |
msgstr ""
|
1442 |
|
1443 |
-
#:
|
1444 |
-
msgid "
|
1445 |
msgstr ""
|
1446 |
|
1447 |
-
#:
|
1448 |
-
msgid "
|
1449 |
msgstr ""
|
1450 |
|
1451 |
-
#:
|
1452 |
-
msgid "
|
1453 |
msgstr ""
|
1454 |
|
1455 |
-
#:
|
1456 |
-
msgid "
|
1457 |
msgstr ""
|
1458 |
|
1459 |
-
#:
|
1460 |
-
msgid "
|
1461 |
msgstr ""
|
1462 |
|
1463 |
-
#:
|
1464 |
-
msgid "
|
1465 |
msgstr ""
|
1466 |
|
1467 |
-
#:
|
1468 |
-
msgid "
|
1469 |
msgstr ""
|
1470 |
|
1471 |
-
#:
|
1472 |
-
msgid "
|
1473 |
msgstr ""
|
1474 |
|
1475 |
-
#:
|
1476 |
-
msgid "
|
1477 |
msgstr ""
|
1478 |
|
1479 |
-
#:
|
1480 |
-
msgid "
|
1481 |
msgstr ""
|
1482 |
|
1483 |
-
#:
|
1484 |
-
msgid "
|
1485 |
msgstr ""
|
1486 |
|
1487 |
-
#:
|
1488 |
-
msgid "
|
1489 |
msgstr ""
|
1490 |
|
1491 |
-
#:
|
1492 |
-
|
|
|
|
|
1493 |
msgstr ""
|
1494 |
|
1495 |
-
#:
|
1496 |
-
msgid "
|
1497 |
msgstr ""
|
1498 |
|
1499 |
-
#:
|
1500 |
-
|
|
|
|
|
1501 |
msgstr ""
|
1502 |
|
1503 |
-
#:
|
1504 |
-
msgid "
|
1505 |
msgstr ""
|
1506 |
|
1507 |
-
#:
|
1508 |
-
|
1509 |
-
msgid "FTP Client command:"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
-
#:
|
1513 |
-
|
1514 |
-
#: job/dest_ftp.php:72 job/dest_ftp.php:78 job/dest_ftp.php:80
|
1515 |
-
msgid "FTP Server reply:"
|
1516 |
msgstr ""
|
1517 |
|
1518 |
-
#:
|
1519 |
-
msgid "
|
1520 |
msgstr ""
|
1521 |
|
1522 |
-
#:
|
1523 |
-
msgid "
|
1524 |
msgstr ""
|
1525 |
|
1526 |
-
#:
|
1527 |
-
msgid "
|
1528 |
msgstr ""
|
1529 |
|
1530 |
-
#:
|
1531 |
-
msgid "
|
1532 |
msgstr ""
|
1533 |
|
1534 |
-
#:
|
1535 |
-
msgid "
|
1536 |
msgstr ""
|
1537 |
|
1538 |
-
#:
|
1539 |
-
msgid "
|
1540 |
msgstr ""
|
1541 |
|
1542 |
-
#:
|
1543 |
-
msgid "
|
1544 |
msgstr ""
|
1545 |
|
1546 |
-
#:
|
1547 |
-
msgid "
|
1548 |
msgstr ""
|
1549 |
|
1550 |
-
#:
|
1551 |
-
msgid "
|
1552 |
msgstr ""
|
1553 |
|
1554 |
-
#:
|
1555 |
-
msgid "
|
1556 |
msgstr ""
|
1557 |
|
1558 |
-
#:
|
1559 |
-
msgid "
|
1560 |
msgstr ""
|
1561 |
|
1562 |
-
#:
|
1563 |
-
msgid "
|
1564 |
msgstr ""
|
1565 |
|
1566 |
-
#:
|
1567 |
-
msgid "
|
1568 |
msgstr ""
|
1569 |
|
1570 |
-
#:
|
1571 |
-
msgid "
|
1572 |
msgstr ""
|
1573 |
|
1574 |
-
#:
|
1575 |
-
msgid "
|
1576 |
msgstr ""
|
1577 |
|
1578 |
-
#:
|
1579 |
-
msgid "
|
1580 |
msgstr ""
|
1581 |
|
1582 |
-
#:
|
1583 |
-
msgid "
|
1584 |
msgstr ""
|
1585 |
|
1586 |
-
#:
|
1587 |
-
msgid "
|
1588 |
msgstr ""
|
1589 |
|
1590 |
-
#:
|
1591 |
-
msgid "
|
1592 |
msgstr ""
|
1593 |
|
1594 |
-
#:
|
1595 |
-
msgid "
|
1596 |
msgstr ""
|
1597 |
|
1598 |
-
#:
|
1599 |
-
msgid "
|
1600 |
msgstr ""
|
1601 |
|
1602 |
-
#:
|
1603 |
-
msgid "
|
1604 |
msgstr ""
|
1605 |
|
1606 |
-
#:
|
1607 |
-
msgid "
|
|
|
|
|
1608 |
msgstr ""
|
1609 |
|
1610 |
-
#:
|
1611 |
-
msgid "
|
1612 |
msgstr ""
|
1613 |
|
1614 |
-
#:
|
1615 |
-
msgid "
|
1616 |
msgstr ""
|
1617 |
|
1618 |
-
#:
|
1619 |
-
msgid "
|
1620 |
msgstr ""
|
1621 |
|
1622 |
-
#:
|
1623 |
-
msgid "
|
1624 |
msgstr ""
|
1625 |
|
1626 |
-
#:
|
1627 |
-
msgid "
|
1628 |
msgstr ""
|
1629 |
|
1630 |
-
#:
|
1631 |
-
msgid "
|
1632 |
msgstr ""
|
1633 |
|
1634 |
-
#:
|
1635 |
-
msgid "
|
1636 |
msgstr ""
|
1637 |
|
1638 |
-
#:
|
1639 |
-
msgid "
|
1640 |
msgstr ""
|
1641 |
|
1642 |
-
#:
|
1643 |
-
msgid "
|
1644 |
msgstr ""
|
1645 |
|
1646 |
-
#:
|
1647 |
-
msgid "
|
1648 |
msgstr ""
|
1649 |
|
1650 |
-
#:
|
1651 |
-
msgid "
|
1652 |
msgstr ""
|
1653 |
|
1654 |
-
#:
|
1655 |
-
msgid "
|
1656 |
msgstr ""
|
1657 |
|
1658 |
-
#:
|
1659 |
-
msgid "
|
1660 |
msgstr ""
|
1661 |
|
1662 |
-
#:
|
1663 |
-
msgid "
|
1664 |
msgstr ""
|
1665 |
|
1666 |
-
#:
|
1667 |
-
msgid "
|
1668 |
msgstr ""
|
1669 |
|
1670 |
-
#:
|
1671 |
-
msgid "
|
1672 |
msgstr ""
|
1673 |
|
1674 |
-
#:
|
1675 |
-
msgid "
|
1676 |
msgstr ""
|
1677 |
|
1678 |
-
#:
|
1679 |
-
msgid "
|
1680 |
msgstr ""
|
1681 |
|
1682 |
-
#:
|
1683 |
-
msgid "
|
1684 |
msgstr ""
|
1685 |
|
1686 |
-
#:
|
1687 |
-
msgid "
|
1688 |
msgstr ""
|
1689 |
|
1690 |
-
#:
|
1691 |
-
msgid "
|
1692 |
msgstr ""
|
1693 |
|
1694 |
-
#:
|
1695 |
-
msgid "
|
1696 |
msgstr ""
|
1697 |
|
1698 |
-
#:
|
1699 |
-
msgid "
|
1700 |
msgstr ""
|
1701 |
|
1702 |
-
#:
|
1703 |
-
msgid "
|
1704 |
msgstr ""
|
1705 |
|
1706 |
-
#:
|
1707 |
-
msgid "
|
1708 |
msgstr ""
|
1709 |
|
1710 |
-
#:
|
1711 |
-
msgid "
|
1712 |
msgstr ""
|
1713 |
|
1714 |
-
#:
|
1715 |
-
msgid "
|
1716 |
msgstr ""
|
1717 |
|
1718 |
-
#:
|
1719 |
-
msgid "
|
1720 |
msgstr ""
|
1721 |
|
1722 |
-
#:
|
1723 |
-
msgid "
|
1724 |
msgstr ""
|
1725 |
|
1726 |
-
#:
|
1727 |
-
|
|
|
|
|
1728 |
msgstr ""
|
1729 |
|
1730 |
-
#:
|
1731 |
-
msgid "
|
1732 |
msgstr ""
|
1733 |
|
1734 |
-
#:
|
1735 |
-
msgid "
|
1736 |
msgstr ""
|
1737 |
|
1738 |
-
#:
|
1739 |
-
msgid "
|
1740 |
msgstr ""
|
1741 |
|
1742 |
-
#:
|
1743 |
-
msgid "
|
1744 |
msgstr ""
|
1745 |
|
1746 |
-
#:
|
1747 |
-
msgid "
|
1748 |
msgstr ""
|
1749 |
|
1750 |
-
#:
|
1751 |
-
msgid "
|
1752 |
msgstr ""
|
1753 |
|
1754 |
-
#:
|
1755 |
-
msgid "
|
1756 |
msgstr ""
|
1757 |
|
1758 |
-
#:
|
1759 |
-
msgid "
|
1760 |
msgstr ""
|
1761 |
|
1762 |
-
#:
|
1763 |
-
msgid "
|
1764 |
msgstr ""
|
1765 |
|
1766 |
-
#:
|
1767 |
-
msgid "
|
1768 |
msgstr ""
|
1769 |
|
1770 |
-
#:
|
1771 |
-
msgid "
|
1772 |
msgstr ""
|
1773 |
|
1774 |
-
#:
|
1775 |
-
msgid "
|
1776 |
msgstr ""
|
1777 |
|
1778 |
-
#:
|
1779 |
-
msgid "
|
1780 |
msgstr ""
|
1781 |
|
1782 |
-
#:
|
1783 |
-
msgid "
|
1784 |
msgstr ""
|
1785 |
|
1786 |
-
#:
|
1787 |
-
msgid "
|
1788 |
msgstr ""
|
1789 |
|
1790 |
-
#:
|
1791 |
-
msgid "
|
1792 |
msgstr ""
|
1793 |
|
1794 |
-
#:
|
1795 |
-
msgid "
|
1796 |
msgstr ""
|
1797 |
|
1798 |
-
#:
|
1799 |
-
msgid "
|
1800 |
msgstr ""
|
1801 |
|
1802 |
-
#:
|
1803 |
-
msgid "
|
1804 |
msgstr ""
|
1805 |
|
1806 |
-
#:
|
1807 |
-
msgid "
|
1808 |
msgstr ""
|
1809 |
|
1810 |
-
#:
|
1811 |
-
msgid "
|
1812 |
msgstr ""
|
1813 |
|
1814 |
-
#:
|
1815 |
-
msgid "
|
1816 |
msgstr ""
|
1817 |
|
1818 |
-
#:
|
1819 |
-
msgid "
|
1820 |
msgstr ""
|
1821 |
|
1822 |
-
#:
|
1823 |
-
msgid "
|
1824 |
msgstr ""
|
1825 |
|
1826 |
-
#:
|
1827 |
-
msgid "
|
1828 |
msgstr ""
|
1829 |
|
1830 |
-
#:
|
1831 |
-
msgid "
|
1832 |
msgstr ""
|
1833 |
|
1834 |
-
#:
|
1835 |
-
msgid "
|
1836 |
msgstr ""
|
1837 |
|
1838 |
-
#:
|
1839 |
-
msgid "
|
|
|
|
|
1840 |
msgstr ""
|
1841 |
|
1842 |
-
#:
|
1843 |
-
msgid "
|
1844 |
msgstr ""
|
1845 |
|
1846 |
-
#. #-#-#-#-# plugin.pot (BackWPup 2.0) #-#-#-#-#
|
1847 |
#. Plugin Name of the plugin/theme
|
1848 |
-
#: backwpup-functions.php:10 backwpup-functions.php:
|
1849 |
-
#: backwpup-functions.php:
|
1850 |
msgid "BackWPup"
|
1851 |
msgstr ""
|
1852 |
|
@@ -1854,7 +2013,7 @@ msgstr ""
|
|
1854 |
msgid "Working"
|
1855 |
msgstr ""
|
1856 |
|
1857 |
-
#: backwpup-functions.php:19 backwpup-functions.php:
|
1858 |
msgid "Backups"
|
1859 |
msgstr ""
|
1860 |
|
@@ -1862,129 +2021,121 @@ msgstr ""
|
|
1862 |
msgid "Tools"
|
1863 |
msgstr ""
|
1864 |
|
1865 |
-
#: backwpup-functions.php:23 backwpup-functions.php:
|
1866 |
msgid "Settings"
|
1867 |
msgstr ""
|
1868 |
|
1869 |
-
#: backwpup-functions.php:
|
1870 |
msgid "For more information:"
|
1871 |
msgstr ""
|
1872 |
|
1873 |
-
#: backwpup-functions.php:
|
1874 |
msgid "Support"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
-
#: backwpup-functions.php:
|
1878 |
msgid "FAQ"
|
1879 |
msgstr ""
|
1880 |
|
1881 |
-
#: backwpup-functions.php:
|
1882 |
msgid "Plugin Homepage"
|
1883 |
msgstr ""
|
1884 |
|
1885 |
-
#: backwpup-functions.php:
|
1886 |
-
msgid "Plugin
|
1887 |
msgstr ""
|
1888 |
|
1889 |
-
#: backwpup-functions.php:
|
1890 |
msgid "Donate"
|
1891 |
msgstr ""
|
1892 |
|
1893 |
-
#: backwpup-functions.php:
|
1894 |
msgid "Flattr"
|
1895 |
msgstr ""
|
1896 |
|
1897 |
-
#: backwpup-functions.php:
|
1898 |
msgid ""
|
1899 |
"BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you "
|
1900 |
"are welcome to redistribute it under certain conditions."
|
1901 |
msgstr ""
|
1902 |
|
1903 |
-
#: backwpup-functions.php:
|
1904 |
msgid "Go to Settings Page"
|
1905 |
msgstr ""
|
1906 |
|
1907 |
-
#: backwpup-functions.php:
|
1908 |
msgid "WP XML Export"
|
1909 |
msgstr ""
|
1910 |
|
1911 |
-
#: backwpup-functions.php:
|
1912 |
msgid "Database Backup"
|
1913 |
msgstr ""
|
1914 |
|
1915 |
-
#: backwpup-functions.php:
|
1916 |
msgid "Optimize Database Tables"
|
1917 |
msgstr ""
|
1918 |
|
1919 |
-
#: backwpup-functions.php:
|
1920 |
msgid "Check Database Tables"
|
1921 |
msgstr ""
|
1922 |
|
1923 |
-
#: backwpup-functions.php:
|
1924 |
msgid "View Log:"
|
1925 |
msgstr ""
|
1926 |
|
1927 |
-
#: backwpup-functions.php:
|
1928 |
msgid "How many of the lastes logs would you like to display?"
|
1929 |
msgstr ""
|
1930 |
|
1931 |
-
#: backwpup-functions.php:
|
1932 |
msgid "working since %d sec."
|
1933 |
msgstr ""
|
1934 |
|
1935 |
-
#: backwpup-functions.php:
|
1936 |
msgid "Edit Job"
|
1937 |
msgstr ""
|
1938 |
|
1939 |
-
#: backwpup-functions.php:
|
1940 |
msgid "BackWPup Aktive Jobs"
|
1941 |
msgstr ""
|
1942 |
|
1943 |
-
#: backwpup-functions.php:
|
1944 |
msgid "See Working!"
|
1945 |
msgstr ""
|
1946 |
|
1947 |
-
#: backwpup-functions.php:
|
1948 |
msgid "BackWPup Job"
|
1949 |
msgstr ""
|
1950 |
|
1951 |
-
#: backwpup-functions.php:
|
1952 |
msgid "- WordPress %d or heiger needed!"
|
1953 |
msgstr ""
|
1954 |
|
1955 |
-
#: backwpup-functions.php:
|
1956 |
msgid "- PHP 5.2.4 or higher needed!"
|
1957 |
msgstr ""
|
1958 |
|
1959 |
-
#: backwpup-functions.php:
|
1960 |
-
msgid "- Multiseite Blogs not allowed!"
|
1961 |
-
msgstr ""
|
1962 |
-
|
1963 |
-
#: backwpup-functions.php:686
|
1964 |
-
msgid "- curl is needed!"
|
1965 |
-
msgstr ""
|
1966 |
-
|
1967 |
-
#: backwpup-functions.php:690
|
1968 |
-
msgid "- PHP sessions needed!"
|
1969 |
-
msgstr ""
|
1970 |
-
|
1971 |
-
#: backwpup-functions.php:697
|
1972 |
msgid "- Logs Folder not exists:"
|
1973 |
msgstr ""
|
1974 |
|
1975 |
-
#: backwpup-functions.php:
|
1976 |
msgid "- Logs Folder not writeable:"
|
1977 |
msgstr ""
|
1978 |
|
1979 |
-
#: backwpup-functions.php:
|
|
|
|
|
|
|
|
|
1980 |
msgid "- Please Check Scheduling time for Job:"
|
1981 |
msgstr ""
|
1982 |
|
1983 |
-
#: backwpup-functions.php:
|
1984 |
msgid "- WP-Cron don't working please check it!"
|
1985 |
msgstr ""
|
1986 |
|
1987 |
-
#: backwpup-functions.php:
|
1988 |
msgid "New"
|
1989 |
msgstr ""
|
1990 |
|
2 |
# This file is distributed under the same license as the BackWPup package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: BackWPup 2.0.5\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/backwpup\n"
|
7 |
+
"POT-Creation-Date: 2011-07-22 20:16:29+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 |
+
#: job/file_list.php:12
|
16 |
+
msgid "%d. try for make list of files to backup...."
|
17 |
msgstr ""
|
18 |
|
19 |
+
#: job/file_list.php:69
|
20 |
+
msgid "No files to backup"
|
|
|
|
|
|
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: job/file_list.php:71
|
24 |
+
msgid "%1$d files with %2$s to backup"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: job/file_list.php:94
|
28 |
+
msgid "File or folder \"%s\" is not readable!"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: job/file_list.php:96
|
32 |
+
msgid "Link \"%s\" not followed"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: job/file_list.php:102
|
36 |
+
msgid "\"%s\" is not a file or directory"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: job/job_run.php:56
|
40 |
+
msgid "Job restart terminated, bcause old job runs again!"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: job/job_run.php:59
|
44 |
+
msgid "Job restarted, bcause inactivity!"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: job/job_run.php:61
|
48 |
+
msgid "Second Prozess is running, bcause old job runs! Start type is %s"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: job/job_run.php:87
|
52 |
+
msgid "Can not find job step file: %s"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: job/job_run.php:95
|
56 |
msgid ""
|
57 |
+
"[INFO]: BackWPup version %1$s, WordPress version %4$s Copyright © %2$s %"
|
58 |
+
"3$s"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: job/job_run.php:96
|
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 |
+
#: job/job_run.php:97
|
68 |
+
msgid "[INFO]: BackWPup job:"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: job/job_run.php:99
|
72 |
+
msgid "[INFO]: BackWPup cron:"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: job/job_run.php:101
|
76 |
+
msgid "[INFO]: BackWPup job strated by cron"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: job/job_run.php:103
|
80 |
+
msgid "[INFO]: BackWPup job strated manualy"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: job/job_run.php:104
|
84 |
+
msgid "[INFO]: PHP ver.:"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: job/job_run.php:106
|
88 |
+
msgid "[INFO]: PHP Safe mode is ON! Maximum script execution time is %1$d sec."
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: job/job_run.php:107
|
92 |
+
msgid "[INFO]: MySQL ver.:"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: job/job_run.php:110
|
96 |
+
msgid "[INFO]: curl ver.:"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: job/job_run.php:112
|
100 |
+
msgid "[INFO]: Temp folder is:"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: job/job_run.php:114
|
104 |
+
msgid "[INFO]: Backup file is:"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: job/job_run.php:125
|
108 |
+
msgid "No destination defineid for backup!!! Please correct job settings"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: job/job_run.php:147
|
112 |
+
msgid "Step arborted has too many trys!"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: job/job_run.php:149
|
116 |
+
msgid "Can not find job step function %s!"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: job/dest_msazure.php:11
|
120 |
+
msgid "%d. try sending backup to a Microsoft Azure (Blob)..."
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: job/dest_msazure.php:20
|
124 |
+
msgid "Microsoft Azure container \"%s\" not exists!"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: job/dest_msazure.php:23
|
128 |
+
msgid "Connected to Microsoft Azure container \"%s\""
|
|
|
|
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: job/dest_msazure.php:26
|
132 |
+
msgid "Upload to MS Azure now started... "
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: job/dest_msazure.php:32
|
136 |
+
msgid "Backup transferred to azure://%s"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: job/dest_msazure.php:35
|
140 |
+
msgid "Can not transfer backup to Microsoft Azure!"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: job/dest_msazure.php:56
|
144 |
+
msgid "One file deleted on Microsoft Azure container"
|
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 |
+
#: job/backup_create.php:19
|
154 |
+
msgid "%d. try to create backup zip archive..."
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: job/backup_create.php:24
|
158 |
+
msgid "Can not add \"%s\" to zip archive!"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: job/backup_create.php:31
|
162 |
+
msgid "(4) ER_SEEK"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: job/backup_create.php:33
|
166 |
+
msgid "(5) ER_READ"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: job/backup_create.php:35
|
170 |
+
msgid "(9) ER_NOENT"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: job/backup_create.php:37
|
174 |
+
msgid "(10) ER_EXISTS"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: job/backup_create.php:39
|
178 |
+
msgid "(11) ER_OPEN"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: job/backup_create.php:41
|
182 |
+
msgid "(14) ER_MEMORY"
|
|
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: job/backup_create.php:43
|
186 |
+
msgid "(18) ER_INVAL"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: job/backup_create.php:45
|
190 |
+
msgid "(19) ER_NOZIP"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: job/backup_create.php:47
|
194 |
+
msgid "(21) ER_INCONS"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: job/backup_create.php:48
|
198 |
+
msgid "Zip returns status: %s"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: job/backup_create.php:52
|
202 |
+
msgid "Backup zip archive create done!"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: job/backup_create.php:55
|
206 |
+
msgid "Can not create backup zip archive $s!"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: job/backup_create.php:62
|
210 |
+
msgid "%d. try to create backup zip (PclZip) archive..."
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: job/backup_create.php:71
|
214 |
+
msgid "Zip archive create error: %s"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: job/backup_create.php:75
|
218 |
+
msgid "Backup zip archive create done"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: job/backup_create.php:90
|
222 |
+
msgid "Can not create tar arcive file!"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: job/backup_create.php:93
|
226 |
+
msgid "%1$d. try to create %2$s archive file..."
|
|
|
|
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: job/backup_create.php:101
|
230 |
+
msgid "File \"%s\" not readable!"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: job/backup_create.php:116
|
234 |
+
msgid "File name \"%1$s\" to long to save corectly in %2$s archive!"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: job/backup_create.php:118
|
238 |
+
msgid "File path \"%1$s\" to long to save corectly in %2$s archive!"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: job/backup_create.php:195
|
242 |
+
msgid "%s archive creation done"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: job/backup_create.php:199
|
246 |
+
msgid "Archive size is %s"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: job/backup_create.php:206
|
250 |
+
msgid "PCL ZIP Error \"%1$s\" on file %2$s!"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: job/job_functions.php:56 job/job_functions.php:69 job/db_optimize.php:21
|
254 |
+
#: job/db_check.php:23 job/db_check.php:38 job/db_dump.php:21
|
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 |
+
#: job/job_functions.php:107
|
260 |
+
msgid "PHP Safe mode is on!!! Can not increase memory limit is %s"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: job/job_functions.php:134
|
264 |
+
msgid "Memory increased from %1$s to %2$s"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: job/job_functions.php:136
|
268 |
+
msgid "Can not increase memory limit is %1$s"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: job/job_functions.php:146
|
272 |
+
msgid "Set Blog to maintenance mode"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: job/job_functions.php:160
|
276 |
+
msgid "Cannot set Blog to maintenance mode! Root folder is not writeable!"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: job/job_functions.php:163
|
280 |
+
msgid "Set Blog to normal mode"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: job/job_functions.php:241
|
284 |
+
msgid "No MySQL connection: %s"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: job/job_functions.php:256
|
288 |
+
msgid "No MySQL connection to database: %s"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: job/job_functions.php:280
|
292 |
+
msgid "[WARNING]"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: job/job_functions.php:286
|
296 |
+
msgid "[ERROR]"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: job/job_functions.php:290
|
300 |
+
msgid "[DEPRECATED]"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: job/job_functions.php:293
|
304 |
+
msgid "[STRICT NOTICE]"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: job/job_functions.php:296
|
308 |
+
msgid "[RECOVERABLE ERROR]"
|
309 |
+
msgstr ""
|
|
|
|
|
310 |
|
311 |
+
#: job/job_functions.php:373
|
312 |
+
msgid "One old log deleted"
|
313 |
+
msgid_plural "%d old logs deleted"
|
314 |
msgstr[0] ""
|
315 |
msgstr[1] ""
|
316 |
|
317 |
+
#: job/job_functions.php:377
|
318 |
+
msgid "Job done in %s sec."
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: job/job_functions.php:477
|
322 |
+
msgid "Jobname: %s"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: job/job_functions.php:478
|
326 |
+
msgid "Jobtype: %s"
|
|
|
|
|
|
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: job/job_functions.php:480
|
330 |
+
msgid "Errors: %d"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: job/job_functions.php:482
|
334 |
+
msgid "Warnings: %d"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: job/job_functions.php:487
|
338 |
+
msgid "BackWPup log from %1$s: %2$s"
|
|
|
|
|
|
|
|
|
|
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: job/job_functions.php:512
|
342 |
+
msgid "To many restarts...."
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: job/job_functions.php:549
|
346 |
+
msgid "Script stop! Will started again now!"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: job/dest_folder.php:31
|
350 |
+
msgid "One backup file deleted"
|
351 |
+
msgid_plural "%d backup files deleted"
|
352 |
+
msgstr[0] ""
|
353 |
+
msgstr[1] ""
|
354 |
|
355 |
+
#: job/dest_dropbox.php:12
|
356 |
+
msgid "%d. Try to sending backup file to DropBox..."
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: job/dest_dropbox.php:21 job/dest_dropbox.php:24
|
360 |
+
msgid "oAuth sign method for DropBox is %s"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: job/dest_dropbox.php:21 pages/func_backwpupeditjob.php:364
|
364 |
+
msgid "PLAINTEXT"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: job/dest_dropbox.php:24 pages/func_backwpupeditjob.php:363
|
368 |
+
msgid "HMAC-SHA1"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: job/dest_dropbox.php:33
|
372 |
+
msgid "Authed with DropBox from %s"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: job/dest_dropbox.php:38
|
376 |
+
msgid "No free space left on DropBox!!!"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: job/dest_dropbox.php:42
|
380 |
+
msgid "%s free on DropBox"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: job/dest_dropbox.php:47
|
384 |
+
msgid "Upload to DropBox now started... "
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: job/dest_dropbox.php:54
|
388 |
+
msgid "Backup transferred to DropBox://%s"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: job/dest_dropbox.php:56
|
392 |
+
msgid "Error on transfere backup to DropBox: %s"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: job/dest_dropbox.php:62 job/dest_dropbox.php:87
|
396 |
+
msgid "DropBox API: %s"
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: job/dest_dropbox.php:83
|
400 |
+
msgid "One file deleted on DropBox"
|
401 |
+
msgid_plural "%d files deleted on DropBox"
|
402 |
+
msgstr[0] ""
|
403 |
+
msgstr[1] ""
|
404 |
|
405 |
+
#: job/wp_export.php:11
|
406 |
+
msgid "%d. try for wordpress export to XML file..."
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: job/wp_export.php:33 job/wp_export.php:35
|
410 |
+
msgid "cURL:"
|
411 |
msgstr ""
|
412 |
|
413 |
+
#: job/wp_export.php:44
|
414 |
+
msgid "Add XML export \"%1$s\" to backup list with %2$s"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: job/job_start.php:22
|
418 |
+
msgid "A job already running!"
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: job/job_start.php:31
|
422 |
+
msgid "Can not create temp folder: %s"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: job/job_start.php:36
|
426 |
+
msgid "Temp dir not writeable"
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: job/job_start.php:134
|
430 |
+
msgid "Can not create folder for log files: %s"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: job/job_start.php:149
|
434 |
+
msgid "Log folder not writeable!"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: job/job_start.php:173
|
438 |
+
msgid "BackWPup log for %1$s from %2$s at %3$s"
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: job/job_start.php:201
|
442 |
+
msgid "Can not create folder for backups: %1$s"
|
|
|
|
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: job/job_start.php:218
|
446 |
+
msgid "Backup folder not writeable!"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: job/db_optimize.php:10
|
450 |
+
msgid "%d. try for database optimize..."
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: job/db_optimize.php:28 job/db_optimize.php:30 job/db_optimize.php:32
|
454 |
+
msgid "Result of table optimize for %1$s is: %2$s"
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: job/db_optimize.php:34
|
458 |
+
msgid "Database optimize done!"
|
459 |
msgstr ""
|
460 |
|
461 |
+
#: job/db_optimize.php:37
|
462 |
+
msgid "No tables to optimize"
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: job/dest_rsc.php:10
|
466 |
+
msgid "Try to sending backup file to Rackspace Cloud..."
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: job/dest_rsc.php:19
|
470 |
+
msgid "Connected to Rackspase ..."
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: job/dest_rsc.php:35 job/dest_rsc.php:69 job/dest_rsc.php:98
|
474 |
+
msgid "Rackspase Cloud API:"
|
475 |
msgstr ""
|
476 |
|
477 |
+
#: job/dest_rsc.php:40
|
478 |
+
msgid "Rackspase Cloud Container not exists:"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: job/dest_rsc.php:59
|
482 |
+
msgid "Upload to RSC now started ... "
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: job/dest_rsc.php:63
|
486 |
+
msgid "Backup File transferred to RSC://"
|
|
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: job/dest_rsc.php:66
|
490 |
+
msgid "Can not transfer backup to RSC."
|
491 |
msgstr ""
|
492 |
|
493 |
+
#: job/dest_rsc.php:91
|
494 |
+
msgid "Can not delete file on RSC://"
|
495 |
msgstr ""
|
496 |
|
497 |
+
#: job/dest_rsc.php:94
|
498 |
+
msgid "One file deleted on RSC container"
|
499 |
+
msgid_plural "%d files deleted on RSC container"
|
500 |
+
msgstr[0] ""
|
501 |
+
msgstr[1] ""
|
502 |
+
|
503 |
+
#: job/dest_sugarsync.php:12
|
504 |
+
msgid "%d. try sending backup to SugarSync..."
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: job/dest_sugarsync.php:21
|
508 |
+
msgid "Authed to SugarSync with Nick %s"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: job/dest_sugarsync.php:25
|
512 |
+
msgid "No free space left on SugarSync!!!"
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: job/dest_sugarsync.php:30
|
516 |
+
msgid "%s free on SugarSync"
|
517 |
msgstr ""
|
518 |
|
519 |
+
#: job/dest_sugarsync.php:37
|
520 |
+
msgid "Upload to SugarSync now started... "
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: job/dest_sugarsync.php:43
|
524 |
+
msgid "Backup transferred to SugarSync://%s"
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: job/dest_sugarsync.php:45
|
528 |
+
msgid "Can not transfer backup to SugarSync!"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: job/dest_sugarsync.php:68
|
532 |
+
msgid "One file deleted on SugarSync folder"
|
533 |
+
msgid_plural "%d files deleted on SugarSync folder"
|
534 |
+
msgstr[0] ""
|
535 |
+
msgstr[1] ""
|
536 |
+
|
537 |
+
#: job/dest_sugarsync.php:72
|
538 |
+
msgid "SugarSync API: %s"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: job/dest_s3.php:10
|
542 |
+
msgid "%d. try sending backup file to Amazon S3..."
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: job/dest_s3.php:20
|
546 |
+
msgid "Connected to S3 Bucket: %s"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: job/dest_s3.php:32
|
550 |
+
msgid "Upload to Amazon S3 now started... "
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: job/dest_s3.php:35
|
554 |
+
msgid "Backup transferred to S3://%s"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: job/dest_s3.php:38
|
558 |
+
msgid "Can not transfer backup to S3!"
|
|
|
|
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: job/dest_s3.php:41
|
562 |
+
msgid "S3 Bucket \"%s\" not exists!"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: job/dest_s3.php:44 job/dest_s3.php:73
|
566 |
+
msgid "Amazon API: %s"
|
|
|
|
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: job/dest_s3.php:65
|
570 |
+
msgid "Can not delete backup on S3://%s"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: job/dest_s3.php:68
|
574 |
+
msgid "One file deleted on S3 Bucket"
|
575 |
+
msgid_plural "%d files deleted on S3 Bucket"
|
576 |
+
msgstr[0] ""
|
577 |
+
msgstr[1] ""
|
578 |
+
|
579 |
+
#: job/dest_mail.php:12
|
580 |
+
msgid "%d. try to sending backup with mail..."
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: job/dest_mail.php:28
|
584 |
+
msgid "Send mail with SMTP"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: job/dest_mail.php:32
|
588 |
+
msgid "Send mail with Sendmail"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: job/dest_mail.php:35
|
592 |
+
msgid "Send mail with PHP mail"
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: job/dest_mail.php:38
|
596 |
+
msgid "Creating mail"
|
|
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: job/dest_mail.php:42
|
600 |
+
msgid "BackWPup archive from %1$s: %2$s"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: job/dest_mail.php:44
|
604 |
+
msgid "Backup archive: %s"
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: job/dest_mail.php:50
|
608 |
+
msgid "Backup archive too big for sending by mail!"
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: job/dest_mail.php:57
|
612 |
+
msgid "Adding backup archive to mail"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: job/dest_mail.php:61
|
616 |
+
msgid "Send mail...."
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: job/dest_mail.php:64
|
620 |
+
msgid "Error \"%s\" on sending mail!"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: job/dest_mail.php:67
|
624 |
+
msgid "Mail send!!!"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: job/db_check.php:10
|
628 |
+
msgid "%d. try for database check..."
|
|
|
|
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: job/db_check.php:28 job/db_check.php:30 job/db_check.php:32
|
632 |
+
msgid "Result of table check for %1$s is: %2$s"
|
|
|
|
|
|
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: job/db_check.php:43 job/db_check.php:45 job/db_check.php:47
|
636 |
+
msgid "Result of table repair for %1$s is: %2$s"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: job/db_check.php:53
|
640 |
+
msgid "Database check done!"
|
641 |
msgstr ""
|
642 |
|
643 |
+
#: job/db_check.php:55
|
644 |
+
msgid "No tables to check"
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: job/dest_gstorage.php:12
|
648 |
+
msgid "%d. try sending backup to Google Storage..."
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: job/dest_gstorage.php:20
|
652 |
+
msgid "Connected to Google storage bucket: %s"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: job/dest_gstorage.php:31
|
656 |
+
msgid "Upload to Google storage now started..."
|
|
|
|
|
|
|
|
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: job/dest_gstorage.php:36
|
660 |
+
msgid "Backup transferred to GSTORAGE://%s"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: job/dest_gstorage.php:39
|
664 |
+
msgid "Error \"%s\" on transfer backup to Google storage!"
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: job/dest_gstorage.php:42
|
668 |
+
msgid "Error \"%s\" on connect to Google Storage bucket"
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: job/dest_gstorage.php:45 job/dest_gstorage.php:72
|
672 |
+
msgid "Google Storage API: %s"
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: job/dest_gstorage.php:67
|
676 |
+
msgid "One file deleted on Google Storage bucket"
|
677 |
+
msgid_plural "%d files deleted on Google Storage bucket"
|
678 |
+
msgstr[0] ""
|
679 |
+
msgstr[1] ""
|
680 |
+
|
681 |
+
#: job/db_dump.php:11
|
682 |
+
msgid "%d. try for database dump..."
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: job/db_dump.php:54
|
686 |
+
msgid "Dump database table \"%s\""
|
687 |
msgstr ""
|
688 |
|
689 |
+
#: job/db_dump.php:71
|
690 |
+
msgid "Database dump done!"
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: job/db_dump.php:73
|
694 |
+
msgid "Can not create database dump!"
|
695 |
msgstr ""
|
696 |
|
697 |
+
#: job/db_dump.php:76
|
698 |
+
msgid "No tables to dump"
|
699 |
msgstr ""
|
700 |
|
701 |
+
#: job/db_dump.php:82
|
702 |
+
msgid "Add database dump \"%1$s\" with %2$s to backup file list"
|
703 |
msgstr ""
|
704 |
|
705 |
+
#: job/dest_ftp.php:15
|
706 |
+
msgid "%d. try to sending backup file to a FTP Server..."
|
707 |
msgstr ""
|
708 |
|
709 |
+
#: job/dest_ftp.php:23
|
710 |
+
msgid "Connected by SSL-FTP to Server: %s"
|
711 |
msgstr ""
|
712 |
|
713 |
+
#: job/dest_ftp.php:25
|
714 |
+
msgid "Can not connect by SSL-FTP to Server: %s"
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: job/dest_ftp.php:29
|
718 |
+
msgid "PHP function to connect with SSL-FTP to server not exists!"
|
719 |
msgstr ""
|
720 |
|
721 |
+
#: job/dest_ftp.php:35
|
722 |
+
msgid "Connected to FTP server: %s"
|
|
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: job/dest_ftp.php:37
|
726 |
+
msgid "Can not connect to FTP server: %s"
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: job/dest_ftp.php:44 job/dest_ftp.php:51 job/dest_ftp.php:63
|
730 |
+
#: job/dest_ftp.php:76
|
731 |
+
msgid "FTP Client command: %s"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: job/dest_ftp.php:46 job/dest_ftp.php:49 job/dest_ftp.php:53
|
735 |
+
#: job/dest_ftp.php:66 job/dest_ftp.php:68 job/dest_ftp.php:71
|
736 |
+
#: job/dest_ftp.php:73 job/dest_ftp.php:79 job/dest_ftp.php:81
|
737 |
+
msgid "FTP Server reply: %s"
|
738 |
msgstr ""
|
739 |
|
740 |
+
#: job/dest_ftp.php:66
|
741 |
+
msgid "Entering Passive Mode"
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: job/dest_ftp.php:68
|
745 |
+
msgid "Can not Entering Passive Mode"
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: job/dest_ftp.php:71
|
749 |
+
msgid "Entering Normal Mode"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: job/dest_ftp.php:73
|
753 |
+
msgid "Can not Entering Normal Mode"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: job/dest_ftp.php:81
|
757 |
+
msgid "Error getting SYSTYPE"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: job/dest_ftp.php:91
|
761 |
+
msgid "FTP Folder \"%s\" created!"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: job/dest_ftp.php:94
|
765 |
+
msgid "FTP Folder \"%s\" can not created!"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: job/dest_ftp.php:99
|
769 |
+
msgid "Upload to FTP now started ... "
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: job/dest_ftp.php:103
|
773 |
+
msgid "Backup transferred to FTP server: %s"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: job/dest_ftp.php:106
|
777 |
+
msgid "Can not transfer backup to FTP server!"
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: job/dest_ftp.php:123
|
781 |
+
msgid "Can not delete \"%s\" on FTP server!"
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: job/dest_ftp.php:126
|
785 |
+
msgid "One file deleted on FTP Server"
|
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/tools/db_restore.php:36 pages/tools/db_restore.php:55
|
795 |
+
#: pages/tools/db_restore.php:70 pages/tools/db_restore.php:81
|
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/tools/db_restore.php:36
|
802 |
+
msgid "Pleace set <i>$table_prefix = '%1$s';</i> in wp-config.php"
|
|
|
|
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: pages/tools/db_restore.php:55
|
806 |
+
msgid "Pleace set <i>define('DB_CHARSET', '%1$s');</i> in wp-config.php"
|
807 |
msgstr ""
|
808 |
|
809 |
+
#: pages/tools/db_restore.php:70 pages/tools/db_restore.php:81
|
810 |
+
#: pages/tools/db_restore.php:84 pages/tools/db_restore.php:87
|
811 |
+
#: pages/tools/db_restore.php:92
|
812 |
+
msgid "BackWPup database error %1$s for query %2$s"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: pages/tools/db_restore.php:76
|
816 |
+
msgid "%1$s Database Querys done."
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: pages/tools/db_restore.php:77
|
820 |
+
msgid "Make changes for Blogurl and ABSPATH if needed."
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: pages/tools/db_restore.php:94
|
824 |
+
msgid "Restore Done. Please delete the SQL file after Restore."
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: pages/page_backwpuplogs.php:10 backwpup-functions.php:473
|
828 |
+
msgid "BackWPup Logs"
|
829 |
msgstr ""
|
830 |
|
831 |
+
#: pages/func_backwpuplogs.php:74
|
832 |
+
msgid "No Logs."
|
833 |
msgstr ""
|
834 |
|
835 |
+
#: pages/func_backwpuplogs.php:79 pages/func_backwpuplogs.php:133
|
836 |
+
#: pages/func_backwpup.php:53 pages/func_backwpup.php:109
|
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/func_backwpuplogs.php:86
|
843 |
+
msgid "Job"
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: pages/func_backwpuplogs.php:87 pages/func_backwpup.php:63
|
847 |
+
#: pages/func_backwpupeditjob.php:177
|
848 |
+
msgid "Type"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: pages/func_backwpuplogs.php:88
|
852 |
+
msgid "Backup/Log Date/Time"
|
853 |
msgstr ""
|
854 |
|
855 |
+
#: pages/func_backwpuplogs.php:89
|
856 |
+
msgid "Status"
|
857 |
msgstr ""
|
858 |
|
859 |
+
#: pages/func_backwpuplogs.php:90 pages/func_backwpupbackups.php:190
|
860 |
+
msgid "Size"
|
861 |
msgstr ""
|
862 |
|
863 |
+
#: pages/func_backwpuplogs.php:91
|
864 |
+
msgid "Runtime"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: pages/func_backwpuplogs.php:130
|
868 |
+
msgid "View log"
|
869 |
msgstr ""
|
870 |
|
871 |
+
#: pages/func_backwpuplogs.php:132
|
872 |
+
msgid "View"
|
873 |
msgstr ""
|
874 |
|
875 |
+
#: pages/func_backwpuplogs.php:134 pages/func_backwpup.php:155
|
876 |
+
#: pages/func_backwpupbackups.php:234
|
877 |
+
msgid "Download"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: pages/func_backwpuplogs.php:141 backwpup-functions.php:395
|
881 |
+
msgid "%d ERROR"
|
882 |
+
msgid_plural "%d ERRORS"
|
883 |
+
msgstr[0] ""
|
884 |
+
msgstr[1] ""
|
885 |
+
|
886 |
+
#: pages/func_backwpuplogs.php:143 backwpup-functions.php:397
|
887 |
+
msgid "%d WARNING"
|
888 |
+
msgid_plural "%d WARNINGS"
|
889 |
+
msgstr[0] ""
|
890 |
+
msgstr[1] ""
|
891 |
+
|
892 |
+
#: pages/func_backwpuplogs.php:145 backwpup-functions.php:399
|
893 |
+
msgid "O.K."
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: pages/func_backwpuplogs.php:153
|
897 |
+
msgid "only Log"
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: pages/func_backwpuplogs.php:159 pages/func_backwpup.php:134
|
901 |
+
#: pages/func_backwpup.php:150 pages/page_backwpupsettings.php:127
|
902 |
+
#: pages/page_backwpupsettings.php:133
|
903 |
+
msgid "sec."
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: pages/header_backwpupworking.php:14
|
907 |
+
msgid "A job alredy running!!! Pleace try again if its done."
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: pages/header_backwpupworking.php:26
|
911 |
+
msgid "A job is running!!!"
|
912 |
msgstr ""
|
913 |
|
914 |
+
#: pages/header_backwpupworking.php:30
|
915 |
+
msgid "Nothing..."
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: pages/header_backwpupworking.php:35
|
919 |
+
msgid "Here you see working jobs or logfiles"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: pages/page_backwpupworking.php:11
|
923 |
+
msgid "BackWPup Working"
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: pages/page_backwpupworking.php:31
|
927 |
+
msgid "Warnings:"
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: pages/page_backwpupworking.php:35
|
931 |
+
msgid "Errors:"
|
932 |
msgstr ""
|
933 |
|
934 |
+
#: pages/page_backwpup.php:10
|
935 |
+
msgid "BackWPup Jobs"
|
936 |
msgstr ""
|
937 |
|
938 |
+
#: pages/page_backwpup.php:10 backwpup-functions.php:13
|
939 |
+
msgid "Add New"
|
940 |
msgstr ""
|
941 |
|
942 |
+
#: pages/page_backwpuptools.php:10
|
943 |
+
msgid "BackWPup Tools"
|
944 |
msgstr ""
|
945 |
|
946 |
+
#: pages/page_backwpuptools.php:17
|
947 |
+
msgid "Database restore"
|
948 |
msgstr ""
|
949 |
|
950 |
+
#: pages/page_backwpuptools.php:20
|
951 |
+
msgid "DB Restore"
|
952 |
+
msgstr ""
|
953 |
+
|
954 |
+
#: pages/page_backwpuptools.php:23 pages/page_backwpuptools.php:42
|
955 |
+
msgid "Restore"
|
956 |
+
msgstr ""
|
957 |
+
|
958 |
+
#: pages/page_backwpuptools.php:39
|
959 |
+
msgid "SQL File to restore:"
|
960 |
+
msgstr ""
|
961 |
+
|
962 |
+
#: pages/page_backwpuptools.php:45
|
963 |
+
msgid "Copy SQL file to blog root folder to use for a restoration."
|
964 |
+
msgstr ""
|
965 |
+
|
966 |
+
#: pages/page_backwpuptools.php:53
|
967 |
+
msgid "Import Jobs settings"
|
968 |
+
msgstr ""
|
969 |
+
|
970 |
+
#: pages/page_backwpuptools.php:56
|
971 |
+
msgid "Select file to import:"
|
972 |
+
msgstr ""
|
973 |
+
|
974 |
+
#: pages/page_backwpuptools.php:58 pages/page_backwpuptools.php:63
|
975 |
+
msgid "Upload"
|
976 |
+
msgstr ""
|
977 |
+
|
978 |
+
#: pages/page_backwpuptools.php:64
|
979 |
+
msgid "Select jobs to import"
|
980 |
+
msgstr ""
|
981 |
+
|
982 |
+
#: pages/page_backwpuptools.php:68
|
983 |
+
msgid "Import Type"
|
984 |
+
msgstr ""
|
985 |
+
|
986 |
+
#: pages/page_backwpuptools.php:68
|
987 |
+
msgid "No Import"
|
988 |
+
msgstr ""
|
989 |
+
|
990 |
+
#: pages/page_backwpuptools.php:70
|
991 |
+
msgid "Overwrite"
|
992 |
+
msgstr ""
|
993 |
+
|
994 |
+
#: pages/page_backwpuptools.php:70
|
995 |
+
msgid "Append"
|
996 |
+
msgstr ""
|
997 |
+
|
998 |
+
#: pages/page_backwpuptools.php:72 pages/page_backwpuptools.php:77
|
999 |
+
#: pages/page_backwpuptools.php:79 pages/page_backwpuptools.php:80
|
1000 |
+
msgid "Import"
|
1001 |
+
msgstr ""
|
1002 |
+
|
1003 |
+
#: pages/page_backwpuptools.php:116
|
1004 |
+
msgid "Jobs imported!"
|
1005 |
+
msgstr ""
|
1006 |
+
|
1007 |
+
#: pages/header_backwpupsettings.php:54
|
1008 |
+
msgid "Settings saved"
|
1009 |
+
msgstr ""
|
1010 |
+
|
1011 |
+
#: pages/header_backwpuplogs.php:61
|
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/header_backwpuplogs.php:63 pages/header_backwpupbackups.php:361
|
1018 |
+
#: pages/page_backwpupsettings.php:81 backwpup-functions.php:17
|
1019 |
+
#: backwpup-functions.php:488
|
1020 |
+
msgid "Logs"
|
1021 |
+
msgstr ""
|
1022 |
+
|
1023 |
+
#: pages/header_backwpupbackups.php:149 pages/func_backwpupbackups.php:505
|
1024 |
+
msgid "Login failure!"
|
1025 |
+
msgstr ""
|
1026 |
+
|
1027 |
+
#: pages/header_backwpupbackups.php:359
|
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/func_backwpup.php:47
|
1035 |
+
msgid "No Jobs."
|
1036 |
+
msgstr ""
|
1037 |
+
|
1038 |
+
#: pages/func_backwpup.php:52 pages/func_backwpup.php:108
|
1039 |
+
msgid "Export"
|
1040 |
+
msgstr ""
|
1041 |
+
|
1042 |
+
#: pages/func_backwpup.php:61
|
1043 |
+
msgid "ID"
|
1044 |
+
msgstr ""
|
1045 |
+
|
1046 |
+
#: pages/func_backwpup.php:62
|
1047 |
+
msgid "Job Name"
|
1048 |
+
msgstr ""
|
1049 |
+
|
1050 |
+
#: pages/func_backwpup.php:64
|
1051 |
+
msgid "Information"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
+
#: pages/func_backwpup.php:65
|
1055 |
+
msgid "Next Run"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
+
#: pages/func_backwpup.php:66
|
1059 |
+
msgid "Last Run"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: pages/func_backwpup.php:103
|
1063 |
+
msgid "Edit:"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
+
#: pages/func_backwpup.php:106
|
1067 |
+
msgid "Edit"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
+
#: pages/func_backwpup.php:107
|
1071 |
+
msgid "Copy"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
+
#: pages/func_backwpup.php:110
|
1075 |
+
msgid "Run Now"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
+
#: pages/func_backwpup.php:113 backwpup-functions.php:452
|
1079 |
+
msgid "View!"
|
|
|
|
|
|
|
1080 |
msgstr ""
|
1081 |
|
1082 |
+
#: pages/func_backwpup.php:114 backwpup-functions.php:453
|
1083 |
+
msgid "Abort!"
|
1084 |
msgstr ""
|
1085 |
|
1086 |
+
#: pages/func_backwpup.php:134
|
1087 |
+
msgid "Running since:"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
+
#: pages/func_backwpup.php:138
|
1091 |
+
msgid "Inactive"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: pages/func_backwpup.php:141
|
1095 |
+
msgid "<a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a>:"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
+
#: pages/func_backwpup.php:150
|
1099 |
+
msgid "Runtime:"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
+
#: pages/func_backwpup.php:152
|
1103 |
+
msgid "None"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
+
#: pages/func_backwpup.php:155
|
1107 |
+
msgid "Download last Backup"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
+
#: pages/func_backwpup.php:157
|
1111 |
+
msgid "View last Log"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: pages/func_backwpup.php:157
|
1115 |
+
msgid "Log"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: pages/func_backwpup.php:245
|
1119 |
+
msgid "DB Size:"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
+
#: pages/func_backwpup.php:247
|
1123 |
+
msgid "DB Tables:"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
+
#: pages/func_backwpup.php:248
|
1127 |
+
msgid "DB Rows:"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
+
#: pages/func_backwpup.php:253
|
1131 |
+
msgid "Files Size:"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
+
#: pages/func_backwpup.php:255
|
1135 |
+
msgid "Files count:"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
+
#: pages/header_backwpup.php:37
|
1139 |
+
msgid "Copy of"
|
1140 |
msgstr ""
|
1141 |
|
1142 |
+
#: pages/header_backwpup.php:67
|
1143 |
+
msgid "Aborted by user!!!"
|
|
|
|
|
1144 |
msgstr ""
|
1145 |
|
1146 |
+
#: pages/header_backwpup.php:81
|
1147 |
+
msgid "Job will be terminated."
|
1148 |
msgstr ""
|
1149 |
|
1150 |
+
#: pages/header_backwpup.php:84
|
1151 |
+
msgid "Process killed with PID:"
|
|
|
|
|
1152 |
msgstr ""
|
1153 |
|
1154 |
+
#: pages/header_backwpup.php:99
|
1155 |
+
msgid "Can't kill process with PID:"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
+
#: pages/header_backwpup.php:114
|
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/page_backwpupsettings.php:12
|
1167 |
+
msgid "BackWPup Settings"
|
1168 |
msgstr ""
|
1169 |
|
1170 |
+
#: pages/page_backwpupsettings.php:19
|
1171 |
+
msgid "Send Mail"
|
1172 |
msgstr ""
|
1173 |
|
1174 |
+
#: pages/page_backwpupsettings.php:20
|
1175 |
+
msgid ""
|
1176 |
+
"Here you can set special things for Mail sending. The settings will be used "
|
1177 |
+
"in jobs for sending backups via email or for sending log files."
|
1178 |
msgstr ""
|
1179 |
|
1180 |
+
#: pages/page_backwpupsettings.php:23
|
1181 |
+
msgid "Sender email"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
+
#: pages/page_backwpupsettings.php:28
|
1185 |
+
msgid "Sender name"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: pages/page_backwpupsettings.php:32
|
1189 |
+
msgid "Send mail method"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
+
#: pages/page_backwpupsettings.php:36
|
1193 |
+
msgid "PHP: mail()"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
+
#: pages/page_backwpupsettings.php:37
|
1197 |
+
msgid "Sendmail"
|
1198 |
msgstr ""
|
1199 |
|
1200 |
+
#: pages/page_backwpupsettings.php:38
|
1201 |
+
msgid "SMTP"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
+
#: pages/page_backwpupsettings.php:44
|
1205 |
+
msgid "Sendmail path"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
+
#: pages/page_backwpupsettings.php:51
|
1209 |
+
msgid "SMTP hostname"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
+
#: pages/page_backwpupsettings.php:54 pages/func_backwpupeditjob.php:238
|
1213 |
+
msgid "Port:"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
+
#: pages/page_backwpupsettings.php:58
|
1217 |
+
msgid "SMTP secure connection"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
+
#: pages/page_backwpupsettings.php:61 backwpup-functions.php:407
|
1221 |
+
#: backwpup-functions.php:437 backwpup-functions.php:465
|
1222 |
+
msgid "none"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
+
#: pages/page_backwpupsettings.php:68
|
1226 |
+
msgid "SMTP username"
|
1227 |
msgstr ""
|
1228 |
|
1229 |
+
#: pages/page_backwpupsettings.php:74
|
1230 |
+
msgid "SMTP password"
|
1231 |
msgstr ""
|
1232 |
|
1233 |
+
#: pages/page_backwpupsettings.php:82
|
1234 |
+
msgid "Here you can set Logfile related things."
|
1235 |
msgstr ""
|
1236 |
|
1237 |
+
#: pages/page_backwpupsettings.php:85
|
1238 |
+
msgid "Log file Folder"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
+
#: pages/page_backwpupsettings.php:90
|
1242 |
+
msgid "Max. Log Files in Folder"
|
1243 |
msgstr ""
|
1244 |
|
1245 |
+
#: pages/page_backwpupsettings.php:92 pages/func_backwpupeditjob.php:230
|
1246 |
+
msgid "(Oldest files will deleted first.)"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
+
#: pages/page_backwpupsettings.php:96 pages/page_backwpupsettings.php:97
|
1250 |
+
msgid "Compression"
|
1251 |
msgstr ""
|
1252 |
|
1253 |
+
#: pages/page_backwpupsettings.php:99
|
1254 |
+
msgid "Gzip Log files!"
|
1255 |
msgstr ""
|
1256 |
|
1257 |
+
#: pages/page_backwpupsettings.php:103 backwpup-functions.php:11
|
1258 |
+
#: backwpup-functions.php:487
|
1259 |
+
msgid "Jobs"
|
|
|
1260 |
msgstr ""
|
1261 |
|
1262 |
+
#: pages/page_backwpupsettings.php:104
|
1263 |
+
msgid "Here you can set Job related things."
|
1264 |
msgstr ""
|
1265 |
|
1266 |
+
#: pages/page_backwpupsettings.php:107
|
1267 |
+
msgid "Max. retrys for job steps"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
+
#: pages/page_backwpupsettings.php:112
|
1271 |
+
msgid "Max. retrys for job script restarts"
|
1272 |
msgstr ""
|
1273 |
|
1274 |
+
#: pages/page_backwpupsettings.php:126
|
1275 |
+
msgid "Max. normal script runtime:"
|
1276 |
msgstr ""
|
1277 |
|
1278 |
+
#: pages/page_backwpupsettings.php:128
|
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 |
+
#: pages/page_backwpupsettings.php:132
|
1285 |
+
msgid "Max. long script runtime:"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: pages/page_backwpupsettings.php:134
|
1289 |
+
msgid ""
|
1290 |
+
"Script runtime for loong operations withaut responce to script. You can only "
|
1291 |
+
"set it if safemode off. Default runtime is 300 sec.(Max. on most webservers.)"
|
1292 |
msgstr ""
|
1293 |
|
1294 |
+
#: pages/page_backwpupsettings.php:137
|
1295 |
+
msgid "PHP zip class"
|
1296 |
msgstr ""
|
1297 |
|
1298 |
+
#: pages/page_backwpupsettings.php:138
|
1299 |
+
msgid "PHP zip"
|
1300 |
msgstr ""
|
1301 |
|
1302 |
+
#: pages/page_backwpupsettings.php:140
|
1303 |
+
msgid "Use PHP zip class if available! Normaly PCL Zip class will used."
|
1304 |
msgstr ""
|
1305 |
|
1306 |
+
#: pages/page_backwpupsettings.php:145
|
1307 |
+
msgid "WP Admin Bar"
|
1308 |
msgstr ""
|
1309 |
|
1310 |
+
#: pages/page_backwpupsettings.php:146
|
1311 |
+
msgid "Will you see BackWPup in the WordPress Admin Bar?"
|
1312 |
msgstr ""
|
1313 |
|
1314 |
+
#: pages/page_backwpupsettings.php:149 pages/page_backwpupsettings.php:150
|
1315 |
+
msgid "Admin Bar"
|
1316 |
msgstr ""
|
1317 |
|
1318 |
+
#: pages/page_backwpupsettings.php:152
|
1319 |
+
msgid "Show BackWPup Links in Admin Bar."
|
1320 |
msgstr ""
|
1321 |
|
1322 |
+
#: pages/page_backwpupsettings.php:157
|
1323 |
+
msgid "WP-Cron"
|
1324 |
msgstr ""
|
1325 |
|
1326 |
+
#: pages/page_backwpupsettings.php:158
|
1327 |
+
msgid ""
|
1328 |
+
"If you would use the cron job of your hoster you must point it to the url:"
|
1329 |
msgstr ""
|
1330 |
|
1331 |
+
#: pages/page_backwpupsettings.php:161 pages/page_backwpupsettings.php:162
|
1332 |
+
msgid "Disable WP-Cron"
|
1333 |
msgstr ""
|
1334 |
|
1335 |
+
#: pages/page_backwpupsettings.php:164
|
1336 |
+
msgid "Use your host's Cron Job and disable WP-Cron"
|
1337 |
msgstr ""
|
1338 |
|
1339 |
+
#: pages/page_backwpupsettings.php:168 pages/page_backwpupsettings.php:169
|
1340 |
+
msgid "Use corn service of backwpup.com"
|
1341 |
msgstr ""
|
1342 |
|
1343 |
+
#: pages/page_backwpupsettings.php:171
|
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 |
+
#: pages/func_backwpupeditjob.php:14 pages/func_backwpupeditjob.php:34
|
1353 |
+
msgid "Save Changes"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
+
#: pages/func_backwpupeditjob.php:23
|
1357 |
+
msgid "PHP curl functions not available! Most backup destinations deaktivated!"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: pages/func_backwpupeditjob.php:31
|
1361 |
+
msgid ""
|
1362 |
+
"You are about to delete this Job. \n"
|
1363 |
+
" 'Cancel' to stop, 'OK' to delete."
|
1364 |
msgstr ""
|
1365 |
|
1366 |
+
#: pages/func_backwpupeditjob.php:44
|
1367 |
+
msgid "File Prefix:"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
+
#: pages/func_backwpupeditjob.php:46
|
1371 |
+
msgid "File Formart:"
|
1372 |
msgstr ""
|
1373 |
|
1374 |
+
#: pages/func_backwpupeditjob.php:49 pages/func_backwpupeditjob.php:51
|
1375 |
+
msgid "Zip"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
+
#: pages/func_backwpupeditjob.php:52
|
1379 |
+
msgid "Tar"
|
1380 |
msgstr ""
|
1381 |
|
1382 |
+
#: pages/func_backwpupeditjob.php:54 pages/func_backwpupeditjob.php:56
|
1383 |
+
msgid "Tar GZip"
|
1384 |
msgstr ""
|
1385 |
|
1386 |
+
#: pages/func_backwpupeditjob.php:58 pages/func_backwpupeditjob.php:60
|
1387 |
+
msgid "Tar BZip2"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
+
#: pages/func_backwpupeditjob.php:61
|
1391 |
+
msgid "Preview:"
|
1392 |
msgstr ""
|
1393 |
|
1394 |
+
#: pages/func_backwpupeditjob.php:66
|
1395 |
+
msgid "E-Mail-Adress:"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
+
#: pages/func_backwpupeditjob.php:68
|
1399 |
+
msgid "Only send an e-mail if there are errors."
|
1400 |
msgstr ""
|
1401 |
|
1402 |
+
#: pages/func_backwpupeditjob.php:97
|
1403 |
+
msgid "Activate scheduling"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
+
#: pages/func_backwpupeditjob.php:98
|
1407 |
+
msgid "advanced"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
+
#: pages/func_backwpupeditjob.php:99
|
1411 |
+
msgid "basic"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
+
#: pages/func_backwpupeditjob.php:103
|
1415 |
+
msgid "Minutes: "
|
1416 |
msgstr ""
|
1417 |
|
1418 |
+
#: pages/func_backwpupeditjob.php:105 pages/func_backwpupeditjob.php:117
|
1419 |
+
#: pages/func_backwpupeditjob.php:128 pages/func_backwpupeditjob.php:139
|
1420 |
+
#: pages/func_backwpupeditjob.php:159
|
1421 |
+
msgid "Any (*)"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
+
#: pages/func_backwpupeditjob.php:114
|
1425 |
+
msgid "Hours:"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
+
#: pages/func_backwpupeditjob.php:126
|
1429 |
+
msgid "Day of Month:"
|
1430 |
msgstr ""
|
1431 |
|
1432 |
+
#: pages/func_backwpupeditjob.php:137
|
1433 |
+
msgid "Month:"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
+
#: pages/func_backwpupeditjob.php:141
|
1437 |
+
msgid "January"
|
|
|
|
|
1438 |
msgstr ""
|
1439 |
|
1440 |
+
#: pages/func_backwpupeditjob.php:142
|
1441 |
+
msgid "February"
|
1442 |
msgstr ""
|
1443 |
|
1444 |
+
#: pages/func_backwpupeditjob.php:143
|
1445 |
+
msgid "March"
|
1446 |
msgstr ""
|
1447 |
|
1448 |
+
#: pages/func_backwpupeditjob.php:144
|
1449 |
+
msgid "April"
|
1450 |
msgstr ""
|
1451 |
|
1452 |
+
#: pages/func_backwpupeditjob.php:145
|
1453 |
+
msgid "May"
|
1454 |
msgstr ""
|
1455 |
|
1456 |
+
#: pages/func_backwpupeditjob.php:146
|
1457 |
+
msgid "June"
|
1458 |
msgstr ""
|
1459 |
|
1460 |
+
#: pages/func_backwpupeditjob.php:147
|
1461 |
+
msgid "July"
|
1462 |
msgstr ""
|
1463 |
|
1464 |
+
#: pages/func_backwpupeditjob.php:148
|
1465 |
+
msgid "Augest"
|
1466 |
msgstr ""
|
1467 |
|
1468 |
+
#: pages/func_backwpupeditjob.php:149
|
1469 |
+
msgid "September"
|
1470 |
msgstr ""
|
1471 |
|
1472 |
+
#: pages/func_backwpupeditjob.php:150
|
1473 |
+
msgid "October"
|
1474 |
msgstr ""
|
1475 |
|
1476 |
+
#: pages/func_backwpupeditjob.php:151
|
1477 |
+
msgid "November"
|
1478 |
msgstr ""
|
1479 |
|
1480 |
+
#: pages/func_backwpupeditjob.php:152
|
1481 |
+
msgid "December"
|
1482 |
msgstr ""
|
1483 |
|
1484 |
+
#: pages/func_backwpupeditjob.php:157
|
1485 |
+
msgid "Day of Week:"
|
1486 |
msgstr ""
|
1487 |
|
1488 |
+
#: pages/func_backwpupeditjob.php:161 pages/func_backwpupeditjob.php:197
|
1489 |
+
msgid "Sunday"
|
1490 |
msgstr ""
|
1491 |
|
1492 |
+
#: pages/func_backwpupeditjob.php:162 pages/func_backwpupeditjob.php:198
|
1493 |
+
msgid "Monday"
|
1494 |
msgstr ""
|
1495 |
|
1496 |
+
#: pages/func_backwpupeditjob.php:163 pages/func_backwpupeditjob.php:199
|
1497 |
+
msgid "Tuesday"
|
1498 |
msgstr ""
|
1499 |
|
1500 |
+
#: pages/func_backwpupeditjob.php:164 pages/func_backwpupeditjob.php:200
|
1501 |
+
msgid "Wednesday"
|
1502 |
msgstr ""
|
1503 |
|
1504 |
+
#: pages/func_backwpupeditjob.php:165 pages/func_backwpupeditjob.php:201
|
1505 |
+
msgid "Thursday"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
+
#: pages/func_backwpupeditjob.php:166 pages/func_backwpupeditjob.php:202
|
1509 |
+
msgid "Friday"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
+
#: pages/func_backwpupeditjob.php:167 pages/func_backwpupeditjob.php:203
|
1513 |
+
msgid "Saturday"
|
1514 |
msgstr ""
|
1515 |
|
1516 |
+
#: pages/func_backwpupeditjob.php:182
|
1517 |
+
msgid "Hour"
|
1518 |
msgstr ""
|
1519 |
|
1520 |
+
#: pages/func_backwpupeditjob.php:185
|
1521 |
+
msgid "Minute"
|
1522 |
msgstr ""
|
1523 |
|
1524 |
+
#: pages/func_backwpupeditjob.php:189
|
1525 |
+
msgid "monthly"
|
1526 |
msgstr ""
|
1527 |
|
1528 |
+
#: pages/func_backwpupeditjob.php:190
|
1529 |
+
msgid "on"
|
1530 |
msgstr ""
|
1531 |
|
1532 |
+
#: pages/func_backwpupeditjob.php:195
|
1533 |
+
msgid "weekly"
|
1534 |
msgstr ""
|
1535 |
|
1536 |
+
#: pages/func_backwpupeditjob.php:209
|
1537 |
+
msgid "daily"
|
1538 |
msgstr ""
|
1539 |
|
1540 |
+
#: pages/func_backwpupeditjob.php:215
|
1541 |
+
msgid "hourly"
|
1542 |
msgstr ""
|
1543 |
|
1544 |
+
#: pages/func_backwpupeditjob.php:227
|
1545 |
+
msgid "Full Path to folder for Backup Files:"
|
|
|
1546 |
msgstr ""
|
1547 |
|
1548 |
+
#: pages/func_backwpupeditjob.php:229
|
1549 |
+
msgid "Your WordPress dir is:"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
+
#: pages/func_backwpupeditjob.php:230 pages/func_backwpupeditjob.php:395
|
1553 |
+
msgid "Max. backup files in folder:"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
+
#: pages/func_backwpupeditjob.php:236
|
1557 |
+
msgid "Hostname:"
|
1558 |
msgstr ""
|
1559 |
|
1560 |
+
#: pages/func_backwpupeditjob.php:240 pages/func_backwpupeditjob.php:331
|
1561 |
+
msgid "Username:"
|
1562 |
msgstr ""
|
1563 |
|
1564 |
+
#: pages/func_backwpupeditjob.php:242 pages/func_backwpupeditjob.php:388
|
1565 |
+
msgid "Password:"
|
1566 |
msgstr ""
|
1567 |
|
1568 |
+
#: pages/func_backwpupeditjob.php:244
|
1569 |
+
msgid "Folder on Server:"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
+
#: pages/func_backwpupeditjob.php:247
|
1573 |
+
msgid "Max. backup files in FTP folder:"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
+
#: pages/func_backwpupeditjob.php:247 pages/func_backwpupeditjob.php:266
|
1577 |
+
#: pages/func_backwpupeditjob.php:291 pages/func_backwpupeditjob.php:318
|
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 |
+
#: pages/func_backwpupeditjob.php:248
|
1584 |
+
msgid "Use SSL-FTP Connection."
|
1585 |
msgstr ""
|
1586 |
|
1587 |
+
#: pages/func_backwpupeditjob.php:249
|
1588 |
+
msgid "Use FTP Passiv mode."
|
1589 |
msgstr ""
|
1590 |
|
1591 |
+
#: pages/func_backwpupeditjob.php:256
|
1592 |
+
msgid "Access Key ID:"
|
1593 |
msgstr ""
|
1594 |
|
1595 |
+
#: pages/func_backwpupeditjob.php:258
|
1596 |
+
msgid "Secret Access Key:"
|
1597 |
msgstr ""
|
1598 |
|
1599 |
+
#: pages/func_backwpupeditjob.php:260 pages/func_backwpupeditjob.php:285
|
1600 |
+
msgid "Bucket:"
|
1601 |
msgstr ""
|
1602 |
|
1603 |
+
#: pages/func_backwpupeditjob.php:263 pages/func_backwpupeditjob.php:288
|
1604 |
+
msgid "Create bucket:"
|
1605 |
msgstr ""
|
1606 |
|
1607 |
+
#: pages/func_backwpupeditjob.php:263
|
1608 |
+
msgid "Bucket Region"
|
1609 |
msgstr ""
|
1610 |
|
1611 |
+
#: pages/func_backwpupeditjob.php:263
|
1612 |
+
msgid "US-East (Northern Virginia)"
|
1613 |
msgstr ""
|
1614 |
|
1615 |
+
#: pages/func_backwpupeditjob.php:263
|
1616 |
+
msgid "US-West (Northern California)"
|
1617 |
msgstr ""
|
1618 |
|
1619 |
+
#: pages/func_backwpupeditjob.php:263
|
1620 |
+
msgid "EU (Ireland)"
|
1621 |
msgstr ""
|
1622 |
|
1623 |
+
#: pages/func_backwpupeditjob.php:263
|
1624 |
+
msgid "Asia Pacific (Singapore)"
|
1625 |
msgstr ""
|
1626 |
|
1627 |
+
#: pages/func_backwpupeditjob.php:263
|
1628 |
+
msgid "Asia Pacific (Japan)"
|
1629 |
msgstr ""
|
1630 |
|
1631 |
+
#: pages/func_backwpupeditjob.php:264 pages/func_backwpupeditjob.php:289
|
1632 |
+
msgid "Folder in bucket:"
|
1633 |
msgstr ""
|
1634 |
|
1635 |
+
#: pages/func_backwpupeditjob.php:266 pages/func_backwpupeditjob.php:291
|
1636 |
+
msgid "Max. backup files in bucket folder:"
|
1637 |
msgstr ""
|
1638 |
|
1639 |
+
#: pages/func_backwpupeditjob.php:267
|
1640 |
+
msgid "Save Backups with reduced redundancy!"
|
1641 |
msgstr ""
|
1642 |
|
1643 |
+
#: pages/func_backwpupeditjob.php:270 pages/func_backwpupeditjob.php:294
|
1644 |
+
#: pages/func_backwpupeditjob.php:321 pages/func_backwpupeditjob.php:344
|
1645 |
+
#: pages/func_backwpupeditjob.php:376 pages/func_backwpupeditjob.php:398
|
1646 |
+
msgid "Create Account"
|
1647 |
msgstr ""
|
1648 |
|
1649 |
+
#: pages/func_backwpupeditjob.php:271 pages/func_backwpupeditjob.php:295
|
1650 |
+
msgid "Find Keys"
|
1651 |
msgstr ""
|
1652 |
|
1653 |
+
#: pages/func_backwpupeditjob.php:272 pages/func_backwpupeditjob.php:296
|
1654 |
+
#: pages/func_backwpupeditjob.php:346 pages/func_backwpupeditjob.php:377
|
1655 |
+
#: pages/func_backwpupeditjob.php:399
|
1656 |
+
msgid "Webinterface"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
+
#: pages/func_backwpupeditjob.php:281 pages/func_backwpupeditjob.php:310
|
1660 |
+
msgid "Access Key:"
|
1661 |
msgstr ""
|
1662 |
|
1663 |
+
#: pages/func_backwpupeditjob.php:283
|
1664 |
+
msgid "Secret:"
|
|
|
1665 |
msgstr ""
|
1666 |
|
1667 |
+
#: pages/func_backwpupeditjob.php:306
|
1668 |
+
msgid "Host:"
|
|
|
|
|
1669 |
msgstr ""
|
1670 |
|
1671 |
+
#: pages/func_backwpupeditjob.php:307
|
1672 |
+
msgid "Normely: blob.core.windows.net"
|
1673 |
msgstr ""
|
1674 |
|
1675 |
+
#: pages/func_backwpupeditjob.php:308
|
1676 |
+
msgid "Account Name:"
|
1677 |
msgstr ""
|
1678 |
|
1679 |
+
#: pages/func_backwpupeditjob.php:312 pages/func_backwpupeditjob.php:335
|
1680 |
+
msgid "Container:"
|
1681 |
msgstr ""
|
1682 |
|
1683 |
+
#: pages/func_backwpupeditjob.php:315 pages/func_backwpupeditjob.php:338
|
1684 |
+
msgid "Create Container:"
|
1685 |
msgstr ""
|
1686 |
|
1687 |
+
#: pages/func_backwpupeditjob.php:316
|
1688 |
+
msgid "Folder in Container:"
|
1689 |
msgstr ""
|
1690 |
|
1691 |
+
#: pages/func_backwpupeditjob.php:318 pages/func_backwpupeditjob.php:341
|
1692 |
+
msgid "Max. backup files in container folder:"
|
1693 |
msgstr ""
|
1694 |
|
1695 |
+
#: pages/func_backwpupeditjob.php:322 pages/func_backwpupeditjob.php:345
|
1696 |
+
msgid "Find Key"
|
1697 |
msgstr ""
|
1698 |
|
1699 |
+
#: pages/func_backwpupeditjob.php:333
|
1700 |
+
msgid "API Key:"
|
1701 |
msgstr ""
|
1702 |
|
1703 |
+
#: pages/func_backwpupeditjob.php:339
|
1704 |
+
msgid "Folder in container:"
|
1705 |
msgstr ""
|
1706 |
|
1707 |
+
#: pages/func_backwpupeditjob.php:355
|
1708 |
+
msgid "Login:"
|
1709 |
msgstr ""
|
1710 |
|
1711 |
+
#: pages/func_backwpupeditjob.php:357
|
1712 |
+
msgid "Not authenticated!"
|
1713 |
msgstr ""
|
1714 |
|
1715 |
+
#: pages/func_backwpupeditjob.php:357
|
1716 |
+
msgid "Authenticate!"
|
1717 |
msgstr ""
|
1718 |
|
1719 |
+
#: pages/func_backwpupeditjob.php:359
|
1720 |
+
msgid "Authenticated!"
|
1721 |
msgstr ""
|
1722 |
|
1723 |
+
#: pages/func_backwpupeditjob.php:359
|
1724 |
+
msgid "Delete!"
|
1725 |
msgstr ""
|
1726 |
|
1727 |
+
#: pages/func_backwpupeditjob.php:361
|
1728 |
+
msgid "oAuth sign method:"
|
1729 |
msgstr ""
|
1730 |
|
1731 |
+
#: pages/func_backwpupeditjob.php:366 pages/func_backwpupeditjob.php:390
|
1732 |
+
msgid "Root:"
|
1733 |
msgstr ""
|
1734 |
|
1735 |
+
#: pages/func_backwpupeditjob.php:368
|
1736 |
+
msgid "dropbox"
|
1737 |
msgstr ""
|
1738 |
|
1739 |
+
#: pages/func_backwpupeditjob.php:369
|
1740 |
+
msgid "sandbox (disabled by DropBox)"
|
1741 |
msgstr ""
|
1742 |
|
1743 |
+
#: pages/func_backwpupeditjob.php:371 pages/func_backwpupeditjob.php:393
|
1744 |
+
msgid "Folder:"
|
1745 |
msgstr ""
|
1746 |
|
1747 |
+
#: pages/func_backwpupeditjob.php:373
|
1748 |
+
msgid "Max. backup files in Dropbox folder:"
|
1749 |
msgstr ""
|
1750 |
|
1751 |
+
#: pages/func_backwpupeditjob.php:386 pages/func_backwpupeditjob.php:406
|
1752 |
+
msgid "E-mail address:"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
+
#: pages/func_backwpupeditjob.php:409
|
1756 |
+
msgid "Max. File Size for sending Backups with mail:"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
+
#: pages/func_backwpupeditjob.php:456
|
1760 |
+
msgid ""
|
1761 |
+
"Working as <a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank"
|
1762 |
+
"\">Cron</a> job schedule:"
|
1763 |
msgstr ""
|
1764 |
|
1765 |
+
#: pages/func_backwpupeditjob.php:462
|
1766 |
+
msgid "ATTENTION: Job runs every %d mins.!!!"
|
1767 |
msgstr ""
|
1768 |
|
1769 |
+
#: pages/func_backwpupeditjob.php:468
|
1770 |
+
msgid "ATTENTION: Job runs every %d houers.!!!"
|
1771 |
msgstr ""
|
1772 |
|
1773 |
+
#: pages/func_backwpupeditjob.php:472
|
1774 |
+
msgid "ATTENTION: Can't calculate cron!!!"
|
1775 |
msgstr ""
|
1776 |
|
1777 |
+
#: pages/func_backwpupeditjob.php:474
|
1778 |
+
msgid "Next runtime:"
|
1779 |
msgstr ""
|
1780 |
|
1781 |
+
#: pages/func_backwpupeditjob.php:500
|
1782 |
+
msgid "Missing Access Key ID!"
|
1783 |
msgstr ""
|
1784 |
|
1785 |
+
#: pages/func_backwpupeditjob.php:507
|
1786 |
+
msgid "Missing Secret Access Key!"
|
1787 |
msgstr ""
|
1788 |
|
1789 |
+
#: pages/func_backwpupeditjob.php:558 pages/func_backwpupeditjob.php:694
|
1790 |
+
msgid "Missing Access Key!"
|
1791 |
msgstr ""
|
1792 |
|
1793 |
+
#: pages/func_backwpupeditjob.php:565
|
1794 |
+
msgid "Missing Secret!"
|
1795 |
msgstr ""
|
1796 |
|
1797 |
+
#: pages/func_backwpupeditjob.php:617 pages/func_backwpupeditjob.php:746
|
1798 |
+
msgid "Missing Username!"
|
1799 |
msgstr ""
|
1800 |
|
1801 |
+
#: pages/func_backwpupeditjob.php:624
|
1802 |
+
msgid "Missing API Key!"
|
1803 |
msgstr ""
|
1804 |
|
1805 |
+
#: pages/func_backwpupeditjob.php:645
|
1806 |
+
msgid "No Containerss found!"
|
1807 |
msgstr ""
|
1808 |
|
1809 |
+
#: pages/func_backwpupeditjob.php:680
|
1810 |
+
msgid "Missing Hostname!"
|
1811 |
msgstr ""
|
1812 |
|
1813 |
+
#: pages/func_backwpupeditjob.php:687
|
1814 |
+
msgid "Missing Account Name!"
|
1815 |
msgstr ""
|
1816 |
|
1817 |
+
#: pages/func_backwpupeditjob.php:711
|
1818 |
+
msgid "No Container found!"
|
1819 |
msgstr ""
|
1820 |
|
1821 |
+
#: pages/func_backwpupeditjob.php:753
|
1822 |
+
msgid "Missing Password!"
|
1823 |
msgstr ""
|
1824 |
|
1825 |
+
#: pages/func_backwpupeditjob.php:773
|
1826 |
+
msgid "No Syncfolders found!"
|
1827 |
msgstr ""
|
1828 |
|
1829 |
+
#: pages/page_backwpupeditjob.php:11
|
1830 |
+
msgid "Job Type"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
+
#: pages/page_backwpupeditjob.php:12
|
1834 |
+
msgid "Job Schedule"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
+
#: pages/page_backwpupeditjob.php:13
|
1838 |
+
msgid "Backup to Folder"
|
1839 |
msgstr ""
|
1840 |
|
1841 |
+
#: pages/page_backwpupeditjob.php:14
|
1842 |
+
msgid "Backup to E-Mail"
|
1843 |
msgstr ""
|
1844 |
|
1845 |
+
#: pages/page_backwpupeditjob.php:29
|
1846 |
+
msgid "BackWPup Job Settings"
|
1847 |
msgstr ""
|
1848 |
|
1849 |
+
#: pages/page_backwpupeditjob.php:53
|
1850 |
+
msgid "Enter Job name here"
|
1851 |
msgstr ""
|
1852 |
|
1853 |
+
#: pages/page_backwpupeditjob.php:59
|
1854 |
+
msgid "Database Jobs"
|
1855 |
msgstr ""
|
1856 |
|
1857 |
+
#: pages/page_backwpupeditjob.php:62
|
1858 |
+
msgid "Database tables to use:"
|
1859 |
msgstr ""
|
1860 |
|
1861 |
+
#: pages/page_backwpupeditjob.php:72
|
1862 |
+
msgid "Use short INSERTs instead of full (with keys)"
|
1863 |
msgstr ""
|
1864 |
|
1865 |
+
#: pages/page_backwpupeditjob.php:73
|
1866 |
+
msgid "Set Blog Maintenance Mode on Database Operations"
|
1867 |
msgstr ""
|
1868 |
|
1869 |
+
#: pages/page_backwpupeditjob.php:78 backwpup-functions.php:319
|
1870 |
+
msgid "File Backup"
|
1871 |
msgstr ""
|
1872 |
|
1873 |
+
#: pages/page_backwpupeditjob.php:80
|
1874 |
+
msgid "Blog Folders to Backup:"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
+
#: pages/page_backwpupeditjob.php:83
|
1878 |
+
msgid "root"
|
1879 |
msgstr ""
|
1880 |
|
1881 |
+
#: pages/page_backwpupeditjob.php:86 pages/page_backwpupeditjob.php:102
|
1882 |
+
#: pages/page_backwpupeditjob.php:118 pages/page_backwpupeditjob.php:134
|
1883 |
+
#: pages/page_backwpupeditjob.php:150
|
1884 |
+
msgid "Exclude:"
|
1885 |
msgstr ""
|
1886 |
|
1887 |
+
#: pages/page_backwpupeditjob.php:99
|
1888 |
+
msgid "Content"
|
1889 |
msgstr ""
|
1890 |
|
1891 |
+
#: pages/page_backwpupeditjob.php:115
|
1892 |
+
msgid "Plugins"
|
1893 |
msgstr ""
|
1894 |
|
1895 |
+
#: pages/page_backwpupeditjob.php:131
|
1896 |
+
msgid "Themes"
|
1897 |
msgstr ""
|
1898 |
|
1899 |
+
#: pages/page_backwpupeditjob.php:147
|
1900 |
+
msgid "Blog Uploads"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
+
#: pages/page_backwpupeditjob.php:164
|
1904 |
+
msgid "Include Folders to Backup:"
|
1905 |
msgstr ""
|
1906 |
|
1907 |
+
#: pages/page_backwpupeditjob.php:165 pages/page_backwpupeditjob.php:169
|
1908 |
+
msgid "Example:"
|
1909 |
msgstr ""
|
1910 |
|
1911 |
+
#: pages/page_backwpupeditjob.php:168
|
1912 |
+
msgid "Exclude Files/Folders from Backup:"
|
1913 |
msgstr ""
|
1914 |
|
1915 |
+
#: pages/header_backwpupeditjob.php:26
|
1916 |
+
msgid "Dropbox authentication complete!"
|
1917 |
msgstr ""
|
1918 |
|
1919 |
+
#: pages/header_backwpupeditjob.php:28
|
1920 |
+
msgid "Wrong Token for Dropbox authentication reseved!"
|
1921 |
msgstr ""
|
1922 |
|
1923 |
+
#: pages/header_backwpupeditjob.php:31
|
1924 |
+
msgid "No Dropbox authentication reseved!"
|
1925 |
msgstr ""
|
1926 |
|
1927 |
+
#: pages/header_backwpupeditjob.php:212
|
1928 |
+
msgid "Dropbox authentication deleted!"
|
1929 |
msgstr ""
|
1930 |
|
1931 |
+
#: pages/header_backwpupeditjob.php:236
|
1932 |
+
msgid "Job '%1' changes saved."
|
1933 |
msgstr ""
|
1934 |
|
1935 |
+
#: pages/header_backwpupeditjob.php:236
|
1936 |
+
msgid "Jobs overview."
|
1937 |
msgstr ""
|
1938 |
|
1939 |
+
#: pages/header_backwpupeditjob.php:248
|
1940 |
+
msgid "Backup File"
|
1941 |
msgstr ""
|
1942 |
|
1943 |
+
#: pages/header_backwpupeditjob.php:249
|
1944 |
+
msgid "Send log"
|
1945 |
msgstr ""
|
1946 |
|
1947 |
+
#: pages/header_backwpupeditjob.php:251
|
1948 |
+
msgid "Backup to FTP Server"
|
1949 |
msgstr ""
|
1950 |
|
1951 |
+
#: pages/header_backwpupeditjob.php:253
|
1952 |
+
msgid "Backup to Dropbox"
|
1953 |
msgstr ""
|
1954 |
|
1955 |
+
#: pages/header_backwpupeditjob.php:255
|
1956 |
+
msgid "Backup to SugarSync"
|
1957 |
msgstr ""
|
1958 |
|
1959 |
+
#: pages/header_backwpupeditjob.php:257
|
1960 |
+
msgid "Backup to Amazon S3"
|
1961 |
msgstr ""
|
1962 |
|
1963 |
+
#: pages/header_backwpupeditjob.php:259
|
1964 |
+
msgid "Backup to Google storage"
|
1965 |
msgstr ""
|
1966 |
|
1967 |
+
#: pages/header_backwpupeditjob.php:261
|
1968 |
+
msgid "Backup to Micosoft Azure (Blob)"
|
1969 |
msgstr ""
|
1970 |
|
1971 |
+
#: pages/header_backwpupeditjob.php:263
|
1972 |
+
msgid "Backup to Rackspace Cloud"
|
1973 |
msgstr ""
|
1974 |
|
1975 |
+
#: pages/func_backwpupbackups.php:131
|
1976 |
+
msgid "No Files found."
|
1977 |
msgstr ""
|
1978 |
|
1979 |
+
#: pages/func_backwpupbackups.php:151
|
1980 |
+
msgid "Change Destination"
|
1981 |
msgstr ""
|
1982 |
|
1983 |
+
#: pages/func_backwpupbackups.php:188
|
1984 |
+
msgid "File"
|
1985 |
msgstr ""
|
1986 |
|
1987 |
+
#: pages/func_backwpupbackups.php:189 pages/func_backwpupbackups.php:191
|
1988 |
+
msgid "Folder"
|
1989 |
msgstr ""
|
1990 |
|
1991 |
+
#: pages/func_backwpupbackups.php:192
|
1992 |
+
msgid "Time"
|
1993 |
msgstr ""
|
1994 |
|
1995 |
+
#: pages/func_backwpupbackups.php:233
|
1996 |
+
msgid ""
|
1997 |
+
"You are about to delete this Backup Archive. \n"
|
1998 |
+
" 'Cancel' to stop, 'OK' to delete."
|
1999 |
msgstr ""
|
2000 |
|
2001 |
+
#: pages/func_backwpupbackups.php:248
|
2002 |
+
msgid "?"
|
2003 |
msgstr ""
|
2004 |
|
2005 |
+
#. #-#-#-#-# plugin.pot (BackWPup 2.0.5) #-#-#-#-#
|
2006 |
#. Plugin Name of the plugin/theme
|
2007 |
+
#: backwpup-functions.php:10 backwpup-functions.php:264
|
2008 |
+
#: backwpup-functions.php:484
|
2009 |
msgid "BackWPup"
|
2010 |
msgstr ""
|
2011 |
|
2013 |
msgid "Working"
|
2014 |
msgstr ""
|
2015 |
|
2016 |
+
#: backwpup-functions.php:19 backwpup-functions.php:489
|
2017 |
msgid "Backups"
|
2018 |
msgstr ""
|
2019 |
|
2021 |
msgid "Tools"
|
2022 |
msgstr ""
|
2023 |
|
2024 |
+
#: backwpup-functions.php:23 backwpup-functions.php:245
|
2025 |
msgid "Settings"
|
2026 |
msgstr ""
|
2027 |
|
2028 |
+
#: backwpup-functions.php:100
|
2029 |
msgid "For more information:"
|
2030 |
msgstr ""
|
2031 |
|
2032 |
+
#: backwpup-functions.php:101 backwpup-functions.php:256
|
2033 |
msgid "Support"
|
2034 |
msgstr ""
|
2035 |
|
2036 |
+
#: backwpup-functions.php:102 backwpup-functions.php:255
|
2037 |
msgid "FAQ"
|
2038 |
msgstr ""
|
2039 |
|
2040 |
+
#: backwpup-functions.php:103
|
2041 |
msgid "Plugin Homepage"
|
2042 |
msgstr ""
|
2043 |
|
2044 |
+
#: backwpup-functions.php:104
|
2045 |
+
msgid "Plugin on WordPress.org"
|
2046 |
msgstr ""
|
2047 |
|
2048 |
+
#: backwpup-functions.php:105 backwpup-functions.php:257
|
2049 |
msgid "Donate"
|
2050 |
msgstr ""
|
2051 |
|
2052 |
+
#: backwpup-functions.php:106
|
2053 |
msgid "Flattr"
|
2054 |
msgstr ""
|
2055 |
|
2056 |
+
#: backwpup-functions.php:107
|
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:245
|
2063 |
msgid "Go to Settings Page"
|
2064 |
msgstr ""
|
2065 |
|
2066 |
+
#: backwpup-functions.php:316
|
2067 |
msgid "WP XML Export"
|
2068 |
msgstr ""
|
2069 |
|
2070 |
+
#: backwpup-functions.php:322
|
2071 |
msgid "Database Backup"
|
2072 |
msgstr ""
|
2073 |
|
2074 |
+
#: backwpup-functions.php:325
|
2075 |
msgid "Optimize Database Tables"
|
2076 |
msgstr ""
|
2077 |
|
2078 |
+
#: backwpup-functions.php:328
|
2079 |
msgid "Check Database Tables"
|
2080 |
msgstr ""
|
2081 |
|
2082 |
+
#: backwpup-functions.php:393
|
2083 |
msgid "View Log:"
|
2084 |
msgstr ""
|
2085 |
|
2086 |
+
#: backwpup-functions.php:425
|
2087 |
msgid "How many of the lastes logs would you like to display?"
|
2088 |
msgstr ""
|
2089 |
|
2090 |
+
#: backwpup-functions.php:451
|
2091 |
msgid "working since %d sec."
|
2092 |
msgstr ""
|
2093 |
|
2094 |
+
#: backwpup-functions.php:458
|
2095 |
msgid "Edit Job"
|
2096 |
msgstr ""
|
2097 |
|
2098 |
+
#: backwpup-functions.php:474
|
2099 |
msgid "BackWPup Aktive Jobs"
|
2100 |
msgstr ""
|
2101 |
|
2102 |
+
#: backwpup-functions.php:486
|
2103 |
msgid "See Working!"
|
2104 |
msgstr ""
|
2105 |
|
2106 |
+
#: backwpup-functions.php:491
|
2107 |
msgid "BackWPup Job"
|
2108 |
msgstr ""
|
2109 |
|
2110 |
+
#: backwpup-functions.php:709
|
2111 |
msgid "- WordPress %d or heiger needed!"
|
2112 |
msgstr ""
|
2113 |
|
2114 |
+
#: backwpup-functions.php:713
|
2115 |
msgid "- PHP 5.2.4 or higher needed!"
|
2116 |
msgstr ""
|
2117 |
|
2118 |
+
#: backwpup-functions.php:720
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2119 |
msgid "- Logs Folder not exists:"
|
2120 |
msgstr ""
|
2121 |
|
2122 |
+
#: backwpup-functions.php:723
|
2123 |
msgid "- Logs Folder not writeable:"
|
2124 |
msgstr ""
|
2125 |
|
2126 |
+
#: backwpup-functions.php:726
|
2127 |
+
msgid "- Logs Folder in open_basedir path:"
|
2128 |
+
msgstr ""
|
2129 |
+
|
2130 |
+
#: backwpup-functions.php:732
|
2131 |
msgid "- Please Check Scheduling time for Job:"
|
2132 |
msgstr ""
|
2133 |
|
2134 |
+
#: backwpup-functions.php:737
|
2135 |
msgid "- WP-Cron don't working please check it!"
|
2136 |
msgstr ""
|
2137 |
|
2138 |
+
#: backwpup-functions.php:790
|
2139 |
msgid "New"
|
2140 |
msgstr ""
|
2141 |
|
libs/aws/extensions/s3browserupload.class.php
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
|
18 |
+
class S3BrowserUpload extends AmazonS3
|
19 |
+
{
|
20 |
+
/**
|
21 |
+
* The <code>POST</code> operation adds an object to a specified bucket using HTML forms. POST is an alternate
|
22 |
+
* form of <code>PUT</code> that enables browser-based uploads as a way of putting objects in buckets.
|
23 |
+
* Parameters that are passed to <code>PUT</code> via HTTP headers are instead passed as form fields to
|
24 |
+
* <code>POST</code> in the <code>multipart/form-data</code> encoded message body. You must have
|
25 |
+
* <code>WRITE</code> access on a bucket to add an object to it. Amazon S3 never stores partial objects: if
|
26 |
+
* you receive a successful response, you can be confident the entire object was stored.
|
27 |
+
*
|
28 |
+
* @param string $bucket (Required) The name of the bucket to use.
|
29 |
+
* @param string|integer $expires (Optional) The point in time when the upload form field should expire. The default value is <code>+1 hour</code>.
|
30 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
31 |
+
* <li><code>acl</code> - <code>string</code> - Optional - The access control setting to apply to the uploaded file. Accepts any of the following constants: [Allowed values: <code>AmazonS3::ACL_PRIVATE</code>, <code>AmazonS3::ACL_PUBLIC</code>, <code>AmazonS3::ACL_OPEN</code>, <code>AmazonS3::ACL_AUTH_READ</code>, <code>AmazonS3::ACL_OWNER_READ</code>, <code>AmazonS3::ACL_OWNER_FULL_CONTROL</code>].</li>
|
32 |
+
* <li><code>Cache-Control</code> - <code>string</code> - Optional - The Cache-Control HTTP header value to apply to the uploaded file. To use a <code>starts-with</code> comparison instead of an <code>equals</code> comparison, prefix the value with a <code>^</code> (carat) character.</li>
|
33 |
+
* <li><code>Content-Disposition</code> - <code>string</code> - Optional - The Content-Disposition HTTP header value to apply to the uploaded file. To use a <code>starts-with</code> comparison instead of an <code>equals</code> comparison, prefix the value with a <code>^</code> (carat) character.</li>
|
34 |
+
* <li><code>Content-Encoding</code> - <code>string</code> - Optional - The Content-Encoding HTTP header value to apply to the uploaded file. To use a <code>starts-with</code> comparison instead of an <code>equals</code> comparison, prefix the value with a <code>^</code> (carat) character.</li>
|
35 |
+
* <li><code>Content-Type</code> - <code>string</code> - Optional - The Content-Type HTTP header value to apply to the uploaded file. The default value is <code>application/octet-stream</code>. To use a <code>starts-with</code> comparison instead of an <code>equals</code> comparison, prefix the value with a <code>^</code> (carat) character.</li>
|
36 |
+
* <li><code>Expires</code> - <code>string</code> - Optional - The Expires HTTP header value to apply to the uploaded file. To use a <code>starts-with</code> comparison instead of an <code>equals</code> comparison, prefix the value with a <code>^</code> (carat) character.</li>
|
37 |
+
* <li><code>key</code> - <code>string</code> - Optional - The location where the file should be uploaded to. The default value is <code>${filename}</code>.</li>
|
38 |
+
* <li><code>success_action_redirect</code> - <code>string</code> - Optional - The URI for Amazon S3 to redirect to upon successful upload.</li>
|
39 |
+
* <li><code>success_action_status</code> - <code>integer</code> - Optional - The status code for Amazon S3 to return upon successful upload.</li>
|
40 |
+
* <li><code>x-amz-storage-class</code> - <code>string</code> - Optional - The storage setting to apply to the object. [Allowed values: <code>AmazonS3::STORAGE_STANDARD</code>, <code>AmazonS3::STORAGE_REDUCED</code>]. The default value is <code>AmazonS3::STORAGE_STANDARD</code>.</li>
|
41 |
+
* <li>x-amz-meta-*</li>
|
42 |
+
* </ul>
|
43 |
+
* @return array An array of fields that can be converted into markup.
|
44 |
+
* @link http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectPOST.html POST Object
|
45 |
+
*/
|
46 |
+
public function generate_upload_parameters($bucket, $expires = '+1 hour', $opt = null)
|
47 |
+
{
|
48 |
+
if (!$opt) $opt = array();
|
49 |
+
|
50 |
+
// Policy document
|
51 |
+
$policy = array(
|
52 |
+
'conditions' => array(
|
53 |
+
array('bucket' => $bucket),
|
54 |
+
)
|
55 |
+
);
|
56 |
+
|
57 |
+
// Basic form
|
58 |
+
$form = array();
|
59 |
+
$form['form'] = array(
|
60 |
+
'action' => $bucket . '.s3.amazonaws.com',
|
61 |
+
'method' => 'POST',
|
62 |
+
'enctype' => 'multipart/form-data'
|
63 |
+
);
|
64 |
+
|
65 |
+
// Inputs
|
66 |
+
$form['inputs'] = array(
|
67 |
+
'AWSAccessKeyId' => $this->key
|
68 |
+
);
|
69 |
+
|
70 |
+
// Expires
|
71 |
+
if ($expires)
|
72 |
+
{
|
73 |
+
if (is_numeric($expires))
|
74 |
+
{
|
75 |
+
$expires = gmdate('j M Y, g:i a Z', (integer) $expires);
|
76 |
+
}
|
77 |
+
|
78 |
+
$expires = $this->util->convert_date_to_iso8601($expires);
|
79 |
+
$policy['expiration'] = (string) $expires;
|
80 |
+
}
|
81 |
+
|
82 |
+
// Default values
|
83 |
+
if (!isset($opt['key']))
|
84 |
+
{
|
85 |
+
$opt['key'] = '${filename}';
|
86 |
+
}
|
87 |
+
|
88 |
+
// Success Action Status
|
89 |
+
if (isset($opt['success_action_status']) && !empty($opt['success_action_status']))
|
90 |
+
{
|
91 |
+
$form['inputs']['success_action_status'] = (string) $opt['success_action_status'];
|
92 |
+
$policy['conditions'][] = array(
|
93 |
+
'success_action_status' => (string) $opt['success_action_status']
|
94 |
+
);
|
95 |
+
unset($opt['success_action_status']);
|
96 |
+
}
|
97 |
+
|
98 |
+
// Other parameters
|
99 |
+
foreach ($opt as $param_key => $param_value)
|
100 |
+
{
|
101 |
+
if ($param_value[0] === '^')
|
102 |
+
{
|
103 |
+
$form['inputs'][$param_key] = substr((string) $param_value, 1);
|
104 |
+
$param_value = preg_replace('/\$\{(\w*)\}/', '', (string) $param_value);
|
105 |
+
$policy['conditions'][] = array('starts-with', '$' . $param_key, (substr((string) $param_value, 1) ? substr((string) $param_value, 1) : ''));
|
106 |
+
}
|
107 |
+
else
|
108 |
+
{
|
109 |
+
$form['inputs'][$param_key] = (string) $param_value;
|
110 |
+
$policy['conditions'][] = array(
|
111 |
+
$param_key => (string) $param_value
|
112 |
+
);
|
113 |
+
}
|
114 |
+
}
|
115 |
+
|
116 |
+
// Add policy
|
117 |
+
$json_policy = json_encode($policy);
|
118 |
+
$json_policy_b64 = base64_encode($json_policy);
|
119 |
+
$form['inputs']['policy'] = $json_policy_b64;
|
120 |
+
$form['metadata']['json_policy'] = $json_policy;
|
121 |
+
|
122 |
+
// Add signature
|
123 |
+
$form['inputs']['signature'] = base64_encode(hash_hmac('sha1', $json_policy_b64, $this->secret_key, true));
|
124 |
+
|
125 |
+
return $form;
|
126 |
+
}
|
127 |
+
|
128 |
+
|
129 |
+
/*%******************************************************************************************%*/
|
130 |
+
// HELPERS
|
131 |
+
|
132 |
+
/**
|
133 |
+
* Returns the protocol of the web page that this script is currently running on. This method only works
|
134 |
+
* correctly when run from a publicly-accessible web page.
|
135 |
+
*/
|
136 |
+
public static function protocol()
|
137 |
+
{
|
138 |
+
return (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) === 'on') ? 'https://' : 'http://';
|
139 |
+
}
|
140 |
+
|
141 |
+
/**
|
142 |
+
* Returns the domain (and port) of the web page that this script is currently running on. This method
|
143 |
+
* only works correctly when run from a publicly-accessible web page.
|
144 |
+
*/
|
145 |
+
public static function domain()
|
146 |
+
{
|
147 |
+
if (isset($_SERVER['SERVER_NAME']) && isset($_SERVER['SERVER_PORT']))
|
148 |
+
{
|
149 |
+
return $_SERVER['SERVER_NAME'] . ((integer) $_SERVER['SERVER_PORT'] === 80 ? '' : ':' . $_SERVER['SERVER_PORT']);
|
150 |
+
}
|
151 |
+
|
152 |
+
return null;
|
153 |
+
}
|
154 |
+
|
155 |
+
/**
|
156 |
+
* Returns the URI of the web page that this script is currently running on. This method only works
|
157 |
+
* correctly when run from a publicly-accessible web page.
|
158 |
+
*/
|
159 |
+
public static function current_uri()
|
160 |
+
{
|
161 |
+
if (isset($_SERVER['REQUEST_URI']))
|
162 |
+
{
|
163 |
+
$uri = self::protocol();
|
164 |
+
$uri .= self::domain();
|
165 |
+
$uri .= $_SERVER['REQUEST_URI'];
|
166 |
+
return $uri;
|
167 |
+
}
|
168 |
+
|
169 |
+
return null;
|
170 |
+
}
|
171 |
+
}
|
libs/aws/lib/requestcore/cacert.pem
CHANGED
@@ -14,9 +14,6 @@
|
|
14 |
## Just configure this file as the SSLCACertificateFile.
|
15 |
##
|
16 |
|
17 |
-
# Ryan Parman elects to use cacert.pem under the Mozilla Public License, version 1.1.
|
18 |
-
# Amazon elects to use cacert.pem under the Mozilla Public License, version 1.1.
|
19 |
-
#
|
20 |
# ***** BEGIN LICENSE BLOCK *****
|
21 |
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
22 |
#
|
14 |
## Just configure this file as the SSLCACertificateFile.
|
15 |
##
|
16 |
|
|
|
|
|
|
|
17 |
# ***** BEGIN LICENSE BLOCK *****
|
18 |
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
19 |
#
|
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 |
|
@@ -115,7 +115,7 @@ define('CFRUNTIME_USERAGENT', CFRUNTIME_NAME . '/' . CFRUNTIME_VERSION . ' PHP/'
|
|
115 |
* Core functionality and default settings shared across all SDK classes. All methods and properties in this
|
116 |
* class are inherited by the service-specific classes.
|
117 |
*
|
118 |
-
* @version 2011.
|
119 |
* @license See the included NOTICE.md file for more information.
|
120 |
* @copyright See the included NOTICE.md file for more information.
|
121 |
* @link http://aws.amazon.com/php/ PHP Developer Center
|
@@ -829,7 +829,12 @@ class CFRuntime
|
|
829 |
{
|
830 |
$query['Action'] = $action;
|
831 |
}
|
832 |
-
|
|
|
|
|
|
|
|
|
|
|
833 |
|
834 |
// Only Signature v2
|
835 |
if ($signature_version === 2)
|
@@ -840,6 +845,15 @@ class CFRuntime
|
|
840 |
$query['Timestamp'] = $timestamp;
|
841 |
}
|
842 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
843 |
// Merge in any options that were passed in
|
844 |
if (is_array($opt))
|
845 |
{
|
@@ -1036,15 +1050,6 @@ class CFRuntime
|
|
1036 |
$request->response_class = $this->response_class;
|
1037 |
$request->ssl_verification = $this->ssl_verification;
|
1038 |
|
1039 |
-
$curlopts = array();
|
1040 |
-
|
1041 |
-
// Set custom CURLOPT settings
|
1042 |
-
if (is_array($opt) && isset($opt['curlopts']))
|
1043 |
-
{
|
1044 |
-
$curlopts = $opt['curlopts'];
|
1045 |
-
unset($opt['curlopts']);
|
1046 |
-
}
|
1047 |
-
|
1048 |
// Debug mode
|
1049 |
if ($this->debug_mode)
|
1050 |
{
|
102 |
// INTERMEDIARY CONSTANTS
|
103 |
|
104 |
define('CFRUNTIME_NAME', 'aws-sdk-php');
|
105 |
+
define('CFRUNTIME_VERSION', '1.3.6');
|
106 |
// define('CFRUNTIME_BUILD', gmdate('YmdHis', filemtime(__FILE__))); // @todo: Hardcode for release.
|
107 |
+
define('CFRUNTIME_BUILD', '20110713055831');
|
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 |
|
115 |
* Core functionality and default settings shared across all SDK classes. All methods and properties in this
|
116 |
* class are inherited by the service-specific classes.
|
117 |
*
|
118 |
+
* @version 2011.07.12
|
119 |
* @license See the included NOTICE.md file for more information.
|
120 |
* @copyright See the included NOTICE.md file for more information.
|
121 |
* @link http://aws.amazon.com/php/ PHP Developer Center
|
829 |
{
|
830 |
$query['Action'] = $action;
|
831 |
}
|
832 |
+
|
833 |
+
// Only add it if it exists.
|
834 |
+
if ($this->api_version)
|
835 |
+
{
|
836 |
+
$query['Version'] = $this->api_version;
|
837 |
+
}
|
838 |
|
839 |
// Only Signature v2
|
840 |
if ($signature_version === 2)
|
845 |
$query['Timestamp'] = $timestamp;
|
846 |
}
|
847 |
|
848 |
+
$curlopts = array();
|
849 |
+
|
850 |
+
// Set custom CURLOPT settings
|
851 |
+
if (is_array($opt) && isset($opt['curlopts']))
|
852 |
+
{
|
853 |
+
$curlopts = $opt['curlopts'];
|
854 |
+
unset($opt['curlopts']);
|
855 |
+
}
|
856 |
+
|
857 |
// Merge in any options that were passed in
|
858 |
if (is_array($opt))
|
859 |
{
|
1050 |
$request->response_class = $this->response_class;
|
1051 |
$request->ssl_verification = $this->ssl_verification;
|
1052 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1053 |
// Debug mode
|
1054 |
if ($this->debug_mode)
|
1055 |
{
|
libs/aws/services/cloudformation.class.php
CHANGED
@@ -48,7 +48,7 @@
|
|
48 |
* Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can
|
49 |
* find the product's technical documentation at <a href="http://aws.amazon.com/documentation/">http://aws.amazon.com/documentation/</a>.
|
50 |
*
|
51 |
-
* @version Tue
|
52 |
* @license See the included NOTICE.md file for complete information.
|
53 |
* @copyright See the included NOTICE.md file for complete information.
|
54 |
* @link http://aws.amazon.com/cloudformation/Amazon CloudFormation
|
@@ -145,7 +145,36 @@ class AmazonCloudFormation extends CFRuntime
|
|
145 |
|
146 |
/**
|
147 |
*
|
148 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
* the stack via the DescribeStacks API.
|
150 |
*
|
151 |
* Currently, the limit for stacks is 20 stacks per account per region.
|
@@ -233,7 +262,7 @@ class AmazonCloudFormation extends CFRuntime
|
|
233 |
*
|
234 |
* Returns all the stack related events for the AWS account. If <code>StackName</code> is specified, returns events related to all the stacks
|
235 |
* with the given name. If <code>StackName</code> is not specified, returns all the events for the account. For more information about a
|
236 |
-
* stack's event history, go to the <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/
|
237 |
* Guide</a>.
|
238 |
*
|
239 |
* Events are returned, even if the stack never existed or has been successfully deleted.
|
@@ -254,7 +283,9 @@ class AmazonCloudFormation extends CFRuntime
|
|
254 |
|
255 |
/**
|
256 |
*
|
257 |
-
* Returns the template body for a specified stack name.
|
|
|
|
|
258 |
*
|
259 |
* If the template does not exist, a <code>ValidationError</code> is returned.
|
260 |
*
|
@@ -272,6 +303,28 @@ class AmazonCloudFormation extends CFRuntime
|
|
272 |
return $this->authenticate('GetTemplate', $opt, $this->hostname);
|
273 |
}
|
274 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
/**
|
276 |
*
|
277 |
* Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks
|
@@ -293,12 +346,36 @@ class AmazonCloudFormation extends CFRuntime
|
|
293 |
|
294 |
/**
|
295 |
*
|
296 |
-
* Returns
|
297 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
*
|
299 |
* You must specify <code>StackName</code> or <code>PhysicalResourceId.</code> In addition, you can specify <code>LogicalResourceId</code> to
|
300 |
* filter the returned result. For more information about resources, the <code>LogicalResourceId</code> and <code>PhysicalResourceId</code>, go
|
301 |
-
* to the <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/
|
302 |
*
|
303 |
* A <code>ValidationError</code> is returned if you specify both <code>StackName</code> and <code>PhysicalResourceId</code> in the same
|
304 |
* request.
|
48 |
* Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can
|
49 |
* find the product's technical documentation at <a href="http://aws.amazon.com/documentation/">http://aws.amazon.com/documentation/</a>.
|
50 |
*
|
51 |
+
* @version Tue Jul 12 16:07:23 PDT 2011
|
52 |
* @license See the included NOTICE.md file for complete information.
|
53 |
* @copyright See the included NOTICE.md file for complete information.
|
54 |
* @link http://aws.amazon.com/cloudformation/Amazon CloudFormation
|
145 |
|
146 |
/**
|
147 |
*
|
148 |
+
* Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have
|
149 |
+
* been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is
|
150 |
+
* returned (including existing stacks and stacks that have been deleted).
|
151 |
+
*
|
152 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
153 |
+
* <li><code>NextToken</code> - <code>string</code> - Optional - </li>
|
154 |
+
* <li><code>StackStatusFilter</code> - <code>string|array</code> - Optional - Pass a string for a single value, or an indexed array for multiple values. </li>
|
155 |
+
* <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>
|
156 |
+
* <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>
|
157 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
158 |
+
*/
|
159 |
+
public function list_stacks($opt = null)
|
160 |
+
{
|
161 |
+
if (!$opt) $opt = array();
|
162 |
+
|
163 |
+
// Optional parameter
|
164 |
+
if (isset($opt['StackStatusFilter']))
|
165 |
+
{
|
166 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
167 |
+
'StackStatusFilter' => (is_array($opt['StackStatusFilter']) ? $opt['StackStatusFilter'] : array($opt['StackStatusFilter']))
|
168 |
+
), 'member'));
|
169 |
+
unset($opt['StackStatusFilter']);
|
170 |
+
}
|
171 |
+
|
172 |
+
return $this->authenticate('ListStacks', $opt, $this->hostname);
|
173 |
+
}
|
174 |
+
|
175 |
+
/**
|
176 |
+
*
|
177 |
+
* Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of
|
178 |
* the stack via the DescribeStacks API.
|
179 |
*
|
180 |
* Currently, the limit for stacks is 20 stacks per account per region.
|
262 |
*
|
263 |
* Returns all the stack related events for the AWS account. If <code>StackName</code> is specified, returns events related to all the stacks
|
264 |
* with the given name. If <code>StackName</code> is not specified, returns all the events for the account. For more information about a
|
265 |
+
* stack's event history, go to the <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide">AWS CloudFormation User
|
266 |
* Guide</a>.
|
267 |
*
|
268 |
* Events are returned, even if the stack never existed or has been successfully deleted.
|
283 |
|
284 |
/**
|
285 |
*
|
286 |
+
* Returns the template body for a specified stack name. You can get the template for running or deleted stacks.
|
287 |
+
*
|
288 |
+
* For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.
|
289 |
*
|
290 |
* If the template does not exist, a <code>ValidationError</code> is returned.
|
291 |
*
|
303 |
return $this->authenticate('GetTemplate', $opt, $this->hostname);
|
304 |
}
|
305 |
|
306 |
+
/**
|
307 |
+
*
|
308 |
+
* Returns a description of the specified resource in the specified stack.
|
309 |
+
*
|
310 |
+
* For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted.
|
311 |
+
*
|
312 |
+
* @param string $stack_name (Required) The name or the unique identifier associated with the stack. Default: There is no default value.
|
313 |
+
* @param string $logical_resource_id (Required) The logical name of the resource as specified in the template.<br></br> Default: There is on default value.
|
314 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
315 |
+
* <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>
|
316 |
+
* <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>
|
317 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
318 |
+
*/
|
319 |
+
public function describe_stack_resource($stack_name, $logical_resource_id, $opt = null)
|
320 |
+
{
|
321 |
+
if (!$opt) $opt = array();
|
322 |
+
$opt['StackName'] = $stack_name;
|
323 |
+
$opt['LogicalResourceId'] = $logical_resource_id;
|
324 |
+
|
325 |
+
return $this->authenticate('DescribeStackResource', $opt, $this->hostname);
|
326 |
+
}
|
327 |
+
|
328 |
/**
|
329 |
*
|
330 |
* Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks
|
346 |
|
347 |
/**
|
348 |
*
|
349 |
+
* Returns descriptions of all resources of the specified stack.
|
350 |
+
*
|
351 |
+
* For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.
|
352 |
+
*
|
353 |
+
* @param string $stack_name (Required) The name or the unique identifier associated with the stack. Default: There is no default value.
|
354 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
355 |
+
* <li><code>NextToken</code> - <code>string</code> - Optional - String that identifies the start of the next list of events, if there is one. Default: There is no default value. </li>
|
356 |
+
* <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>
|
357 |
+
* <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>
|
358 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
359 |
+
*/
|
360 |
+
public function list_stack_resources($stack_name, $opt = null)
|
361 |
+
{
|
362 |
+
if (!$opt) $opt = array();
|
363 |
+
$opt['StackName'] = $stack_name;
|
364 |
+
|
365 |
+
return $this->authenticate('ListStackResources', $opt, $this->hostname);
|
366 |
+
}
|
367 |
+
|
368 |
+
/**
|
369 |
+
*
|
370 |
+
* Returns AWS resource descriptions for running and deleted stacks. If <code>StackName</code> is specified, all the associated resources that
|
371 |
+
* are part of the stack are returned. If <code>PhysicalResourceId</code> is specified, all the associated resources of the stack the resource
|
372 |
+
* belongs to are returned.
|
373 |
+
*
|
374 |
+
* For deleted stacks, DescribeStackResources returns resource information for up to 90 days after the stack has been deleted.
|
375 |
*
|
376 |
* You must specify <code>StackName</code> or <code>PhysicalResourceId.</code> In addition, you can specify <code>LogicalResourceId</code> to
|
377 |
* filter the returned result. For more information about resources, the <code>LogicalResourceId</code> and <code>PhysicalResourceId</code>, go
|
378 |
+
* to the <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide">AWS CloudFormation User Guide</a>.
|
379 |
*
|
380 |
* A <code>ValidationError</code> is returned if you specify both <code>StackName</code> and <code>PhysicalResourceId</code> in the same
|
381 |
* request.
|
libs/aws/services/cloudwatch.class.php
CHANGED
@@ -47,7 +47,7 @@
|
|
47 |
*
|
48 |
* </ul>
|
49 |
*
|
50 |
-
* @version Tue
|
51 |
* @license See the included NOTICE.md file for complete information.
|
52 |
* @copyright See the included NOTICE.md file for complete information.
|
53 |
* @link http://aws.amazon.com/cloudwatch/Amazon CloudWatch
|
47 |
*
|
48 |
* </ul>
|
49 |
*
|
50 |
+
* @version Tue Jul 12 16:07:50 PDT 2011
|
51 |
* @license See the included NOTICE.md file for complete information.
|
52 |
* @copyright See the included NOTICE.md file for complete information.
|
53 |
* @link http://aws.amazon.com/cloudwatch/Amazon CloudWatch
|
libs/aws/services/ec2.class.php
CHANGED
@@ -27,7 +27,7 @@
|
|
27 |
*
|
28 |
* Visit <a href="http://aws.amazon.com/ec2/">http://aws.amazon.com/ec2/</a> for more information.
|
29 |
*
|
30 |
-
* @version Tue
|
31 |
* @license See the included NOTICE.md file for complete information.
|
32 |
* @copyright See the included NOTICE.md file for complete information.
|
33 |
* @link http://aws.amazon.com/ec2/Amazon Elastic Compute Cloud
|
27 |
*
|
28 |
* Visit <a href="http://aws.amazon.com/ec2/">http://aws.amazon.com/ec2/</a> for more information.
|
29 |
*
|
30 |
+
* @version Tue Jul 12 16:08:47 PDT 2011
|
31 |
* @license See the included NOTICE.md file for complete information.
|
32 |
* @copyright See the included NOTICE.md file for complete information.
|
33 |
* @link http://aws.amazon.com/ec2/Amazon Elastic Compute Cloud
|
libs/aws/services/elasticbeanstalk.class.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
* Amazon Web Services cloud resources.
|
25 |
*
|
26 |
* For more information about this product, go to the <a href="http://aws.amazon.com/elasticbeanstalk/">AWS Elastic Beanstalk</a> details page.
|
27 |
-
*
|
28 |
-
*
|
29 |
*
|
30 |
* <b>Endpoints</b>
|
31 |
*
|
@@ -35,7 +35,7 @@
|
|
35 |
*
|
36 |
* </ul>
|
37 |
*
|
38 |
-
* @version Tue
|
39 |
* @license See the included NOTICE.md file for complete information.
|
40 |
* @copyright See the included NOTICE.md file for complete information.
|
41 |
* @link http://aws.amazon.com/elasticbeanstalk/AWS Elastic Beanstalk
|
@@ -446,6 +446,26 @@ class AmazonElasticBeanstalk extends CFRuntime
|
|
446 |
return $this->authenticate('CreateApplication', $opt, $this->hostname);
|
447 |
}
|
448 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
/**
|
450 |
*
|
451 |
* Updates the specified configuration template to have the specified properties or configuration option values.
|
@@ -816,6 +836,7 @@ class AmazonElasticBeanstalk extends CFRuntime
|
|
816 |
* <li><code>SourceConfiguration</code> - <code>array</code> - Optional - If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration. Values specified in the <code>OptionSettings</code> parameter of this call overrides any values obtained from the <code>SourceConfiguration</code>. If no configuration template is found, returns an <code>InvalidParameterValue</code> error. Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an <code>InvalidParameterCombination</code> error. <ul>
|
817 |
* <li><code>ApplicationName</code> - <code>string</code> - Optional - The name of the application associated with the configuration. </li>
|
818 |
* <li><code>TemplateName</code> - <code>string</code> - Optional - The name of the configuration template. </li></ul></li>
|
|
|
819 |
* <li><code>Description</code> - <code>string</code> - Optional - Describes this configuration. </li>
|
820 |
* <li><code>OptionSettings</code> - <code>array</code> - Optional - If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template. <ul>
|
821 |
* <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
|
@@ -933,7 +954,7 @@ class AmazonElasticBeanstalk extends CFRuntime
|
|
933 |
|
934 |
/**
|
935 |
*
|
936 |
-
* Returns list of event descriptions matching criteria.
|
937 |
*
|
938 |
* This action returns the most recent 1,000 events from the specified <code>NextToken</code>.
|
939 |
*
|
24 |
* Amazon Web Services cloud resources.
|
25 |
*
|
26 |
* For more information about this product, go to the <a href="http://aws.amazon.com/elasticbeanstalk/">AWS Elastic Beanstalk</a> details page.
|
27 |
+
* The location of the lastest AWS Elastic Beanstalk WSDL is <a
|
28 |
+
* amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl">http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl</a>.
|
29 |
*
|
30 |
* <b>Endpoints</b>
|
31 |
*
|
35 |
*
|
36 |
* </ul>
|
37 |
*
|
38 |
+
* @version Tue Jul 12 16:08:17 PDT 2011
|
39 |
* @license See the included NOTICE.md file for complete information.
|
40 |
* @copyright See the included NOTICE.md file for complete information.
|
41 |
* @link http://aws.amazon.com/elasticbeanstalk/AWS Elastic Beanstalk
|
446 |
return $this->authenticate('CreateApplication', $opt, $this->hostname);
|
447 |
}
|
448 |
|
449 |
+
/**
|
450 |
+
*
|
451 |
+
* Swaps the CNAMEs of two environments.
|
452 |
+
*
|
453 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
454 |
+
* <li><code>SourceEnvironmentId</code> - <code>string</code> - Optional - The ID of the source environment. Condition: You must specify at least the <code>SourceEnvironmentID</code> or the <code>SourceEnvironmentName</code>. You may also specify both. If you specify the <code>SourceEnvironmentId</code>, you must specify the <code>DestinationEnvironmentId</code>. </li>
|
455 |
+
* <li><code>SourceEnvironmentName</code> - <code>string</code> - Optional - The name of the source environment. Condition: You must specify at least the <code>SourceEnvironmentID</code> or the <code>SourceEnvironmentName</code>. You may also specify both. If you specify the <code>SourceEnvironmentName</code>, you must specify the <code>DestinationEnvironmentName</code>. </li>
|
456 |
+
* <li><code>DestinationEnvironmentId</code> - <code>string</code> - Optional - The ID of the destination environment. Condition: You must specify at least the <code>DestinationEnvironmentID</code> or the <code>DestinationEnvironmentName</code>. You may also specify both. You must specify the <code>SourceEnvironmentId</code> with the <code>DestinationEnvironmentId</code>. </li>
|
457 |
+
* <li><code>DestinationEnvironmentName</code> - <code>string</code> - Optional - The name of the destination environment. Condition: You must specify at least the <code>DestinationEnvironmentID</code> or the <code>DestinationEnvironmentName</code>. You may also specify both. You must specify the <code>SourceEnvironmentName</code> with the <code>DestinationEnvironmentName</code>. </li>
|
458 |
+
* <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>
|
459 |
+
* <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>
|
460 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
461 |
+
*/
|
462 |
+
public function swap_environment_cnames($opt = null)
|
463 |
+
{
|
464 |
+
if (!$opt) $opt = array();
|
465 |
+
|
466 |
+
return $this->authenticate('SwapEnvironmentCNAMEs', $opt, $this->hostname);
|
467 |
+
}
|
468 |
+
|
469 |
/**
|
470 |
*
|
471 |
* Updates the specified configuration template to have the specified properties or configuration option values.
|
836 |
* <li><code>SourceConfiguration</code> - <code>array</code> - Optional - If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration. Values specified in the <code>OptionSettings</code> parameter of this call overrides any values obtained from the <code>SourceConfiguration</code>. If no configuration template is found, returns an <code>InvalidParameterValue</code> error. Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an <code>InvalidParameterCombination</code> error. <ul>
|
837 |
* <li><code>ApplicationName</code> - <code>string</code> - Optional - The name of the application associated with the configuration. </li>
|
838 |
* <li><code>TemplateName</code> - <code>string</code> - Optional - The name of the configuration template. </li></ul></li>
|
839 |
+
* <li><code>EnvironmentId</code> - <code>string</code> - Optional - The ID of the environment used with this configuration template. </li>
|
840 |
* <li><code>Description</code> - <code>string</code> - Optional - Describes this configuration. </li>
|
841 |
* <li><code>OptionSettings</code> - <code>array</code> - Optional - If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template. <ul>
|
842 |
* <li><code>x</code> - <code>array</code> - This represents a simple array index. <ul>
|
954 |
|
955 |
/**
|
956 |
*
|
957 |
+
* Returns list of event descriptions matching criteria up to the last 6 weeks.
|
958 |
*
|
959 |
* This action returns the most recent 1,000 events from the specified <code>NextToken</code>.
|
960 |
*
|
libs/aws/services/elb.class.php
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
* application. It makes it easy for you to distribute application loads between two or more EC2 instances. Elastic Load Balancing enables
|
22 |
* availability through redundancy and supports traffic growth of your application.
|
23 |
*
|
24 |
-
* @version Tue
|
25 |
* @license See the included NOTICE.md file for complete information.
|
26 |
* @copyright See the included NOTICE.md file for complete information.
|
27 |
* @link http://aws.amazon.com/elasticloadbalancing/Amazon Elastic Load Balancing
|
21 |
* application. It makes it easy for you to distribute application loads between two or more EC2 instances. Elastic Load Balancing enables
|
22 |
* availability through redundancy and supports traffic growth of your application.
|
23 |
*
|
24 |
+
* @version Tue Jul 12 16:09:27 PDT 2011
|
25 |
* @license See the included NOTICE.md file for complete information.
|
26 |
* @copyright See the included NOTICE.md file for complete information.
|
27 |
* @link http://aws.amazon.com/elasticloadbalancing/Amazon Elastic Load Balancing
|
libs/aws/services/iam.class.php
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
*
|
33 |
* We will refer to Amazon AWS Identity and Access Management using the abbreviated form IAM. All copyrights and legal protections still apply.
|
34 |
*
|
35 |
-
* @version Tue
|
36 |
* @license See the included NOTICE.md file for complete information.
|
37 |
* @copyright See the included NOTICE.md file for complete information.
|
38 |
* @link http://aws.amazon.com/iam/Amazon Identity and Access Management Service
|
32 |
*
|
33 |
* We will refer to Amazon AWS Identity and Access Management using the abbreviated form IAM. All copyrights and legal protections still apply.
|
34 |
*
|
35 |
+
* @version Tue Jul 12 16:10:48 PDT 2011
|
36 |
* @license See the included NOTICE.md file for complete information.
|
37 |
* @copyright See the included NOTICE.md file for complete information.
|
38 |
* @link http://aws.amazon.com/iam/Amazon Identity and Access Management Service
|
libs/aws/services/importexport.class.php
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
* Internet. For large data sets, AWS Import/Export is often faster than Internet transfer and more cost effective than upgrading your
|
23 |
* connectivity.
|
24 |
*
|
25 |
-
* @version Tue
|
26 |
* @license See the included NOTICE.md file for complete information.
|
27 |
* @copyright See the included NOTICE.md file for complete information.
|
28 |
* @link http://aws.amazon.com/importexport/Amazon Import/Export Service
|
22 |
* Internet. For large data sets, AWS Import/Export is often faster than Internet transfer and more cost effective than upgrading your
|
23 |
* connectivity.
|
24 |
*
|
25 |
+
* @version Tue Jul 12 16:11:17 PDT 2011
|
26 |
* @license See the included NOTICE.md file for complete information.
|
27 |
* @copyright See the included NOTICE.md file for complete information.
|
28 |
* @link http://aws.amazon.com/importexport/Amazon Import/Export Service
|
libs/aws/services/rds.class.php
CHANGED
@@ -27,7 +27,7 @@
|
|
27 |
* instance's compute resources and storage capacity to meet your application's demand. As with all Amazon Web Services, there are no up-front
|
28 |
* investments, and you pay only for the resources you use.
|
29 |
*
|
30 |
-
* @version Tue
|
31 |
* @license See the included NOTICE.md file for complete information.
|
32 |
* @copyright See the included NOTICE.md file for complete information.
|
33 |
* @link http://aws.amazon.com/rds/Amazon Relational Database Service
|
27 |
* instance's compute resources and storage capacity to meet your application's demand. As with all Amazon Web Services, there are no up-front
|
28 |
* investments, and you pay only for the resources you use.
|
29 |
*
|
30 |
+
* @version Tue Jul 12 16:11:48 PDT 2011
|
31 |
* @license See the included NOTICE.md file for complete information.
|
32 |
* @copyright See the included NOTICE.md file for complete information.
|
33 |
* @link http://aws.amazon.com/rds/Amazon Relational Database Service
|
libs/aws/services/s3.class.php
CHANGED
@@ -49,7 +49,7 @@ class S3_Exception extends Exception {}
|
|
49 |
*
|
50 |
* Visit <http://aws.amazon.com/s3/> for more information.
|
51 |
*
|
52 |
-
* @version 2011.
|
53 |
* @license See the included NOTICE.md file for more information.
|
54 |
* @copyright See the included NOTICE.md file for more information.
|
55 |
* @link http://aws.amazon.com/s3/ Amazon Simple Storage Service
|
@@ -3168,6 +3168,11 @@ class AmazonS3 extends CFRuntime
|
|
3168 |
* requests) allow for faster failures and better upload reliability. Larger part sizes (and fewer
|
3169 |
* requests) costs slightly less but has lower upload reliability.
|
3170 |
*
|
|
|
|
|
|
|
|
|
|
|
3171 |
* @param string $bucket (Required) The name of the bucket to use.
|
3172 |
* @param string $filename (Required) The file name for the object.
|
3173 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
@@ -3244,7 +3249,7 @@ class AmazonS3 extends CFRuntime
|
|
3244 |
|
3245 |
if ($upload_position === false || !isset($upload_filesize) || $upload_filesize === false || $upload_filesize < 0)
|
3246 |
{
|
3247 |
-
|
3248 |
}
|
3249 |
|
3250 |
// Handle part size
|
49 |
*
|
50 |
* Visit <http://aws.amazon.com/s3/> for more information.
|
51 |
*
|
52 |
+
* @version 2011.05.18
|
53 |
* @license See the included NOTICE.md file for more information.
|
54 |
* @copyright See the included NOTICE.md file for more information.
|
55 |
* @link http://aws.amazon.com/s3/ Amazon Simple Storage Service
|
3168 |
* requests) allow for faster failures and better upload reliability. Larger part sizes (and fewer
|
3169 |
* requests) costs slightly less but has lower upload reliability.
|
3170 |
*
|
3171 |
+
* In certain cases with large objects, it's possible for this method to attempt to open more file system
|
3172 |
+
* connections than allowed by the OS. In this case, either
|
3173 |
+
* <a href="https://forums.aws.amazon.com/thread.jspa?threadID=70216">increase the number of connections
|
3174 |
+
* allowed</a> or increase the value of the <code>partSize</code> parameter to use a larger part size.
|
3175 |
+
*
|
3176 |
* @param string $bucket (Required) The name of the bucket to use.
|
3177 |
* @param string $filename (Required) The file name for the object.
|
3178 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
3249 |
|
3250 |
if ($upload_position === false || !isset($upload_filesize) || $upload_filesize === false || $upload_filesize < 0)
|
3251 |
{
|
3252 |
+
throw new S3_Exception('The size of `fileUpload` cannot be determined in ' . __FUNCTION__ . '().');
|
3253 |
}
|
3254 |
|
3255 |
// Handle part size
|
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 Tue
|
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
|
31 |
*
|
32 |
* Visit <a href="http://aws.amazon.com/simpledb/">http://aws.amazon.com/simpledb/</a> for more information.
|
33 |
*
|
34 |
+
* @version Tue Jul 12 16:12:15 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
|
libs/aws/services/ses.class.php
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
* For specific details on how to construct a service request, please consult the <a
|
24 |
* href="http://docs.amazonwebservices.com/ses/latest/DeveloperGuide">Amazon SES Developer Guide</a>.
|
25 |
*
|
26 |
-
* @version Tue
|
27 |
* @license See the included NOTICE.md file for complete information.
|
28 |
* @copyright See the included NOTICE.md file for complete information.
|
29 |
* @link http://aws.amazon.com/ses/Amazon Simple Email Service
|
23 |
* For specific details on how to construct a service request, please consult the <a
|
24 |
* href="http://docs.amazonwebservices.com/ses/latest/DeveloperGuide">Amazon SES Developer Guide</a>.
|
25 |
*
|
26 |
+
* @version Tue Jul 12 16:09:53 PDT 2011
|
27 |
* @license See the included NOTICE.md file for complete information.
|
28 |
* @copyright See the included NOTICE.md file for complete information.
|
29 |
* @link http://aws.amazon.com/ses/Amazon Simple Email Service
|
libs/aws/services/sns.class.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
/**
|
18 |
|
19 |
*
|
20 |
-
* @version Tue
|
21 |
* @license See the included NOTICE.md file for complete information.
|
22 |
* @copyright See the included NOTICE.md file for complete information.
|
23 |
* @link http://aws.amazon.com/sns/Amazon Simple Notification Service
|
17 |
/**
|
18 |
|
19 |
*
|
20 |
+
* @version Tue Jul 12 16:12:40 PDT 2011
|
21 |
* @license See the included NOTICE.md file for complete information.
|
22 |
* @copyright See the included NOTICE.md file for complete information.
|
23 |
* @link http://aws.amazon.com/sns/Amazon Simple Notification Service
|
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 Tue
|
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
|
28 |
*
|
29 |
* Visit <a href="http://aws.amazon.com/sqs/">http://aws.amazon.com/sqs/</a> for more information.
|
30 |
*
|
31 |
+
* @version Tue Jul 12 16:13:05 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
|
libs/backwpup_get_temp.php
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
<?PHP
|
2 |
-
function backwpup_get_temp() {
|
3 |
-
$openbasedir=explode(PATH_SEPARATOR,ini_get('open_basedir'));
|
4 |
-
$tmpbackwpup='.backwpup_'.substr(md5(__FILE__),8,16).'/';
|
5 |
-
$tempdir=getenv('TMP');
|
6 |
-
if (empty($tempdir) or !is_writable($tempdir) or !is_dir($tempdir))
|
7 |
-
$tempdir=getenv('TEMP');
|
8 |
-
if (empty($tempdir) or !is_writable($tempdir) or !is_dir($tempdir))
|
9 |
-
$tempdir=getenv('TMPDIR');
|
10 |
-
if (empty($tempdir) or !is_writable($tempdir) or !is_dir($tempdir))
|
11 |
-
$tempdir=ini_get('upload_tmp_dir');
|
12 |
-
if (empty($tempdir) or !is_writable($tempdir) or !is_dir($tempdir))
|
13 |
-
$tempdir=ini_get('session.save_path');
|
14 |
-
if (empty($tempdir) or !is_writable($tempdir) or !is_dir($tempdir))
|
15 |
-
$tempdir=sys_get_temp_dir();
|
16 |
-
if (empty($tempdir) or !is_writable($tempdir) or !is_dir($tempdir))
|
17 |
-
$tempdir=$openbasedir[0];
|
18 |
-
if (is_readable(dirname(__FILE__).'/../../.backwpuptempfolder'))
|
19 |
-
$tempdir=trim(file_get_contents(dirname(__FILE__).'/../../.backwpuptempfolder',false,NULL,0,255));
|
20 |
-
$tempdir=str_replace('\\','/',realpath(rtrim($tempdir,'/'))).'/';
|
21 |
-
return $tempdir.$tmpbackwpup;
|
22 |
-
}
|
23 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libs/class.http.php
ADDED
@@ -0,0 +1,1187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* HTTP Class
|
5 |
+
*
|
6 |
+
* This is a wrapper HTTP class that uses either cURL or fsockopen to
|
7 |
+
* harvest resources from web. This can be used with scripts that need
|
8 |
+
* a way to communicate with various APIs who support REST.
|
9 |
+
*
|
10 |
+
* @author Md Emran Hasan <phpfour@gmail.com>
|
11 |
+
* @package HTTP Library
|
12 |
+
* @copyright 2007-2008 Md Emran Hasan
|
13 |
+
* @link http://www.phpfour.com/lib/http
|
14 |
+
* @since Version 0.1
|
15 |
+
*/
|
16 |
+
|
17 |
+
class Http
|
18 |
+
{
|
19 |
+
/**
|
20 |
+
* Contains the target URL
|
21 |
+
*
|
22 |
+
* @var string
|
23 |
+
*/
|
24 |
+
var $target;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Contains the target host
|
28 |
+
*
|
29 |
+
* @var string
|
30 |
+
*/
|
31 |
+
var $host;
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Contains the target port
|
35 |
+
*
|
36 |
+
* @var integer
|
37 |
+
*/
|
38 |
+
var $port;
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Contains the target path
|
42 |
+
*
|
43 |
+
* @var string
|
44 |
+
*/
|
45 |
+
var $path;
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Contains the target schema
|
49 |
+
*
|
50 |
+
* @var string
|
51 |
+
*/
|
52 |
+
var $schema;
|
53 |
+
|
54 |
+
/**
|
55 |
+
* Contains the http method (GET or POST)
|
56 |
+
*
|
57 |
+
* @var string
|
58 |
+
*/
|
59 |
+
var $method;
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Contains the parameters for request
|
63 |
+
*
|
64 |
+
* @var array
|
65 |
+
*/
|
66 |
+
var $params;
|
67 |
+
|
68 |
+
/**
|
69 |
+
* Contains the cookies for request
|
70 |
+
*
|
71 |
+
* @var array
|
72 |
+
*/
|
73 |
+
var $cookies;
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Contains the cookies retrieved from response
|
77 |
+
*
|
78 |
+
* @var array
|
79 |
+
*/
|
80 |
+
var $_cookies;
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Number of seconds to timeout
|
84 |
+
*
|
85 |
+
* @var integer
|
86 |
+
*/
|
87 |
+
var $timeout;
|
88 |
+
|
89 |
+
/**
|
90 |
+
* Whether to use cURL or not
|
91 |
+
*
|
92 |
+
* @var boolean
|
93 |
+
*/
|
94 |
+
var $useCurl;
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Contains the referrer URL
|
98 |
+
*
|
99 |
+
* @var string
|
100 |
+
*/
|
101 |
+
var $referrer;
|
102 |
+
|
103 |
+
/**
|
104 |
+
* Contains the User agent string
|
105 |
+
*
|
106 |
+
* @var string
|
107 |
+
*/
|
108 |
+
var $userAgent;
|
109 |
+
|
110 |
+
/**
|
111 |
+
* Contains the cookie path (to be used with cURL)
|
112 |
+
*
|
113 |
+
* @var string
|
114 |
+
*/
|
115 |
+
var $cookiePath;
|
116 |
+
|
117 |
+
/**
|
118 |
+
* Whether to use cookie at all
|
119 |
+
*
|
120 |
+
* @var boolean
|
121 |
+
*/
|
122 |
+
var $useCookie;
|
123 |
+
|
124 |
+
/**
|
125 |
+
* Whether to store cookie for subsequent requests
|
126 |
+
*
|
127 |
+
* @var boolean
|
128 |
+
*/
|
129 |
+
var $saveCookie;
|
130 |
+
|
131 |
+
/**
|
132 |
+
* Contains the Username (for authentication)
|
133 |
+
*
|
134 |
+
* @var string
|
135 |
+
*/
|
136 |
+
var $username;
|
137 |
+
|
138 |
+
/**
|
139 |
+
* Contains the Password (for authentication)
|
140 |
+
*
|
141 |
+
* @var string
|
142 |
+
*/
|
143 |
+
var $password;
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Contains the fetched web source
|
147 |
+
*
|
148 |
+
* @var string
|
149 |
+
*/
|
150 |
+
var $result;
|
151 |
+
|
152 |
+
/**
|
153 |
+
* Contains the last headers
|
154 |
+
*
|
155 |
+
* @var string
|
156 |
+
*/
|
157 |
+
var $headers;
|
158 |
+
|
159 |
+
/**
|
160 |
+
* Contains the last call's http status code
|
161 |
+
*
|
162 |
+
* @var string
|
163 |
+
*/
|
164 |
+
var $status;
|
165 |
+
|
166 |
+
/**
|
167 |
+
* Whether to follow http redirect or not
|
168 |
+
*
|
169 |
+
* @var boolean
|
170 |
+
*/
|
171 |
+
var $redirect;
|
172 |
+
|
173 |
+
/**
|
174 |
+
* The maximum number of redirect to follow
|
175 |
+
*
|
176 |
+
* @var integer
|
177 |
+
*/
|
178 |
+
var $maxRedirect;
|
179 |
+
|
180 |
+
/**
|
181 |
+
* The current number of redirects
|
182 |
+
*
|
183 |
+
* @var integer
|
184 |
+
*/
|
185 |
+
var $curRedirect;
|
186 |
+
|
187 |
+
/**
|
188 |
+
* Contains any error occurred
|
189 |
+
*
|
190 |
+
* @var string
|
191 |
+
*/
|
192 |
+
var $error;
|
193 |
+
|
194 |
+
/**
|
195 |
+
* Store the next token
|
196 |
+
*
|
197 |
+
* @var string
|
198 |
+
*/
|
199 |
+
var $nextToken;
|
200 |
+
|
201 |
+
/**
|
202 |
+
* Whether to keep debug messages
|
203 |
+
*
|
204 |
+
* @var boolean
|
205 |
+
*/
|
206 |
+
var $debug;
|
207 |
+
|
208 |
+
/**
|
209 |
+
* Stores the debug messages
|
210 |
+
*
|
211 |
+
* @var array
|
212 |
+
* @todo will keep debug messages
|
213 |
+
*/
|
214 |
+
var $debugMsg;
|
215 |
+
|
216 |
+
/**
|
217 |
+
* Constructor for initializing the class with default values.
|
218 |
+
*
|
219 |
+
* @return void
|
220 |
+
*/
|
221 |
+
function Http()
|
222 |
+
{
|
223 |
+
$this->clear();
|
224 |
+
}
|
225 |
+
|
226 |
+
/**
|
227 |
+
* Initialize preferences
|
228 |
+
*
|
229 |
+
* This function will take an associative array of config values and
|
230 |
+
* will initialize the class variables using them.
|
231 |
+
*
|
232 |
+
* Example use:
|
233 |
+
*
|
234 |
+
* <pre>
|
235 |
+
* $httpConfig['method'] = 'GET';
|
236 |
+
* $httpConfig['target'] = 'http://www.somedomain.com/index.html';
|
237 |
+
* $httpConfig['referrer'] = 'http://www.somedomain.com';
|
238 |
+
* $httpConfig['user_agent'] = 'My Crawler';
|
239 |
+
* $httpConfig['timeout'] = '30';
|
240 |
+
* $httpConfig['params'] = array('var1' => 'testvalue', 'var2' => 'somevalue');
|
241 |
+
*
|
242 |
+
* $http = new Http();
|
243 |
+
* $http->initialize($httpConfig);
|
244 |
+
* </pre>
|
245 |
+
*
|
246 |
+
* @param array Config values as associative array
|
247 |
+
* @return void
|
248 |
+
*/
|
249 |
+
function initialize($config = array())
|
250 |
+
{
|
251 |
+
$this->clear();
|
252 |
+
foreach ($config as $key => $val)
|
253 |
+
{
|
254 |
+
if (isset($this->$key))
|
255 |
+
{
|
256 |
+
$method = 'set' . ucfirst(str_replace('_', '', $key));
|
257 |
+
|
258 |
+
if (method_exists($this, $method))
|
259 |
+
{
|
260 |
+
$this->$method($val);
|
261 |
+
}
|
262 |
+
else
|
263 |
+
{
|
264 |
+
$this->$key = $val;
|
265 |
+
}
|
266 |
+
}
|
267 |
+
}
|
268 |
+
}
|
269 |
+
|
270 |
+
/**
|
271 |
+
* Clear Everything
|
272 |
+
*
|
273 |
+
* Clears all the properties of the class and sets the object to
|
274 |
+
* the beginning state. Very handy if you are doing subsequent calls
|
275 |
+
* with different data.
|
276 |
+
*
|
277 |
+
* @return void
|
278 |
+
*/
|
279 |
+
function clear()
|
280 |
+
{
|
281 |
+
// Set the request defaults
|
282 |
+
$this->host = '';
|
283 |
+
$this->port = 0;
|
284 |
+
$this->path = '';
|
285 |
+
$this->target = '';
|
286 |
+
$this->method = 'GET';
|
287 |
+
$this->schema = 'http';
|
288 |
+
$this->params = array();
|
289 |
+
$this->headers = array();
|
290 |
+
$this->cookies = array();
|
291 |
+
$this->_cookies = array();
|
292 |
+
|
293 |
+
// Set the config details
|
294 |
+
$this->debug = FALSE;
|
295 |
+
$this->error = '';
|
296 |
+
$this->status = 0;
|
297 |
+
$this->timeout = '25';
|
298 |
+
$this->useCurl = TRUE;
|
299 |
+
$this->referrer = '';
|
300 |
+
$this->username = '';
|
301 |
+
$this->password = '';
|
302 |
+
$this->redirect = TRUE;
|
303 |
+
|
304 |
+
// Set the cookie and agent defaults
|
305 |
+
$this->nextToken = '';
|
306 |
+
$this->useCookie = TRUE;
|
307 |
+
$this->saveCookie = TRUE;
|
308 |
+
$this->maxRedirect = 3;
|
309 |
+
$this->cookiePath = 'cookie.txt';
|
310 |
+
$this->userAgent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.9';
|
311 |
+
}
|
312 |
+
|
313 |
+
/**
|
314 |
+
* Set target URL
|
315 |
+
*
|
316 |
+
* @param string URL of target resource
|
317 |
+
* @return void
|
318 |
+
*/
|
319 |
+
function setTarget($url)
|
320 |
+
{
|
321 |
+
if ($url)
|
322 |
+
{
|
323 |
+
$this->target = $url;
|
324 |
+
}
|
325 |
+
}
|
326 |
+
|
327 |
+
/**
|
328 |
+
* Set http method
|
329 |
+
*
|
330 |
+
* @param string HTTP method to use (GET or POST)
|
331 |
+
* @return void
|
332 |
+
*/
|
333 |
+
function setMethod($method)
|
334 |
+
{
|
335 |
+
if ($method == 'GET' || $method == 'POST')
|
336 |
+
{
|
337 |
+
$this->method = $method;
|
338 |
+
}
|
339 |
+
}
|
340 |
+
|
341 |
+
/**
|
342 |
+
* Set referrer URL
|
343 |
+
*
|
344 |
+
* @param string URL of referrer page
|
345 |
+
* @return void
|
346 |
+
*/
|
347 |
+
function setReferrer($referrer)
|
348 |
+
{
|
349 |
+
if ($referrer)
|
350 |
+
{
|
351 |
+
$this->referrer = $referrer;
|
352 |
+
}
|
353 |
+
}
|
354 |
+
|
355 |
+
/**
|
356 |
+
* Set User agent string
|
357 |
+
*
|
358 |
+
* @param string Full user agent string
|
359 |
+
* @return void
|
360 |
+
*/
|
361 |
+
function setUseragent($agent)
|
362 |
+
{
|
363 |
+
if ($agent)
|
364 |
+
{
|
365 |
+
$this->userAgent = $agent;
|
366 |
+
}
|
367 |
+
}
|
368 |
+
|
369 |
+
/**
|
370 |
+
* Set timeout of execution
|
371 |
+
*
|
372 |
+
* @param integer Timeout delay in seconds
|
373 |
+
* @return void
|
374 |
+
*/
|
375 |
+
function setTimeout($seconds)
|
376 |
+
{
|
377 |
+
if ($seconds > 0)
|
378 |
+
{
|
379 |
+
$this->timeout = $seconds;
|
380 |
+
}
|
381 |
+
}
|
382 |
+
|
383 |
+
/**
|
384 |
+
* Set cookie path (cURL only)
|
385 |
+
*
|
386 |
+
* @param string File location of cookiejar
|
387 |
+
* @return void
|
388 |
+
*/
|
389 |
+
function setCookiepath($path)
|
390 |
+
{
|
391 |
+
if ($path)
|
392 |
+
{
|
393 |
+
$this->cookiePath = $path;
|
394 |
+
}
|
395 |
+
}
|
396 |
+
|
397 |
+
/**
|
398 |
+
* Set request parameters
|
399 |
+
*
|
400 |
+
* @param array All the parameters for GET or POST
|
401 |
+
* @return void
|
402 |
+
*/
|
403 |
+
function setParams($dataArray)
|
404 |
+
{
|
405 |
+
if (is_array($dataArray))
|
406 |
+
{
|
407 |
+
$this->params = array_merge($this->params, $dataArray);
|
408 |
+
}
|
409 |
+
}
|
410 |
+
|
411 |
+
/**
|
412 |
+
* Set basic http authentication realm
|
413 |
+
*
|
414 |
+
* @param string Username for authentication
|
415 |
+
* @param string Password for authentication
|
416 |
+
* @return void
|
417 |
+
*/
|
418 |
+
function setAuth($username, $password)
|
419 |
+
{
|
420 |
+
if (!empty($username) && !empty($password))
|
421 |
+
{
|
422 |
+
$this->username = $username;
|
423 |
+
$this->password = $password;
|
424 |
+
}
|
425 |
+
}
|
426 |
+
|
427 |
+
/**
|
428 |
+
* Set maximum number of redirection to follow
|
429 |
+
*
|
430 |
+
* @param integer Maximum number of redirects
|
431 |
+
* @return void
|
432 |
+
*/
|
433 |
+
function setMaxredirect($value)
|
434 |
+
{
|
435 |
+
if (!empty($value))
|
436 |
+
{
|
437 |
+
$this->maxRedirect = $value;
|
438 |
+
}
|
439 |
+
}
|
440 |
+
|
441 |
+
/**
|
442 |
+
* Add request parameters
|
443 |
+
*
|
444 |
+
* @param string Name of the parameter
|
445 |
+
* @param string Value of the parameter
|
446 |
+
* @return void
|
447 |
+
*/
|
448 |
+
function addParam($name, $value)
|
449 |
+
{
|
450 |
+
if (!empty($name) && !empty($value))
|
451 |
+
{
|
452 |
+
$this->params[$name] = $value;
|
453 |
+
}
|
454 |
+
}
|
455 |
+
|
456 |
+
/**
|
457 |
+
* Add a cookie to the request
|
458 |
+
*
|
459 |
+
* @param string Name of cookie
|
460 |
+
* @param string Value of cookie
|
461 |
+
* @return void
|
462 |
+
*/
|
463 |
+
function addCookie($name, $value)
|
464 |
+
{
|
465 |
+
if (!empty($name) && !empty($value))
|
466 |
+
{
|
467 |
+
$this->cookies[$name] = $value;
|
468 |
+
}
|
469 |
+
}
|
470 |
+
|
471 |
+
/**
|
472 |
+
* Whether to use cURL or not
|
473 |
+
*
|
474 |
+
* @param boolean Whether to use cURL or not
|
475 |
+
* @return void
|
476 |
+
*/
|
477 |
+
function useCurl($value = TRUE)
|
478 |
+
{
|
479 |
+
if (is_bool($value))
|
480 |
+
{
|
481 |
+
$this->useCurl = $value;
|
482 |
+
}
|
483 |
+
}
|
484 |
+
|
485 |
+
/**
|
486 |
+
* Whether to use cookies or not
|
487 |
+
*
|
488 |
+
* @param boolean Whether to use cookies or not
|
489 |
+
* @return void
|
490 |
+
*/
|
491 |
+
function useCookie($value = TRUE)
|
492 |
+
{
|
493 |
+
if (is_bool($value))
|
494 |
+
{
|
495 |
+
$this->useCookie = $value;
|
496 |
+
}
|
497 |
+
}
|
498 |
+
|
499 |
+
/**
|
500 |
+
* Whether to save persistent cookies in subsequent calls
|
501 |
+
*
|
502 |
+
* @param boolean Whether to save persistent cookies or not
|
503 |
+
* @return void
|
504 |
+
*/
|
505 |
+
function saveCookie($value = TRUE)
|
506 |
+
{
|
507 |
+
if (is_bool($value))
|
508 |
+
{
|
509 |
+
$this->saveCookie = $value;
|
510 |
+
}
|
511 |
+
}
|
512 |
+
|
513 |
+
/**
|
514 |
+
* Whether to follow HTTP redirects
|
515 |
+
*
|
516 |
+
* @param boolean Whether to follow HTTP redirects or not
|
517 |
+
* @return void
|
518 |
+
*/
|
519 |
+
function followRedirects($value = TRUE)
|
520 |
+
{
|
521 |
+
if (is_bool($value))
|
522 |
+
{
|
523 |
+
$this->redirect = $value;
|
524 |
+
}
|
525 |
+
}
|
526 |
+
|
527 |
+
/**
|
528 |
+
* Get execution result body
|
529 |
+
*
|
530 |
+
* @return string output of execution
|
531 |
+
*/
|
532 |
+
function getResult()
|
533 |
+
{
|
534 |
+
return $this->result;
|
535 |
+
}
|
536 |
+
|
537 |
+
/**
|
538 |
+
* Get execution result headers
|
539 |
+
*
|
540 |
+
* @return array last headers of execution
|
541 |
+
*/
|
542 |
+
function getHeaders()
|
543 |
+
{
|
544 |
+
return $this->headers;
|
545 |
+
}
|
546 |
+
|
547 |
+
/**
|
548 |
+
* Get execution status code
|
549 |
+
*
|
550 |
+
* @return integer last http status code
|
551 |
+
*/
|
552 |
+
function getStatus()
|
553 |
+
{
|
554 |
+
return $this->status;
|
555 |
+
}
|
556 |
+
|
557 |
+
/**
|
558 |
+
* Get last execution error
|
559 |
+
*
|
560 |
+
* @return string last error message (if any)
|
561 |
+
*/
|
562 |
+
function getError()
|
563 |
+
{
|
564 |
+
return $this->error;
|
565 |
+
}
|
566 |
+
|
567 |
+
/**
|
568 |
+
* Execute a HTTP request
|
569 |
+
*
|
570 |
+
* Executes the http fetch using all the set properties. Intellegently
|
571 |
+
* switch to fsockopen if cURL is not present. And be smart to follow
|
572 |
+
* redirects (if asked so).
|
573 |
+
*
|
574 |
+
* @param string URL of the target page (optional)
|
575 |
+
* @param string URL of the referrer page (optional)
|
576 |
+
* @param string The http method (GET or POST) (optional)
|
577 |
+
* @param array Parameter array for GET or POST (optional)
|
578 |
+
* @return string Response body of the target page
|
579 |
+
*/
|
580 |
+
function execute($target = '', $referrer = '', $method = '', $data = array())
|
581 |
+
{
|
582 |
+
// Populate the properties
|
583 |
+
$this->target = ($target) ? $target : $this->target;
|
584 |
+
$this->method = ($method) ? $method : $this->method;
|
585 |
+
|
586 |
+
$this->referrer = ($referrer) ? $referrer : $this->referrer;
|
587 |
+
|
588 |
+
// Add the new params
|
589 |
+
if (is_array($data) && count($data) > 0)
|
590 |
+
{
|
591 |
+
$this->params = array_merge($this->params, $data);
|
592 |
+
}
|
593 |
+
|
594 |
+
// Process data, if presented
|
595 |
+
if(is_array($this->params) && count($this->params) > 0)
|
596 |
+
{
|
597 |
+
// Get a blank slate
|
598 |
+
$tempString = array();
|
599 |
+
|
600 |
+
// Convert data array into a query string (ie animal=dog&sport=baseball)
|
601 |
+
foreach ($this->params as $key => $value)
|
602 |
+
{
|
603 |
+
if(strlen(trim($value))>0)
|
604 |
+
{
|
605 |
+
$tempString[] = $key . "=" . urlencode($value);
|
606 |
+
}
|
607 |
+
}
|
608 |
+
|
609 |
+
$queryString = join('&', $tempString);
|
610 |
+
}
|
611 |
+
|
612 |
+
// If cURL is not installed, we'll force fscokopen
|
613 |
+
$this->useCurl = $this->useCurl && in_array('curl', get_loaded_extensions());
|
614 |
+
|
615 |
+
// GET method configuration
|
616 |
+
if($this->method == 'GET')
|
617 |
+
{
|
618 |
+
if(isset($queryString))
|
619 |
+
{
|
620 |
+
$this->target = $this->target . "?" . $queryString;
|
621 |
+
}
|
622 |
+
}
|
623 |
+
|
624 |
+
// Parse target URL
|
625 |
+
$urlParsed = parse_url($this->target);
|
626 |
+
|
627 |
+
// Handle SSL connection request
|
628 |
+
if ($urlParsed['scheme'] == 'https')
|
629 |
+
{
|
630 |
+
$this->host = 'ssl://' . $urlParsed['host'];
|
631 |
+
$this->port = ($this->port != 0) ? $this->port : 443;
|
632 |
+
}
|
633 |
+
else
|
634 |
+
{
|
635 |
+
$this->host = $urlParsed['host'];
|
636 |
+
$this->port = ($this->port != 0) ? $this->port : 80;
|
637 |
+
}
|
638 |
+
|
639 |
+
// Finalize the target path
|
640 |
+
$this->path = (isset($urlParsed['path']) ? $urlParsed['path'] : '/') . (isset($urlParsed['query']) ? '?' . $urlParsed['query'] : '');
|
641 |
+
$this->schema = $urlParsed['scheme'];
|
642 |
+
|
643 |
+
// Pass the requred cookies
|
644 |
+
$this->_passCookies();
|
645 |
+
|
646 |
+
// Process cookies, if requested
|
647 |
+
if(is_array($this->cookies) && count($this->cookies) > 0)
|
648 |
+
{
|
649 |
+
// Get a blank slate
|
650 |
+
$tempString = array();
|
651 |
+
|
652 |
+
// Convert cookiesa array into a query string (ie animal=dog&sport=baseball)
|
653 |
+
foreach ($this->cookies as $key => $value)
|
654 |
+
{
|
655 |
+
if(strlen(trim($value)) > 0)
|
656 |
+
{
|
657 |
+
$tempString[] = $key . "=" . urlencode($value);
|
658 |
+
}
|
659 |
+
}
|
660 |
+
|
661 |
+
$cookieString = join('&', $tempString);
|
662 |
+
}
|
663 |
+
|
664 |
+
// Do we need to use cURL
|
665 |
+
if ($this->useCurl)
|
666 |
+
{
|
667 |
+
// Initialize PHP cURL handle
|
668 |
+
$ch = curl_init();
|
669 |
+
|
670 |
+
// GET method configuration
|
671 |
+
if($this->method == 'GET')
|
672 |
+
{
|
673 |
+
curl_setopt ($ch, CURLOPT_HTTPGET, TRUE);
|
674 |
+
curl_setopt ($ch, CURLOPT_POST, FALSE);
|
675 |
+
}
|
676 |
+
// POST method configuration
|
677 |
+
else
|
678 |
+
{
|
679 |
+
if(isset($queryString))
|
680 |
+
{
|
681 |
+
curl_setopt ($ch, CURLOPT_POSTFIELDS, $queryString);
|
682 |
+
}
|
683 |
+
|
684 |
+
curl_setopt ($ch, CURLOPT_POST, TRUE);
|
685 |
+
curl_setopt ($ch, CURLOPT_HTTPGET, FALSE);
|
686 |
+
}
|
687 |
+
|
688 |
+
// Basic Authentication configuration
|
689 |
+
if ($this->username && $this->password)
|
690 |
+
{
|
691 |
+
curl_setopt($ch, CURLOPT_USERPWD, $this->username . ':' . $this->password);
|
692 |
+
}
|
693 |
+
|
694 |
+
// Custom cookie configuration
|
695 |
+
if($this->useCookie && isset($cookieString))
|
696 |
+
{
|
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 |
+
|
703 |
+
curl_setopt($ch, CURLOPT_COOKIEJAR, $this->cookiePath); // Cookie management.
|
704 |
+
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout); // Timeout
|
705 |
+
curl_setopt($ch, CURLOPT_USERAGENT, $this->userAgent); // Webbot name
|
706 |
+
curl_setopt($ch, CURLOPT_URL, $this->target); // Target site
|
707 |
+
curl_setopt($ch, CURLOPT_REFERER, $this->referrer); // Referer value
|
708 |
+
|
709 |
+
curl_setopt($ch, CURLOPT_VERBOSE, FALSE); // Minimize logs
|
710 |
+
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); // No certificate
|
711 |
+
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, $this->redirect); // Follow redirects
|
712 |
+
curl_setopt($ch, CURLOPT_MAXREDIRS, $this->maxRedirect); // Limit redirections to four
|
713 |
+
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); // Return in string
|
714 |
+
|
715 |
+
// Get the target contents
|
716 |
+
$content = curl_exec($ch);
|
717 |
+
$contentArray = explode("\r\n\r\n", $content);
|
718 |
+
|
719 |
+
// Get the request info
|
720 |
+
$status = curl_getinfo($ch);
|
721 |
+
|
722 |
+
// Store the contents
|
723 |
+
$this->result = $contentArray[count($contentArray) - 1];
|
724 |
+
|
725 |
+
// Parse the headers
|
726 |
+
$this->_parseHeaders($contentArray[count($contentArray) - 2]);
|
727 |
+
|
728 |
+
// Store the error (is any)
|
729 |
+
$this->_setError(curl_error($ch));
|
730 |
+
|
731 |
+
// Close PHP cURL handle
|
732 |
+
curl_close($ch);
|
733 |
+
}
|
734 |
+
else
|
735 |
+
{
|
736 |
+
// Get a file pointer
|
737 |
+
$filePointer = fsockopen($this->host, $this->port, $errorNumber, $errorString, $this->timeout);
|
738 |
+
|
739 |
+
// We have an error if pointer is not there
|
740 |
+
if (!$filePointer)
|
741 |
+
{
|
742 |
+
$this->_setError('Failed opening http socket connection: ' . $errorString . ' (' . $errorNumber . ')');
|
743 |
+
return FALSE;
|
744 |
+
}
|
745 |
+
|
746 |
+
// Set http headers with host, user-agent and content type
|
747 |
+
$requestHeader = $this->method . " " . $this->path . " HTTP/1.1\r\n";
|
748 |
+
$requestHeader .= "Host: " . $urlParsed['host'] . "\r\n";
|
749 |
+
$requestHeader .= "User-Agent: " . $this->userAgent . "\r\n";
|
750 |
+
$requestHeader .= "Content-Type: application/x-www-form-urlencoded\r\n";
|
751 |
+
|
752 |
+
// Specify the custom cookies
|
753 |
+
if ($this->useCookie && $cookieString != '')
|
754 |
+
{
|
755 |
+
$requestHeader.= "Cookie: " . $cookieString . "\r\n";
|
756 |
+
}
|
757 |
+
|
758 |
+
// POST method configuration
|
759 |
+
if ($this->method == "POST")
|
760 |
+
{
|
761 |
+
$requestHeader.= "Content-Length: " . strlen($queryString) . "\r\n";
|
762 |
+
}
|
763 |
+
|
764 |
+
// Specify the referrer
|
765 |
+
if ($this->referrer != '')
|
766 |
+
{
|
767 |
+
$requestHeader.= "Referer: " . $this->referrer . "\r\n";
|
768 |
+
}
|
769 |
+
|
770 |
+
// Specify http authentication (basic)
|
771 |
+
if ($this->username && $this->password)
|
772 |
+
{
|
773 |
+
$requestHeader.= "Authorization: Basic " . base64_encode($this->username . ':' . $this->password) . "\r\n";
|
774 |
+
}
|
775 |
+
|
776 |
+
$requestHeader.= "Connection: close\r\n\r\n";
|
777 |
+
|
778 |
+
// POST method configuration
|
779 |
+
if ($this->method == "POST")
|
780 |
+
{
|
781 |
+
$requestHeader .= $queryString;
|
782 |
+
}
|
783 |
+
|
784 |
+
// We're ready to launch
|
785 |
+
fwrite($filePointer, $requestHeader);
|
786 |
+
|
787 |
+
// Clean the slate
|
788 |
+
$responseHeader = '';
|
789 |
+
$responseContent = '';
|
790 |
+
|
791 |
+
// 3...2...1...Launch !
|
792 |
+
do
|
793 |
+
{
|
794 |
+
$responseHeader .= fread($filePointer, 1);
|
795 |
+
}
|
796 |
+
while (!preg_match('/\\r\\n\\r\\n$/', $responseHeader));
|
797 |
+
|
798 |
+
// Parse the headers
|
799 |
+
$this->_parseHeaders($responseHeader);
|
800 |
+
|
801 |
+
// Do we have a 301/302 redirect ?
|
802 |
+
if (($this->status == '301' || $this->status == '302') && $this->redirect == TRUE)
|
803 |
+
{
|
804 |
+
if ($this->curRedirect < $this->maxRedirect)
|
805 |
+
{
|
806 |
+
// Let's find out the new redirect URL
|
807 |
+
$newUrlParsed = parse_url($this->headers['location']);
|
808 |
+
|
809 |
+
if ($newUrlParsed['host'])
|
810 |
+
{
|
811 |
+
$newTarget = $this->headers['location'];
|
812 |
+
}
|
813 |
+
else
|
814 |
+
{
|
815 |
+
$newTarget = $this->schema . '://' . $this->host . '/' . $this->headers['location'];
|
816 |
+
}
|
817 |
+
|
818 |
+
// Reset some of the properties
|
819 |
+
$this->port = 0;
|
820 |
+
$this->status = 0;
|
821 |
+
$this->params = array();
|
822 |
+
$this->method = 'GET';
|
823 |
+
$this->referrer = $this->target;
|
824 |
+
|
825 |
+
// Increase the redirect counter
|
826 |
+
$this->curRedirect++;
|
827 |
+
|
828 |
+
// Let's go, go, go !
|
829 |
+
$this->result = $this->execute($newTarget);
|
830 |
+
}
|
831 |
+
else
|
832 |
+
{
|
833 |
+
$this->_setError('Too many redirects.');
|
834 |
+
return FALSE;
|
835 |
+
}
|
836 |
+
}
|
837 |
+
else
|
838 |
+
{
|
839 |
+
// Nope...so lets get the rest of the contents (non-chunked)
|
840 |
+
if ($this->headers['transfer-encoding'] != 'chunked')
|
841 |
+
{
|
842 |
+
while (!feof($filePointer))
|
843 |
+
{
|
844 |
+
$responseContent .= fgets($filePointer, 128);
|
845 |
+
}
|
846 |
+
}
|
847 |
+
else
|
848 |
+
{
|
849 |
+
// Get the contents (chunked)
|
850 |
+
while ($chunkLength = hexdec(fgets($filePointer)))
|
851 |
+
{
|
852 |
+
$responseContentChunk = '';
|
853 |
+
$readLength = 0;
|
854 |
+
|
855 |
+
while ($readLength < $chunkLength)
|
856 |
+
{
|
857 |
+
$responseContentChunk .= fread($filePointer, $chunkLength - $readLength);
|
858 |
+
$readLength = strlen($responseContentChunk);
|
859 |
+
}
|
860 |
+
|
861 |
+
$responseContent .= $responseContentChunk;
|
862 |
+
fgets($filePointer);
|
863 |
+
}
|
864 |
+
}
|
865 |
+
|
866 |
+
// Store the target contents
|
867 |
+
$this->result = chop($responseContent);
|
868 |
+
}
|
869 |
+
}
|
870 |
+
|
871 |
+
// There it is! We have it!! Return to base !!!
|
872 |
+
return $this->result;
|
873 |
+
}
|
874 |
+
|
875 |
+
/**
|
876 |
+
* Parse Headers (internal)
|
877 |
+
*
|
878 |
+
* Parse the response headers and store them for finding the resposne
|
879 |
+
* status, redirection location, cookies, etc.
|
880 |
+
*
|
881 |
+
* @param string Raw header response
|
882 |
+
* @return void
|
883 |
+
* @access private
|
884 |
+
*/
|
885 |
+
function _parseHeaders($responseHeader)
|
886 |
+
{
|
887 |
+
// Break up the headers
|
888 |
+
$headers = explode("\r\n", $responseHeader);
|
889 |
+
|
890 |
+
// Clear the header array
|
891 |
+
$this->_clearHeaders();
|
892 |
+
|
893 |
+
// Get resposne status
|
894 |
+
if($this->status == 0)
|
895 |
+
{
|
896 |
+
// Oooops !
|
897 |
+
if(!eregi($match = "^http/[0-9]+\\.[0-9]+[ \t]+([0-9]+)[ \t]*(.*)\$", $headers[0], $matches))
|
898 |
+
{
|
899 |
+
$this->_setError('Unexpected HTTP response status');
|
900 |
+
return FALSE;
|
901 |
+
}
|
902 |
+
|
903 |
+
// Gotcha!
|
904 |
+
$this->status = $matches[1];
|
905 |
+
array_shift($headers);
|
906 |
+
}
|
907 |
+
|
908 |
+
// Prepare all the other headers
|
909 |
+
foreach ($headers as $header)
|
910 |
+
{
|
911 |
+
// Get name and value
|
912 |
+
$headerName = strtolower($this->_tokenize($header, ':'));
|
913 |
+
$headerValue = trim(chop($this->_tokenize("\r\n")));
|
914 |
+
|
915 |
+
// If its already there, then add as an array. Otherwise, just keep there
|
916 |
+
if(isset($this->headers[$headerName]))
|
917 |
+
{
|
918 |
+
if(gettype($this->headers[$headerName]) == "string")
|
919 |
+
{
|
920 |
+
$this->headers[$headerName] = array($this->headers[$headerName]);
|
921 |
+
}
|
922 |
+
|
923 |
+
$this->headers[$headerName][] = $headerValue;
|
924 |
+
}
|
925 |
+
else
|
926 |
+
{
|
927 |
+
$this->headers[$headerName] = $headerValue;
|
928 |
+
}
|
929 |
+
}
|
930 |
+
|
931 |
+
// Save cookies if asked
|
932 |
+
if ($this->saveCookie && isset($this->headers['set-cookie']))
|
933 |
+
{
|
934 |
+
$this->_parseCookie();
|
935 |
+
}
|
936 |
+
}
|
937 |
+
|
938 |
+
/**
|
939 |
+
* Clear the headers array (internal)
|
940 |
+
*
|
941 |
+
* @return void
|
942 |
+
* @access private
|
943 |
+
*/
|
944 |
+
function _clearHeaders()
|
945 |
+
{
|
946 |
+
$this->headers = array();
|
947 |
+
}
|
948 |
+
|
949 |
+
/**
|
950 |
+
* Parse Cookies (internal)
|
951 |
+
*
|
952 |
+
* Parse the set-cookie headers from response and add them for inclusion.
|
953 |
+
*
|
954 |
+
* @return void
|
955 |
+
* @access private
|
956 |
+
*/
|
957 |
+
function _parseCookie()
|
958 |
+
{
|
959 |
+
// Get the cookie header as array
|
960 |
+
if(gettype($this->headers['set-cookie']) == "array")
|
961 |
+
{
|
962 |
+
$cookieHeaders = $this->headers['set-cookie'];
|
963 |
+
}
|
964 |
+
else
|
965 |
+
{
|
966 |
+
$cookieHeaders = array($this->headers['set-cookie']);
|
967 |
+
}
|
968 |
+
|
969 |
+
// Loop through the cookies
|
970 |
+
for ($cookie = 0; $cookie < count($cookieHeaders); $cookie++)
|
971 |
+
{
|
972 |
+
$cookieName = trim($this->_tokenize($cookieHeaders[$cookie], "="));
|
973 |
+
$cookieValue = $this->_tokenize(";");
|
974 |
+
|
975 |
+
$urlParsed = parse_url($this->target);
|
976 |
+
|
977 |
+
$domain = $urlParsed['host'];
|
978 |
+
$secure = '0';
|
979 |
+
|
980 |
+
$path = "/";
|
981 |
+
$expires = "";
|
982 |
+
|
983 |
+
while(($name = trim(urldecode($this->_tokenize("=")))) != "")
|
984 |
+
{
|
985 |
+
$value = urldecode($this->_tokenize(";"));
|
986 |
+
|
987 |
+
switch($name)
|
988 |
+
{
|
989 |
+
case "path" : $path = $value; break;
|
990 |
+
case "domain" : $domain = $value; break;
|
991 |
+
case "secure" : $secure = ($value != '') ? '1' : '0'; break;
|
992 |
+
}
|
993 |
+
}
|
994 |
+
|
995 |
+
$this->_setCookie($cookieName, $cookieValue, $expires, $path , $domain, $secure);
|
996 |
+
}
|
997 |
+
}
|
998 |
+
|
999 |
+
/**
|
1000 |
+
* Set cookie (internal)
|
1001 |
+
*
|
1002 |
+
* Populate the internal _cookies array for future inclusion in
|
1003 |
+
* subsequent requests. This actually validates and then populates
|
1004 |
+
* the object properties with a dimensional entry for cookie.
|
1005 |
+
*
|
1006 |
+
* @param string Cookie name
|
1007 |
+
* @param string Cookie value
|
1008 |
+
* @param string Cookie expire date
|
1009 |
+
* @param string Cookie path
|
1010 |
+
* @param string Cookie domain
|
1011 |
+
* @param string Cookie security (0 = non-secure, 1 = secure)
|
1012 |
+
* @return void
|
1013 |
+
* @access private
|
1014 |
+
*/
|
1015 |
+
function _setCookie($name, $value, $expires = "" , $path = "/" , $domain = "" , $secure = 0)
|
1016 |
+
{
|
1017 |
+
if(strlen($name) == 0)
|
1018 |
+
{
|
1019 |
+
return($this->_setError("No valid cookie name was specified."));
|
1020 |
+
}
|
1021 |
+
|
1022 |
+
if(strlen($path) == 0 || strcmp($path[0], "/"))
|
1023 |
+
{
|
1024 |
+
return($this->_setError("$path is not a valid path for setting cookie $name."));
|
1025 |
+
}
|
1026 |
+
|
1027 |
+
if($domain == "" || !strpos($domain, ".", $domain[0] == "." ? 1 : 0))
|
1028 |
+
{
|
1029 |
+
return($this->_setError("$domain is not a valid domain for setting cookie $name."));
|
1030 |
+
}
|
1031 |
+
|
1032 |
+
$domain = strtolower($domain);
|
1033 |
+
|
1034 |
+
if(!strcmp($domain[0], "."))
|
1035 |
+
{
|
1036 |
+
$domain = substr($domain, 1);
|
1037 |
+
}
|
1038 |
+
|
1039 |
+
$name = $this->_encodeCookie($name, true);
|
1040 |
+
$value = $this->_encodeCookie($value, false);
|
1041 |
+
|
1042 |
+
$secure = intval($secure);
|
1043 |
+
|
1044 |
+
$this->_cookies[] = array( "name" => $name,
|
1045 |
+
"value" => $value,
|
1046 |
+
"domain" => $domain,
|
1047 |
+
"path" => $path,
|
1048 |
+
"expires" => $expires,
|
1049 |
+
"secure" => $secure
|
1050 |
+
);
|
1051 |
+
}
|
1052 |
+
|
1053 |
+
/**
|
1054 |
+
* Encode cookie name/value (internal)
|
1055 |
+
*
|
1056 |
+
* @param string Value of cookie to encode
|
1057 |
+
* @param string Name of cookie to encode
|
1058 |
+
* @return string encoded string
|
1059 |
+
* @access private
|
1060 |
+
*/
|
1061 |
+
function _encodeCookie($value, $name)
|
1062 |
+
{
|
1063 |
+
return($name ? str_replace("=", "%25", $value) : str_replace(";", "%3B", $value));
|
1064 |
+
}
|
1065 |
+
|
1066 |
+
/**
|
1067 |
+
* Pass Cookies (internal)
|
1068 |
+
*
|
1069 |
+
* Get the cookies which are valid for the current request. Checks
|
1070 |
+
* domain and path to decide the return.
|
1071 |
+
*
|
1072 |
+
* @return void
|
1073 |
+
* @access private
|
1074 |
+
*/
|
1075 |
+
function _passCookies()
|
1076 |
+
{
|
1077 |
+
if (is_array($this->_cookies) && count($this->_cookies) > 0)
|
1078 |
+
{
|
1079 |
+
$urlParsed = parse_url($this->target);
|
1080 |
+
$tempCookies = array();
|
1081 |
+
|
1082 |
+
foreach($this->_cookies as $cookie)
|
1083 |
+
{
|
1084 |
+
if ($this->_domainMatch($urlParsed['host'], $cookie['domain']) && (0 === strpos($urlParsed['path'], $cookie['path']))
|
1085 |
+
&& (empty($cookie['secure']) || $urlParsed['protocol'] == 'https'))
|
1086 |
+
{
|
1087 |
+
$tempCookies[$cookie['name']][strlen($cookie['path'])] = $cookie['value'];
|
1088 |
+
}
|
1089 |
+
}
|
1090 |
+
|
1091 |
+
// cookies with longer paths go first
|
1092 |
+
foreach ($tempCookies as $name => $values)
|
1093 |
+
{
|
1094 |
+
krsort($values);
|
1095 |
+
foreach ($values as $value)
|
1096 |
+
{
|
1097 |
+
$this->addCookie($name, $value);
|
1098 |
+
}
|
1099 |
+
}
|
1100 |
+
}
|
1101 |
+
}
|
1102 |
+
|
1103 |
+
/**
|
1104 |
+
* Checks if cookie domain matches a request host (internal)
|
1105 |
+
*
|
1106 |
+
* Cookie domain can begin with a dot, it also must contain at least
|
1107 |
+
* two dots.
|
1108 |
+
*
|
1109 |
+
* @param string Request host
|
1110 |
+
* @param string Cookie domain
|
1111 |
+
* @return bool Match success
|
1112 |
+
* @access private
|
1113 |
+
*/
|
1114 |
+
function _domainMatch($requestHost, $cookieDomain)
|
1115 |
+
{
|
1116 |
+
if ('.' != $cookieDomain{0})
|
1117 |
+
{
|
1118 |
+
return $requestHost == $cookieDomain;
|
1119 |
+
}
|
1120 |
+
elseif (substr_count($cookieDomain, '.') < 2)
|
1121 |
+
{
|
1122 |
+
return false;
|
1123 |
+
}
|
1124 |
+
else
|
1125 |
+
{
|
1126 |
+
return substr('.'. $requestHost, - strlen($cookieDomain)) == $cookieDomain;
|
1127 |
+
}
|
1128 |
+
}
|
1129 |
+
|
1130 |
+
/**
|
1131 |
+
* Tokenize String (internal)
|
1132 |
+
*
|
1133 |
+
* Tokenize string for various internal usage. Omit the second parameter
|
1134 |
+
* to tokenize the previous string that was provided in the prior call to
|
1135 |
+
* the function.
|
1136 |
+
*
|
1137 |
+
* @param string The string to tokenize
|
1138 |
+
* @param string The seperator to use
|
1139 |
+
* @return string Tokenized string
|
1140 |
+
* @access private
|
1141 |
+
*/
|
1142 |
+
function _tokenize($string, $separator = '')
|
1143 |
+
{
|
1144 |
+
if(!strcmp($separator, ''))
|
1145 |
+
{
|
1146 |
+
$separator = $string;
|
1147 |
+
$string = $this->nextToken;
|
1148 |
+
}
|
1149 |
+
|
1150 |
+
for($character = 0; $character < strlen($separator); $character++)
|
1151 |
+
{
|
1152 |
+
if(gettype($position = strpos($string, $separator[$character])) == "integer")
|
1153 |
+
{
|
1154 |
+
$found = (isset($found) ? min($found, $position) : $position);
|
1155 |
+
}
|
1156 |
+
}
|
1157 |
+
|
1158 |
+
if(isset($found))
|
1159 |
+
{
|
1160 |
+
$this->nextToken = substr($string, $found + 1);
|
1161 |
+
return(substr($string, 0, $found));
|
1162 |
+
}
|
1163 |
+
else
|
1164 |
+
{
|
1165 |
+
$this->nextToken = '';
|
1166 |
+
return($string);
|
1167 |
+
}
|
1168 |
+
}
|
1169 |
+
|
1170 |
+
/**
|
1171 |
+
* Set error message (internal)
|
1172 |
+
*
|
1173 |
+
* @param string Error message
|
1174 |
+
* @return string Error message
|
1175 |
+
* @access private
|
1176 |
+
*/
|
1177 |
+
function _setError($error)
|
1178 |
+
{
|
1179 |
+
if ($error != '')
|
1180 |
+
{
|
1181 |
+
$this->error = $error;
|
1182 |
+
return $error;
|
1183 |
+
}
|
1184 |
+
}
|
1185 |
+
}
|
1186 |
+
|
1187 |
+
?>
|
libs/dropbox/dropbox.php
CHANGED
@@ -40,6 +40,7 @@ class Dropbox {
|
|
40 |
protected $root = 'dropbox';
|
41 |
protected $OAuthObject;
|
42 |
protected $OAuthToken;
|
|
|
43 |
protected $ProgressFunction = false;
|
44 |
|
45 |
public function __construct($applicationKey, $applicationSecret) {
|
@@ -58,6 +59,14 @@ class Dropbox {
|
|
58 |
$this->root = 'sandbox';
|
59 |
}
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
public function setProgressFunction($function) {
|
62 |
if (function_exists($function))
|
63 |
$this->ProgressFunction = $function;
|
@@ -79,7 +88,7 @@ class Dropbox {
|
|
79 |
throw new DropboxException("Error: File \"$file\" is to big max. 300 MB.");
|
80 |
}
|
81 |
$url = self::API_CONTENT_URL.self::API_VERSION_URL.'files/'.$this->root.'/'.trim($path, '/');
|
82 |
-
return $this->request($url, array('file' => $file), 'POST', $file);
|
83 |
}
|
84 |
|
85 |
public function download($path){
|
@@ -121,6 +130,7 @@ class Dropbox {
|
|
121 |
//request tokens
|
122 |
$OAuthSign = $this->OAuthObject->sign(array(
|
123 |
'path' =>self::API_URL.self::API_VERSION_URL.'oauth/request_token',
|
|
|
124 |
'action' =>'GET',
|
125 |
'parameters'=>array('oauth_callback'=>$callback_url)));
|
126 |
$ch = curl_init();
|
@@ -155,6 +165,7 @@ class Dropbox {
|
|
155 |
$OAuthSign = $this->OAuthObject->sign(array(
|
156 |
'path' => self::API_URL.self::API_VERSION_URL.'oauth/access_token',
|
157 |
'action' =>'GET',
|
|
|
158 |
'parameters'=>array('oauth_token' => $oauth_token),
|
159 |
'signatures'=>array('oauth_token'=>$oauth_token,'oauth_secret'=>$oauth_token_secret)));
|
160 |
$ch = curl_init();
|
@@ -189,6 +200,7 @@ class Dropbox {
|
|
189 |
'path' => $url,
|
190 |
'parameters'=> $args,
|
191 |
'action'=> $method,
|
|
|
192 |
'signatures'=> $this->OAuthToken));
|
193 |
|
194 |
/* Header*/
|
@@ -198,9 +210,19 @@ class Dropbox {
|
|
198 |
$ch = curl_init();
|
199 |
if ($method == 'POST') {
|
200 |
curl_setopt($ch, CURLOPT_POST, true);
|
201 |
-
if (!empty($file)) { /* file upload */
|
202 |
-
|
203 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
} else {
|
205 |
curl_setopt($ch, CURLOPT_POSTFIELDS, $args);
|
206 |
$args = (is_array($args)) ? http_build_query($args) : $args;
|
40 |
protected $root = 'dropbox';
|
41 |
protected $OAuthObject;
|
42 |
protected $OAuthToken;
|
43 |
+
protected $OAuthSignMethod='HMAC-SHA1';
|
44 |
protected $ProgressFunction = false;
|
45 |
|
46 |
public function __construct($applicationKey, $applicationSecret) {
|
59 |
$this->root = 'sandbox';
|
60 |
}
|
61 |
|
62 |
+
public function setoAuthSignMethodSHA1() {
|
63 |
+
$this->OAuthSignMethod = 'HMAC-SHA1';
|
64 |
+
}
|
65 |
+
|
66 |
+
public function setoAuthSignMethodPlain() {
|
67 |
+
$this->OAuthSignMethod = 'PLAINTEXT';
|
68 |
+
}
|
69 |
+
|
70 |
public function setProgressFunction($function) {
|
71 |
if (function_exists($function))
|
72 |
$this->ProgressFunction = $function;
|
88 |
throw new DropboxException("Error: File \"$file\" is to big max. 300 MB.");
|
89 |
}
|
90 |
$url = self::API_CONTENT_URL.self::API_VERSION_URL.'files/'.$this->root.'/'.trim($path, '/');
|
91 |
+
return $this->request($url, array('file' => basename($file)), 'POST', $file);
|
92 |
}
|
93 |
|
94 |
public function download($path){
|
130 |
//request tokens
|
131 |
$OAuthSign = $this->OAuthObject->sign(array(
|
132 |
'path' =>self::API_URL.self::API_VERSION_URL.'oauth/request_token',
|
133 |
+
'method' => $this->OAuthSignMethod,
|
134 |
'action' =>'GET',
|
135 |
'parameters'=>array('oauth_callback'=>$callback_url)));
|
136 |
$ch = curl_init();
|
165 |
$OAuthSign = $this->OAuthObject->sign(array(
|
166 |
'path' => self::API_URL.self::API_VERSION_URL.'oauth/access_token',
|
167 |
'action' =>'GET',
|
168 |
+
'method' => $this->OAuthSignMethod,
|
169 |
'parameters'=>array('oauth_token' => $oauth_token),
|
170 |
'signatures'=>array('oauth_token'=>$oauth_token,'oauth_secret'=>$oauth_token_secret)));
|
171 |
$ch = curl_init();
|
200 |
'path' => $url,
|
201 |
'parameters'=> $args,
|
202 |
'action'=> $method,
|
203 |
+
'method' => $this->OAuthSignMethod,
|
204 |
'signatures'=> $this->OAuthToken));
|
205 |
|
206 |
/* Header*/
|
210 |
$ch = curl_init();
|
211 |
if ($method == 'POST') {
|
212 |
curl_setopt($ch, CURLOPT_POST, true);
|
213 |
+
if (!empty($file)) { /* file upload */
|
214 |
+
/* random string */
|
215 |
+
$boundary = md5_file($file);
|
216 |
+
$body="--" . $boundary . "\r\n";
|
217 |
+
$body.="Content-Disposition: form-data; name=file; filename=".basename($file)."\r\n";
|
218 |
+
$body.="Content-type: application/octet-stream\r\n";
|
219 |
+
$body.="\r\n";
|
220 |
+
$body.=file_get_contents($file);
|
221 |
+
$body.="\r\n";
|
222 |
+
$body.="--" . $boundary . "--";
|
223 |
+
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
|
224 |
+
$headers[]='Content-Length: ' .strlen($body);
|
225 |
+
$headers[]='Content-Type: multipart/form-data; boundary=' . $boundary;
|
226 |
} else {
|
227 |
curl_setopt($ch, CURLOPT_POSTFIELDS, $args);
|
228 |
$args = (is_array($args)) ? http_build_query($args) : $args;
|
libs/googlestorage.php
CHANGED
@@ -234,7 +234,7 @@ class GoogleStorage {
|
|
234 |
curl_setopt($ch, CURLOPT_INFILE,$datafilefd);
|
235 |
curl_setopt($ch, CURLOPT_INFILESIZE,filesize($body));
|
236 |
} else {
|
237 |
-
$headers[]='Content-Length: ' .
|
238 |
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
|
239 |
curl_setopt($ch, CURLOPT_PUT,true);
|
240 |
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
|
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);
|
libs/sugarsync.php
CHANGED
@@ -86,7 +86,7 @@ class SugarSync {
|
|
86 |
curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);
|
87 |
curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false);
|
88 |
curl_setopt($curl,CURLOPT_HEADER,true);
|
89 |
-
curl_setopt($curl,CURLOPT_HTTPHEADER,array('
|
90 |
curl_setopt($curl,CURLOPT_POSTFIELDS,$auth);
|
91 |
curl_setopt($curl,CURLOPT_POST,true);
|
92 |
// execute
|
@@ -150,15 +150,14 @@ class SugarSync {
|
|
150 |
curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);
|
151 |
curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false);
|
152 |
|
153 |
-
if ($method == 'POST') {
|
154 |
-
$headers[]
|
155 |
-
$data = (is_array($data)) ? http_build_query($data) : $data;
|
156 |
-
$headers[]='Content-Length: ' .strlen($data);
|
157 |
curl_setopt($curl,CURLOPT_POSTFIELDS,$data);
|
158 |
curl_setopt($curl,CURLOPT_POST,true);
|
|
|
159 |
} elseif ($method == 'PUT') {
|
160 |
if (is_file($data) and is_readable($data)) {
|
161 |
-
$headers[]='Content-Length: '
|
162 |
$datafilefd=fopen($data,'r');
|
163 |
curl_setopt($curl,CURLOPT_PUT,true);
|
164 |
curl_setopt($curl,CURLOPT_INFILE,$datafilefd);
|
86 |
curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);
|
87 |
curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false);
|
88 |
curl_setopt($curl,CURLOPT_HEADER,true);
|
89 |
+
curl_setopt($curl,CURLOPT_HTTPHEADER,array('Content-Type: application/xml; charset=UTF-8'));
|
90 |
curl_setopt($curl,CURLOPT_POSTFIELDS,$auth);
|
91 |
curl_setopt($curl,CURLOPT_POST,true);
|
92 |
// execute
|
150 |
curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false);
|
151 |
curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false);
|
152 |
|
153 |
+
if ($method == 'POST') {
|
154 |
+
$headers[]='Content-Type: application/xml; charset=UTF-8';
|
|
|
|
|
155 |
curl_setopt($curl,CURLOPT_POSTFIELDS,$data);
|
156 |
curl_setopt($curl,CURLOPT_POST,true);
|
157 |
+
$headers[]='Content-Length: '.strlen($data);
|
158 |
} elseif ($method == 'PUT') {
|
159 |
if (is_file($data) and is_readable($data)) {
|
160 |
+
$headers[]='Content-Length: '.filesize($data);
|
161 |
$datafilefd=fopen($data,'r');
|
162 |
curl_setopt($curl,CURLOPT_PUT,true);
|
163 |
curl_setopt($curl,CURLOPT_INFILE,$datafilefd);
|
pages/func_backwpup.php
CHANGED
@@ -100,18 +100,18 @@ class BackWPup_Jobs_Table extends WP_List_Table {
|
|
100 |
$r .= "<td $attributes>".$jobvalue["jobid"]."</td>";
|
101 |
break;
|
102 |
case 'jobname':
|
103 |
-
$r .= "<td $attributes><strong><a href=\"".wp_nonce_url(
|
104 |
$actions = array();
|
105 |
if ($runningfile==false) {
|
106 |
-
$actions['edit'] = "<a href=\"" . wp_nonce_url(
|
107 |
-
$actions['copy'] = "<a href=\"" . wp_nonce_url(
|
108 |
-
$actions['export'] = "<a href=\"" . wp_nonce_url(
|
109 |
-
$actions['delete'] = "<a class=\"submitdelete\" href=\"" . wp_nonce_url(
|
110 |
-
$actions['runnow'] = "<a href=\"" . wp_nonce_url(
|
111 |
} else {
|
112 |
if ($runningfile['JOBID']==$jobvalue["jobid"]) {
|
113 |
-
$actions['working'] = "<a href=\"" . wp_nonce_url(
|
114 |
-
$actions['abort'] = "<a class=\"submitdelete\" href=\"" . wp_nonce_url(
|
115 |
}
|
116 |
}
|
117 |
$r .= $this->row_actions($actions);
|
@@ -124,7 +124,7 @@ class BackWPup_Jobs_Table extends WP_List_Table {
|
|
124 |
break;
|
125 |
case 'info':
|
126 |
$r .= "<td $attributes>";
|
127 |
-
$r .= "<img class=\"waiting\" src=\"".esc_url(
|
128 |
$r .= "</td>";
|
129 |
break;
|
130 |
case 'next':
|
@@ -133,7 +133,7 @@ class BackWPup_Jobs_Table extends WP_List_Table {
|
|
133 |
$runtime=time()-$jobvalue['starttime'];
|
134 |
$r .= __('Running since:','backwpup').' '.$runtime.' '.__('sec.','backwpup');
|
135 |
} elseif ($jobvalue['activated']) {
|
136 |
-
$r .= date_i18n(get_option('date_format')
|
137 |
} else {
|
138 |
$r .= __('Inactive','backwpup');
|
139 |
}
|
@@ -145,7 +145,7 @@ class BackWPup_Jobs_Table extends WP_List_Table {
|
|
145 |
case 'last':
|
146 |
$r .= "<td $attributes>";
|
147 |
if (isset($jobvalue['lastrun']) && $jobvalue['lastrun']) {
|
148 |
-
$r .=
|
149 |
if (isset($jobvalue['lastruntime']))
|
150 |
$r .= '<br />'.__('Runtime:','backwpup').' '.$jobvalue['lastruntime'].' '.__('sec.','backwpup').'<br />';
|
151 |
} else {
|
@@ -154,7 +154,7 @@ class BackWPup_Jobs_Table extends WP_List_Table {
|
|
154 |
if (!empty($jobvalue['lastbackupdownloadurl']))
|
155 |
$r .="<a href=\"" . wp_nonce_url($jobvalue['lastbackupdownloadurl'], 'download-backup') . "\" title=\"".__('Download last Backup','backwpup')."\">" . __('Download','backwpup') . "</a> | ";
|
156 |
if (!empty($jobvalue['logfile']))
|
157 |
-
$r .="<a href=\"" . wp_nonce_url(
|
158 |
|
159 |
$r .= "</td>";
|
160 |
break;
|
@@ -232,13 +232,6 @@ function backwpup_show_info_td() {
|
|
232 |
global $wpdb;
|
233 |
$mode=$_POST['mode'];
|
234 |
$jobvalue=backwpup_get_job_vars($_POST['jobid']);
|
235 |
-
if (in_array('FILE',explode('+',$jobvalue['type']))) {
|
236 |
-
$files=backwpup_calc_file_size($jobvalue);
|
237 |
-
echo __("Files Size:","backwpup")." ".backwpup_formatBytes($files['size'])."<br />";
|
238 |
-
if ( 'excerpt' == $mode ) {
|
239 |
-
echo __("Files count:","backwpup")." ".$files['num']."<br />";
|
240 |
-
}
|
241 |
-
}
|
242 |
if (in_array('DB',explode('+',$jobvalue['type'])) or in_array('OPTIMIZE',explode('+',$jobvalue['type'])) or in_array('CHECK',explode('+',$jobvalue['type']))) {
|
243 |
$dbsize=array('size'=>0,'num'=>0,'rows'=>0);
|
244 |
$status=$wpdb->get_results("SHOW TABLE STATUS FROM `".DB_NAME."`;", ARRAY_A);
|
@@ -254,6 +247,13 @@ function backwpup_show_info_td() {
|
|
254 |
echo __("DB Tables:","backwpup")." ".$dbsize['num']."<br />";
|
255 |
echo __("DB Rows:","backwpup")." ".$dbsize['rows']."<br />";
|
256 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
}
|
258 |
die();
|
259 |
}
|
100 |
$r .= "<td $attributes>".$jobvalue["jobid"]."</td>";
|
101 |
break;
|
102 |
case 'jobname':
|
103 |
+
$r .= "<td $attributes><strong><a href=\"".wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupeditjob&jobid='.$jobvalue["jobid"], 'edit-job')."\" title=\"".__('Edit:','backwpup').esc_html($jobvalue['name'])."\">".esc_html($jobvalue['name'])."</a></strong>";
|
104 |
$actions = array();
|
105 |
if ($runningfile==false) {
|
106 |
+
$actions['edit'] = "<a href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupeditjob&jobid='.$jobvalue["jobid"], 'edit-job') . "\">" . __('Edit') . "</a>";
|
107 |
+
$actions['copy'] = "<a href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpup&action=copy&jobid='.$jobvalue["jobid"], 'copy-job_'.$jobvalue["jobid"]) . "\">" . __('Copy','backwpup') . "</a>";
|
108 |
+
$actions['export'] = "<a href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpup&action=export&jobs[]='.$jobvalue["jobid"], 'bulk-jobs') . "\">" . __('Export','backwpup') . "</a>";
|
109 |
+
$actions['delete'] = "<a class=\"submitdelete\" href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpup&action=delete&jobs[]='.$jobvalue["jobid"], 'bulk-jobs') . "\" onclick=\"return showNotice.warn();\">" . __('Delete') . "</a>";
|
110 |
+
$actions['runnow'] = "<a href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupworking&action=runnow&jobid='.$jobvalue["jobid"], 'runnow-job_'.$jobvalue["jobid"]) . "\">" . __('Run Now','backwpup') . "</a>";
|
111 |
} else {
|
112 |
if ($runningfile['JOBID']==$jobvalue["jobid"]) {
|
113 |
+
$actions['working'] = "<a href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupworking', '') . "\">" . __('View!','backwpup') . "</a>";
|
114 |
+
$actions['abort'] = "<a class=\"submitdelete\" href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpup&action=abort', 'abort-job') . "\">" . __('Abort!','backwpup') . "</a>";
|
115 |
}
|
116 |
}
|
117 |
$r .= $this->row_actions($actions);
|
124 |
break;
|
125 |
case 'info':
|
126 |
$r .= "<td $attributes>";
|
127 |
+
$r .= "<img class=\"waiting\" src=\"".esc_url( backwpup_admin_url( 'images/wpspin_light.gif' ) )."\" id=\"image-wait-".$jobvalue["jobid"]."\" />";
|
128 |
$r .= "</td>";
|
129 |
break;
|
130 |
case 'next':
|
133 |
$runtime=time()-$jobvalue['starttime'];
|
134 |
$r .= __('Running since:','backwpup').' '.$runtime.' '.__('sec.','backwpup');
|
135 |
} elseif ($jobvalue['activated']) {
|
136 |
+
$r .= date_i18n(get_option('date_format').' @ '.get_option('time_format'),$jobvalue['cronnextrun']);
|
137 |
} else {
|
138 |
$r .= __('Inactive','backwpup');
|
139 |
}
|
145 |
case 'last':
|
146 |
$r .= "<td $attributes>";
|
147 |
if (isset($jobvalue['lastrun']) && $jobvalue['lastrun']) {
|
148 |
+
$r .= backwpup_date_i18n(get_option('date_format').' @ '.get_option('time_format'),$jobvalue['lastrun']);
|
149 |
if (isset($jobvalue['lastruntime']))
|
150 |
$r .= '<br />'.__('Runtime:','backwpup').' '.$jobvalue['lastruntime'].' '.__('sec.','backwpup').'<br />';
|
151 |
} else {
|
154 |
if (!empty($jobvalue['lastbackupdownloadurl']))
|
155 |
$r .="<a href=\"" . wp_nonce_url($jobvalue['lastbackupdownloadurl'], 'download-backup') . "\" title=\"".__('Download last Backup','backwpup')."\">" . __('Download','backwpup') . "</a> | ";
|
156 |
if (!empty($jobvalue['logfile']))
|
157 |
+
$r .="<a href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupworking&logfile='.$jobvalue['logfile'], 'view-log_'.basename($jobvalue['logfile'])) . "\" title=\"".__('View last Log','backwpup')."\">" . __('Log','backwpup') . "</a><br />";
|
158 |
|
159 |
$r .= "</td>";
|
160 |
break;
|
232 |
global $wpdb;
|
233 |
$mode=$_POST['mode'];
|
234 |
$jobvalue=backwpup_get_job_vars($_POST['jobid']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
if (in_array('DB',explode('+',$jobvalue['type'])) or in_array('OPTIMIZE',explode('+',$jobvalue['type'])) or in_array('CHECK',explode('+',$jobvalue['type']))) {
|
236 |
$dbsize=array('size'=>0,'num'=>0,'rows'=>0);
|
237 |
$status=$wpdb->get_results("SHOW TABLE STATUS FROM `".DB_NAME."`;", ARRAY_A);
|
247 |
echo __("DB Tables:","backwpup")." ".$dbsize['num']."<br />";
|
248 |
echo __("DB Rows:","backwpup")." ".$dbsize['rows']."<br />";
|
249 |
}
|
250 |
+
}
|
251 |
+
if (in_array('FILE',explode('+',$jobvalue['type']))) {
|
252 |
+
$files=backwpup_calc_file_size($jobvalue);
|
253 |
+
echo __("Files Size:","backwpup")." ".backwpup_formatBytes($files['size'])."<br />";
|
254 |
+
if ( 'excerpt' == $mode ) {
|
255 |
+
echo __("Files count:","backwpup")." ".$files['num']."<br />";
|
256 |
+
}
|
257 |
}
|
258 |
die();
|
259 |
}
|
pages/func_backwpupbackups.php
CHANGED
@@ -230,7 +230,7 @@ class BackWPup_Backups_Table extends WP_List_Table {
|
|
230 |
case 'file':
|
231 |
$r .= "<td $attributes><strong>".$backup['filename']."</strong>";
|
232 |
$actions = array();
|
233 |
-
$actions['delete'] = "<a class=\"submitdelete\" href=\"" . wp_nonce_url(
|
234 |
$actions['download'] = "<a href=\"" . wp_nonce_url($backup['downloadurl'], 'download-backup') . "\">" . __('Download','backwpup') . "</a>";
|
235 |
$r .= $this->row_actions($actions);
|
236 |
$r .= "</td>";
|
@@ -251,7 +251,7 @@ class BackWPup_Backups_Table extends WP_List_Table {
|
|
251 |
break;
|
252 |
case 'time':
|
253 |
$r .= "<td $attributes>";
|
254 |
-
$r .=
|
255 |
$r .= "</td>";
|
256 |
break;
|
257 |
}
|
@@ -283,7 +283,7 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
283 |
$files[$filecounter]['folder']=$jobvalue['backupdir'];
|
284 |
$files[$filecounter]['file']=$jobvalue['backupdir'].$file;
|
285 |
$files[$filecounter]['filename']=$file;
|
286 |
-
$files[$filecounter]['downloadurl']=
|
287 |
$files[$filecounter]['filesize']=filesize($jobvalue['backupdir'].$file);
|
288 |
$files[$filecounter]['time']=filemtime($jobvalue['backupdir'].$file);
|
289 |
$filecounter++;
|
@@ -313,7 +313,7 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
313 |
$files[$filecounter]['folder']="DROPBOX:/".dirname($object['path']).'/';
|
314 |
$files[$filecounter]['file']=$object['path'];
|
315 |
$files[$filecounter]['filename']=basename($object['path']);
|
316 |
-
$files[$filecounter]['downloadurl']=
|
317 |
$files[$filecounter]['filesize']=$object['bytes'];
|
318 |
$files[$filecounter]['time']=strtotime($object['modified']);
|
319 |
$filecounter++;
|
@@ -342,7 +342,7 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
342 |
$files[$filecounter]['folder']="SUGARSYNC://".$dir;
|
343 |
$files[$filecounter]['file']=(string)$getfile->ref;
|
344 |
$files[$filecounter]['filename']=utf8_decode((string) $getfile->displayName);
|
345 |
-
$files[$filecounter]['downloadurl']=
|
346 |
$files[$filecounter]['filesize']=(int) $getfile->size;
|
347 |
$files[$filecounter]['time']=strtotime((string) $getfile->lastModified);
|
348 |
$filecounter++;
|
@@ -367,7 +367,7 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
367 |
$files[$filecounter]['folder']="S3://".$jobvalue['awsBucket']."/".dirname((string)$object->Key).'/';
|
368 |
$files[$filecounter]['file']=(string)$object->Key;
|
369 |
$files[$filecounter]['filename']=basename($object->Key);
|
370 |
-
$files[$filecounter]['downloadurl']=
|
371 |
$files[$filecounter]['filesize']=(string)$object->Size;
|
372 |
$files[$filecounter]['time']=strtotime($object->LastModified);
|
373 |
$filecounter++;
|
@@ -393,7 +393,7 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
393 |
$files[$filecounter]['folder']="GSTORAGE://".$jobvalue['GStorageBucket']."/".dirname((string)$object->Key).'/';
|
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++;
|
@@ -419,7 +419,7 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
419 |
$files[$filecounter]['folder']="MSAZURE://".$jobvalue['msazureContainer']."/".dirname($blob->Name)."/";
|
420 |
$files[$filecounter]['file']=$blob->Name;
|
421 |
$files[$filecounter]['filename']=basename($blob->Name);
|
422 |
-
$files[$filecounter]['downloadurl']=
|
423 |
$files[$filecounter]['filesize']=$blob->size;
|
424 |
$files[$filecounter]['time']=strtotime($blob->lastmodified);
|
425 |
$filecounter++;
|
@@ -449,7 +449,7 @@ function backwpup_get_backup_files($jobid,$dest) {
|
|
449 |
$files[$filecounter]['folder']="RSC://".$jobvalue['rscContainer']."/".dirname($object->name)."/";
|
450 |
$files[$filecounter]['file']=$object->name;
|
451 |
$files[$filecounter]['filename']=basename($object->name);
|
452 |
-
$files[$filecounter]['downloadurl']=
|
453 |
$files[$filecounter]['filesize']=$object->content_length;
|
454 |
$files[$filecounter]['time']=strtotime($object->last_modified);
|
455 |
$filecounter++;
|
230 |
case 'file':
|
231 |
$r .= "<td $attributes><strong>".$backup['filename']."</strong>";
|
232 |
$actions = array();
|
233 |
+
$actions['delete'] = "<a class=\"submitdelete\" href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupbackups&action=delete&jobdest='.$this->jobid.','.$this->dest.'&paged='.$this->get_pagenum().'&backupfiles[]='.esc_attr($backup['file']), 'bulk-backups') . "\" onclick=\"if ( confirm('" . esc_js(__("You are about to delete this Backup Archive. \n 'Cancel' to stop, 'OK' to delete.","backwpup")) . "') ) { return true;}return false;\">" . __('Delete') . "</a>";
|
234 |
$actions['download'] = "<a href=\"" . wp_nonce_url($backup['downloadurl'], 'download-backup') . "\">" . __('Download','backwpup') . "</a>";
|
235 |
$r .= $this->row_actions($actions);
|
236 |
$r .= "</td>";
|
251 |
break;
|
252 |
case 'time':
|
253 |
$r .= "<td $attributes>";
|
254 |
+
$r .= backwpup_date_i18n(get_option('date_format'),$backup['time']).'<br />'. backwpup_date_i18n(get_option('time_format'),$backup['time']);
|
255 |
$r .= "</td>";
|
256 |
break;
|
257 |
}
|
283 |
$files[$filecounter]['folder']=$jobvalue['backupdir'];
|
284 |
$files[$filecounter]['file']=$jobvalue['backupdir'].$file;
|
285 |
$files[$filecounter]['filename']=$file;
|
286 |
+
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=download&file='.$jobvalue['backupdir'].$file;
|
287 |
$files[$filecounter]['filesize']=filesize($jobvalue['backupdir'].$file);
|
288 |
$files[$filecounter]['time']=filemtime($jobvalue['backupdir'].$file);
|
289 |
$filecounter++;
|
313 |
$files[$filecounter]['folder']="DROPBOX:/".dirname($object['path']).'/';
|
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;
|
317 |
$files[$filecounter]['filesize']=$object['bytes'];
|
318 |
$files[$filecounter]['time']=strtotime($object['modified']);
|
319 |
$filecounter++;
|
342 |
$files[$filecounter]['folder']="SUGARSYNC://".$dir;
|
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;
|
346 |
$files[$filecounter]['filesize']=(int) $getfile->size;
|
347 |
$files[$filecounter]['time']=strtotime((string) $getfile->lastModified);
|
348 |
$filecounter++;
|
367 |
$files[$filecounter]['folder']="S3://".$jobvalue['awsBucket']."/".dirname((string)$object->Key).'/';
|
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;
|
371 |
$files[$filecounter]['filesize']=(string)$object->Size;
|
372 |
$files[$filecounter]['time']=strtotime($object->LastModified);
|
373 |
$filecounter++;
|
393 |
$files[$filecounter]['folder']="GSTORAGE://".$jobvalue['GStorageBucket']."/".dirname((string)$object->Key).'/';
|
394 |
$files[$filecounter]['file']=(string)$object->Key;
|
395 |
$files[$filecounter]['filename']=basename($object->Key);
|
396 |
+
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=downloadgstorage&file='.$object->Key.'&jobid='.$jobid;
|
397 |
$files[$filecounter]['filesize']=(string)$object->Size;
|
398 |
$files[$filecounter]['time']=strtotime($object->LastModified);
|
399 |
$filecounter++;
|
419 |
$files[$filecounter]['folder']="MSAZURE://".$jobvalue['msazureContainer']."/".dirname($blob->Name)."/";
|
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;
|
423 |
$files[$filecounter]['filesize']=$blob->size;
|
424 |
$files[$filecounter]['time']=strtotime($blob->lastmodified);
|
425 |
$filecounter++;
|
449 |
$files[$filecounter]['folder']="RSC://".$jobvalue['rscContainer']."/".dirname($object->name)."/";
|
450 |
$files[$filecounter]['file']=$object->name;
|
451 |
$files[$filecounter]['filename']=basename($object->name);
|
452 |
+
$files[$filecounter]['downloadurl']=backwpup_admin_url('admin.php').'?page=backwpupbackups&action=downloadrsc&file='.$object->name.'&jobid='.$jobid;
|
453 |
$files[$filecounter]['filesize']=$object->content_length;
|
454 |
$files[$filecounter]['time']=strtotime($object->last_modified);
|
455 |
$filecounter++;
|
pages/func_backwpupeditjob.php
CHANGED
@@ -18,7 +18,9 @@ function backwpup_jobedit_metabox_save($jobvalue) {
|
|
18 |
<?php
|
19 |
foreach (backwpup_backup_types() as $type) {
|
20 |
echo "<input class=\"jobtype-select checkbox\" id=\"jobtype-select-".$type."\" type=\"checkbox\"".checked(true,in_array($type,explode('+',$jobvalue['type'])),false)." name=\"type[]\" value=\"".$type."\"/> ".backwpup_backup_types($type);
|
21 |
-
}
|
|
|
|
|
22 |
?>
|
23 |
</div>
|
24 |
<div class="clear"></div>
|
@@ -26,7 +28,7 @@ function backwpup_jobedit_metabox_save($jobvalue) {
|
|
26 |
</div>
|
27 |
<div id="major-publishing-actions">
|
28 |
<div id="delete-action">
|
29 |
-
<a class="submitdelete deletion" href="<?PHP echo wp_nonce_url(
|
30 |
</div>
|
31 |
<div id="publishing-action">
|
32 |
<input type="submit" name="submit" class="button-primary" id="publish" tabindex="1" accesskey="p" value="<?php _e('Save Changes', 'backwpup'); ?>" />
|
@@ -57,7 +59,7 @@ function backwpup_jobedit_metabox_backupfile($jobvalue) {
|
|
57 |
else
|
58 |
echo '<input class="radio" type="radio"'.checked('.tar.bz2',$jobvalue['fileformart'],false).' name="fileformart" value=".tar.bz2" disabled="disabled" />'.__('Tar BZip2','backwpup').'<br />';
|
59 |
_e('Preview:','backwpup');
|
60 |
-
echo '<br /><i><span id="backupfileprefix">'.$jobvalue['fileprefix'].'</span>'.
|
61 |
}
|
62 |
|
63 |
function backwpup_jobedit_metabox_sendlog($jobvalue) {
|
@@ -356,6 +358,11 @@ function backwpup_jobedit_metabox_destdropbox($jobvalue) {
|
|
356 |
<?PHP } else { ?>
|
357 |
<span style="color:green;"><?php _e('Authenticated!', 'backwpup'); ?></span> <input type="submit" name="dropboxauthdel" class="button-primary" accesskey="d" value="<?php _e('Delete!', 'backwpup'); ?>" /><br />
|
358 |
<?PHP } ?><br />
|
|
|
|
|
|
|
|
|
|
|
359 |
<b><?PHP _e('Root:','backwpup'); ?></b><br />
|
360 |
<select name="droperoot" id="droperoot">
|
361 |
<option <?PHP selected($jobvalue['droperoot'],'dropbox',true); ?> value="dropbox"><?php _e('dropbox', 'backwpup'); ?></option>
|
18 |
<?php
|
19 |
foreach (backwpup_backup_types() as $type) {
|
20 |
echo "<input class=\"jobtype-select checkbox\" id=\"jobtype-select-".$type."\" type=\"checkbox\"".checked(true,in_array($type,explode('+',$jobvalue['type'])),false)." name=\"type[]\" value=\"".$type."\"/> ".backwpup_backup_types($type);
|
21 |
+
}
|
22 |
+
if (!function_exists('curl_init'))
|
23 |
+
echo '<br /><strong style="color:red;">'.__( 'PHP curl functions not available! Most backup destinations deaktivated!', 'backwpup' ).'</strong>';
|
24 |
?>
|
25 |
</div>
|
26 |
<div class="clear"></div>
|
28 |
</div>
|
29 |
<div id="major-publishing-actions">
|
30 |
<div id="delete-action">
|
31 |
+
<a class="submitdelete deletion" href="<?PHP echo wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpup&action=delete&jobs[]='.$jobvalue['jobid'], 'bulk-jobs'); ?>" onclick="if ( confirm('<?PHP echo esc_js(__("You are about to delete this Job. \n 'Cancel' to stop, 'OK' to delete.","backwpup")); ?>') ) { return true;}return false;"><?php _e('Delete', 'backwpup'); ?></a>
|
32 |
</div>
|
33 |
<div id="publishing-action">
|
34 |
<input type="submit" name="submit" class="button-primary" id="publish" tabindex="1" accesskey="p" value="<?php _e('Save Changes', 'backwpup'); ?>" />
|
59 |
else
|
60 |
echo '<input class="radio" type="radio"'.checked('.tar.bz2',$jobvalue['fileformart'],false).' name="fileformart" value=".tar.bz2" disabled="disabled" />'.__('Tar BZip2','backwpup').'<br />';
|
61 |
_e('Preview:','backwpup');
|
62 |
+
echo '<br /><i><span id="backupfileprefix">'.$jobvalue['fileprefix'].'</span>'.backwpup_date_i18n('Y-m-d_H-i-s').'<span id="backupfileformart">'.$jobvalue['fileformart'].'</span></i>';
|
63 |
}
|
64 |
|
65 |
function backwpup_jobedit_metabox_sendlog($jobvalue) {
|
358 |
<?PHP } else { ?>
|
359 |
<span style="color:green;"><?php _e('Authenticated!', 'backwpup'); ?></span> <input type="submit" name="dropboxauthdel" class="button-primary" accesskey="d" value="<?php _e('Delete!', 'backwpup'); ?>" /><br />
|
360 |
<?PHP } ?><br />
|
361 |
+
<b><?PHP _e('oAuth sign method:','backwpup'); ?></b><br />
|
362 |
+
<select name="dropesignmethod" id="dropesignmethod">
|
363 |
+
<option <?PHP selected($jobvalue['dropesignmethod'],'SHA1',true); ?> value="SHA1"><?php _e('HMAC-SHA1', 'backwpup'); ?></option>
|
364 |
+
<option <?PHP selected($jobvalue['dropesignmethod'],'PLAIN',true); ?> value="PLAIN"><?php _e('PLAINTEXT', 'backwpup'); ?></option>
|
365 |
+
</select><br />
|
366 |
<b><?PHP _e('Root:','backwpup'); ?></b><br />
|
367 |
<select name="droperoot" id="droperoot">
|
368 |
<option <?PHP selected($jobvalue['droperoot'],'dropbox',true); ?> value="dropbox"><?php _e('dropbox', 'backwpup'); ?></option>
|
pages/func_backwpuplogs.php
CHANGED
@@ -127,11 +127,11 @@ class BackWPup_Logs_Table extends WP_List_Table {
|
|
127 |
$r .= "</td>";
|
128 |
break;
|
129 |
case 'log':
|
130 |
-
$r .= "<td $attributes><strong><a href=\"".wp_nonce_url(
|
131 |
$actions = array();
|
132 |
-
$actions['view'] = "<a href=\"" . wp_nonce_url(
|
133 |
-
$actions['delete'] = "<a class=\"submitdelete\" href=\"" . wp_nonce_url(
|
134 |
-
$actions['download'] = "<a href=\"" . wp_nonce_url(
|
135 |
$r .= $this->row_actions($actions);
|
136 |
$r .= "</td>";
|
137 |
break;
|
127 |
$r .= "</td>";
|
128 |
break;
|
129 |
case 'log':
|
130 |
+
$r .= "<td $attributes><strong><a href=\"".wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupworking&logfile='.$logfile, 'view-log_'.basename($logfile))."\" title=\"".__('View log','backwpup')."\">".backwpup_date_i18n(get_option('date_format')." @ ".get_option('time_format'),$logdata['logtime']).": <i>".$logdata['name']."</i></a></strong>";
|
131 |
$actions = array();
|
132 |
+
$actions['view'] = "<a href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupworking&logfile='.$logfile, 'view-log_'.basename($logfile)) . "\">" . __('View','backwpup') . "</a>";
|
133 |
+
$actions['delete'] = "<a class=\"submitdelete\" href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpuplogs&action=delete&paged='.$this->get_pagenum().'&logfiles[]='.basename($logfile), 'bulk-logs') . "\" onclick=\"return showNotice.warn();\">" . __('Delete') . "</a>";
|
134 |
+
$actions['download'] = "<a href=\"" . wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpuplogs&action=download&file='.$logfile, 'download-backup_'.basename($logfile)) . "\">" . __('Download','backwpup') . "</a>";
|
135 |
$r .= $this->row_actions($actions);
|
136 |
$r .= "</td>";
|
137 |
break;
|
pages/func_backwpupworking.php
CHANGED
@@ -4,17 +4,6 @@ if (!defined('ABSPATH')) {
|
|
4 |
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
}
|
7 |
-
|
8 |
-
//Prevent cache addons
|
9 |
-
define('DONOTCACHEPAGE', true);
|
10 |
-
define('DONOTCACHEDB', true);
|
11 |
-
define('DONOTMINIFY', true);
|
12 |
-
define('DONOTCDN', true);
|
13 |
-
define('DONOTCACHCEOBJECT', true);
|
14 |
-
define('QUICK_CACHE_ALLOWED', false);
|
15 |
-
$_SERVER["QUICK_CACHE_ALLOWED"] = false;
|
16 |
-
if (function_exists('w3tc_pgcache_flush'))
|
17 |
-
w3tc_pgcache_flush();
|
18 |
|
19 |
// Remove header and footer form logfile
|
20 |
function backwpup_read_logfile($logfile) {
|
4 |
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
// Remove header and footer form logfile
|
9 |
function backwpup_read_logfile($logfile) {
|
pages/header_backwpup.php
CHANGED
@@ -62,16 +62,17 @@ if (!empty($doaction)) {
|
|
62 |
case 'abort': //Abort Job
|
63 |
check_admin_referer('abort-job');
|
64 |
$runningfile=backwpup_get_working_file();
|
65 |
-
unlink(backwpup_get_temp().'
|
66 |
-
|
|
|
67 |
//write new log header
|
68 |
-
$runningfile['ERROR']++;
|
69 |
$fd=fopen($runningfile['LOGFILE'],'r+');
|
70 |
while (!feof($fd)) {
|
71 |
$line=fgets($fd);
|
72 |
if (stripos($line,"<meta name=\"backwpup_errors\"") !== false) {
|
73 |
fseek($fd,$filepos);
|
74 |
-
fwrite($fd,str_pad("<meta name=\"backwpup_errors\" content=\"".$runningfile['ERROR']."\" />",100)."\n");
|
75 |
break;
|
76 |
}
|
77 |
$filepos=ftell($fd);
|
62 |
case 'abort': //Abort Job
|
63 |
check_admin_referer('abort-job');
|
64 |
$runningfile=backwpup_get_working_file();
|
65 |
+
unlink(backwpup_get_temp().'.running'); //delete runnig file
|
66 |
+
unlink(backwpup_get_temp().'.static'); //delete static file
|
67 |
+
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);
|
68 |
//write new log header
|
69 |
+
$runningfile['WORKING']['ERROR']++;
|
70 |
$fd=fopen($runningfile['LOGFILE'],'r+');
|
71 |
while (!feof($fd)) {
|
72 |
$line=fgets($fd);
|
73 |
if (stripos($line,"<meta name=\"backwpup_errors\"") !== false) {
|
74 |
fseek($fd,$filepos);
|
75 |
+
fwrite($fd,str_pad("<meta name=\"backwpup_errors\" content=\"".$runningfile['WORKING']['ERROR']."\" />",100)."\n");
|
76 |
break;
|
77 |
}
|
78 |
$filepos=ftell($fd);
|
pages/header_backwpupeditjob.php
CHANGED
@@ -121,6 +121,7 @@ if ((isset($_POST['submit']) or isset($_POST['dropboxauth']) or isset($_POST['dr
|
|
121 |
$jobvalues['ftppasv']= (isset($_POST['ftppasv']) && $_POST['ftppasv']==1) ? true : false;
|
122 |
$jobvalues['dropemaxbackups']=isset($_POST['dropemaxbackups']) ? (int)$_POST['dropemaxbackups'] : 0;
|
123 |
$jobvalues['droperoot']=isset($_POST['droperoot']) ? $_POST['droperoot'] : 'dropbox';
|
|
|
124 |
$jobvalues['dropedir']=isset($_POST['dropedir']) ? $_POST['dropedir'] : '';
|
125 |
$jobvalues['awsAccessKey']=isset($_POST['awsAccessKey']) ? $_POST['awsAccessKey'] : '';
|
126 |
$jobvalues['awsSecretKey']=isset($_POST['awsSecretKey']) ? $_POST['awsSecretKey'] : '';
|
@@ -221,15 +222,18 @@ if ((isset($_POST['submit']) or isset($_POST['dropboxauth']) or isset($_POST['dr
|
|
221 |
require_once (dirname(__FILE__).'/../libs/dropbox/dropbox.php');
|
222 |
$dropbox = new Dropbox(BACKWPUP_DROPBOX_APP_KEY, BACKWPUP_DROPBOX_APP_SECRET);
|
223 |
// let the user authorize (user will be redirected)
|
224 |
-
$response = $dropbox->oAuthAuthorize(
|
225 |
// save oauth_token_secret
|
226 |
set_transient('backwpup_dropboxrequest',array('oAuthRequestToken'=>$response['oauth_token'],'oAuthRequestTokenSecret' => $response['oauth_token_secret']),600);
|
227 |
//forward to auth page
|
228 |
wp_redirect($response['authurl']);
|
229 |
}
|
230 |
|
|
|
|
|
|
|
231 |
$_POST['jobid']=$jobvalues['jobid'];
|
232 |
-
$backwpup_message.=str_replace('%1',$jobvalues['name'],__('Job \'%1\' changes saved.', 'backwpup')).' <a href="'.
|
233 |
}
|
234 |
|
235 |
|
121 |
$jobvalues['ftppasv']= (isset($_POST['ftppasv']) && $_POST['ftppasv']==1) ? true : false;
|
122 |
$jobvalues['dropemaxbackups']=isset($_POST['dropemaxbackups']) ? (int)$_POST['dropemaxbackups'] : 0;
|
123 |
$jobvalues['droperoot']=isset($_POST['droperoot']) ? $_POST['droperoot'] : 'dropbox';
|
124 |
+
$jobvalues['dropesignmethod']=isset($_POST['dropesignmethod']) ? $_POST['dropesignmethod'] : 'SHA1';
|
125 |
$jobvalues['dropedir']=isset($_POST['dropedir']) ? $_POST['dropedir'] : '';
|
126 |
$jobvalues['awsAccessKey']=isset($_POST['awsAccessKey']) ? $_POST['awsAccessKey'] : '';
|
127 |
$jobvalues['awsSecretKey']=isset($_POST['awsSecretKey']) ? $_POST['awsSecretKey'] : '';
|
222 |
require_once (dirname(__FILE__).'/../libs/dropbox/dropbox.php');
|
223 |
$dropbox = new Dropbox(BACKWPUP_DROPBOX_APP_KEY, BACKWPUP_DROPBOX_APP_SECRET);
|
224 |
// let the user authorize (user will be redirected)
|
225 |
+
$response = $dropbox->oAuthAuthorize(backwpup_admin_url('admin.php').'?page=backwpupeditjob&jobid='.$jobvalues['jobid'].'&dropboxauth=AccessToken&_wpnonce='.wp_create_nonce('edit-job'));
|
226 |
// save oauth_token_secret
|
227 |
set_transient('backwpup_dropboxrequest',array('oAuthRequestToken'=>$response['oauth_token'],'oAuthRequestTokenSecret' => $response['oauth_token_secret']),600);
|
228 |
//forward to auth page
|
229 |
wp_redirect($response['authurl']);
|
230 |
}
|
231 |
|
232 |
+
//make api call to backwpup.com
|
233 |
+
backwpup_api(true);
|
234 |
+
|
235 |
$_POST['jobid']=$jobvalues['jobid'];
|
236 |
+
$backwpup_message.=str_replace('%1',$jobvalues['name'],__('Job \'%1\' changes saved.', 'backwpup')).' <a href="'.backwpup_admin_url('admin.php').'?page=backwpup">'.__('Jobs overview.', 'backwpup').'</a>';
|
237 |
}
|
238 |
|
239 |
|
pages/header_backwpupsettings.php
CHANGED
@@ -37,12 +37,16 @@ if (isset($_POST['submit']) and isset($_POST['action']) and $_POST['action']=='u
|
|
37 |
$cfg['jobscriptruntimelong']=300;
|
38 |
$cfg['maxlogs']=abs((int)$_POST['maxlogs']);
|
39 |
$cfg['gzlogs']=isset($_POST['gzlogs']) ? true : false;
|
|
|
|
|
40 |
$cfg['dirlogs']=trailingslashit(str_replace('//','/',str_replace('\\','/',stripslashes(trim($_POST['dirlogs'])))));
|
41 |
//set def. folders
|
42 |
if (!isset($cfg['dirlogs']) or $cfg['dirlogs']=='/' or empty($cfg['dirlogs'])) {
|
43 |
$rand = substr( md5( md5( SECURE_AUTH_KEY ) ), -5 );
|
44 |
$cfg['dirlogs']=str_replace('\\','/',trailingslashit(WP_CONTENT_DIR)).'backwpup-'.$rand.'-logs/';
|
45 |
}
|
|
|
|
|
46 |
if (!isset($cfg['mailsendmail']) or empty($cfg['mailsendmail'])) {
|
47 |
$cfg['mailsendmail']=substr(ini_get('sendmail_path'),0,strpos(ini_get('sendmail_path'),' -'));
|
48 |
}
|
37 |
$cfg['jobscriptruntimelong']=300;
|
38 |
$cfg['maxlogs']=abs((int)$_POST['maxlogs']);
|
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'])) {
|
45 |
$rand = substr( md5( md5( SECURE_AUTH_KEY ) ), -5 );
|
46 |
$cfg['dirlogs']=str_replace('\\','/',trailingslashit(WP_CONTENT_DIR)).'backwpup-'.$rand.'-logs/';
|
47 |
}
|
48 |
+
if (substr($cfg['dirlogs'],0,1)!='/' and substr($cfg['dirlogs'],1,1)!=':') //add abspath if not absolute
|
49 |
+
$cfg['dirlogs']=rtrim(str_replace('\\','/',ABSPATH),'/').'/'.$cfg['dirlogs'];
|
50 |
if (!isset($cfg['mailsendmail']) or empty($cfg['mailsendmail'])) {
|
51 |
$cfg['mailsendmail']=substr(ini_get('sendmail_path'),0,strpos(ini_get('sendmail_path'),' -'));
|
52 |
}
|
pages/header_backwpupworking.php
CHANGED
@@ -16,7 +16,7 @@ if (isset($_GET['action']) and $_GET['action']=='runnow' and !empty($_GET['jobid
|
|
16 |
} else {
|
17 |
//include jobstart function
|
18 |
require_once(dirname(__FILE__).'/../job/job_start.php');
|
19 |
-
$_GET['logfile']=backwpup_jobstart($jobid);
|
20 |
}
|
21 |
}
|
22 |
elseif (!empty($_GET['logfile'])) {
|
16 |
} else {
|
17 |
//include jobstart function
|
18 |
require_once(dirname(__FILE__).'/../job/job_start.php');
|
19 |
+
$_GET['logfile']=backwpup_jobstart($jobid,false);
|
20 |
}
|
21 |
}
|
22 |
elseif (!empty($_GET['logfile'])) {
|
pages/page_backwpup.php
CHANGED
@@ -7,7 +7,7 @@ if (!defined('ABSPATH')) {
|
|
7 |
|
8 |
echo "<div class=\"wrap\">";
|
9 |
screen_icon();
|
10 |
-
echo "<h2>".esc_html( __('BackWPup Jobs', 'backwpup'))." <a href=\"".wp_nonce_url(
|
11 |
if (isset($backwpup_message) and !empty($backwpup_message))
|
12 |
echo "<div id=\"message\" class=\"updated\"><p>".$backwpup_message."</p></div>";
|
13 |
echo "<form id=\"posts-filter\" action=\"\" method=\"get\">";
|
@@ -17,4 +17,4 @@ $backwpup_listtable->display();
|
|
17 |
echo "<div id=\"ajax-response\"></div>";
|
18 |
echo "</form>";
|
19 |
echo "</div>";
|
20 |
-
?>
|
7 |
|
8 |
echo "<div class=\"wrap\">";
|
9 |
screen_icon();
|
10 |
+
echo "<h2>".esc_html( __('BackWPup Jobs', '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>";
|
11 |
if (isset($backwpup_message) and !empty($backwpup_message))
|
12 |
echo "<div id=\"message\" class=\"updated\"><p>".$backwpup_message."</p></div>";
|
13 |
echo "<form id=\"posts-filter\" action=\"\" method=\"get\">";
|
17 |
echo "<div id=\"ajax-response\"></div>";
|
18 |
echo "</form>";
|
19 |
echo "</div>";
|
20 |
+
?>
|
pages/page_backwpupeditjob.php
CHANGED
@@ -32,7 +32,7 @@ $dests=explode(',',strtoupper(BACKWPUP_DESTS));
|
|
32 |
<div id="message" class="updated"><p><?php echo $backwpup_message; ?></p></div>
|
33 |
<?php endif; ?>
|
34 |
|
35 |
-
<form name="editjob" id="editjob" method="post" action="<?PHP echo
|
36 |
<input type="hidden" name="jobid" value="<?PHP echo $jobvalue['jobid'];?>" />
|
37 |
<?php wp_nonce_field('edit-job'); ?>
|
38 |
<?php wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
32 |
<div id="message" class="updated"><p><?php echo $backwpup_message; ?></p></div>
|
33 |
<?php endif; ?>
|
34 |
|
35 |
+
<form name="editjob" id="editjob" method="post" action="<?PHP echo backwpup_admin_url('admin.php').'?page=backwpupeditjob';?>">
|
36 |
<input type="hidden" name="jobid" value="<?PHP echo $jobvalue['jobid'];?>" />
|
37 |
<?php wp_nonce_field('edit-job'); ?>
|
38 |
<?php wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
pages/page_backwpupsettings.php
CHANGED
@@ -12,7 +12,7 @@ screen_icon();
|
|
12 |
echo "<h2>".esc_html( __('BackWPup Settings', 'backwpup'))."</h2>";
|
13 |
if (isset($backwpup_message) and !empty($backwpup_message))
|
14 |
echo "<div id=\"message\" class=\"updated\"><p>".$backwpup_message."</p></div>";
|
15 |
-
echo "<form id=\"posts-filter\" action=\"".
|
16 |
wp_nonce_field('backwpup-cfg');
|
17 |
?>
|
18 |
<input type="hidden" name="action" value="update" />
|
@@ -102,7 +102,7 @@ echo '</select>';
|
|
102 |
</table>
|
103 |
<h3><?PHP _e('Jobs','backwpup'); ?></h3>
|
104 |
<p><?PHP _e('Here you can set Job related things.','backwpup'); ?></p>
|
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>
|
108 |
<td><input name="jobstepretry" type="text" id="jobstepretry" value="<?PHP echo $cfg['jobstepretry'];?>" class="small-text code" />
|
@@ -133,6 +133,13 @@ if (ini_get('safe_mode')) {
|
|
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 loong 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>
|
135 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
</table>
|
137 |
|
138 |
<h3><?PHP _e('WP Admin Bar','backwpup'); ?></h3>
|
@@ -157,6 +164,16 @@ if (ini_get('safe_mode')) {
|
|
157 |
<?PHP _e('Use your host\'s Cron Job and disable WP-Cron','backwpup'); ?></label>
|
158 |
</fieldset></td>
|
159 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
</table>
|
161 |
<p class="submit"><input type="submit" name="submit" id="submit" class="button-primary" value="Save Changes" /></p>
|
162 |
</form>
|
12 |
echo "<h2>".esc_html( __('BackWPup Settings', 'backwpup'))."</h2>";
|
13 |
if (isset($backwpup_message) and !empty($backwpup_message))
|
14 |
echo "<div id=\"message\" class=\"updated\"><p>".$backwpup_message."</p></div>";
|
15 |
+
echo "<form id=\"posts-filter\" action=\"".backwpup_admin_url('admin.php')."?page=backwpupsettings\" method=\"post\">";
|
16 |
wp_nonce_field('backwpup-cfg');
|
17 |
?>
|
18 |
<input type="hidden" name="action" value="update" />
|
102 |
</table>
|
103 |
<h3><?PHP _e('Jobs','backwpup'); ?></h3>
|
104 |
<p><?PHP _e('Here you can set Job related things.','backwpup'); ?></p>
|
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>
|
108 |
<td><input name="jobstepretry" type="text" id="jobstepretry" value="<?PHP echo $cfg['jobstepretry'];?>" class="small-text code" />
|
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 loong 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>
|
135 |
</tr>
|
136 |
+
<tr valign="top">
|
137 |
+
<th scope="row"><?PHP _e('PHP zip class','backwpup'); ?></th>
|
138 |
+
<td><fieldset><legend class="screen-reader-text"><span><?PHP _e('PHP zip','backwpup'); ?></span></legend><label for="phpzip">
|
139 |
+
<input name="phpzip" type="checkbox" id="phpzip" value="1" <?php checked($cfg['phpzip'],true); ?><?php if (!class_exists('ZipArchive')) echo " disabled=\"disabled\""; ?> />
|
140 |
+
<?PHP _e('Use PHP zip class if available! Normaly PCL Zip class will used.','backwpup'); ?></label>
|
141 |
+
</fieldset></td>
|
142 |
+
</tr>
|
143 |
</table>
|
144 |
|
145 |
<h3><?PHP _e('WP Admin Bar','backwpup'); ?></h3>
|
164 |
<?PHP _e('Use your host\'s Cron Job and disable WP-Cron','backwpup'); ?></label>
|
165 |
</fieldset></td>
|
166 |
</tr>
|
167 |
+
<tr valign="top">
|
168 |
+
<th scope="row"><?PHP _e('Use corn service of backwpup.com','backwpup'); ?></th>
|
169 |
+
<td><fieldset><legend class="screen-reader-text"><span><?PHP _e('Use corn service of backwpup.com','backwpup'); ?></span></legend><label for="apicronservice">
|
170 |
+
<input name="apicronservice" type="checkbox" id="apicronservice" value="1" <?php checked($cfg['apicronservice'],true); ?> />
|
171 |
+
<?PHP _e('If you check this than the job Schedule will submited too 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 have less visits.</em> Pelase make a littel donaten for the plugin if you use this servcie. The service can every time removed by me without a massage.','backwpup'); ?><br />
|
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>
|
pages/page_backwpuptools.php
CHANGED
@@ -10,7 +10,7 @@ screen_icon();
|
|
10 |
echo "<h2>".esc_html( __('BackWPup Tools', 'backwpup'))."</h2>";
|
11 |
if (isset($backwpup_message) and !empty($backwpup_message))
|
12 |
echo "<div id=\"message\" class=\"updated\"><p>".$backwpup_message."</p></div>";
|
13 |
-
echo "<form id=\"posts-filter\" enctype=\"multipart/form-data\" action=\"".
|
14 |
wp_nonce_field('backwpup-tools');
|
15 |
?>
|
16 |
<input type="hidden" name="action" value="update" />
|
10 |
echo "<h2>".esc_html( __('BackWPup Tools', 'backwpup'))."</h2>";
|
11 |
if (isset($backwpup_message) and !empty($backwpup_message))
|
12 |
echo "<div id=\"message\" class=\"updated\"><p>".$backwpup_message."</p></div>";
|
13 |
+
echo "<form id=\"posts-filter\" enctype=\"multipart/form-data\" action=\"".backwpup_admin_url('admin.php')."?page=backwpuptools\" method=\"post\">";
|
14 |
wp_nonce_field('backwpup-tools');
|
15 |
?>
|
16 |
<input type="hidden" name="action" value="update" />
|
pages/page_backwpupworking.php
CHANGED
@@ -17,6 +17,7 @@ if (!defined('ABSPATH')) {
|
|
17 |
wp_nonce_field('backwpupworking_ajax_nonce', 'backwpupworkingajaxnonce', false );
|
18 |
$logfilarray=backwpup_read_logfile(trim($_GET['logfile']));
|
19 |
echo "<input type=\"hidden\" name=\"logfile\" id=\"logfile\" value=\"".trim($_GET['logfile'])."\">";
|
|
|
20 |
echo "<input type=\"hidden\" name=\"logpos\" id=\"logpos\" value=\"".count($logfilarray)."\">";
|
21 |
echo "<input type=\"hidden\" name=\"backwpupworkingajaxurl\" id=\"backwpupworkingajaxurl\" value=\"".BACKWPUP_PLUGIN_BASEURL."/job/show_working.php\">";
|
22 |
echo "<div id=\"showworking\">";
|
@@ -25,13 +26,13 @@ if (!defined('ABSPATH')) {
|
|
25 |
echo "</div>";
|
26 |
echo "<div id=\"runniginfos\">";
|
27 |
$stylewarning=" style=\"display:none;\"";
|
28 |
-
if ($infile['WARNING']>0)
|
29 |
$stylewarning="";
|
30 |
-
echo "<span id=\"warningsid\"".$stylewarning.">".__('Warnings:','backwpup')." <span id=\"warnings\">".$infile['WARNING']."</span></span><br/>";
|
31 |
$styleerror=" style=\"display:none;\"";
|
32 |
-
if ($infile['ERROR']>0)
|
33 |
$styleerror="";
|
34 |
-
echo "<span id=\"errorid\"".$styleerror.">".__('Errors:','backwpup')." <span id=\"errors\">".$infile['ERROR']."</span></span>";
|
35 |
echo "<div>";
|
36 |
echo "<div class=\"clear\"></div>";
|
37 |
echo "<div class=\"progressbar\"><div id=\"progressstep\" style=\"width:".$infile['STEPSPERSENT']."%;\">".$infile['STEPSPERSENT']."%</div></div>";
|
17 |
wp_nonce_field('backwpupworking_ajax_nonce', 'backwpupworkingajaxnonce', false );
|
18 |
$logfilarray=backwpup_read_logfile(trim($_GET['logfile']));
|
19 |
echo "<input type=\"hidden\" name=\"logfile\" id=\"logfile\" value=\"".trim($_GET['logfile'])."\">";
|
20 |
+
echo "<input type=\"hidden\" name=\"backwpupjobtemp\" id=\"backwpupjobtemp\" value=\"".backwpup_get_temp()."\">";
|
21 |
echo "<input type=\"hidden\" name=\"logpos\" id=\"logpos\" value=\"".count($logfilarray)."\">";
|
22 |
echo "<input type=\"hidden\" name=\"backwpupworkingajaxurl\" id=\"backwpupworkingajaxurl\" value=\"".BACKWPUP_PLUGIN_BASEURL."/job/show_working.php\">";
|
23 |
echo "<div id=\"showworking\">";
|
26 |
echo "</div>";
|
27 |
echo "<div id=\"runniginfos\">";
|
28 |
$stylewarning=" style=\"display:none;\"";
|
29 |
+
if ($infile['WORKING']['WARNING']>0)
|
30 |
$stylewarning="";
|
31 |
+
echo "<span id=\"warningsid\"".$stylewarning.">".__('Warnings:','backwpup')." <span id=\"warnings\">".$infile['WORKING']['WARNING']."</span></span><br/>";
|
32 |
$styleerror=" style=\"display:none;\"";
|
33 |
+
if ($infile['WORKING']['ERROR']>0)
|
34 |
$styleerror="";
|
35 |
+
echo "<span id=\"errorid\"".$styleerror.">".__('Errors:','backwpup')." <span id=\"errors\">".$infile['WORKING']['ERROR']."</span></span>";
|
36 |
echo "<div>";
|
37 |
echo "<div class=\"clear\"></div>";
|
38 |
echo "<div class=\"progressbar\"><div id=\"progressstep\" style=\"width:".$infile['STEPSPERSENT']."%;\">".$infile['STEPSPERSENT']."%</div></div>";
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== BackWPup ===
|
2 |
Contributors: danielhuesken
|
3 |
-
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=
|
4 |
Tags: backup, admin, file, Database, mysql, Cron, ftp, S3, export, xml, Rackspace, Cloud, Azure, DropBox, SugarSync, Google, Storage
|
5 |
-
Requires at least: 3.
|
6 |
Tested up to: 3.2.1
|
7 |
-
Stable tag: 2.0
|
8 |
|
9 |
Backup your WordPress Database and Files, and more!
|
10 |
|
@@ -27,8 +27,9 @@ Do backups and more.
|
|
27 |
* Store backup to DropBox
|
28 |
* Store backup to SugarSync
|
29 |
* Send Log/Backup by Email
|
|
|
30 |
|
31 |
-
** WP 3.2 Required!! **
|
32 |
|
33 |
** NO WARRANTY SUPPLIED! **
|
34 |
** Test your Backups! **
|
@@ -38,95 +39,31 @@ Do backups and more.
|
|
38 |
2. Decompress and upload the contents of the archive into /wp-content/plugins/.
|
39 |
3. Activate the Plugin through the 'Plugins' menu in WordPress
|
40 |
|
41 |
-
== Upgrade Notice ==
|
42 |
-
1. Deactivate Plugin
|
43 |
-
2. Update Plugin
|
44 |
-
3. Update Wordpress to 3.2
|
45 |
-
4. Activate Plugin
|
46 |
-
|
47 |
== Frequently Asked Questions ==
|
48 |
-
|
49 |
-
*
|
50 |
-
*
|
51 |
-
* curl
|
52 |
-
* PHP Sessions
|
53 |
-
* gzip (for PCLZIP and gzip archives)
|
54 |
-
* bzip2 (for bzip2 archives)
|
55 |
-
|
56 |
-
= Where is the Database dump File? =
|
57 |
-
in the root folder of the archive. <i>DBName</i>.sql
|
58 |
-
|
59 |
-
= Where is the WordPress Export File? =
|
60 |
-
in the root folder of the archive. <i>blogname</i>.wordpress.<i>jjjj-mm-dd</i>.xml
|
61 |
-
|
62 |
-
= Zip File Support =
|
63 |
-
Plugin uses zip extension if PHP, if not, uses PCLZIP lib extension
|
64 |
-
|
65 |
-
= Maintenance Mode =
|
66 |
-
Supported Plugins:
|
67 |
-
|
68 |
-
* maintenance-mode
|
69 |
-
* wp-maintenance-mode
|
70 |
-
* WordPress .maintenance file
|
71 |
-
|
72 |
-
If your site does not come back from Maintenance Mode, switch back from Maintenance Mode by changing the Plugin options or delete the <i>.maintenance</i> file in the install's root folder.
|
73 |
-
|
74 |
-
= Restore a Blog Database =
|
75 |
-
Copy the <i>DBName</i>.sql in the root folder of the site and go to the tools tab in the Plugin.
|
76 |
-
You can also use PHPMyAdmin.
|
77 |
-
|
78 |
-
= Abnormal Script Cancellations =
|
79 |
-
Webserver normally aborts scripts that works longer then 300s.
|
80 |
-
PHP normally aborts scripts that works longer then 30s but the plugin will try to keep this from happening.
|
81 |
-
|
82 |
-
= Memory usage =
|
83 |
-
* The plugin is coded to use low memory
|
84 |
-
* The plugin will try to increase memory automatically if needed
|
85 |
-
* PCLZIP lib needs 8MB free memory for zipping
|
86 |
-
* Emailing an archive needs a lot of memory
|
87 |
-
|
88 |
-
= Email archives =
|
89 |
-
I have built in many options to optimize email archives, but the mailing library uses a lot of memory.
|
90 |
-
You should only send small archives via email.
|
91 |
-
|
92 |
-
= FTP Warnings =
|
93 |
-
Please deactivate passive mode and try it again.
|
94 |
-
|
95 |
-
= Change Temp Folder =
|
96 |
-
Create in Plugins folder of wordpress a file named '.backwpuptempfolder' with the temp Folder name in it.
|
97 |
-
|
98 |
-
= Multible backups on one sheduled job =
|
99 |
-
You have installed the Plugin W3 Total Cache ?
|
100 |
-
Too fix it:
|
101 |
-
|
102 |
-
1. create a cron job on your hoster or on a free web crob service
|
103 |
-
2. point to http://youblogurl/wp-cron.php
|
104 |
-
3. Check the setting dectivate wp-cron in BackWPup
|
105 |
-
|
106 |
-
= Disable some destinations for backups =
|
107 |
-
You can set the following in wp-config.php:
|
108 |
-
<i>define('BACKWPUP_DESTS','S3,RSC,FTP,DROPBOX,MSAZURE,SUGARSYNC');</i>
|
109 |
-
all listed destinations are then disabled.
|
110 |
-
Destinations are:
|
111 |
-
|
112 |
-
* MAIL = mail (can't disable)
|
113 |
-
* DIR = Directory (can't disable)
|
114 |
-
* S3 = Amazon S3
|
115 |
-
* GSTORAGE = Google Storage
|
116 |
-
* RSC = RackSpaceCloud
|
117 |
-
* FTP = FTP Server
|
118 |
-
* DROPBOX = DropBox
|
119 |
-
* MSAZURE = Microsoft Azure (Blob)
|
120 |
-
* SUGARSYNC = SugarSync
|
121 |
|
122 |
== Screenshots ==
|
123 |
-
|
124 |
1. Job Page
|
125 |
2. Working Job
|
126 |
3. Logs Page
|
127 |
4. Backups Manage Page
|
128 |
|
129 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
= 2.0.3 =
|
131 |
* Reimplemt deletion of backups in a folder
|
132 |
* Hopfuly fix of 'temp is not writeable'
|
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.0
|
8 |
|
9 |
Backup your WordPress Database and Files, and more!
|
10 |
|
27 |
* Store backup to DropBox
|
28 |
* Store backup to SugarSync
|
29 |
* Send Log/Backup by Email
|
30 |
+
* Multisite Support only as Network Admin
|
31 |
|
32 |
+
** WP 3.1 and PHP 5.2.5 Required!! **
|
33 |
|
34 |
** NO WARRANTY SUPPLIED! **
|
35 |
** Test your Backups! **
|
39 |
2. Decompress and upload the contents of the archive into /wp-content/plugins/.
|
40 |
3. Activate the Plugin through the 'Plugins' menu in WordPress
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
== Frequently Asked Questions ==
|
43 |
+
* FAQ: http://backwpup.com/faq
|
44 |
+
* Manual: http://backwpup.com/manual
|
45 |
+
* Support: http://backwpup.com/forum
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
== Screenshots ==
|
|
|
48 |
1. Job Page
|
49 |
2. Working Job
|
50 |
3. Logs Page
|
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
|
57 |
+
* Dropbox changes, better uploads, but needs many memory
|
58 |
+
* Added Multiseite support (only for Network Admin)
|
59 |
+
* Uses now �WP_TEMP_DIR� for getting temp folder
|
60 |
+
* Updated AWS lib to 1.3.6
|
61 |
+
* Job runs now in UTC time. Time outputs will convert.
|
62 |
+
* Many languge strings changed for better translation
|
63 |
+
* Fixed double job run in same time
|
64 |
+
* Removed cache prevention for cron to resolve problems with W3 Total Cache
|
65 |
+
* Readded Support for WordPress 3.1
|
66 |
+
|
67 |
= 2.0.3 =
|
68 |
* Reimplemt deletion of backups in a folder
|
69 |
* Hopfuly fix of 'temp is not writeable'
|
uninstall.php
CHANGED
@@ -4,6 +4,14 @@ if (!defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN')) {
|
|
4 |
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
delete_option('backwpup');
|
8 |
delete_option('backwpup_jobs');
|
|
|
|
|
9 |
?>
|
4 |
header("Status: 404 Not Found");
|
5 |
die();
|
6 |
}
|
7 |
+
|
8 |
+
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,'BACKWPUP_VER'=>0,'ACTIVE'=>'D'), 'user-agent'=>'BackWPup'));
|
13 |
delete_option('backwpup');
|
14 |
delete_option('backwpup_jobs');
|
15 |
+
delete_option('backwpup_last_activate');
|
16 |
+
|
17 |
?>
|