Version Description
- Dropbox chunking will done in temp again.
- uses stream for compression
- Metaboxes can't disabled by the screen options
- Set mail charset
- Handling for Dropbox 503 errors
- removed oauth bypass Google Analytics by Yoast
- updatet AWS lib to 1.5.15
- bug fixes
Download this release
Release Info
Developer | danielhuesken |
Plugin | BackWPup – WordPress Backup Plugin |
Version | 2.1.16 |
Comparing to | |
See all releases |
Code changes from version 2.1.15 to 2.1.16
- backwpup-functions.php +29 -65
- backwpup.php +13 -17
- job/backup_create.php +9 -30
- job/dest_dropbox.php +1 -1
- job/dest_mail.php +1 -0
- job/file_list.php +4 -4
- job/job_functions.php +6 -0
- job/job_run.php +8 -8
- job/show_working.php +2 -1
- job/wp_export_generate.php +1 -1
- js/backwpupeditjob.js +21 -37
- lang/backwpup-ru_RU.mo +0 -0
- lang/backwpup-ru_RU.po +2916 -0
- lang/backwpup-zh_CN.mo +0 -0
- lang/backwpup-zh_CN.po +449 -467
- libs/aws/README.md +20 -11
- libs/aws/authentication/signature_v4json.class.php +2 -3
- libs/aws/authentication/signature_v4query.class.php +2 -3
- libs/aws/extensions/dynamodbsessionhandler.class.php +2 -1
- libs/aws/lib/requestcore/requestcore.class.php +19 -2
- libs/aws/sdk.class.php +17 -5
- libs/aws/services/as.class.php +143 -84
- libs/aws/services/cloudformation.class.php +34 -8
- libs/aws/services/dynamodb.class.php +205 -21
- libs/aws/services/ec2.class.php +189 -2
- libs/aws/services/rds.class.php +395 -54
- libs/aws/services/s3.class.php +273 -22
- libs/aws/utilities/mimetypes.class.php +2 -1
- libs/aws/utilities/simplexml.class.php +1 -1
- libs/dropbox.php +12 -4
- pages/func_backwpup.php +3 -0
- pages/func_backwpupeditjob.php +39 -39
- pages/func_backwpuplogs.php +3 -0
- pages/header_backwpupeditjob.php +23 -45
- pages/page_backwpupeditjob.php +31 -10
- readme.txt +15 -14
backwpup-functions.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?PHP
|
2 |
-
//
|
3 |
function backwpup_admin_menu() {
|
4 |
add_menu_page( __('BackWPup','backwpup'), __('BackWPup','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpup', 'backwpup_menu_page', BACKWPUP_PLUGIN_BASEURL.'/css/BackWPup16.png');
|
5 |
$hook = add_submenu_page( 'backwpup', __('Jobs','backwpup'), __('Jobs','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpup', 'backwpup_menu_page' );
|
@@ -84,73 +84,37 @@ function backwpup_contextual_help($help='') {
|
|
84 |
$help='<p>'.$help.'</p>';
|
85 |
|
86 |
if ( method_exists( $current_screen, 'add_help_tab' ) ) {
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
) );
|
94 |
-
} else {
|
95 |
-
$current_screen->add_help_tab( array(
|
96 |
-
'id' => 'plugininfo',
|
97 |
-
'title' => __( 'Plugin Info', 'backwpup' ),
|
98 |
-
'content' =>
|
99 |
-
'<p><a href="http://backwpup.com" target="_blank">BackWPup</a> v. ' . BACKWPUP_VERSION . ', <a href="http://www.gnu.org/licenses/gpl-2.0" target="_blank">GPLv2</a> © 2009-' . date( 'Y' ) . ' <a href="http://danielhuesken.de" target="_blank">Daniel Hüsken</a></p><p>' . __( 'BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.', 'backwpup' ) . '</p>'
|
100 |
-
) );
|
101 |
-
}
|
102 |
$current_screen->add_help_tab( array(
|
103 |
'id' => 'overview',
|
104 |
'title' => __( 'Overview', 'backwpup' ),
|
105 |
'content' => $help
|
106 |
) );
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
);
|
117 |
-
} else {
|
118 |
-
$current_screen->set_help_sidebar(
|
119 |
-
'<p><strong>' . __( 'For more information:', 'backwpup' ) . '</strong></p>' .
|
120 |
-
'<p><a href="http://backwpup.com" target="_blank">BackWPup</a></p>' .
|
121 |
-
'<p><a href="http://backwpup.com/manual/" target="_blank">'.__('Documentation','backwpup').'</a></p>' .
|
122 |
-
'<p><a href="http://backwpup.com/faq/" target="_blank">'.__('FAQ','backwpup').'</a></p>' .
|
123 |
-
'<p><a href="http://backwpup.com/forums/" target="_blank"'.__('Support Forums','backwpup').'</a></p>' .
|
124 |
-
'<p><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q3QSVRSFXBLSE" target="_blank">'.__('Donate','backwpup').'</a></p>' .
|
125 |
-
'<p><a href="https://plus.google.com/112659782148359984250/" target="_blank">'.__('Google+','backwpup').'</a></p>'
|
126 |
-
);
|
127 |
-
}
|
128 |
} elseif ( function_exists( 'add_contextual_help' ) ) { //for WP < 3.3 help
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
'</p>'
|
140 |
-
);
|
141 |
-
} else {
|
142 |
-
add_contextual_help( $current_screen,$help.
|
143 |
-
'<p><a href="http://backwpup.com" target="_blank">BackWPup</a> v. ' . BACKWPUP_VERSION . ', <a href="http://www.gnu.org/licenses/gpl-2.0" target="_blank">GPLv2</a> © 2009-' . date( 'Y' ) . ' <a href="http://danielhuesken.de" target="_blank">Daniel Hüsken</a></p><p>' . __( 'BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.', 'backwpup' ) . '</p>' .
|
144 |
-
'<p><strong>' . __( 'For more information:', 'backwpup' ) . '</strong></p><p>' .
|
145 |
-
' <a href="http://backwpup.com" target="_blank">BackWPup</a> |' .
|
146 |
-
' <a href="http://backwpup.com/manual/" target="_blank">'.__('Documentation', 'backwpup').'</a> |' .
|
147 |
-
' <a href="http://backwpup.com/faq/" target="_blank">'.__('FAQ', 'backwpup').'</a> |' .
|
148 |
-
' <a href="http://backwpup.com/forums/" target="_blank">'.__('Support Forums', 'backwpup').'</a> |' .
|
149 |
-
' <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q3QSVRSFXBLSE" target="_blank">'.__('Donate', 'backwpup').'</a> |' .
|
150 |
-
' <a href="https://plus.google.com/112659782148359984250/" target="_blank">'.__('Google+', 'backwpup').'</a> ' .
|
151 |
-
'</p>'
|
152 |
-
);
|
153 |
-
}
|
154 |
}
|
155 |
}
|
156 |
|
@@ -257,9 +221,9 @@ function backwpup_plugin_links($links, $file) {
|
|
257 |
if (!current_user_can('install_plugins'))
|
258 |
return $links;
|
259 |
if ($file == BACKWPUP_PLUGIN_BASEDIR.'/backwpup.php') {
|
260 |
-
$links[] = '<a href="http://
|
261 |
-
$links[] = '<a href="http://
|
262 |
-
$links[] = '<a href="
|
263 |
}
|
264 |
return $links;
|
265 |
}
|
1 |
<?PHP
|
2 |
+
//Option menu entry
|
3 |
function backwpup_admin_menu() {
|
4 |
add_menu_page( __('BackWPup','backwpup'), __('BackWPup','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpup', 'backwpup_menu_page', BACKWPUP_PLUGIN_BASEURL.'/css/BackWPup16.png');
|
5 |
$hook = add_submenu_page( 'backwpup', __('Jobs','backwpup'), __('Jobs','backwpup'), BACKWPUP_USER_CAPABILITY, 'backwpup', 'backwpup_menu_page' );
|
84 |
$help='<p>'.$help.'</p>';
|
85 |
|
86 |
if ( method_exists( $current_screen, 'add_help_tab' ) ) {
|
87 |
+
$current_screen->add_help_tab( array(
|
88 |
+
'id' => 'plugininfo',
|
89 |
+
'title' => __( 'Plugin Info', 'backwpup' ),
|
90 |
+
'content' =>
|
91 |
+
'<p><a href="http://backwpup.com" target="_blank">BackWPup</a> v. ' . BACKWPUP_VERSION . ', <a href="http://www.gnu.org/licenses/gpl-3.0" target="_blank">GPLv3</a> © 2012-' . date( 'Y' ) . ' <a href="http://inpsyde.com" target="_blank">Inpsyde GmbH</a> '.__( 'Author:','backwpup').' <a href="http://danielhuesken.de" target="_blank">Daniel Hüsken</a></p><p>' . __( 'BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.', 'backwpup' ) . '</p>'
|
92 |
+
) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
$current_screen->add_help_tab( array(
|
94 |
'id' => 'overview',
|
95 |
'title' => __( 'Overview', 'backwpup' ),
|
96 |
'content' => $help
|
97 |
) );
|
98 |
+
$current_screen->set_help_sidebar(
|
99 |
+
'<p><strong>' . __( 'For more information:', 'backwpup' ) . '</strong></p>' .
|
100 |
+
'<p><a href="http://backwpup.com" target="_blank">BackWPup</a></p>' .
|
101 |
+
'<p><a href="http://inpsyde.com" target="_blank">Inpsyde GmbH</a></p>' .
|
102 |
+
'<p><a href="http://wordpress.org/extend/plugins/backwpup/faq/" target="_blank">'.__('FAQ','backwpup').'</a></p>' .
|
103 |
+
'<p><a href="http://wordpress.org/support/plugin/backwpup/" target="_blank"'.__('Support Forums','backwpup').'</a></p>' .
|
104 |
+
'<p><a href="https://plus.google.com/112659782148359984250/" target="_blank">'.__('Google+','backwpup').'</a></p>'
|
105 |
+
);
|
106 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
} elseif ( function_exists( 'add_contextual_help' ) ) { //for WP < 3.3 help
|
108 |
+
add_contextual_help( $current_screen,$help.
|
109 |
+
'<p><a href="http://backwpup.de" target="_blank">BackWPup</a> v. ' . BACKWPUP_VERSION . ', <a href="http://www.gnu.org/licenses/gpl-2.0" target="_blank">GPLv2</a> © 2009-' . date( 'Y' ) . ' <a href="http://danielhuesken.de" target="_blank">Daniel Hüsken</a></p><p>' . __( 'BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.', 'backwpup' ) . '</p>' .
|
110 |
+
'<p><strong>' . __( 'For more information:', 'backwpup' ) . '</strong></p><p>' .
|
111 |
+
' <a href="http://backwpup.com" target="_blank">BackWPup</a> |' .
|
112 |
+
' <a href="http://inpsyde.com" target="_blank">Inpsyde GmbH</a> |' .
|
113 |
+
' <a href="http://wordpress.org/extend/plugins/backwpup/faq/" target="_blank">'.__('FAQ', 'backwpup').'</a> |' .
|
114 |
+
' <a href="http://wordpress.org/support/plugin/backwpup/" target="_blank">'.__('Support Forums', 'backwpup').'</a> |' .
|
115 |
+
' <a href="https://plus.google.com/112659782148359984250/" target="_blank">'.__('Google+', 'backwpup').'</a> ' .
|
116 |
+
'</p>'
|
117 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
}
|
119 |
}
|
120 |
|
221 |
if (!current_user_can('install_plugins'))
|
222 |
return $links;
|
223 |
if ($file == BACKWPUP_PLUGIN_BASEDIR.'/backwpup.php') {
|
224 |
+
$links[] = '<a href="http://inpsyde.com" target="_blank">Inpsyde GmbH</a>';
|
225 |
+
$links[] = '<a href="http://wordpress.org/extend/plugins/backwpup/faq/" target="_blank">' . __('FAQ','backwpup') . '</a>';
|
226 |
+
$links[] = '<a href="http://wordpress.org/support/plugin/backwpup/" target="_blank">' . __('Support','backwpup') . '</a>';
|
227 |
}
|
228 |
return $links;
|
229 |
}
|
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.1.
|
8 |
Author URI: http://danielhuesken.de
|
9 |
Text Domain: backwpup
|
10 |
Domain Path: /lang/
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
-
Copyright (C)
|
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
|
@@ -27,12 +27,14 @@ Domain Path: /lang/
|
|
27 |
along with this program; if not, write to the Free Software
|
28 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
29 |
*/
|
30 |
-
|
|
|
|
|
31 |
//Set plugin dirname
|
32 |
define('BACKWPUP_PLUGIN_BASEDIR', dirname(plugin_basename(__FILE__)));
|
33 |
-
define('BACKWPUP_PLUGIN_BASEURL',plugins_url(
|
34 |
//Set Plugin Version
|
35 |
-
define('BACKWPUP_VERSION', '2.1.
|
36 |
//Set Min Wordpress Version
|
37 |
define('BACKWPUP_MIN_WORDPRESS_VERSION', '3.1');
|
38 |
//Set User Capability
|
@@ -41,7 +43,7 @@ define('BACKWPUP_USER_CAPABILITY', 'export');
|
|
41 |
if (!defined('BACKWPUP_DESTS')) {
|
42 |
if (!function_exists('curl_init'))
|
43 |
define('BACKWPUP_DESTS', 'FTP,MSAZURE');
|
44 |
-
else
|
45 |
define('BACKWPUP_DESTS', 'FTP,DROPBOX,SUGARSYNC,S3,GSTORAGE,RSC,MSAZURE');
|
46 |
}
|
47 |
//load Text Domain
|
@@ -51,14 +53,14 @@ require_once(dirname(__FILE__).'/backwpup-functions.php');
|
|
51 |
//Plugin deactivate
|
52 |
register_deactivation_hook(__FILE__, 'backwpup_plugin_deactivate');
|
53 |
//Admin message
|
54 |
-
if (is_multisite())
|
55 |
-
add_action('network_admin_notices', 'backwpup_admin_notice');
|
56 |
else
|
57 |
add_action('admin_notices', 'backwpup_admin_notice');
|
58 |
//add cron intervals
|
59 |
add_filter('cron_schedules', 'backwpup_intervals',20);
|
60 |
//call activation settings
|
61 |
-
backwpup_plugin_activate();
|
62 |
//Check if plugin can activated
|
63 |
if (backwpup_env_checks()) {
|
64 |
if (is_multisite()) { //For multisite
|
@@ -66,13 +68,13 @@ if (backwpup_env_checks()) {
|
|
66 |
add_action('network_admin_menu','backwpup_admin_menu');
|
67 |
//add Dashboard widget
|
68 |
add_action('wp_network_dashboard_setup', 'backwpup_add_dashboard');
|
69 |
-
if (is_main_site())
|
70 |
add_action('plugins_loaded','backwpup_plugin_activate');
|
71 |
//Additional links on the plugin page
|
72 |
add_filter('plugin_row_meta', 'backwpup_plugin_links',10,2);
|
73 |
} else {
|
74 |
//add Menu
|
75 |
-
add_action('admin_menu', 'backwpup_admin_menu'
|
76 |
//add Dashboard widget
|
77 |
add_action('wp_dashboard_setup', 'backwpup_add_dashboard');
|
78 |
//Additional links on the plugin page
|
@@ -85,10 +87,4 @@ if (backwpup_env_checks()) {
|
|
85 |
add_action('admin_bar_menu', 'backwpup_add_adminbar',100);
|
86 |
//load ajax functions
|
87 |
backwpup_load_ajax();
|
88 |
-
//bypass Google Analytics by Yoast oauth
|
89 |
-
if ( isset($_GET['oauth_token']) && isset($_GET['page']) && $_GET['page'] == 'backwpupeditjob' ) {
|
90 |
-
$_GET['oauth_token_backwpup'] = $_GET['oauth_token'];
|
91 |
-
unset($_GET['oauth_token']);
|
92 |
-
unset($_REQUEST['oauth_token']);
|
93 |
-
}
|
94 |
}
|
4 |
Plugin URI: http://backwpup.com
|
5 |
Description: WordPress Backup and more...
|
6 |
Author: Daniel Hüsken
|
7 |
+
Version: 2.1.16
|
8 |
Author URI: http://danielhuesken.de
|
9 |
Text Domain: backwpup
|
10 |
Domain Path: /lang/
|
11 |
*/
|
12 |
|
13 |
/*
|
14 |
+
Copyright (C) 2012 Inpsyde GmbH (email: info@inpsyde.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
|
27 |
along with this program; if not, write to the Free Software
|
28 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
29 |
*/
|
30 |
+
if (!defined('ABSPATH'))
|
31 |
+
die();
|
32 |
+
|
33 |
//Set plugin dirname
|
34 |
define('BACKWPUP_PLUGIN_BASEDIR', dirname(plugin_basename(__FILE__)));
|
35 |
+
define('BACKWPUP_PLUGIN_BASEURL', plugins_url(BACKWPUP_PLUGIN_BASEDIR));
|
36 |
//Set Plugin Version
|
37 |
+
define('BACKWPUP_VERSION', '2.1.16');
|
38 |
//Set Min Wordpress Version
|
39 |
define('BACKWPUP_MIN_WORDPRESS_VERSION', '3.1');
|
40 |
//Set User Capability
|
43 |
if (!defined('BACKWPUP_DESTS')) {
|
44 |
if (!function_exists('curl_init'))
|
45 |
define('BACKWPUP_DESTS', 'FTP,MSAZURE');
|
46 |
+
else
|
47 |
define('BACKWPUP_DESTS', 'FTP,DROPBOX,SUGARSYNC,S3,GSTORAGE,RSC,MSAZURE');
|
48 |
}
|
49 |
//load Text Domain
|
53 |
//Plugin deactivate
|
54 |
register_deactivation_hook(__FILE__, 'backwpup_plugin_deactivate');
|
55 |
//Admin message
|
56 |
+
if (is_multisite())
|
57 |
+
add_action('network_admin_notices', 'backwpup_admin_notice');
|
58 |
else
|
59 |
add_action('admin_notices', 'backwpup_admin_notice');
|
60 |
//add cron intervals
|
61 |
add_filter('cron_schedules', 'backwpup_intervals',20);
|
62 |
//call activation settings
|
63 |
+
backwpup_plugin_activate();
|
64 |
//Check if plugin can activated
|
65 |
if (backwpup_env_checks()) {
|
66 |
if (is_multisite()) { //For multisite
|
68 |
add_action('network_admin_menu','backwpup_admin_menu');
|
69 |
//add Dashboard widget
|
70 |
add_action('wp_network_dashboard_setup', 'backwpup_add_dashboard');
|
71 |
+
if (is_main_site())
|
72 |
add_action('plugins_loaded','backwpup_plugin_activate');
|
73 |
//Additional links on the plugin page
|
74 |
add_filter('plugin_row_meta', 'backwpup_plugin_links',10,2);
|
75 |
} else {
|
76 |
//add Menu
|
77 |
+
add_action('admin_menu', 'backwpup_admin_menu');
|
78 |
//add Dashboard widget
|
79 |
add_action('wp_dashboard_setup', 'backwpup_add_dashboard');
|
80 |
//Additional links on the plugin page
|
87 |
add_action('admin_bar_menu', 'backwpup_add_adminbar',100);
|
88 |
//load ajax functions
|
89 |
backwpup_load_ajax();
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
job/backup_create.php
CHANGED
@@ -78,15 +78,15 @@ function backup_create() {
|
|
78 |
} elseif (strtolower($STATIC['JOB']['fileformart'])==".tar.gz" or strtolower($STATIC['JOB']['fileformart'])==".tar.bz2" or strtolower($STATIC['JOB']['fileformart'])==".tar") { //tar files
|
79 |
|
80 |
if (strtolower($STATIC['JOB']['fileformart'])=='.tar.gz') {
|
81 |
-
$tarbackup=
|
82 |
} elseif (strtolower($STATIC['JOB']['fileformart'])=='.tar.bz2') {
|
83 |
-
$tarbackup=
|
84 |
} else {
|
85 |
-
$tarbackup=fopen($STATIC['JOB']['backupdir'].$STATIC['backupfile'],'
|
86 |
}
|
87 |
|
88 |
if (!$tarbackup) {
|
89 |
-
trigger_error(__('Can not create tar
|
90 |
return;
|
91 |
} else {
|
92 |
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);
|
@@ -154,44 +154,23 @@ function backup_create() {
|
|
154 |
|
155 |
$header = substr_replace($header, $checksum, 148, 8);
|
156 |
|
157 |
-
|
158 |
-
gzwrite($tarbackup, $header);
|
159 |
-
} elseif (strtolower($STATIC['JOB']['fileformart'])=='.tar.bz2') {
|
160 |
-
bzwrite($tarbackup, $header);
|
161 |
-
} else {
|
162 |
-
fwrite($tarbackup, $header);
|
163 |
-
}
|
164 |
|
165 |
// read/write files in 512K Blocks
|
166 |
if ($fd=fopen($files['FILE'],'rb')) {
|
167 |
while(!feof($fd)) {
|
168 |
$filedata=fread($fd,512);
|
169 |
-
if (strlen($filedata)>0)
|
170 |
-
|
171 |
-
gzwrite($tarbackup,pack("a512", $filedata));
|
172 |
-
} elseif (strtolower($STATIC['JOB']['fileformart'])=='.tar.bz2') {
|
173 |
-
bzwrite($tarbackup,pack("a512", $filedata));
|
174 |
-
} else {
|
175 |
-
fwrite($tarbackup,pack("a512", $filedata));
|
176 |
-
}
|
177 |
-
}
|
178 |
}
|
179 |
fclose($fd);
|
180 |
}
|
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
|
78 |
} elseif (strtolower($STATIC['JOB']['fileformart'])==".tar.gz" or strtolower($STATIC['JOB']['fileformart'])==".tar.bz2" or strtolower($STATIC['JOB']['fileformart'])==".tar") { //tar files
|
79 |
|
80 |
if (strtolower($STATIC['JOB']['fileformart'])=='.tar.gz') {
|
81 |
+
$tarbackup=fopen('compress.zlib://'.$STATIC['JOB']['backupdir'].$STATIC['backupfile'],'wb');
|
82 |
} elseif (strtolower($STATIC['JOB']['fileformart'])=='.tar.bz2') {
|
83 |
+
$tarbackup=fopen('compress.bzip2://'.$STATIC['JOB']['backupdir'].$STATIC['backupfile'],'wb');
|
84 |
} else {
|
85 |
+
$tarbackup=fopen($STATIC['JOB']['backupdir'].$STATIC['backupfile'],'wb');
|
86 |
}
|
87 |
|
88 |
if (!$tarbackup) {
|
89 |
+
trigger_error(__('Can not create tar archive file!','backwpup'),E_USER_ERROR);
|
90 |
return;
|
91 |
} else {
|
92 |
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);
|
154 |
|
155 |
$header = substr_replace($header, $checksum, 148, 8);
|
156 |
|
157 |
+
fwrite($tarbackup, $header);
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
|
159 |
// read/write files in 512K Blocks
|
160 |
if ($fd=fopen($files['FILE'],'rb')) {
|
161 |
while(!feof($fd)) {
|
162 |
$filedata=fread($fd,512);
|
163 |
+
if (strlen($filedata)>0)
|
164 |
+
fwrite($tarbackup,pack("a512", $filedata));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
}
|
166 |
fclose($fd);
|
167 |
}
|
168 |
$WORKING['STEPDONE']++;
|
169 |
update_working_file();
|
170 |
}
|
171 |
+
fwrite($tarbackup, pack("a1024", "")); // Add 1024 bytes of NULLs to designate EOF
|
172 |
+
fclose($tarbackup);
|
173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
trigger_error(sprintf(__('%s archive creation done','backwpup'),substr($STATIC['JOB']['fileformart'],1)),E_USER_NOTICE);
|
175 |
}
|
176 |
$WORKING['STEPSDONE'][]='BACKUP_CREATE'; //set done
|
job/dest_dropbox.php
CHANGED
@@ -18,7 +18,7 @@ function dest_dropbox() {
|
|
18 |
trigger_error(sprintf(__('Authed with DropBox from %s','backwpup'),$info['display_name']),E_USER_NOTICE);
|
19 |
}
|
20 |
//Check Quota
|
21 |
-
$dropboxfreespase
|
22 |
if (filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile'])>$dropboxfreespase) {
|
23 |
trigger_error(__('No free space left on DropBox!!!','backwpup'),E_USER_ERROR);
|
24 |
$WORKING['STEPSDONE'][]='DEST_DROPBOX'; //set done
|
18 |
trigger_error(sprintf(__('Authed with DropBox from %s','backwpup'),$info['display_name']),E_USER_NOTICE);
|
19 |
}
|
20 |
//Check Quota
|
21 |
+
$dropboxfreespase=(float)$info['quota_info']['quota']-(float)$info['quota_info']['shared']-(float)$info['quota_info']['normal'];
|
22 |
if (filesize($STATIC['JOB']['backupdir'].$STATIC['backupfile'])>$dropboxfreespase) {
|
23 |
trigger_error(__('No free space left on DropBox!!!','backwpup'),E_USER_ERROR);
|
24 |
$WORKING['STEPSDONE'][]='DEST_DROPBOX'; //set done
|
job/dest_mail.php
CHANGED
@@ -8,6 +8,7 @@ function dest_mail() {
|
|
8 |
//Create PHP Mailer
|
9 |
require_once(realpath($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC']).'/class-phpmailer.php');
|
10 |
$phpmailer = new PHPMailer();
|
|
|
11 |
//Setting den methode
|
12 |
if ($STATIC['CFG']['mailmethod']=="SMTP") {
|
13 |
require_once(realpath($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC']).'/class-smtp.php');
|
8 |
//Create PHP Mailer
|
9 |
require_once(realpath($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC']).'/class-phpmailer.php');
|
10 |
$phpmailer = new PHPMailer();
|
11 |
+
$phpmailer->CharSet=$STATIC['WP']['CHARSET'];
|
12 |
//Setting den methode
|
13 |
if ($STATIC['CFG']['mailmethod']=="SMTP") {
|
14 |
require_once(realpath($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC']).'/class-smtp.php');
|
job/file_list.php
CHANGED
@@ -4,9 +4,9 @@ function file_list() {
|
|
4 |
//Make filelist
|
5 |
trigger_error(sprintf(__('%d. try for make list of files to backup....','backwpup'),$WORKING['FILE_LIST']['STEP_TRY']),E_USER_NOTICE);
|
6 |
$WORKING['STEPTODO']=2;
|
7 |
-
|
8 |
//Check free memory for file list
|
9 |
-
need_free_memory('
|
10 |
//empty filelist
|
11 |
$tempfilelist=array();
|
12 |
//exlude of job
|
@@ -60,7 +60,7 @@ function file_list() {
|
|
60 |
$WORKING['STEPDONE']=2;
|
61 |
$WORKING['STEPSDONE'][]='FILE_LIST'; //set done
|
62 |
unset($tempfilelist);
|
63 |
-
|
64 |
$filelist=get_filelist(); //get files from list
|
65 |
if (!is_array($filelist[0])) {
|
66 |
trigger_error(__('No files to backup','backwpup'),E_USER_ERROR);
|
@@ -100,7 +100,7 @@ function _file_list( $folder = '', $levels = 100, $excludedirs=array()) {
|
|
100 |
} else {
|
101 |
trigger_error(sprintf(__('"%s" is not a file or directory','backwpup'),$folder.$file),E_USER_WARNING);
|
102 |
}
|
103 |
-
|
104 |
}
|
105 |
@closedir( $dir );
|
106 |
}
|
4 |
//Make filelist
|
5 |
trigger_error(sprintf(__('%d. try for make list of files to backup....','backwpup'),$WORKING['FILE_LIST']['STEP_TRY']),E_USER_NOTICE);
|
6 |
$WORKING['STEPTODO']=2;
|
7 |
+
|
8 |
//Check free memory for file list
|
9 |
+
need_free_memory('20MB'); //10MB free memory for filelist
|
10 |
//empty filelist
|
11 |
$tempfilelist=array();
|
12 |
//exlude of job
|
60 |
$WORKING['STEPDONE']=2;
|
61 |
$WORKING['STEPSDONE'][]='FILE_LIST'; //set done
|
62 |
unset($tempfilelist);
|
63 |
+
|
64 |
$filelist=get_filelist(); //get files from list
|
65 |
if (!is_array($filelist[0])) {
|
66 |
trigger_error(__('No files to backup','backwpup'),E_USER_ERROR);
|
100 |
} else {
|
101 |
trigger_error(sprintf(__('"%s" is not a file or directory','backwpup'),$folder.$file),E_USER_WARNING);
|
102 |
}
|
103 |
+
|
104 |
}
|
105 |
@closedir( $dir );
|
106 |
}
|
job/job_functions.php
CHANGED
@@ -200,6 +200,11 @@ function update_working_file($mustwrite=false) {
|
|
200 |
$stepspersent=round(count($WORKING['STEPSDONE'])/count($WORKING['STEPS'])*100);
|
201 |
else
|
202 |
$stepspersent=1;
|
|
|
|
|
|
|
|
|
|
|
203 |
@set_time_limit(0);
|
204 |
if (is_writable($STATIC['TEMPDIR'].'.running')) {
|
205 |
file_put_contents($STATIC['TEMPDIR'].'.running',serialize(array('timestamp'=>time(),'JOBID'=>$STATIC['JOB']['jobid'],'LOGFILE'=>$STATIC['LOGFILE'],'STEPSPERSENT'=>$stepspersent,'STEPPERSENT'=>$steppersent,'ABSPATH'=>$STATIC['WP']['ABSPATH'],'WORKING'=>$WORKING)));
|
@@ -431,6 +436,7 @@ function job_end() {
|
|
431 |
//Create PHP Mailer
|
432 |
require_once($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC'].'/class-phpmailer.php');
|
433 |
$phpmailer = new PHPMailer();
|
|
|
434 |
//Setting den methode
|
435 |
if ($STATIC['CFG']['mailmethod']=="SMTP") {
|
436 |
require_once($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC'].'/class-smtp.php');
|
200 |
$stepspersent=round(count($WORKING['STEPSDONE'])/count($WORKING['STEPS'])*100);
|
201 |
else
|
202 |
$stepspersent=1;
|
203 |
+
//PHP_SAPI for fcgi requires a data flush of at least 256 bytes every 40 seconds or else it forces a script hault
|
204 |
+
if ( stristr( PHP_SAPI , 'fcgi') ) {
|
205 |
+
echo str_repeat(' ', 13 );
|
206 |
+
@flush();
|
207 |
+
}
|
208 |
@set_time_limit(0);
|
209 |
if (is_writable($STATIC['TEMPDIR'].'.running')) {
|
210 |
file_put_contents($STATIC['TEMPDIR'].'.running',serialize(array('timestamp'=>time(),'JOBID'=>$STATIC['JOB']['jobid'],'LOGFILE'=>$STATIC['LOGFILE'],'STEPSPERSENT'=>$stepspersent,'STEPPERSENT'=>$steppersent,'ABSPATH'=>$STATIC['WP']['ABSPATH'],'WORKING'=>$WORKING)));
|
436 |
//Create PHP Mailer
|
437 |
require_once($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC'].'/class-phpmailer.php');
|
438 |
$phpmailer = new PHPMailer();
|
439 |
+
$phpmailer->CharSet=$STATIC['WP']['CHARSET'];
|
440 |
//Setting den methode
|
441 |
if ($STATIC['CFG']['mailmethod']=="SMTP") {
|
442 |
require_once($STATIC['WP']['ABSPATH'].$STATIC['WP']['WPINC'].'/class-smtp.php');
|
job/job_run.php
CHANGED
@@ -7,7 +7,7 @@ $STATIC['TEMPDIR']=realpath($STATIC['TEMPDIR']).'/';
|
|
7 |
//check temp dir
|
8 |
if (empty($STATIC['TEMPDIR']) || !is_dir($STATIC['TEMPDIR']) || !is_writable($STATIC['TEMPDIR']))
|
9 |
die($STATIC['TEMPDIR'].'Temp dir not writable!!! Job aborted!');
|
10 |
-
//write PHP log
|
11 |
@ini_set( 'error_log', $STATIC['TEMPDIR'].'php_error.log' );
|
12 |
@ini_set( 'display_errors', 'Off' );
|
13 |
@ini_set( 'log_errors', 'On' );
|
@@ -69,14 +69,14 @@ set_error_handler('joberrorhandler',E_ALL | E_STRICT);
|
|
69 |
$runningfile=get_working_file();
|
70 |
$revtime=time()-$STATIC['CFG']['jobscriptruntimelong']-10;
|
71 |
if ($WORKING['PID']!=getmypid() and $runningfile['timestamp']>$revtime and $_POST['type']=='restarttime') {
|
72 |
-
trigger_error(__('Job restart terminated,
|
73 |
die();
|
74 |
} elseif($_POST['type']=='restarttime') {
|
75 |
-
trigger_error(__('Job restarted,
|
76 |
} elseif ($WORKING['PID']!=getmypid() and $WORKING['PID']!=0 and $runningfile['timestamp']>$revtime) {
|
77 |
-
trigger_error(sprintf(__('Second
|
78 |
die();
|
79 |
-
}
|
80 |
unset($runningfile);
|
81 |
//set Pid
|
82 |
$WORKING['PID']=getmypid();
|
@@ -103,14 +103,14 @@ foreach($WORKING['STEPS'] as $step) {
|
|
103 |
require_once(BACKWPUP_JOBRUN_FOLDER.$stepfile);
|
104 |
} else {
|
105 |
trigger_error(sprintf(__('Can not find job step file: %s','backwpup'),$stepfile),E_USER_ERROR);
|
106 |
-
}
|
107 |
}
|
108 |
}
|
109 |
// Working step by step
|
110 |
foreach($WORKING['STEPS'] as $step) {
|
111 |
//display some info massages bevor fist step
|
112 |
if (count($WORKING['STEPSDONE'])==0) {
|
113 |
-
trigger_error(sprintf(__('[INFO]: BackWPup version %1$s
|
114 |
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);
|
115 |
trigger_error(__('[INFO]: BackWPup job:','backwpup').' '.$STATIC['JOB']['jobid'].'. '.$STATIC['JOB']['name'].'; '.$STATIC['JOB']['type'],E_USER_NOTICE);
|
116 |
if ($STATIC['JOB']['activated'])
|
@@ -167,7 +167,7 @@ foreach($WORKING['STEPS'] as $step) {
|
|
167 |
trigger_error(sprintf(__('Can not find job step function %s!','backwpup'),strtolower($step)),E_USER_ERROR);
|
168 |
$WORKING['STEPSDONE'][]=$step;
|
169 |
}
|
170 |
-
}
|
171 |
}
|
172 |
//close mysql
|
173 |
mysql_close($mysqlconlink);
|
7 |
//check temp dir
|
8 |
if (empty($STATIC['TEMPDIR']) || !is_dir($STATIC['TEMPDIR']) || !is_writable($STATIC['TEMPDIR']))
|
9 |
die($STATIC['TEMPDIR'].'Temp dir not writable!!! Job aborted!');
|
10 |
+
//write PHP log
|
11 |
@ini_set( 'error_log', $STATIC['TEMPDIR'].'php_error.log' );
|
12 |
@ini_set( 'display_errors', 'Off' );
|
13 |
@ini_set( 'log_errors', 'On' );
|
69 |
$runningfile=get_working_file();
|
70 |
$revtime=time()-$STATIC['CFG']['jobscriptruntimelong']-10;
|
71 |
if ($WORKING['PID']!=getmypid() and $runningfile['timestamp']>$revtime and $_POST['type']=='restarttime') {
|
72 |
+
trigger_error(__('Job restart terminated, because old job runs again!','backwpup'),E_USER_ERROR);
|
73 |
die();
|
74 |
} elseif($_POST['type']=='restarttime') {
|
75 |
+
trigger_error(__('Job restarted, because inactivity!','backwpup'),E_USER_ERROR);
|
76 |
} elseif ($WORKING['PID']!=getmypid() and $WORKING['PID']!=0 and $runningfile['timestamp']>$revtime) {
|
77 |
+
trigger_error(sprintf(__('Second Process is running, because old job runs! Start type is %s','backwpup'),$_POST['type']),E_USER_ERROR);
|
78 |
die();
|
79 |
+
}
|
80 |
unset($runningfile);
|
81 |
//set Pid
|
82 |
$WORKING['PID']=getmypid();
|
103 |
require_once(BACKWPUP_JOBRUN_FOLDER.$stepfile);
|
104 |
} else {
|
105 |
trigger_error(sprintf(__('Can not find job step file: %s','backwpup'),$stepfile),E_USER_ERROR);
|
106 |
+
}
|
107 |
}
|
108 |
}
|
109 |
// Working step by step
|
110 |
foreach($WORKING['STEPS'] as $step) {
|
111 |
//display some info massages bevor fist step
|
112 |
if (count($WORKING['STEPSDONE'])==0) {
|
113 |
+
trigger_error(sprintf(__('[INFO]: BackWPup version %1$s; WordPress version %4$s; Copyright © %2$s %3$s','backwpup'),$STATIC['BACKWPUP']['VERSION'],date('Y',time()+$STATIC['WP']['TIMEDIFF']),'<a href="http://inpsyde.com" target="_blank">Inpsyde GmbH</a> ' . __('Author:','backwpup') .' <a href="http://danielhuesken.de" target="_blank">Daniel Hüsken</a>',$STATIC['WP']['VERSION']),E_USER_NOTICE);
|
114 |
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);
|
115 |
trigger_error(__('[INFO]: BackWPup job:','backwpup').' '.$STATIC['JOB']['jobid'].'. '.$STATIC['JOB']['name'].'; '.$STATIC['JOB']['type'],E_USER_NOTICE);
|
116 |
if ($STATIC['JOB']['activated'])
|
167 |
trigger_error(sprintf(__('Can not find job step function %s!','backwpup'),strtolower($step)),E_USER_ERROR);
|
168 |
$WORKING['STEPSDONE'][]=$step;
|
169 |
}
|
170 |
+
}
|
171 |
}
|
172 |
//close mysql
|
173 |
mysql_close($mysqlconlink);
|
job/show_working.php
CHANGED
@@ -50,7 +50,8 @@ function backwpup_read_logheader($logfile) {
|
|
50 |
return $joddata;
|
51 |
}
|
52 |
|
53 |
-
|
|
|
54 |
if (substr($logfile,-5)!='.html' && substr(basename($logfile),0,13)!='backwpup_log_')
|
55 |
die();
|
56 |
|
50 |
return $joddata;
|
51 |
}
|
52 |
|
53 |
+
if (isset($_POST['logfile']))
|
54 |
+
$logfile=realpath($_POST['logfile']);
|
55 |
if (substr($logfile,-5)!='.html' && substr(basename($logfile),0,13)!='backwpup_log_')
|
56 |
die();
|
57 |
|
job/wp_export_generate.php
CHANGED
@@ -8,7 +8,7 @@ define('W3TC_IN_MINIFY',false); //W3TC will not loaded
|
|
8 |
|
9 |
$backwpupjobtemp=str_replace('\\','/',dirname(__FILE__).'/../tmp/');
|
10 |
$backwpupjobtemp=rtrim(realpath($backwpupjobtemp),'/');
|
11 |
-
if (!empty($backwpupjobtemp) && is_dir($backwpupjobtemp) && is_file($backwpupjobtemp
|
12 |
$runningfile=file_get_contents($backwpupjobtemp.'/.running');
|
13 |
$infile=array();
|
14 |
if (!empty($runningfile))
|
8 |
|
9 |
$backwpupjobtemp=str_replace('\\','/',dirname(__FILE__).'/../tmp/');
|
10 |
$backwpupjobtemp=rtrim(realpath($backwpupjobtemp),'/');
|
11 |
+
if (!empty($backwpupjobtemp) && is_dir($backwpupjobtemp) && is_file($backwpupjobtemp.'/.running'))
|
12 |
$runningfile=file_get_contents($backwpupjobtemp.'/.running');
|
13 |
$infile=array();
|
14 |
if (!empty($runningfile))
|
js/backwpupeditjob.js
CHANGED
@@ -1,7 +1,7 @@
|
|
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').prop('checked') || true == $('#jobtype-select-DB').prop('checked') || true == $('#jobtype-select-WPEXP').prop('checked')) {
|
7 |
$('#backwpup_jobedit_destfolder').show();
|
@@ -42,7 +42,7 @@ jQuery(document).ready( function($) {
|
|
42 |
$('#filebackup').hide();
|
43 |
}
|
44 |
});
|
45 |
-
|
46 |
$('input[name="cronselect"]').change(function() {
|
47 |
if ( 'basic' == $('input[name="cronselect"]:checked').val()) {
|
48 |
$('#schedadvanced').hide();
|
@@ -54,15 +54,15 @@ jQuery(document).ready( function($) {
|
|
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 = [];
|
@@ -83,7 +83,7 @@ jQuery(document).ready( function($) {
|
|
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',
|
@@ -96,7 +96,7 @@ jQuery(document).ready( function($) {
|
|
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();});
|
@@ -115,21 +115,21 @@ jQuery(document).ready( function($) {
|
|
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());
|
@@ -137,7 +137,7 @@ jQuery(document).ready( function($) {
|
|
137 |
cronmday.push('*');
|
138 |
cronmon.push('*');
|
139 |
cronwday.push('*');
|
140 |
-
}
|
141 |
var data = {
|
142 |
action: 'backwpup_get_cron_text',
|
143 |
backwpupajaxpage: 'backwpupeditjob',
|
@@ -150,7 +150,7 @@ jQuery(document).ready( function($) {
|
|
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();});
|
@@ -162,7 +162,7 @@ jQuery(document).ready( function($) {
|
|
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 = {
|
@@ -176,7 +176,7 @@ jQuery(document).ready( function($) {
|
|
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();});
|
@@ -193,11 +193,11 @@ jQuery(document).ready( function($) {
|
|
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',
|
@@ -211,12 +211,12 @@ jQuery(document).ready( function($) {
|
|
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',
|
@@ -229,28 +229,12 @@ jQuery(document).ready( function($) {
|
|
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 |
-
|
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(){
|
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').prop('checked') || true == $('#jobtype-select-DB').prop('checked') || true == $('#jobtype-select-WPEXP').prop('checked')) {
|
7 |
$('#backwpup_jobedit_destfolder').show();
|
42 |
$('#filebackup').hide();
|
43 |
}
|
44 |
});
|
45 |
+
|
46 |
$('input[name="cronselect"]').change(function() {
|
47 |
if ( 'basic' == $('input[name="cronselect"]:checked').val()) {
|
48 |
$('#schedadvanced').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 = [];
|
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',
|
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();});
|
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());
|
137 |
cronmday.push('*');
|
138 |
cronmon.push('*');
|
139 |
cronwday.push('*');
|
140 |
+
}
|
141 |
var data = {
|
142 |
action: 'backwpup_get_cron_text',
|
143 |
backwpupajaxpage: 'backwpupeditjob',
|
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();});
|
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 = {
|
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();});
|
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',
|
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',
|
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 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
if ( $('#title').val() == '' )
|
239 |
$('#title').siblings('#title-prompt-text').css('visibility', '');
|
240 |
$('#title-prompt-text').click(function(){
|
lang/backwpup-ru_RU.mo
ADDED
Binary file
|
lang/backwpup-ru_RU.po
ADDED
@@ -0,0 +1,2916 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: BackWPup v2.1.15\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2012-10-01 22:37:13+0000\n"
|
7 |
+
"Last-Translator: cyber01 <cyber@cyber01.ru>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-Language: Russian\n"
|
14 |
+
"X-Poedit-Country: RUSSIA\n"
|
15 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
17 |
+
"X-Poedit-Basepath: ../\n"
|
18 |
+
"X-Poedit-Bookmarks: \n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
"X-Textdomain-Support: yes"
|
21 |
+
|
22 |
+
#. translators: plugin header field 'Name'
|
23 |
+
#: backwpup-functions.php:4
|
24 |
+
#: backwpup-functions.php:269
|
25 |
+
#: backwpup-functions.php:494
|
26 |
+
#: backwpup.php:0
|
27 |
+
#@ backwpup
|
28 |
+
msgid "BackWPup"
|
29 |
+
msgstr "BackWPup"
|
30 |
+
|
31 |
+
#: backwpup-functions.php:5
|
32 |
+
#: backwpup-functions.php:497
|
33 |
+
#: pages/page_backwpupsettings.php:101
|
34 |
+
#@ backwpup
|
35 |
+
msgid "Jobs"
|
36 |
+
msgstr "Задачи"
|
37 |
+
|
38 |
+
#: backwpup-functions.php:7
|
39 |
+
#: pages/page_backwpup.php:8
|
40 |
+
#: pages/page_backwpupeditjob.php:25
|
41 |
+
#@ backwpup
|
42 |
+
msgid "Add New"
|
43 |
+
msgstr "Добавить задачу"
|
44 |
+
|
45 |
+
#: backwpup-functions.php:9
|
46 |
+
#@ backwpup
|
47 |
+
msgid "Working"
|
48 |
+
msgstr "Статус выполнения"
|
49 |
+
|
50 |
+
#: backwpup-functions.php:11
|
51 |
+
#: backwpup-functions.php:498
|
52 |
+
#: pages/header_backwpupbackups.php:327
|
53 |
+
#: pages/header_backwpuplogs.php:61
|
54 |
+
#: pages/page_backwpupsettings.php:79
|
55 |
+
#@ backwpup
|
56 |
+
msgid "Logs"
|
57 |
+
msgstr "Журналы выполнения"
|
58 |
+
|
59 |
+
#: backwpup-functions.php:13
|
60 |
+
#: backwpup-functions.php:499
|
61 |
+
#@ backwpup
|
62 |
+
msgid "Backups"
|
63 |
+
msgstr "Рез.копии"
|
64 |
+
|
65 |
+
#: backwpup-functions.php:15
|
66 |
+
#@ backwpup
|
67 |
+
msgid "Tools"
|
68 |
+
msgstr "Инструменты"
|
69 |
+
|
70 |
+
#: backwpup-functions.php:17
|
71 |
+
#: backwpup-functions.php:250
|
72 |
+
#@ backwpup
|
73 |
+
msgid "Settings"
|
74 |
+
msgstr "Настройки"
|
75 |
+
|
76 |
+
#. translators: plugin header field 'PluginURI'
|
77 |
+
#: backwpup-functions.php:87
|
78 |
+
#: backwpup-functions.php:107
|
79 |
+
#: backwpup-functions.php:129
|
80 |
+
#: backwpup.php:0
|
81 |
+
#@ backwpup
|
82 |
+
msgid "http://backwpup.com"
|
83 |
+
msgstr "http://backwpup.com"
|
84 |
+
|
85 |
+
#: backwpup-functions.php:90
|
86 |
+
#: backwpup-functions.php:97
|
87 |
+
#@ backwpup
|
88 |
+
msgid "Plugin Info"
|
89 |
+
msgstr "Информация о плагине"
|
90 |
+
|
91 |
+
#: backwpup-functions.php:92
|
92 |
+
#: backwpup-functions.php:99
|
93 |
+
#: backwpup-functions.php:131
|
94 |
+
#: backwpup-functions.php:143
|
95 |
+
#@ backwpup
|
96 |
+
msgid "BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions."
|
97 |
+
msgstr "BackWPup не предоставляет никаких гарантий. Это свободное программное обеспечение, вы можете распространять его при определенных условиях"
|
98 |
+
|
99 |
+
#: backwpup-functions.php:104
|
100 |
+
#@ backwpup
|
101 |
+
msgid "Overview"
|
102 |
+
msgstr "Обзор"
|
103 |
+
|
104 |
+
#: backwpup-functions.php:109
|
105 |
+
#: backwpup-functions.php:119
|
106 |
+
#: backwpup-functions.php:132
|
107 |
+
#: backwpup-functions.php:144
|
108 |
+
#@ backwpup
|
109 |
+
msgid "For more information:"
|
110 |
+
msgstr "Дополнительная информация:"
|
111 |
+
|
112 |
+
#: backwpup-functions.php:111
|
113 |
+
#: backwpup-functions.php:121
|
114 |
+
#: backwpup-functions.php:134
|
115 |
+
#: backwpup-functions.php:146
|
116 |
+
#@ backwpup
|
117 |
+
msgid "Documentation"
|
118 |
+
msgstr "Документация"
|
119 |
+
|
120 |
+
#: backwpup-functions.php:112
|
121 |
+
#: backwpup-functions.php:122
|
122 |
+
#: backwpup-functions.php:135
|
123 |
+
#: backwpup-functions.php:147
|
124 |
+
#: backwpup-functions.php:260
|
125 |
+
#@ backwpup
|
126 |
+
msgid "FAQ"
|
127 |
+
msgstr "ЧАВО"
|
128 |
+
|
129 |
+
#: backwpup-functions.php:113
|
130 |
+
#: backwpup-functions.php:123
|
131 |
+
#: backwpup-functions.php:136
|
132 |
+
#: backwpup-functions.php:148
|
133 |
+
#@ backwpup
|
134 |
+
msgid "Support Forums"
|
135 |
+
msgstr "Форумы поддержки"
|
136 |
+
|
137 |
+
#: backwpup-functions.php:114
|
138 |
+
#: backwpup-functions.php:124
|
139 |
+
#: backwpup-functions.php:137
|
140 |
+
#: backwpup-functions.php:149
|
141 |
+
#: backwpup-functions.php:262
|
142 |
+
#@ backwpup
|
143 |
+
msgid "Donate"
|
144 |
+
msgstr "Пожертвовать"
|
145 |
+
|
146 |
+
#: backwpup-functions.php:115
|
147 |
+
#: backwpup-functions.php:125
|
148 |
+
#: backwpup-functions.php:138
|
149 |
+
#: backwpup-functions.php:150
|
150 |
+
#@ backwpup
|
151 |
+
msgid "Google+"
|
152 |
+
msgstr "Google+"
|
153 |
+
|
154 |
+
#: backwpup-functions.php:250
|
155 |
+
#@ backwpup
|
156 |
+
msgid "Go to Settings Page"
|
157 |
+
msgstr "Перейти к странице настроек"
|
158 |
+
|
159 |
+
#: backwpup-functions.php:261
|
160 |
+
#@ backwpup
|
161 |
+
msgid "Support"
|
162 |
+
msgstr "Поддержка"
|
163 |
+
|
164 |
+
#: backwpup-functions.php:326
|
165 |
+
#@ backwpup
|
166 |
+
msgid "WP XML Export"
|
167 |
+
msgstr "Экспорт WP XML"
|
168 |
+
|
169 |
+
#: backwpup-functions.php:329
|
170 |
+
#: pages/page_backwpupeditjob.php:96
|
171 |
+
#@ backwpup
|
172 |
+
msgid "File Backup"
|
173 |
+
msgstr "Рез.копия файлов"
|
174 |
+
|
175 |
+
#: backwpup-functions.php:332
|
176 |
+
#@ backwpup
|
177 |
+
msgid "Database Backup"
|
178 |
+
msgstr "Рез.копия БД"
|
179 |
+
|
180 |
+
#: backwpup-functions.php:335
|
181 |
+
#@ backwpup
|
182 |
+
msgid "Optimize Database Tables"
|
183 |
+
msgstr "Оптимизировать таблицы БД"
|
184 |
+
|
185 |
+
#: backwpup-functions.php:338
|
186 |
+
#@ backwpup
|
187 |
+
msgid "Check Database Tables"
|
188 |
+
msgstr "Проверить таблицы БД"
|
189 |
+
|
190 |
+
#: backwpup-functions.php:403
|
191 |
+
#@ backwpup
|
192 |
+
msgid "View Log:"
|
193 |
+
msgstr "Просмотр журнала:"
|
194 |
+
|
195 |
+
#: backwpup-functions.php:405
|
196 |
+
#: pages/func_backwpuplogs.php:135
|
197 |
+
#, php-format
|
198 |
+
#@ backwpup
|
199 |
+
msgid "%d ERROR"
|
200 |
+
msgid_plural "%d ERRORS"
|
201 |
+
msgstr[0] ""
|
202 |
+
msgstr[1] "%d ошибка"
|
203 |
+
msgstr[2] "%d ошибок"
|
204 |
+
|
205 |
+
#: backwpup-functions.php:407
|
206 |
+
#: pages/func_backwpuplogs.php:137
|
207 |
+
#, php-format
|
208 |
+
#@ backwpup
|
209 |
+
msgid "%d WARNING"
|
210 |
+
msgid_plural "%d WARNINGS"
|
211 |
+
msgstr[0] ""
|
212 |
+
msgstr[1] "%d предупреждение"
|
213 |
+
msgstr[2] "%d предупреждений"
|
214 |
+
|
215 |
+
#: backwpup-functions.php:409
|
216 |
+
#: pages/func_backwpuplogs.php:139
|
217 |
+
#@ backwpup
|
218 |
+
msgid "O.K."
|
219 |
+
msgstr "ОК"
|
220 |
+
|
221 |
+
#: backwpup-functions.php:417
|
222 |
+
#: backwpup-functions.php:447
|
223 |
+
#: backwpup-functions.php:475
|
224 |
+
#: pages/page_backwpupsettings.php:59
|
225 |
+
#@ backwpup
|
226 |
+
msgid "none"
|
227 |
+
msgstr "Ничего нет"
|
228 |
+
|
229 |
+
#: backwpup-functions.php:435
|
230 |
+
#@ backwpup
|
231 |
+
msgid "How many of the lastes logs would you like to display?"
|
232 |
+
msgstr "Как много журналов выполнения вы хотите посмотреть?"
|
233 |
+
|
234 |
+
#: backwpup-functions.php:461
|
235 |
+
#, php-format
|
236 |
+
#@ backwpup
|
237 |
+
msgid "working since %d sec."
|
238 |
+
msgstr "работает уже %d сек."
|
239 |
+
|
240 |
+
#: backwpup-functions.php:462
|
241 |
+
#: pages/func_backwpup.php:107
|
242 |
+
#@ backwpup
|
243 |
+
msgid "View!"
|
244 |
+
msgstr "Просмотреть!"
|
245 |
+
|
246 |
+
#: backwpup-functions.php:463
|
247 |
+
#: pages/func_backwpup.php:108
|
248 |
+
#@ backwpup
|
249 |
+
msgid "Abort!"
|
250 |
+
msgstr "Остановить!"
|
251 |
+
|
252 |
+
#: backwpup-functions.php:468
|
253 |
+
#@ backwpup
|
254 |
+
msgid "Edit Job"
|
255 |
+
msgstr "Изменить задачу"
|
256 |
+
|
257 |
+
#: backwpup-functions.php:483
|
258 |
+
#: pages/page_backwpuplogs.php:8
|
259 |
+
#@ backwpup
|
260 |
+
msgid "BackWPup Logs"
|
261 |
+
msgstr "Журналы выполнения BackWPup"
|
262 |
+
|
263 |
+
#: backwpup-functions.php:484
|
264 |
+
#@ backwpup
|
265 |
+
msgid "BackWPup Active Jobs"
|
266 |
+
msgstr "Активные задачи BackWPup"
|
267 |
+
|
268 |
+
#: backwpup-functions.php:496
|
269 |
+
#@ backwpup
|
270 |
+
msgid "See Working!"
|
271 |
+
msgstr "Просмотр статуса выполнения!"
|
272 |
+
|
273 |
+
#: backwpup-functions.php:500
|
274 |
+
#@ backwpup
|
275 |
+
msgid "BackWPup Job"
|
276 |
+
msgstr "Задачу BackWPup"
|
277 |
+
|
278 |
+
#: backwpup-functions.php:715
|
279 |
+
#, php-format
|
280 |
+
#@ backwpup
|
281 |
+
msgid "- WordPress %d or higher is needed!"
|
282 |
+
msgstr "- Требуется WordPress версии %d или выше!"
|
283 |
+
|
284 |
+
#: backwpup-functions.php:719
|
285 |
+
#@ backwpup
|
286 |
+
msgid "- PHP 5.2.4 or higher is needed!"
|
287 |
+
msgstr "- Требуется PHP 5.2.4 или выше!"
|
288 |
+
|
289 |
+
#: backwpup-functions.php:726
|
290 |
+
#, php-format
|
291 |
+
#@ backwpup
|
292 |
+
msgid "- Temp folder '%s' does not exists!"
|
293 |
+
msgstr "- Временная папка '%s' не существует!"
|
294 |
+
|
295 |
+
#: backwpup-functions.php:729
|
296 |
+
#, php-format
|
297 |
+
#@ backwpup
|
298 |
+
msgid "- Temp folder '%s' is not writeable!"
|
299 |
+
msgstr "- Временная папка '%s' недоступна для записи!"
|
300 |
+
|
301 |
+
#: backwpup-functions.php:735
|
302 |
+
#, php-format
|
303 |
+
#@ backwpup
|
304 |
+
msgid "- Log folder '%s' does not exists!"
|
305 |
+
msgstr "- Папка с журналами '%s' не существует!"
|
306 |
+
|
307 |
+
#: backwpup-functions.php:738
|
308 |
+
#, php-format
|
309 |
+
#@ backwpup
|
310 |
+
msgid "- Log folder '%s' is not writeable!"
|
311 |
+
msgstr "- Папка с журналами '%s' недоступна для записи!"
|
312 |
+
|
313 |
+
#: backwpup-functions.php:741
|
314 |
+
#, php-format
|
315 |
+
#@ backwpup
|
316 |
+
msgid "- Log folder '%s' is not in open_basedir path!"
|
317 |
+
msgstr "- Папка с журналами '%s' находится не в open_basedir!"
|
318 |
+
|
319 |
+
#: backwpup-functions.php:744
|
320 |
+
#, php-format
|
321 |
+
#@ backwpup
|
322 |
+
msgid "- WP_CONTENT_URL '%s' must set as a full URL!"
|
323 |
+
msgstr "- WP_CONTENT_URL '%s' должен быть указан полный URL!"
|
324 |
+
|
325 |
+
#: backwpup-functions.php:747
|
326 |
+
#, php-format
|
327 |
+
#@ backwpup
|
328 |
+
msgid "- WP_PLUGIN_URL '%s' must set as a full URL!"
|
329 |
+
msgstr "- WP_PLUGIN_URL '%s' должен быть указан полный URL!"
|
330 |
+
|
331 |
+
#: backwpup-functions.php:751
|
332 |
+
#@ backwpup
|
333 |
+
msgid "- WP-Cron isn't working, please check it!"
|
334 |
+
msgstr "- WP-Cron не работает, проверьте его!"
|
335 |
+
|
336 |
+
#: backwpup-functions.php:807
|
337 |
+
#@ backwpup
|
338 |
+
msgid "New"
|
339 |
+
msgstr "Новая задача"
|
340 |
+
|
341 |
+
#. translators: plugin header field 'Description'
|
342 |
+
#: backwpup.php:0
|
343 |
+
#@ backwpup
|
344 |
+
msgid "WordPress Backup and more..."
|
345 |
+
msgstr "WordPress Backup и другое..."
|
346 |
+
|
347 |
+
#. translators: plugin header field 'Author'
|
348 |
+
#: backwpup.php:0
|
349 |
+
#@ backwpup
|
350 |
+
msgid "Daniel Hüsken"
|
351 |
+
msgstr "Daniel Hüsken"
|
352 |
+
|
353 |
+
#. translators: plugin header field 'AuthorURI'
|
354 |
+
#: backwpup.php:0
|
355 |
+
#@ backwpup
|
356 |
+
msgid "http://danielhuesken.de"
|
357 |
+
msgstr "http://danielhuesken.de"
|
358 |
+
|
359 |
+
#. translators: plugin header field 'Version'
|
360 |
+
#: backwpup.php:0
|
361 |
+
#@ backwpup
|
362 |
+
msgid "2.1.15"
|
363 |
+
msgstr "2.1.15"
|
364 |
+
|
365 |
+
#: job/backup_create.php:13
|
366 |
+
#, php-format
|
367 |
+
#@ backwpup
|
368 |
+
msgid "%d. try to create backup zip archive..."
|
369 |
+
msgstr "%d. создать zip архив в резервными копиями..."
|
370 |
+
|
371 |
+
#: job/backup_create.php:18
|
372 |
+
#, php-format
|
373 |
+
#@ backwpup
|
374 |
+
msgid "Can not add \"%s\" to zip archive!"
|
375 |
+
msgstr "Невозможно добавить \"%s\" в zip архив!"
|
376 |
+
|
377 |
+
#: job/backup_create.php:25
|
378 |
+
#@ backwpup
|
379 |
+
msgid "(4) ER_SEEK"
|
380 |
+
msgstr "(4) ER_SEEK"
|
381 |
+
|
382 |
+
#: job/backup_create.php:27
|
383 |
+
#@ backwpup
|
384 |
+
msgid "(5) ER_READ"
|
385 |
+
msgstr "(5) ER_READ"
|
386 |
+
|
387 |
+
#: job/backup_create.php:29
|
388 |
+
#@ backwpup
|
389 |
+
msgid "(9) ER_NOENT"
|
390 |
+
msgstr "(9) ER_NOENT"
|
391 |
+
|
392 |
+
#: job/backup_create.php:31
|
393 |
+
#@ backwpup
|
394 |
+
msgid "(10) ER_EXISTS"
|
395 |
+
msgstr "(10) ER_EXISTS"
|
396 |
+
|
397 |
+
#: job/backup_create.php:33
|
398 |
+
#@ backwpup
|
399 |
+
msgid "(11) ER_OPEN"
|
400 |
+
msgstr "(11) ER_OPEN"
|
401 |
+
|
402 |
+
#: job/backup_create.php:35
|
403 |
+
#@ backwpup
|
404 |
+
msgid "(14) ER_MEMORY"
|
405 |
+
msgstr "(14) ER_MEMORY"
|
406 |
+
|
407 |
+
#: job/backup_create.php:37
|
408 |
+
#@ backwpup
|
409 |
+
msgid "(18) ER_INVAL"
|
410 |
+
msgstr "(18) ER_INVAL"
|
411 |
+
|
412 |
+
#: job/backup_create.php:39
|
413 |
+
#@ backwpup
|
414 |
+
msgid "(19) ER_NOZIP"
|
415 |
+
msgstr "(19) ER_NOZIP"
|
416 |
+
|
417 |
+
#: job/backup_create.php:41
|
418 |
+
#@ backwpup
|
419 |
+
msgid "(21) ER_INCONS"
|
420 |
+
msgstr "(21) ER_INCONS"
|
421 |
+
|
422 |
+
#: job/backup_create.php:42
|
423 |
+
#, php-format
|
424 |
+
#@ backwpup
|
425 |
+
msgid "Zip returns status: %s"
|
426 |
+
msgstr "Zip вернул статус: %s"
|
427 |
+
|
428 |
+
#: job/backup_create.php:45
|
429 |
+
#@ backwpup
|
430 |
+
msgid "Backup zip archive create done!"
|
431 |
+
msgstr "Zip архив с резервными копиями успешно создан!"
|
432 |
+
|
433 |
+
#: job/backup_create.php:48
|
434 |
+
#@ backwpup
|
435 |
+
msgid "Can not create backup zip archive $s!"
|
436 |
+
msgstr "Невозможно создать zip архив $s!"
|
437 |
+
|
438 |
+
#: job/backup_create.php:59
|
439 |
+
#, php-format
|
440 |
+
#@ backwpup
|
441 |
+
msgid "%d. try to create backup zip (PclZip) archive..."
|
442 |
+
msgstr "%d. попытка создать zip (PclZip) архив с рез.копией..."
|
443 |
+
|
444 |
+
#: job/backup_create.php:68
|
445 |
+
#, php-format
|
446 |
+
#@ backwpup
|
447 |
+
msgid "Zip archive create error: %s"
|
448 |
+
msgstr "Ошибка создания zip архива: %s"
|
449 |
+
|
450 |
+
#: job/backup_create.php:72
|
451 |
+
#@ backwpup
|
452 |
+
msgid "Backup zip archive create done"
|
453 |
+
msgstr "Zip архив с рез.копией успешно создан"
|
454 |
+
|
455 |
+
#: job/backup_create.php:89
|
456 |
+
#@ backwpup
|
457 |
+
msgid "Can not create tar arcive file!"
|
458 |
+
msgstr "Невозможно создать tar архив!"
|
459 |
+
|
460 |
+
#: job/backup_create.php:92
|
461 |
+
#, php-format
|
462 |
+
#@ backwpup
|
463 |
+
msgid "%1$d. try to create %2$s archive file..."
|
464 |
+
msgstr "%1$d. попытка создать %2$s архив..."
|
465 |
+
|
466 |
+
#: job/backup_create.php:100
|
467 |
+
#, php-format
|
468 |
+
#@ backwpup
|
469 |
+
msgid "File \"%s\" not readable!"
|
470 |
+
msgstr "Файл \"%s\" недоступен для чтения!"
|
471 |
+
|
472 |
+
#: job/backup_create.php:115
|
473 |
+
#, php-format
|
474 |
+
#@ backwpup
|
475 |
+
msgid "File name \"%1$s\" to long to save corectly in %2$s archive!"
|
476 |
+
msgstr "Имя файла \"%1$s\" слишком длинное, для корректного сохранения в архив %2$s!"
|
477 |
+
|
478 |
+
#: job/backup_create.php:117
|
479 |
+
#, php-format
|
480 |
+
#@ backwpup
|
481 |
+
msgid "File path \"%1$s\" to long to save corectly in %2$s archive!"
|
482 |
+
msgstr "Путь к файлу \"%1$s\" слишком длинный, для сохранения его в %2$s архиве!"
|
483 |
+
|
484 |
+
#: job/backup_create.php:195
|
485 |
+
#, php-format
|
486 |
+
#@ backwpup
|
487 |
+
msgid "%s archive creation done"
|
488 |
+
msgstr "Создание архива %s успешно завершено"
|
489 |
+
|
490 |
+
#: job/backup_create.php:199
|
491 |
+
#, php-format
|
492 |
+
#@ backwpup
|
493 |
+
msgid "Archive size is %s"
|
494 |
+
msgstr "Размер архива %s"
|
495 |
+
|
496 |
+
#: job/backup_create.php:206
|
497 |
+
#, php-format
|
498 |
+
#@ backwpup
|
499 |
+
msgid "PCL ZIP Error \"%1$s\" on file %2$s!"
|
500 |
+
msgstr "PCL ZIP ошибка: \"%1$s\" в файле %2$s!"
|
501 |
+
|
502 |
+
#: job/db_check.php:4
|
503 |
+
#, php-format
|
504 |
+
#@ backwpup
|
505 |
+
msgid "%d. try for database check..."
|
506 |
+
msgstr "%d. попытка проверить БД..."
|
507 |
+
|
508 |
+
#: job/db_check.php:13
|
509 |
+
#: job/db_check.php:29
|
510 |
+
#: job/db_check.php:44
|
511 |
+
#: job/db_dump.php:13
|
512 |
+
#: job/db_dump.php:25
|
513 |
+
#: job/db_dump.php:108
|
514 |
+
#: job/db_dump.php:118
|
515 |
+
#: job/db_optimize.php:13
|
516 |
+
#: job/db_optimize.php:28
|
517 |
+
#: job/job_functions.php:34
|
518 |
+
#: job/job_functions.php:47
|
519 |
+
#, php-format
|
520 |
+
#@ backwpup
|
521 |
+
msgid "Database error %1$s for query %2$s"
|
522 |
+
msgstr "Ошибка БД %1$s при запросе %2$s"
|
523 |
+
|
524 |
+
#: job/db_check.php:34
|
525 |
+
#: job/db_check.php:36
|
526 |
+
#: job/db_check.php:38
|
527 |
+
#, php-format
|
528 |
+
#@ backwpup
|
529 |
+
msgid "Result of table check for %1$s is: %2$s"
|
530 |
+
msgstr "Результат проверки таблицы %1$s: %2$s"
|
531 |
+
|
532 |
+
#: job/db_check.php:49
|
533 |
+
#: job/db_check.php:51
|
534 |
+
#: job/db_check.php:53
|
535 |
+
#, php-format
|
536 |
+
#@ backwpup
|
537 |
+
msgid "Result of table repair for %1$s is: %2$s"
|
538 |
+
msgstr "Результат починки таблицы %1$s: %2$s"
|
539 |
+
|
540 |
+
#: job/db_check.php:59
|
541 |
+
#@ backwpup
|
542 |
+
msgid "Database check done!"
|
543 |
+
msgstr "Проверка БД завершена!"
|
544 |
+
|
545 |
+
#: job/db_check.php:61
|
546 |
+
#@ backwpup
|
547 |
+
msgid "No tables to check"
|
548 |
+
msgstr "Нет таблиц для проверки"
|
549 |
+
|
550 |
+
#: job/db_dump.php:4
|
551 |
+
#, php-format
|
552 |
+
#@ backwpup
|
553 |
+
msgid "%d. try for database dump..."
|
554 |
+
msgstr "%d. попытка сделать дамп БД..."
|
555 |
+
|
556 |
+
#: job/db_dump.php:72
|
557 |
+
#@ backwpup
|
558 |
+
msgid "Database dump done!"
|
559 |
+
msgstr "Дамп БД завершен!"
|
560 |
+
|
561 |
+
#: job/db_dump.php:74
|
562 |
+
#@ backwpup
|
563 |
+
msgid "Can not create database dump!"
|
564 |
+
msgstr "Невозможно создать дамп БД!"
|
565 |
+
|
566 |
+
#: job/db_dump.php:77
|
567 |
+
#@ backwpup
|
568 |
+
msgid "No tables to dump"
|
569 |
+
msgstr "Нет таблиц для дампа"
|
570 |
+
|
571 |
+
#: job/db_dump.php:83
|
572 |
+
#, php-format
|
573 |
+
#@ backwpup
|
574 |
+
msgid "Add database dump \"%1$s\" with %2$s to backup file list"
|
575 |
+
msgstr "Добавить дамп БД \"%1$s\" с %2$s в список резервируемых файлов"
|
576 |
+
|
577 |
+
#: job/db_dump.php:97
|
578 |
+
#, php-format
|
579 |
+
#@ backwpup
|
580 |
+
msgid "Dump database table \"%s\""
|
581 |
+
msgstr "Дамп таблицы \"%s\""
|
582 |
+
|
583 |
+
#: job/db_optimize.php:4
|
584 |
+
#, php-format
|
585 |
+
#@ backwpup
|
586 |
+
msgid "%d. try for database optimize..."
|
587 |
+
msgstr "%d. попытка оптимизации БД..."
|
588 |
+
|
589 |
+
#: job/db_optimize.php:35
|
590 |
+
#: job/db_optimize.php:37
|
591 |
+
#: job/db_optimize.php:39
|
592 |
+
#, php-format
|
593 |
+
#@ backwpup
|
594 |
+
msgid "Result of table optimize for %1$s is: %2$s"
|
595 |
+
msgstr "Результат оптимизации таблицы %1$s: %2$s"
|
596 |
+
|
597 |
+
#: job/db_optimize.php:41
|
598 |
+
#@ backwpup
|
599 |
+
msgid "Database optimize done!"
|
600 |
+
msgstr "Оптимизация БД завершена!"
|
601 |
+
|
602 |
+
#: job/db_optimize.php:44
|
603 |
+
#@ backwpup
|
604 |
+
msgid "No tables to optimize"
|
605 |
+
msgstr "Нет таблиц для оптимизации"
|
606 |
+
|
607 |
+
#: job/dest_dropbox.php:6
|
608 |
+
#, php-format
|
609 |
+
#@ backwpup
|
610 |
+
msgid "%d. Try to sending backup file to DropBox..."
|
611 |
+
msgstr "%d. попытка отправить резервную копию в DropBox..."
|
612 |
+
|
613 |
+
#: job/dest_dropbox.php:18
|
614 |
+
#, php-format
|
615 |
+
#@ backwpup
|
616 |
+
msgid "Authed with DropBox from %s"
|
617 |
+
msgstr "Авторизован в Dropbox с %s"
|
618 |
+
|
619 |
+
#: job/dest_dropbox.php:23
|
620 |
+
#@ backwpup
|
621 |
+
msgid "No free space left on DropBox!!!"
|
622 |
+
msgstr "В Dropbox не осталось места!!!"
|
623 |
+
|
624 |
+
#: job/dest_dropbox.php:27
|
625 |
+
#, php-format
|
626 |
+
#@ backwpup
|
627 |
+
msgid "%s free on DropBox"
|
628 |
+
msgstr "%s свободно в DropBox"
|
629 |
+
|
630 |
+
#: job/dest_dropbox.php:32
|
631 |
+
#@ backwpup
|
632 |
+
msgid "Upload to DropBox now started... "
|
633 |
+
msgstr "Началась выгрузка в DropBox... "
|
634 |
+
|
635 |
+
#: job/dest_dropbox.php:38
|
636 |
+
#: job/dest_gstorage.php:27
|
637 |
+
#: job/dest_msazure.php:25
|
638 |
+
#: job/dest_s3.php:30
|
639 |
+
#: job/dest_sugarsync.php:37
|
640 |
+
#, php-format
|
641 |
+
#@ backwpup
|
642 |
+
msgid "Backup transferred to %s"
|
643 |
+
msgstr "Рез.копия перемеща в %s"
|
644 |
+
|
645 |
+
#: job/dest_dropbox.php:43
|
646 |
+
#: job/dest_dropbox.php:68
|
647 |
+
#, php-format
|
648 |
+
#@ backwpup
|
649 |
+
msgid "DropBox API: %s"
|
650 |
+
msgstr "DropBox API: %s"
|
651 |
+
|
652 |
+
#: job/dest_dropbox.php:64
|
653 |
+
#, php-format
|
654 |
+
#@ backwpup
|
655 |
+
msgid "One file deleted on DropBox"
|
656 |
+
msgid_plural "%d files deleted on DropBox"
|
657 |
+
msgstr[0] ""
|
658 |
+
msgstr[1] "Удален один файл в DropBox"
|
659 |
+
msgstr[2] "%d файлов удалено в DropBox"
|
660 |
+
|
661 |
+
#: job/dest_folder.php:25
|
662 |
+
#, php-format
|
663 |
+
#@ backwpup
|
664 |
+
msgid "One backup file deleted"
|
665 |
+
msgid_plural "%d backup files deleted"
|
666 |
+
msgstr[0] ""
|
667 |
+
msgstr[1] "Удалена одна резервная копия"
|
668 |
+
msgstr[2] "%d резервных копий удалено"
|
669 |
+
|
670 |
+
#: job/dest_ftp.php:9
|
671 |
+
#, php-format
|
672 |
+
#@ backwpup
|
673 |
+
msgid "%d. try to sending backup file to a FTP Server..."
|
674 |
+
msgstr "%d. попытка отправить резервную копию на FTP сервер..."
|
675 |
+
|
676 |
+
#: job/dest_ftp.php:15
|
677 |
+
#, php-format
|
678 |
+
#@ backwpup
|
679 |
+
msgid "Connected by SSL-FTP to Server: %s"
|
680 |
+
msgstr "Подключен к SSL-FTP серверу: %s"
|
681 |
+
|
682 |
+
#: job/dest_ftp.php:17
|
683 |
+
#, php-format
|
684 |
+
#@ backwpup
|
685 |
+
msgid "Can not connect by SSL-FTP to Server: %s"
|
686 |
+
msgstr "Невозможно подключиться к SSL-FTP серверу: %s"
|
687 |
+
|
688 |
+
#: job/dest_ftp.php:21
|
689 |
+
#@ backwpup
|
690 |
+
msgid "PHP function to connect with SSL-FTP to server not exists!"
|
691 |
+
msgstr "PHP функция для подключения к SSL-FTP серверу недоступна!"
|
692 |
+
|
693 |
+
#: job/dest_ftp.php:27
|
694 |
+
#, php-format
|
695 |
+
#@ backwpup
|
696 |
+
msgid "Connected to FTP server: %s"
|
697 |
+
msgstr "Подключен к FTP серверу: %s"
|
698 |
+
|
699 |
+
#: job/dest_ftp.php:29
|
700 |
+
#, php-format
|
701 |
+
#@ backwpup
|
702 |
+
msgid "Can not connect to FTP server: %s"
|
703 |
+
msgstr "Невозможно подключиться к FTP серверу: %s"
|
704 |
+
|
705 |
+
#: job/dest_ftp.php:36
|
706 |
+
#: job/dest_ftp.php:43
|
707 |
+
#: job/dest_ftp.php:55
|
708 |
+
#: job/dest_ftp.php:90
|
709 |
+
#, php-format
|
710 |
+
#@ backwpup
|
711 |
+
msgid "FTP Client command: %s"
|
712 |
+
msgstr "[FTP] Команда клиента: %s"
|
713 |
+
|
714 |
+
#: job/dest_ftp.php:38
|
715 |
+
#: job/dest_ftp.php:41
|
716 |
+
#: job/dest_ftp.php:45
|
717 |
+
#: job/dest_ftp.php:58
|
718 |
+
#: job/dest_ftp.php:60
|
719 |
+
#: job/dest_ftp.php:93
|
720 |
+
#: job/dest_ftp.php:95
|
721 |
+
#: job/dest_ftp.php:98
|
722 |
+
#: job/dest_ftp.php:100
|
723 |
+
#, php-format
|
724 |
+
#@ backwpup
|
725 |
+
msgid "FTP Server reply: %s"
|
726 |
+
msgstr "[FTP] Ответ сервера: %s"
|
727 |
+
|
728 |
+
#: job/dest_ftp.php:60
|
729 |
+
#@ backwpup
|
730 |
+
msgid "Error getting SYSTYPE"
|
731 |
+
msgstr "Ошибка получения SYSTYPE"
|
732 |
+
|
733 |
+
#: job/dest_ftp.php:71
|
734 |
+
#, php-format
|
735 |
+
#@ backwpup
|
736 |
+
msgid "FTP folder \"%s\" created!"
|
737 |
+
msgstr "[FTP] Папка \"%s\" успешно создана!"
|
738 |
+
|
739 |
+
#: job/dest_ftp.php:74
|
740 |
+
#, php-format
|
741 |
+
#@ backwpup
|
742 |
+
msgid "FTP folder \"%s\" can not created!"
|
743 |
+
msgstr "[FTP] Папка \"%s\" не может быть создана!"
|
744 |
+
|
745 |
+
#: job/dest_ftp.php:83
|
746 |
+
#, php-format
|
747 |
+
#@ backwpup
|
748 |
+
msgid "FTP current folder is: %s"
|
749 |
+
msgstr "[FTP] Текущая папка: %s"
|
750 |
+
|
751 |
+
#: job/dest_ftp.php:93
|
752 |
+
#@ backwpup
|
753 |
+
msgid "Entering Passive Mode"
|
754 |
+
msgstr "Переход в Пассивный режим"
|
755 |
+
|
756 |
+
#: job/dest_ftp.php:95
|
757 |
+
#@ backwpup
|
758 |
+
msgid "Can not Entering Passive Mode"
|
759 |
+
msgstr "Невозможно перейти в Пассивный режим"
|
760 |
+
|
761 |
+
#: job/dest_ftp.php:98
|
762 |
+
#@ backwpup
|
763 |
+
msgid "Entering Normal Mode"
|
764 |
+
msgstr "Переход к Обычному режиму"
|
765 |
+
|
766 |
+
#: job/dest_ftp.php:100
|
767 |
+
#@ backwpup
|
768 |
+
msgid "Can not Entering Normal Mode"
|
769 |
+
msgstr "Невозможно перейти к Обычному режиму"
|
770 |
+
|
771 |
+
#: job/dest_ftp.php:104
|
772 |
+
#@ backwpup
|
773 |
+
msgid "Upload to FTP now started ... "
|
774 |
+
msgstr "Началась выгрузка на FTP ..."
|
775 |
+
|
776 |
+
#: job/dest_ftp.php:113
|
777 |
+
#@ backwpup
|
778 |
+
msgid "Can not transfer backup to FTP server!"
|
779 |
+
msgstr "Невозможно отправить рез.копию на FTP сервер!"
|
780 |
+
|
781 |
+
#: job/dest_ftp.php:117
|
782 |
+
#, php-format
|
783 |
+
#@ backwpup
|
784 |
+
msgid "Backup transferred to FTP server: %s"
|
785 |
+
msgstr "Резервная копия успешно отправлена на FTP сервер: %s"
|
786 |
+
|
787 |
+
#: job/dest_ftp.php:138
|
788 |
+
#, php-format
|
789 |
+
#@ backwpup
|
790 |
+
msgid "Can not delete \"%s\" on FTP server!"
|
791 |
+
msgstr "Невозможно удалить \"%s\" на FTP сервере!"
|
792 |
+
|
793 |
+
#: job/dest_ftp.php:141
|
794 |
+
#, php-format
|
795 |
+
#@ backwpup
|
796 |
+
msgid "One file deleted on FTP Server"
|
797 |
+
msgid_plural "%d files deleted on FTP Server"
|
798 |
+
msgstr[0] ""
|
799 |
+
msgstr[1] "Удален один файл на FTP сервере"
|
800 |
+
msgstr[2] "%d файлов удалено на FTP сервере"
|
801 |
+
|
802 |
+
#: job/dest_gstorage.php:4
|
803 |
+
#, php-format
|
804 |
+
#@ backwpup
|
805 |
+
msgid "%d. try sending backup to Google Storage..."
|
806 |
+
msgstr "%d. попытка отправить резервную копию в Google Storage..."
|
807 |
+
|
808 |
+
#: job/dest_gstorage.php:16
|
809 |
+
#, php-format
|
810 |
+
#@ backwpup
|
811 |
+
msgid "Connected to GStorage Bucket: %s"
|
812 |
+
msgstr "Подключен к хранилищу GStorage: %s"
|
813 |
+
|
814 |
+
#: job/dest_gstorage.php:21
|
815 |
+
#@ backwpup
|
816 |
+
msgid "Upload to GStorage now started... "
|
817 |
+
msgstr "Началась выгрузка в GStorage ..."
|
818 |
+
|
819 |
+
#: job/dest_gstorage.php:31
|
820 |
+
#, php-format
|
821 |
+
#@ backwpup
|
822 |
+
msgid "Can not transfer backup to GStorage! (%1$d) %2$s"
|
823 |
+
msgstr "Невозможно отправить рез.копию в GStorage! (%1$d) %2$s"
|
824 |
+
|
825 |
+
#: job/dest_gstorage.php:34
|
826 |
+
#, php-format
|
827 |
+
#@ backwpup
|
828 |
+
msgid "GStorage Bucket \"%s\" not exists!"
|
829 |
+
msgstr "Хранилище GStorage \"%s\" не существует!"
|
830 |
+
|
831 |
+
#: job/dest_gstorage.php:37
|
832 |
+
#: job/dest_gstorage.php:66
|
833 |
+
#: pages/func_backwpupbackups.php:392
|
834 |
+
#: pages/header_backwpupbackups.php:50
|
835 |
+
#, php-format
|
836 |
+
#@ backwpup
|
837 |
+
msgid "GStorage API: %s"
|
838 |
+
msgstr "GStorage API: %s"
|
839 |
+
|
840 |
+
#: job/dest_gstorage.php:58
|
841 |
+
#, php-format
|
842 |
+
#@ backwpup
|
843 |
+
msgid "Can not delete backup on GStorage://%s"
|
844 |
+
msgstr "Невозможно удалить рез.копию в GStorage://%s"
|
845 |
+
|
846 |
+
#: job/dest_gstorage.php:61
|
847 |
+
#, php-format
|
848 |
+
#@ backwpup
|
849 |
+
msgid "One file deleted on GStorage Bucket"
|
850 |
+
msgid_plural "%d files deleted on GStorage Bucket"
|
851 |
+
msgstr[0] ""
|
852 |
+
msgstr[1] "Удален один файл в GStorage Bucket"
|
853 |
+
msgstr[2] "%d файлов удалено в GStorage Bucket"
|
854 |
+
|
855 |
+
#: job/dest_mail.php:6
|
856 |
+
#, php-format
|
857 |
+
#@ backwpup
|
858 |
+
msgid "%d. try to sending backup with mail..."
|
859 |
+
msgstr "%d. попытка отправить резервную копию на e-mail..."
|
860 |
+
|
861 |
+
#: job/dest_mail.php:22
|
862 |
+
#@ backwpup
|
863 |
+
msgid "Send mail with SMTP"
|
864 |
+
msgstr "Отправить письмо через SMTP"
|
865 |
+
|
866 |
+
#: job/dest_mail.php:26
|
867 |
+
#@ backwpup
|
868 |
+
msgid "Send mail with Sendmail"
|
869 |
+
msgstr "Отправить письмо через Sendmail"
|
870 |
+
|
871 |
+
#: job/dest_mail.php:29
|
872 |
+
#@ backwpup
|
873 |
+
msgid "Send mail with PHP mail"
|
874 |
+
msgstr "Отправить письмо через PHP mail"
|
875 |
+
|
876 |
+
#: job/dest_mail.php:32
|
877 |
+
#@ backwpup
|
878 |
+
msgid "Creating mail"
|
879 |
+
msgstr "Создание письма"
|
880 |
+
|
881 |
+
#: job/dest_mail.php:36
|
882 |
+
#, php-format
|
883 |
+
#@ backwpup
|
884 |
+
msgid "BackWPup archive from %1$s: %2$s"
|
885 |
+
msgstr "Архив BackWPup от %1$s: %2$s"
|
886 |
+
|
887 |
+
#: job/dest_mail.php:38
|
888 |
+
#, php-format
|
889 |
+
#@ backwpup
|
890 |
+
msgid "Backup archive: %s"
|
891 |
+
msgstr "Архив с рез.копией: %s"
|
892 |
+
|
893 |
+
#: job/dest_mail.php:43
|
894 |
+
#@ backwpup
|
895 |
+
msgid "Backup archive too big for sending by mail!"
|
896 |
+
msgstr "Архив с рез.копией слишком большой, для отправления на e-mail!"
|
897 |
+
|
898 |
+
#: job/dest_mail.php:50
|
899 |
+
#@ backwpup
|
900 |
+
msgid "Adding backup archive to mail"
|
901 |
+
msgstr "Добавление архива с рез.копиями к письму"
|
902 |
+
|
903 |
+
#: job/dest_mail.php:54
|
904 |
+
#@ backwpup
|
905 |
+
msgid "Send mail...."
|
906 |
+
msgstr "Отправление письма...."
|
907 |
+
|
908 |
+
#: job/dest_mail.php:56
|
909 |
+
#, php-format
|
910 |
+
#@ backwpup
|
911 |
+
msgid "Error \"%s\" on sending mail!"
|
912 |
+
msgstr "Ошибка \"%s\" при отправлении письма!"
|
913 |
+
|
914 |
+
#: job/dest_mail.php:59
|
915 |
+
#@ backwpup
|
916 |
+
msgid "Mail send!!!"
|
917 |
+
msgstr "Письмо отправлено!!!"
|
918 |
+
|
919 |
+
#: job/dest_msazure.php:5
|
920 |
+
#, php-format
|
921 |
+
#@ backwpup
|
922 |
+
msgid "%d. try sending backup to a Microsoft Azure (Blob)..."
|
923 |
+
msgstr "%d. попытка отправить рез.копию в Microsoft Azure (Blob)..."
|
924 |
+
|
925 |
+
#: job/dest_msazure.php:14
|
926 |
+
#, php-format
|
927 |
+
#@ backwpup
|
928 |
+
msgid "Microsoft Azure container \"%s\" not exists!"
|
929 |
+
msgstr "Контейнер Microsoft Azure \"%s\" не существует!"
|
930 |
+
|
931 |
+
#: job/dest_msazure.php:17
|
932 |
+
#, php-format
|
933 |
+
#@ backwpup
|
934 |
+
msgid "Connected to Microsoft Azure container \"%s\""
|
935 |
+
msgstr "Подключен к Microsoft Azure \"%s\""
|
936 |
+
|
937 |
+
#: job/dest_msazure.php:20
|
938 |
+
#@ backwpup
|
939 |
+
msgid "Upload to MS Azure now started... "
|
940 |
+
msgstr "Началась выгрузка в MS Azure ..."
|
941 |
+
|
942 |
+
#: job/dest_msazure.php:29
|
943 |
+
#@ backwpup
|
944 |
+
msgid "Can not transfer backup to Microsoft Azure!"
|
945 |
+
msgstr "Невозможно переместить архив с рез. копией в Microsoft Azure!"
|
946 |
+
|
947 |
+
#: job/dest_msazure.php:50
|
948 |
+
#, php-format
|
949 |
+
#@ backwpup
|
950 |
+
msgid "One file deleted on Microsoft Azure container"
|
951 |
+
msgid_plural "%d files deleted on Microsoft Azure container"
|
952 |
+
msgstr[0] ""
|
953 |
+
msgstr[1] "Удален один файл в Microsoft Azure"
|
954 |
+
msgstr[2] "%d файлов удалено в Microsoft Azure"
|
955 |
+
|
956 |
+
#: job/dest_msazure.php:55
|
957 |
+
#, php-format
|
958 |
+
#@ backwpup
|
959 |
+
msgid "Microsoft Azure API: %s"
|
960 |
+
msgstr "Microsoft Azure API: %s"
|
961 |
+
|
962 |
+
#: job/dest_rsc.php:4
|
963 |
+
#@ backwpup
|
964 |
+
msgid "Try to sending backup file to Rackspace Cloud..."
|
965 |
+
msgstr "Попытка отправить архив с рез.копией в Rackspace Cloud..."
|
966 |
+
|
967 |
+
#: job/dest_rsc.php:13
|
968 |
+
#@ backwpup
|
969 |
+
msgid "Connected to Rackspase ..."
|
970 |
+
msgstr "Подключен к Rackspase ..."
|
971 |
+
|
972 |
+
#: job/dest_rsc.php:29
|
973 |
+
#: job/dest_rsc.php:63
|
974 |
+
#: job/dest_rsc.php:92
|
975 |
+
#@ backwpup
|
976 |
+
msgid "Rackspase Cloud API:"
|
977 |
+
msgstr "Rackspase Cloud API:"
|
978 |
+
|
979 |
+
#: job/dest_rsc.php:34
|
980 |
+
#@ backwpup
|
981 |
+
msgid "Rackspase Cloud Container not exists:"
|
982 |
+
msgstr "Контейнер Rackspase Cloud не существует:"
|
983 |
+
|
984 |
+
#: job/dest_rsc.php:53
|
985 |
+
#@ backwpup
|
986 |
+
msgid "Upload to RSC now started ... "
|
987 |
+
msgstr "Началась выгрузка в RSC ..."
|
988 |
+
|
989 |
+
#: job/dest_rsc.php:56
|
990 |
+
#@ backwpup
|
991 |
+
msgid "Backup File transferred to RSC://"
|
992 |
+
msgstr "Архив с рез.копией перемещен в RSC://"
|
993 |
+
|
994 |
+
#: job/dest_rsc.php:60
|
995 |
+
#@ backwpup
|
996 |
+
msgid "Can not transfer backup to RSC."
|
997 |
+
msgstr "Невозможно переместить архив с резервной копией в RSC."
|
998 |
+
|
999 |
+
#: job/dest_rsc.php:85
|
1000 |
+
#@ backwpup
|
1001 |
+
msgid "Can not delete file on RSC://"
|
1002 |
+
msgstr "Невозможно удалить файл в RSC://"
|
1003 |
+
|
1004 |
+
#: job/dest_rsc.php:88
|
1005 |
+
#, php-format
|
1006 |
+
#@ backwpup
|
1007 |
+
msgid "One file deleted on RSC container"
|
1008 |
+
msgid_plural "%d files deleted on RSC container"
|
1009 |
+
msgstr[0] ""
|
1010 |
+
msgstr[1] "Удален один файл в RSC"
|
1011 |
+
msgstr[2] "%d файлов удалено в RSC"
|
1012 |
+
|
1013 |
+
#: job/dest_s3.php:4
|
1014 |
+
#, php-format
|
1015 |
+
#@ backwpup
|
1016 |
+
msgid "%d. try sending backup file to Amazon S3..."
|
1017 |
+
msgstr "%d. попытка отправить рез.копию в Amazon S3..."
|
1018 |
+
|
1019 |
+
#: job/dest_s3.php:14
|
1020 |
+
#, php-format
|
1021 |
+
#@ backwpup
|
1022 |
+
msgid "Connected to S3 Bucket: %s"
|
1023 |
+
msgstr "Подключен к S3 Bucket: %s"
|
1024 |
+
|
1025 |
+
#: job/dest_s3.php:24
|
1026 |
+
#@ backwpup
|
1027 |
+
msgid "Upload to Amazon S3 now started... "
|
1028 |
+
msgstr "Началась выгрузка в Amazon S3 ..."
|
1029 |
+
|
1030 |
+
#: job/dest_s3.php:34
|
1031 |
+
#, php-format
|
1032 |
+
#@ backwpup
|
1033 |
+
msgid "Can not transfer backup to S3! (%1$d) %2$s"
|
1034 |
+
msgstr "Невозможно переместить архив с рез.копиями в S3! (%1$d) %2$s"
|
1035 |
+
|
1036 |
+
#: job/dest_s3.php:37
|
1037 |
+
#, php-format
|
1038 |
+
#@ backwpup
|
1039 |
+
msgid "S3 Bucket \"%s\" not exists!"
|
1040 |
+
msgstr "Хранилище S3 Bucket \"%s\" недоступно!"
|
1041 |
+
|
1042 |
+
#: job/dest_s3.php:40
|
1043 |
+
#: job/dest_s3.php:69
|
1044 |
+
#, php-format
|
1045 |
+
#@ backwpup
|
1046 |
+
msgid "Amazon API: %s"
|
1047 |
+
msgstr "Amazon API: %s"
|
1048 |
+
|
1049 |
+
#: job/dest_s3.php:61
|
1050 |
+
#, php-format
|
1051 |
+
#@ backwpup
|
1052 |
+
msgid "Can not delete backup on S3://%s"
|
1053 |
+
msgstr "Невозможно удалить рез.копию в S3://%s"
|
1054 |
+
|
1055 |
+
#: job/dest_s3.php:64
|
1056 |
+
#, php-format
|
1057 |
+
#@ backwpup
|
1058 |
+
msgid "One file deleted on S3 Bucket"
|
1059 |
+
msgid_plural "%d files deleted on S3 Bucket"
|
1060 |
+
msgstr[0] ""
|
1061 |
+
msgstr[1] "Удален один файл в S3 Bucket"
|
1062 |
+
msgstr[2] "%d файлов удалено в S3 Bucket"
|
1063 |
+
|
1064 |
+
#: job/dest_sugarsync.php:6
|
1065 |
+
#, php-format
|
1066 |
+
#@ backwpup
|
1067 |
+
msgid "%d. try sending backup to SugarSync..."
|
1068 |
+
msgstr "%d. попытка отправить рез.копию в SugarSync..."
|
1069 |
+
|
1070 |
+
#: job/dest_sugarsync.php:15
|
1071 |
+
#, php-format
|
1072 |
+
#@ backwpup
|
1073 |
+
msgid "Authed to SugarSync with Nick %s"
|
1074 |
+
msgstr "Авторизован в SugarSync с ником %s"
|
1075 |
+
|
1076 |
+
#: job/dest_sugarsync.php:19
|
1077 |
+
#@ backwpup
|
1078 |
+
msgid "No free space left on SugarSync!!!"
|
1079 |
+
msgstr "В SugarSync закончилось свободное место!!!"
|
1080 |
+
|
1081 |
+
#: job/dest_sugarsync.php:24
|
1082 |
+
#, php-format
|
1083 |
+
#@ backwpup
|
1084 |
+
msgid "%s free on SugarSync"
|
1085 |
+
msgstr "%s свободно в SugarSync"
|
1086 |
+
|
1087 |
+
#: job/dest_sugarsync.php:31
|
1088 |
+
#@ backwpup
|
1089 |
+
msgid "Upload to SugarSync now started... "
|
1090 |
+
msgstr "Началась выгрузка в SugarSync ..."
|
1091 |
+
|
1092 |
+
#: job/dest_sugarsync.php:39
|
1093 |
+
#@ backwpup
|
1094 |
+
msgid "Can not transfer backup to SugarSync!"
|
1095 |
+
msgstr "Невозможно переместить файл рез.копий в SugarSync!"
|
1096 |
+
|
1097 |
+
#: job/dest_sugarsync.php:62
|
1098 |
+
#, php-format
|
1099 |
+
#@ backwpup
|
1100 |
+
msgid "One file deleted on SugarSync folder"
|
1101 |
+
msgid_plural "%d files deleted on SugarSync folder"
|
1102 |
+
msgstr[0] ""
|
1103 |
+
msgstr[1] "Удален один файл в SugarSync"
|
1104 |
+
msgstr[2] "%d файлов удалено в SugarSync"
|
1105 |
+
|
1106 |
+
#: job/dest_sugarsync.php:66
|
1107 |
+
#, php-format
|
1108 |
+
#@ backwpup
|
1109 |
+
msgid "SugarSync API: %s"
|
1110 |
+
msgstr "SugarSync API: %s"
|
1111 |
+
|
1112 |
+
#: job/file_list.php:5
|
1113 |
+
#, php-format
|
1114 |
+
#@ backwpup
|
1115 |
+
msgid "%d. try for make list of files to backup...."
|
1116 |
+
msgstr "%d. попытка создать список файлов для резервирования...."
|
1117 |
+
|
1118 |
+
#: job/file_list.php:66
|
1119 |
+
#@ backwpup
|
1120 |
+
msgid "No files to backup"
|
1121 |
+
msgstr "Нет файлов для резервирования"
|
1122 |
+
|
1123 |
+
#: job/file_list.php:68
|
1124 |
+
#, php-format
|
1125 |
+
#@ backwpup
|
1126 |
+
msgid "%1$d files with %2$s to backup"
|
1127 |
+
msgstr "%1$d файлов, общим размером %2$s для резервирования"
|
1128 |
+
|
1129 |
+
#: job/file_list.php:93
|
1130 |
+
#, php-format
|
1131 |
+
#@ backwpup
|
1132 |
+
msgid "File or folder \"%s\" is not readable!"
|
1133 |
+
msgstr "Файл или папка \"%s\" недоступны для чтения!"
|
1134 |
+
|
1135 |
+
#: job/file_list.php:95
|
1136 |
+
#, php-format
|
1137 |
+
#@ backwpup
|
1138 |
+
msgid "Link \"%s\" not followed"
|
1139 |
+
msgstr "Ссылка \"%s\" неверна"
|
1140 |
+
|
1141 |
+
#: job/file_list.php:101
|
1142 |
+
#, php-format
|
1143 |
+
#@ backwpup
|
1144 |
+
msgid "\"%s\" is not a file or directory"
|
1145 |
+
msgstr "\"%s\" это не файл и не папка"
|
1146 |
+
|
1147 |
+
#: job/job_functions.php:113
|
1148 |
+
#, php-format
|
1149 |
+
#@ backwpup
|
1150 |
+
msgid "Memory increased from %1$s to %2$s"
|
1151 |
+
msgstr "Память увеличена с %1$s до %2$s"
|
1152 |
+
|
1153 |
+
#: job/job_functions.php:115
|
1154 |
+
#, php-format
|
1155 |
+
#@ backwpup
|
1156 |
+
msgid "Can not increase memory limit is %1$s"
|
1157 |
+
msgstr "Невозможно увеличить лимит памяти %1$s"
|
1158 |
+
|
1159 |
+
#: job/job_functions.php:124
|
1160 |
+
#@ backwpup
|
1161 |
+
msgid "Set Blog to maintenance mode"
|
1162 |
+
msgstr "Переключение блога в режим обслуживания"
|
1163 |
+
|
1164 |
+
#: job/job_functions.php:138
|
1165 |
+
#@ backwpup
|
1166 |
+
msgid "Cannot set Blog to maintenance mode! Root folder is not writeable!"
|
1167 |
+
msgstr "Невозможно переключить блог в режим обслуживания! Корневая папка недоступна для записи!"
|
1168 |
+
|
1169 |
+
#: job/job_functions.php:141
|
1170 |
+
#@ backwpup
|
1171 |
+
msgid "Set Blog to normal mode"
|
1172 |
+
msgstr "Переключение блога в обычный режим"
|
1173 |
+
|
1174 |
+
#: job/job_functions.php:217
|
1175 |
+
#, php-format
|
1176 |
+
#@ backwpup
|
1177 |
+
msgid "No MySQL connection: %s"
|
1178 |
+
msgstr "Нет подключения к MySQL: %s"
|
1179 |
+
|
1180 |
+
#: job/job_functions.php:232
|
1181 |
+
#, php-format
|
1182 |
+
#@ backwpup
|
1183 |
+
msgid "No MySQL connection to database: %s"
|
1184 |
+
msgstr "Нет подключения к БД MySQL: %s"
|
1185 |
+
|
1186 |
+
#: job/job_functions.php:256
|
1187 |
+
#@ backwpup
|
1188 |
+
msgid "[WARNING]"
|
1189 |
+
msgstr "[ПРЕДУПРЕЖДЕНИЕ]"
|
1190 |
+
|
1191 |
+
#: job/job_functions.php:262
|
1192 |
+
#@ backwpup
|
1193 |
+
msgid "[ERROR]"
|
1194 |
+
msgstr "[ОШИБКА]"
|
1195 |
+
|
1196 |
+
#: job/job_functions.php:266
|
1197 |
+
#@ backwpup
|
1198 |
+
msgid "[DEPRECATED]"
|
1199 |
+
msgstr "[УСТАРЕВШЕЕ]"
|
1200 |
+
|
1201 |
+
#: job/job_functions.php:269
|
1202 |
+
#@ backwpup
|
1203 |
+
msgid "[STRICT NOTICE]"
|
1204 |
+
msgstr "[ЗАМЕЧАНИЕ]"
|
1205 |
+
|
1206 |
+
#: job/job_functions.php:272
|
1207 |
+
#@ backwpup
|
1208 |
+
msgid "[RECOVERABLE ERROR]"
|
1209 |
+
msgstr "[ВОССТАНАВЛИВАЕМАЯ ОШИБКА]"
|
1210 |
+
|
1211 |
+
#: job/job_functions.php:348
|
1212 |
+
#, php-format
|
1213 |
+
#@ backwpup
|
1214 |
+
msgid "One old log deleted"
|
1215 |
+
msgid_plural "%d old logs deleted"
|
1216 |
+
msgstr[0] ""
|
1217 |
+
msgstr[1] "Удален один устаревший журнал выполнения"
|
1218 |
+
msgstr[2] "%d устаревших журналов выполнения удалено"
|
1219 |
+
|
1220 |
+
#: job/job_functions.php:352
|
1221 |
+
#, php-format
|
1222 |
+
#@ backwpup
|
1223 |
+
msgid "Job done in %s sec."
|
1224 |
+
msgstr "Задача выполнена за %s сек."
|
1225 |
+
|
1226 |
+
#: job/job_functions.php:465
|
1227 |
+
#, php-format
|
1228 |
+
#@ backwpup
|
1229 |
+
msgid "BackWPup log from %1$s: %2$s"
|
1230 |
+
msgstr "Журнал выполнения BackWPup для %1$s: %2$s"
|
1231 |
+
|
1232 |
+
#: job/job_functions.php:492
|
1233 |
+
#, php-format
|
1234 |
+
#@ backwpup
|
1235 |
+
msgid "Signal %d send to script!"
|
1236 |
+
msgstr "Сигнал %d отправлен скрипту!"
|
1237 |
+
|
1238 |
+
#: job/job_functions.php:512
|
1239 |
+
#@ backwpup
|
1240 |
+
msgid "Can not restart on alternate cron...."
|
1241 |
+
msgstr "Невозможно перезапустить на альтернативном cron...."
|
1242 |
+
|
1243 |
+
#: job/job_functions.php:514
|
1244 |
+
#@ backwpup
|
1245 |
+
msgid "To many restarts...."
|
1246 |
+
msgstr "Слишком много перезапусков...."
|
1247 |
+
|
1248 |
+
#: job/job_functions.php:535
|
1249 |
+
#@ backwpup
|
1250 |
+
msgid "Script stop! Will started again now!"
|
1251 |
+
msgstr "Скрипт остановлен! Запустить сейчас!"
|
1252 |
+
|
1253 |
+
#: job/job_run.php:72
|
1254 |
+
#@ backwpup
|
1255 |
+
msgid "Job restart terminated, bcause old job runs again!"
|
1256 |
+
msgstr "Перезапуск задачи остановлен, потому, что старая задача была перезапущена!"
|
1257 |
+
|
1258 |
+
#: job/job_run.php:75
|
1259 |
+
#@ backwpup
|
1260 |
+
msgid "Job restarted, bcause inactivity!"
|
1261 |
+
msgstr "Задача перезапущена т.к. была неактивна!"
|
1262 |
+
|
1263 |
+
#: job/job_run.php:77
|
1264 |
+
#, php-format
|
1265 |
+
#@ backwpup
|
1266 |
+
msgid "Second Prozess is running, bcause old job runs! Start type is %s"
|
1267 |
+
msgstr "Запущен второй процесс, потому, что старая задача запущена! Начало %s"
|
1268 |
+
|
1269 |
+
#: job/job_run.php:105
|
1270 |
+
#, php-format
|
1271 |
+
#@ backwpup
|
1272 |
+
msgid "Can not find job step file: %s"
|
1273 |
+
msgstr "Невозможно найти файл шага задачи: %s"
|
1274 |
+
|
1275 |
+
#: job/job_run.php:113
|
1276 |
+
#, php-format
|
1277 |
+
#@ backwpup
|
1278 |
+
msgid "[INFO]: BackWPup version %1$s, WordPress version %4$s Copyright © %2$s %3$s"
|
1279 |
+
msgstr "[ИНФО]: Версия BackWPup: %1$s, Версия WordPress: %4$s Авторские права © %2$s %3$s"
|
1280 |
+
|
1281 |
+
#: job/job_run.php:114
|
1282 |
+
#@ backwpup
|
1283 |
+
msgid "[INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions."
|
1284 |
+
msgstr "[ИНФО]: BackWPup не дает никаких гарантий. Это свободное программное обеспечение и вы можете распространять его при определенных условиях."
|
1285 |
+
|
1286 |
+
#: job/job_run.php:115
|
1287 |
+
#@ backwpup
|
1288 |
+
msgid "[INFO]: BackWPup job:"
|
1289 |
+
msgstr "[ИНФО]: Задача BackWPup:"
|
1290 |
+
|
1291 |
+
#: job/job_run.php:117
|
1292 |
+
#@ backwpup
|
1293 |
+
msgid "[INFO]: BackWPup cron:"
|
1294 |
+
msgstr "[ИНФО]: BackWPup cron:"
|
1295 |
+
|
1296 |
+
#: job/job_run.php:119
|
1297 |
+
#@ backwpup
|
1298 |
+
msgid "[INFO]: BackWPup job started by cron"
|
1299 |
+
msgstr "[ИНФО]: Задача BackWPup запущена через cron"
|
1300 |
+
|
1301 |
+
#: job/job_run.php:121
|
1302 |
+
#@ backwpup
|
1303 |
+
msgid "[INFO]: BackWPup job started manualy"
|
1304 |
+
msgstr "[ИНФО]: Задача BackWPup запущена вручную"
|
1305 |
+
|
1306 |
+
#: job/job_run.php:122
|
1307 |
+
#@ backwpup
|
1308 |
+
msgid "[INFO]: PHP ver.:"
|
1309 |
+
msgstr "[ИНФО]: Версия PHP:"
|
1310 |
+
|
1311 |
+
#: job/job_run.php:124
|
1312 |
+
#, php-format
|
1313 |
+
#@ backwpup
|
1314 |
+
msgid "[INFO]: PHP Safe mode is ON! Maximum script execution time is %1$d sec."
|
1315 |
+
msgstr "[ИНФО]: PHP Safe mode включен! Максимальное время выполнения скрипта %1$d сек."
|
1316 |
+
|
1317 |
+
#: job/job_run.php:125
|
1318 |
+
#@ backwpup
|
1319 |
+
msgid "[INFO]: MySQL ver.:"
|
1320 |
+
msgstr "[ИНФО]: Версия MySQL:"
|
1321 |
+
|
1322 |
+
#: job/job_run.php:128
|
1323 |
+
#@ backwpup
|
1324 |
+
msgid "[INFO]: curl ver.:"
|
1325 |
+
msgstr "[ИНФО]: Версия Curl:"
|
1326 |
+
|
1327 |
+
#: job/job_run.php:130
|
1328 |
+
#@ backwpup
|
1329 |
+
msgid "[INFO]: Temp folder is:"
|
1330 |
+
msgstr "[ИНФО]: Временная папка:"
|
1331 |
+
|
1332 |
+
#: job/job_run.php:132
|
1333 |
+
#@ backwpup
|
1334 |
+
msgid "[INFO]: Backup file is:"
|
1335 |
+
msgstr "[ИНФО]: Файл рез.копий:"
|
1336 |
+
|
1337 |
+
#: job/job_run.php:143
|
1338 |
+
#@ backwpup
|
1339 |
+
msgid "No destination defineid for backup!!! Please correct job settings"
|
1340 |
+
msgstr "Не указано место хранения резервной копии!!! Укажите его в настройках"
|
1341 |
+
|
1342 |
+
#: job/job_run.php:165
|
1343 |
+
#@ backwpup
|
1344 |
+
msgid "Step arborted has too many trys!"
|
1345 |
+
msgstr "Шаг задачи прерван, слишком много попыток!"
|
1346 |
+
|
1347 |
+
#: job/job_run.php:167
|
1348 |
+
#, php-format
|
1349 |
+
#@ backwpup
|
1350 |
+
msgid "Can not find job step function %s!"
|
1351 |
+
msgstr "Невозможно найти функцию шага задачи %s!"
|
1352 |
+
|
1353 |
+
#: job/job_start.php:10
|
1354 |
+
#@ backwpup
|
1355 |
+
msgid "A job already running!"
|
1356 |
+
msgstr "Задача уже запущена!"
|
1357 |
+
|
1358 |
+
#: job/job_start.php:20
|
1359 |
+
#@ backwpup
|
1360 |
+
msgid "Temp dir not writeable"
|
1361 |
+
msgstr "Папка для временных файлов недоступна для записи"
|
1362 |
+
|
1363 |
+
#: job/job_start.php:102
|
1364 |
+
#, php-format
|
1365 |
+
#@ backwpup
|
1366 |
+
msgid "Can not create folder for log files: %s"
|
1367 |
+
msgstr "Невозможно создать папку для файлов журналов: %s"
|
1368 |
+
|
1369 |
+
#: job/job_start.php:113
|
1370 |
+
#@ backwpup
|
1371 |
+
msgid "Log folder not writeable!"
|
1372 |
+
msgstr "Папка журналов недоступна для записи!"
|
1373 |
+
|
1374 |
+
#: job/job_start.php:138
|
1375 |
+
#, php-format
|
1376 |
+
#@ backwpup
|
1377 |
+
msgid "BackWPup log for %1$s from %2$s at %3$s"
|
1378 |
+
msgstr "Журнал выполнения BackWPup для %1$s от %2$s в %3$s"
|
1379 |
+
|
1380 |
+
#: job/job_start.php:166
|
1381 |
+
#, php-format
|
1382 |
+
#@ backwpup
|
1383 |
+
msgid "Can not create folder for backups: %1$s"
|
1384 |
+
msgstr "Невозможно создать папку для резервных копий: %1$s"
|
1385 |
+
|
1386 |
+
#: job/job_start.php:178
|
1387 |
+
#@ backwpup
|
1388 |
+
msgid "Backup folder not writeable!"
|
1389 |
+
msgstr "Папка рез.копий недоступна для записи!"
|
1390 |
+
|
1391 |
+
#: job/wp_export.php:11
|
1392 |
+
#, php-format
|
1393 |
+
#@ backwpup
|
1394 |
+
msgid "%d. try for wordpress export to XML file..."
|
1395 |
+
msgstr "%d. попытка экспорта в XML файл..."
|
1396 |
+
|
1397 |
+
#: job/wp_export.php:38
|
1398 |
+
#: job/wp_export.php:40
|
1399 |
+
#@ backwpup
|
1400 |
+
msgid "cURL:"
|
1401 |
+
msgstr "cURL:"
|
1402 |
+
|
1403 |
+
#: job/wp_export.php:81
|
1404 |
+
#, php-format
|
1405 |
+
#@ backwpup
|
1406 |
+
msgid "Add XML export \"%1$s\" to backup list with %2$s"
|
1407 |
+
msgstr "Добавление XML экспорта \"%1$s\" размером %2$s в список резервирования "
|
1408 |
+
|
1409 |
+
#: pages/func_backwpup.php:41
|
1410 |
+
#@ backwpup
|
1411 |
+
msgid "No Jobs."
|
1412 |
+
msgstr "Нет задач."
|
1413 |
+
|
1414 |
+
#: pages/func_backwpup.php:46
|
1415 |
+
#: pages/func_backwpup.php:102
|
1416 |
+
#@ backwpup
|
1417 |
+
msgid "Export"
|
1418 |
+
msgstr "Экспорт"
|
1419 |
+
|
1420 |
+
#: pages/func_backwpup.php:47
|
1421 |
+
#: pages/func_backwpup.php:103
|
1422 |
+
#: pages/func_backwpupbackups.php:130
|
1423 |
+
#: pages/func_backwpupbackups.php:227
|
1424 |
+
#: pages/func_backwpupeditjob.php:25
|
1425 |
+
#: pages/func_backwpuplogs.php:73
|
1426 |
+
#: pages/func_backwpuplogs.php:127
|
1427 |
+
#@ backwpup
|
1428 |
+
msgid "Delete"
|
1429 |
+
msgstr "Удалить"
|
1430 |
+
|
1431 |
+
#: pages/func_backwpup.php:55
|
1432 |
+
#@ backwpup
|
1433 |
+
msgid "ID"
|
1434 |
+
msgstr "ID"
|
1435 |
+
|
1436 |
+
#: pages/func_backwpup.php:56
|
1437 |
+
#@ backwpup
|
1438 |
+
msgid "Job Name"
|
1439 |
+
msgstr "Задача"
|
1440 |
+
|
1441 |
+
#: pages/func_backwpup.php:57
|
1442 |
+
#: pages/func_backwpupeditjob.php:171
|
1443 |
+
#: pages/func_backwpuplogs.php:81
|
1444 |
+
#@ backwpup
|
1445 |
+
msgid "Type"
|
1446 |
+
msgstr "Тип"
|
1447 |
+
|
1448 |
+
#: pages/func_backwpup.php:58
|
1449 |
+
#@ backwpup
|
1450 |
+
msgid "Information"
|
1451 |
+
msgstr "Информация"
|
1452 |
+
|
1453 |
+
#: pages/func_backwpup.php:59
|
1454 |
+
#@ backwpup
|
1455 |
+
msgid "Next Run"
|
1456 |
+
msgstr "Следующий запуск"
|
1457 |
+
|
1458 |
+
#: pages/func_backwpup.php:60
|
1459 |
+
#@ backwpup
|
1460 |
+
msgid "Last Run"
|
1461 |
+
msgstr "Последний запуск"
|
1462 |
+
|
1463 |
+
#: pages/func_backwpup.php:97
|
1464 |
+
#@ backwpup
|
1465 |
+
msgid "Edit:"
|
1466 |
+
msgstr "Изменение:"
|
1467 |
+
|
1468 |
+
#: pages/func_backwpup.php:100
|
1469 |
+
#@ backwpup
|
1470 |
+
msgid "Edit"
|
1471 |
+
msgstr "Изменить"
|
1472 |
+
|
1473 |
+
#: pages/func_backwpup.php:101
|
1474 |
+
#@ backwpup
|
1475 |
+
msgid "Copy"
|
1476 |
+
msgstr "Копировать"
|
1477 |
+
|
1478 |
+
#: pages/func_backwpup.php:104
|
1479 |
+
#@ backwpup
|
1480 |
+
msgid "Run Now"
|
1481 |
+
msgstr "Запустить"
|
1482 |
+
|
1483 |
+
#: pages/func_backwpup.php:128
|
1484 |
+
#@ backwpup
|
1485 |
+
msgid "Running since:"
|
1486 |
+
msgstr "Запущена уже:"
|
1487 |
+
|
1488 |
+
#: pages/func_backwpup.php:128
|
1489 |
+
#: pages/func_backwpup.php:144
|
1490 |
+
#: pages/func_backwpuplogs.php:153
|
1491 |
+
#@ backwpup
|
1492 |
+
msgid "sec."
|
1493 |
+
msgstr "сек."
|
1494 |
+
|
1495 |
+
#: pages/func_backwpup.php:132
|
1496 |
+
#@ backwpup
|
1497 |
+
msgid "Inactive"
|
1498 |
+
msgstr "Неактивно"
|
1499 |
+
|
1500 |
+
#: pages/header_backwpupworking.php:32
|
1501 |
+
#@ backwpup
|
1502 |
+
msgid "Here you see working jobs or logfiles"
|
1503 |
+
msgstr "Здесь вы можете увидеть активные задачи или файлы журналов"
|
1504 |
+
|
1505 |
+
#: pages/page_backwpup.php:8
|
1506 |
+
#@ backwpup
|
1507 |
+
msgid "BackWPup Jobs"
|
1508 |
+
msgstr "Задачи BackWPup"
|
1509 |
+
|
1510 |
+
#: pages/page_backwpupbackups.php:8
|
1511 |
+
#@ backwpup
|
1512 |
+
msgid "BackWPup Manage Backups"
|
1513 |
+
msgstr "Управление резервными копиями BackWPup"
|
1514 |
+
|
1515 |
+
#: pages/page_backwpupeditjob.php:8
|
1516 |
+
#@ backwpup
|
1517 |
+
msgid "Job Type"
|
1518 |
+
msgstr "Тип задачи"
|
1519 |
+
|
1520 |
+
#: pages/page_backwpupeditjob.php:9
|
1521 |
+
#@ backwpup
|
1522 |
+
msgid "Job Schedule"
|
1523 |
+
msgstr "Расписание выполнения задачи"
|
1524 |
+
|
1525 |
+
#: pages/page_backwpupeditjob.php:25
|
1526 |
+
#@ backwpup
|
1527 |
+
msgid "BackWPup Job Settings"
|
1528 |
+
msgstr "Настройки задачи BackWPup"
|
1529 |
+
|
1530 |
+
#: pages/page_backwpupeditjob.php:45
|
1531 |
+
#: pages/page_backwpupeditjob.php:71
|
1532 |
+
#@ backwpup
|
1533 |
+
msgid "Enter Job name here"
|
1534 |
+
msgstr "Введите название задачи"
|
1535 |
+
|
1536 |
+
#: pages/page_backwpupeditjob.php:77
|
1537 |
+
#@ backwpup
|
1538 |
+
msgid "Database Jobs"
|
1539 |
+
msgstr "Задачи БД"
|
1540 |
+
|
1541 |
+
#: pages/page_backwpupeditjob.php:80
|
1542 |
+
#@ backwpup
|
1543 |
+
msgid "Database tables to use:"
|
1544 |
+
msgstr "Таблицы БД для использования:"
|
1545 |
+
|
1546 |
+
#: pages/page_backwpupeditjob.php:90
|
1547 |
+
#@ backwpup
|
1548 |
+
msgid "Use short INSERTs instead of full (with keys)"
|
1549 |
+
msgstr "Использовать короткие INSERTы вместо полных (с ключами)"
|
1550 |
+
|
1551 |
+
#: pages/page_backwpupeditjob.php:91
|
1552 |
+
#@ backwpup
|
1553 |
+
msgid "Set Blog Maintenance Mode on Database Operations"
|
1554 |
+
msgstr "Включать режим обслуживания при операциях с базой данных?"
|
1555 |
+
|
1556 |
+
#: pages/page_backwpupeditjob.php:98
|
1557 |
+
#@ backwpup
|
1558 |
+
msgid "Blog Folders to Backup:"
|
1559 |
+
msgstr "Папки блога, для резервирования:"
|
1560 |
+
|
1561 |
+
#: pages/page_backwpupeditjob.php:101
|
1562 |
+
#@ backwpup
|
1563 |
+
msgid "root"
|
1564 |
+
msgstr "корневая папка"
|
1565 |
+
|
1566 |
+
#: pages/page_backwpupeditjob.php:104
|
1567 |
+
#: pages/page_backwpupeditjob.php:120
|
1568 |
+
#: pages/page_backwpupeditjob.php:136
|
1569 |
+
#: pages/page_backwpupeditjob.php:152
|
1570 |
+
#: pages/page_backwpupeditjob.php:168
|
1571 |
+
#@ backwpup
|
1572 |
+
msgid "Exclude:"
|
1573 |
+
msgstr "Исключить:"
|
1574 |
+
|
1575 |
+
#: pages/page_backwpupeditjob.php:117
|
1576 |
+
#@ backwpup
|
1577 |
+
msgid "Content"
|
1578 |
+
msgstr "Содержимое"
|
1579 |
+
|
1580 |
+
#: pages/page_backwpupeditjob.php:133
|
1581 |
+
#@ backwpup
|
1582 |
+
msgid "Plugins"
|
1583 |
+
msgstr "Плагины"
|
1584 |
+
|
1585 |
+
#: pages/page_backwpupeditjob.php:149
|
1586 |
+
#@ backwpup
|
1587 |
+
msgid "Themes"
|
1588 |
+
msgstr "Темы"
|
1589 |
+
|
1590 |
+
#: pages/page_backwpupeditjob.php:165
|
1591 |
+
#@ backwpup
|
1592 |
+
msgid "Blog Uploads"
|
1593 |
+
msgstr "Вложения:"
|
1594 |
+
|
1595 |
+
#: pages/page_backwpupeditjob.php:182
|
1596 |
+
#@ backwpup
|
1597 |
+
msgid "Include Folders to Backup:"
|
1598 |
+
msgstr "Включить в рез.копию следующие папки:"
|
1599 |
+
|
1600 |
+
#: pages/page_backwpupeditjob.php:183
|
1601 |
+
#: pages/page_backwpupeditjob.php:187
|
1602 |
+
#@ backwpup
|
1603 |
+
msgid "Example:"
|
1604 |
+
msgstr "Пример:"
|
1605 |
+
|
1606 |
+
#: pages/page_backwpupeditjob.php:186
|
1607 |
+
#@ backwpup
|
1608 |
+
msgid "Exclude Files/Folders from Backup:"
|
1609 |
+
msgstr "Исключить следующие файлы/папки из рез.копии"
|
1610 |
+
|
1611 |
+
#: pages/page_backwpupsettings.php:10
|
1612 |
+
#@ backwpup
|
1613 |
+
msgid "BackWPup Settings"
|
1614 |
+
msgstr "Настройки BackWPup"
|
1615 |
+
|
1616 |
+
#: pages/page_backwpupsettings.php:17
|
1617 |
+
#@ backwpup
|
1618 |
+
msgid "Send Mail"
|
1619 |
+
msgstr "Отправление E-mail"
|
1620 |
+
|
1621 |
+
#: pages/page_backwpupsettings.php:18
|
1622 |
+
#@ backwpup
|
1623 |
+
msgid "Here you can set the options for email sending. The settings will be used in jobs for sending backups via email or for sending log files."
|
1624 |
+
msgstr "Здесь вы можете установить параметры отправления E-mail. Данные параметры будут использованы в задачах, где на e-mail отправляются резервные копии или файлы журналов"
|
1625 |
+
|
1626 |
+
#: pages/page_backwpupsettings.php:21
|
1627 |
+
#@ backwpup
|
1628 |
+
msgid "Sender email"
|
1629 |
+
msgstr "E-mail отправителя"
|
1630 |
+
|
1631 |
+
#: pages/page_backwpupsettings.php:26
|
1632 |
+
#@ backwpup
|
1633 |
+
msgid "Sender name"
|
1634 |
+
msgstr "Имя отправителя"
|
1635 |
+
|
1636 |
+
#: pages/page_backwpupsettings.php:30
|
1637 |
+
#@ backwpup
|
1638 |
+
msgid "Send mail method"
|
1639 |
+
msgstr "Метод отправления"
|
1640 |
+
|
1641 |
+
#: pages/page_backwpupsettings.php:34
|
1642 |
+
#@ backwpup
|
1643 |
+
msgid "PHP: mail()"
|
1644 |
+
msgstr "PHP: mail()"
|
1645 |
+
|
1646 |
+
#: pages/page_backwpupsettings.php:35
|
1647 |
+
#@ backwpup
|
1648 |
+
msgid "Sendmail"
|
1649 |
+
msgstr "Sendmail"
|
1650 |
+
|
1651 |
+
#: pages/page_backwpupsettings.php:36
|
1652 |
+
#@ backwpup
|
1653 |
+
msgid "SMTP"
|
1654 |
+
msgstr "SMTP"
|
1655 |
+
|
1656 |
+
#: pages/page_backwpupsettings.php:42
|
1657 |
+
#@ backwpup
|
1658 |
+
msgid "Sendmail path"
|
1659 |
+
msgstr "Путь к Sendmail"
|
1660 |
+
|
1661 |
+
#: pages/page_backwpupsettings.php:49
|
1662 |
+
#@ backwpup
|
1663 |
+
msgid "SMTP hostname"
|
1664 |
+
msgstr "SMTP сервер"
|
1665 |
+
|
1666 |
+
#: pages/page_backwpupsettings.php:56
|
1667 |
+
#@ backwpup
|
1668 |
+
msgid "SMTP secure connection"
|
1669 |
+
msgstr "SMTP шифрование"
|
1670 |
+
|
1671 |
+
#: pages/page_backwpupsettings.php:66
|
1672 |
+
#@ backwpup
|
1673 |
+
msgid "SMTP username"
|
1674 |
+
msgstr "SMTP логин"
|
1675 |
+
|
1676 |
+
#: pages/page_backwpupsettings.php:72
|
1677 |
+
#@ backwpup
|
1678 |
+
msgid "SMTP password"
|
1679 |
+
msgstr "SMTP пароль"
|
1680 |
+
|
1681 |
+
#: pages/page_backwpupsettings.php:80
|
1682 |
+
#@ backwpup
|
1683 |
+
msgid "Here you can set Logfile related options."
|
1684 |
+
msgstr "Здесь вы можете управлять настройками журналов выполнения"
|
1685 |
+
|
1686 |
+
#: pages/page_backwpupsettings.php:83
|
1687 |
+
#@ backwpup
|
1688 |
+
msgid "Log file Folder"
|
1689 |
+
msgstr "Папка журналов выполнения"
|
1690 |
+
|
1691 |
+
#: pages/page_backwpupsettings.php:88
|
1692 |
+
#@ backwpup
|
1693 |
+
msgid "Max. Log Files in Folder"
|
1694 |
+
msgstr "Макс. файлов журналов в папке"
|
1695 |
+
|
1696 |
+
#: pages/page_backwpupsettings.php:94
|
1697 |
+
#: pages/page_backwpupsettings.php:95
|
1698 |
+
#@ backwpup
|
1699 |
+
msgid "Compression"
|
1700 |
+
msgstr "Сжатие"
|
1701 |
+
|
1702 |
+
#: pages/page_backwpupsettings.php:97
|
1703 |
+
#@ backwpup
|
1704 |
+
msgid "Gzip Log files!"
|
1705 |
+
msgstr "Сжимать (Gzip) файлы журналов!"
|
1706 |
+
|
1707 |
+
#: pages/page_backwpupsettings.php:102
|
1708 |
+
#@ backwpup
|
1709 |
+
msgid "Here you can set Job related options."
|
1710 |
+
msgstr "Здесь вы можете установить некоторые параметры задач."
|
1711 |
+
|
1712 |
+
#: pages/page_backwpupsettings.php:105
|
1713 |
+
#@ backwpup
|
1714 |
+
msgid "Max. retrys for job steps"
|
1715 |
+
msgstr "Макс. попыток для шага задачи"
|
1716 |
+
|
1717 |
+
#: pages/page_backwpupsettings.php:110
|
1718 |
+
#@ backwpup
|
1719 |
+
msgid "Max. retrys for job script retries"
|
1720 |
+
msgstr "Макс. попыток для скрипта задачи"
|
1721 |
+
|
1722 |
+
#: pages/page_backwpupsettings.php:115
|
1723 |
+
#@ backwpup
|
1724 |
+
msgid "PHP zip class"
|
1725 |
+
msgstr "PHP zip class"
|
1726 |
+
|
1727 |
+
#: pages/page_backwpupsettings.php:116
|
1728 |
+
#@ backwpup
|
1729 |
+
msgid "PHP zip"
|
1730 |
+
msgstr "PHP zip"
|
1731 |
+
|
1732 |
+
#: pages/page_backwpupsettings.php:118
|
1733 |
+
#@ backwpup
|
1734 |
+
msgid "Use PHP zip class if available! Normaly PCL Zip class will used."
|
1735 |
+
msgstr "Используйте PHP zip class, если доступно! Обычно используется PCL Zip class."
|
1736 |
+
|
1737 |
+
#: pages/page_backwpupsettings.php:123
|
1738 |
+
#@ backwpup
|
1739 |
+
msgid "WP Admin Bar"
|
1740 |
+
msgstr "WP Админбар"
|
1741 |
+
|
1742 |
+
#: pages/page_backwpupsettings.php:124
|
1743 |
+
#@ backwpup
|
1744 |
+
msgid "Will you see BackWPup in the WordPress Admin Bar?"
|
1745 |
+
msgstr "Вы хотите видеть BackWPup в Админбаре Wordpress?"
|
1746 |
+
|
1747 |
+
#: pages/page_backwpupsettings.php:127
|
1748 |
+
#: pages/page_backwpupsettings.php:128
|
1749 |
+
#@ backwpup
|
1750 |
+
msgid "Admin Bar"
|
1751 |
+
msgstr "Админбар"
|
1752 |
+
|
1753 |
+
#: pages/page_backwpupsettings.php:130
|
1754 |
+
#@ backwpup
|
1755 |
+
msgid "Show BackWPup Links in Admin Bar."
|
1756 |
+
msgstr "Показывать ссылку на BackWPup в Админбаре"
|
1757 |
+
|
1758 |
+
#: pages/page_backwpupsettings.php:135
|
1759 |
+
#@ backwpup
|
1760 |
+
msgid "Http basic authentication"
|
1761 |
+
msgstr "HTTP авторизация"
|
1762 |
+
|
1763 |
+
#: pages/page_backwpupsettings.php:136
|
1764 |
+
#@ backwpup
|
1765 |
+
msgid "Is your blog behind a http basic authentication (.htaccess)? Then you must set the username and password four authentication."
|
1766 |
+
msgstr "Ваш блог используется HTTP авторизацию(.htaccess)? Укажите здесь логин и пароль, для авторизации"
|
1767 |
+
|
1768 |
+
#: pages/page_backwpuptools.php:8
|
1769 |
+
#@ backwpup
|
1770 |
+
msgid "BackWPup Tools"
|
1771 |
+
msgstr "Инструменты BackWPup"
|
1772 |
+
|
1773 |
+
#: pages/page_backwpuptools.php:15
|
1774 |
+
#@ backwpup
|
1775 |
+
msgid "Database restore"
|
1776 |
+
msgstr "Восстановление БД"
|
1777 |
+
|
1778 |
+
#: pages/page_backwpuptools.php:18
|
1779 |
+
#@ backwpup
|
1780 |
+
msgid "DB Restore"
|
1781 |
+
msgstr "Восстановление БД"
|
1782 |
+
|
1783 |
+
#: pages/page_backwpuptools.php:21
|
1784 |
+
#: pages/page_backwpuptools.php:40
|
1785 |
+
#@ backwpup
|
1786 |
+
msgid "Restore"
|
1787 |
+
msgstr "Восстановить"
|
1788 |
+
|
1789 |
+
#: pages/page_backwpuptools.php:37
|
1790 |
+
#@ backwpup
|
1791 |
+
msgid "SQL File to restore:"
|
1792 |
+
msgstr "SQL файл для восстановления:"
|
1793 |
+
|
1794 |
+
#: pages/page_backwpuptools.php:43
|
1795 |
+
#@ backwpup
|
1796 |
+
msgid "Copy SQL file to blog root folder to use for a restoring."
|
1797 |
+
msgstr "Скопируйте SQL в корневую папку блога, для использования его при восстановлении"
|
1798 |
+
|
1799 |
+
#: pages/page_backwpuptools.php:51
|
1800 |
+
#@ backwpup
|
1801 |
+
msgid "Import Jobs settings"
|
1802 |
+
msgstr "Импортировать настройки задач"
|
1803 |
+
|
1804 |
+
#: pages/page_backwpuptools.php:54
|
1805 |
+
#@ backwpup
|
1806 |
+
msgid "Select file to import:"
|
1807 |
+
msgstr "Выберите файл для импорта:"
|
1808 |
+
|
1809 |
+
#: pages/page_backwpuptools.php:56
|
1810 |
+
#: pages/page_backwpuptools.php:61
|
1811 |
+
#@ backwpup
|
1812 |
+
msgid "Upload"
|
1813 |
+
msgstr "Загрузить"
|
1814 |
+
|
1815 |
+
#: pages/page_backwpuptools.php:62
|
1816 |
+
#@ backwpup
|
1817 |
+
msgid "Select jobs to import"
|
1818 |
+
msgstr "Выберите задачи для импорта"
|
1819 |
+
|
1820 |
+
#: pages/page_backwpuptools.php:66
|
1821 |
+
#@ backwpup
|
1822 |
+
msgid "Import Type"
|
1823 |
+
msgstr "Тип импорта"
|
1824 |
+
|
1825 |
+
#: pages/page_backwpuptools.php:66
|
1826 |
+
#@ backwpup
|
1827 |
+
msgid "No Import"
|
1828 |
+
msgstr "Не импортировать"
|
1829 |
+
|
1830 |
+
#: pages/page_backwpuptools.php:68
|
1831 |
+
#@ backwpup
|
1832 |
+
msgid "Overwrite"
|
1833 |
+
msgstr "Замена"
|
1834 |
+
|
1835 |
+
#: pages/page_backwpuptools.php:68
|
1836 |
+
#@ backwpup
|
1837 |
+
msgid "Append"
|
1838 |
+
msgstr "Совместить"
|
1839 |
+
|
1840 |
+
#: pages/page_backwpuptools.php:70
|
1841 |
+
#: pages/page_backwpuptools.php:75
|
1842 |
+
#: pages/page_backwpuptools.php:77
|
1843 |
+
#: pages/page_backwpuptools.php:78
|
1844 |
+
#@ backwpup
|
1845 |
+
msgid "Import"
|
1846 |
+
msgstr "Импортировать"
|
1847 |
+
|
1848 |
+
#: pages/page_backwpuptools.php:114
|
1849 |
+
#@ backwpup
|
1850 |
+
msgid "Jobs imported!"
|
1851 |
+
msgstr "Задачи импортированы!"
|
1852 |
+
|
1853 |
+
#: pages/page_backwpupworking.php:9
|
1854 |
+
#@ backwpup
|
1855 |
+
msgid "BackWPup Working"
|
1856 |
+
msgstr "BackWPup работает"
|
1857 |
+
|
1858 |
+
#: pages/page_backwpupworking.php:33
|
1859 |
+
#@ backwpup
|
1860 |
+
msgid "Warnings:"
|
1861 |
+
msgstr "Предупреждения:"
|
1862 |
+
|
1863 |
+
#: pages/page_backwpupworking.php:37
|
1864 |
+
#@ backwpup
|
1865 |
+
msgid "Errors:"
|
1866 |
+
msgstr "Ошибки:"
|
1867 |
+
|
1868 |
+
#: pages/tools/db_restore.php:34
|
1869 |
+
#: pages/tools/db_restore.php:53
|
1870 |
+
#: pages/tools/db_restore.php:68
|
1871 |
+
#: pages/tools/db_restore.php:79
|
1872 |
+
#: pages/tools/db_restore.php:82
|
1873 |
+
#: pages/tools/db_restore.php:85
|
1874 |
+
#: pages/tools/db_restore.php:90
|
1875 |
+
#@ backwpup
|
1876 |
+
msgid "ERROR:"
|
1877 |
+
msgstr "ОШИБКА:"
|
1878 |
+
|
1879 |
+
#: pages/tools/db_restore.php:34
|
1880 |
+
#, php-format
|
1881 |
+
#@ backwpup
|
1882 |
+
msgid "Pleace set <i>$table_prefix = '%1$s';</i> in wp-config.php"
|
1883 |
+
msgstr "Пожалуйста установите <i>$table_prefix = '%1$s';</i> в wp-config.php"
|
1884 |
+
|
1885 |
+
#: pages/tools/db_restore.php:53
|
1886 |
+
#, php-format
|
1887 |
+
#@ backwpup
|
1888 |
+
msgid "Pleace set <i>define('DB_CHARSET', '%1$s');</i> in wp-config.php"
|
1889 |
+
msgstr "Пожалуйста установите <i>define('DB_CHARSET', '%1$s');</i> в wp-config.php"
|
1890 |
+
|
1891 |
+
#: pages/tools/db_restore.php:68
|
1892 |
+
#: pages/tools/db_restore.php:79
|
1893 |
+
#: pages/tools/db_restore.php:82
|
1894 |
+
#: pages/tools/db_restore.php:85
|
1895 |
+
#: pages/tools/db_restore.php:90
|
1896 |
+
#, php-format
|
1897 |
+
#@ backwpup
|
1898 |
+
msgid "BackWPup database error %1$s for query %2$s"
|
1899 |
+
msgstr "BackWPup: ошибка базы данных %1$s на запросе %2$s"
|
1900 |
+
|
1901 |
+
#: pages/tools/db_restore.php:74
|
1902 |
+
#, php-format
|
1903 |
+
#@ backwpup
|
1904 |
+
msgid "%1$s Database Querys done."
|
1905 |
+
msgstr "%1$s запросов в базу данных успешно выполнено."
|
1906 |
+
|
1907 |
+
#: pages/tools/db_restore.php:75
|
1908 |
+
#@ backwpup
|
1909 |
+
msgid "Make changes for Blogurl and ABSPATH if needed."
|
1910 |
+
msgstr "Сделайте изменения для Blogurl и ABSPATH, если требуется"
|
1911 |
+
|
1912 |
+
#: pages/tools/db_restore.php:92
|
1913 |
+
#@ backwpup
|
1914 |
+
msgid "Restore Done. Please delete the SQL file after restoring."
|
1915 |
+
msgstr "Восстановление завершено. Удалите SQL файл после восстановления."
|
1916 |
+
|
1917 |
+
#: pages/func_backwpup.php:135
|
1918 |
+
#@ backwpup
|
1919 |
+
msgid "<a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a>:"
|
1920 |
+
msgstr "<a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a>:"
|
1921 |
+
|
1922 |
+
#: pages/func_backwpup.php:144
|
1923 |
+
#@ backwpup
|
1924 |
+
msgid "Runtime:"
|
1925 |
+
msgstr "Время выполн.:"
|
1926 |
+
|
1927 |
+
#: pages/func_backwpup.php:146
|
1928 |
+
#@ backwpup
|
1929 |
+
msgid "None"
|
1930 |
+
msgstr "Ничего нет"
|
1931 |
+
|
1932 |
+
#: pages/func_backwpup.php:149
|
1933 |
+
#@ backwpup
|
1934 |
+
msgid "Download last Backup"
|
1935 |
+
msgstr "Загрузить последнюю копию"
|
1936 |
+
|
1937 |
+
#: pages/func_backwpup.php:149
|
1938 |
+
#: pages/func_backwpupbackups.php:228
|
1939 |
+
#: pages/func_backwpuplogs.php:128
|
1940 |
+
#@ backwpup
|
1941 |
+
msgid "Download"
|
1942 |
+
msgstr "Загрузить"
|
1943 |
+
|
1944 |
+
#: pages/func_backwpup.php:151
|
1945 |
+
#@ backwpup
|
1946 |
+
msgid "View last Log"
|
1947 |
+
msgstr "Просмотр последнего журнала"
|
1948 |
+
|
1949 |
+
#: pages/func_backwpup.php:151
|
1950 |
+
#@ backwpup
|
1951 |
+
msgid "Log"
|
1952 |
+
msgstr "Журнал"
|
1953 |
+
|
1954 |
+
#: pages/func_backwpup.php:240
|
1955 |
+
#@ backwpup
|
1956 |
+
msgid "DB Size:"
|
1957 |
+
msgstr "Размер БД:"
|
1958 |
+
|
1959 |
+
#: pages/func_backwpup.php:242
|
1960 |
+
#@ backwpup
|
1961 |
+
msgid "DB Tables:"
|
1962 |
+
msgstr "Таблицы БД:"
|
1963 |
+
|
1964 |
+
#: pages/func_backwpup.php:243
|
1965 |
+
#@ backwpup
|
1966 |
+
msgid "DB Rows:"
|
1967 |
+
msgstr "Строки БД:"
|
1968 |
+
|
1969 |
+
#: pages/func_backwpup.php:248
|
1970 |
+
#@ backwpup
|
1971 |
+
msgid "Files Size:"
|
1972 |
+
msgstr "Размер файлов:"
|
1973 |
+
|
1974 |
+
#: pages/func_backwpup.php:250
|
1975 |
+
#@ backwpup
|
1976 |
+
msgid "Files count:"
|
1977 |
+
msgstr "Количество файлов:"
|
1978 |
+
|
1979 |
+
#: pages/func_backwpupbackups.php:125
|
1980 |
+
#@ backwpup
|
1981 |
+
msgid "No Files found."
|
1982 |
+
msgstr "Файлов не найдено."
|
1983 |
+
|
1984 |
+
#: pages/func_backwpupbackups.php:145
|
1985 |
+
#@ backwpup
|
1986 |
+
msgid "Change Destination"
|
1987 |
+
msgstr "Изменить расположение"
|
1988 |
+
|
1989 |
+
#: pages/func_backwpupbackups.php:182
|
1990 |
+
#@ backwpup
|
1991 |
+
msgid "File"
|
1992 |
+
msgstr "Файл"
|
1993 |
+
|
1994 |
+
#: pages/func_backwpupbackups.php:183
|
1995 |
+
#: pages/func_backwpupbackups.php:185
|
1996 |
+
#@ backwpup
|
1997 |
+
msgid "Folder"
|
1998 |
+
msgstr "Папка"
|
1999 |
+
|
2000 |
+
#: pages/func_backwpupbackups.php:184
|
2001 |
+
#: pages/func_backwpuplogs.php:84
|
2002 |
+
#@ backwpup
|
2003 |
+
msgid "Size"
|
2004 |
+
msgstr "Размер"
|
2005 |
+
|
2006 |
+
#: pages/func_backwpupbackups.php:186
|
2007 |
+
#@ backwpup
|
2008 |
+
msgid "Time"
|
2009 |
+
msgstr "Время"
|
2010 |
+
|
2011 |
+
#: pages/func_backwpupbackups.php:227
|
2012 |
+
#@ backwpup
|
2013 |
+
msgid ""
|
2014 |
+
"You are about to delete this Backup Archive. \n"
|
2015 |
+
" 'Cancel' to stop, 'OK' to delete."
|
2016 |
+
msgstr ""
|
2017 |
+
"Вы уверены, что хотите удалить эту рез. копию?. \n"
|
2018 |
+
" 'Отмена' для отмены, 'OK' для удаления."
|
2019 |
+
|
2020 |
+
#: pages/func_backwpupbackups.php:242
|
2021 |
+
#@ backwpup
|
2022 |
+
msgid "?"
|
2023 |
+
msgstr "?"
|
2024 |
+
|
2025 |
+
#: pages/func_backwpupbackups.php:492
|
2026 |
+
#: pages/header_backwpupbackups.php:140
|
2027 |
+
#@ backwpup
|
2028 |
+
msgid "Login failure!"
|
2029 |
+
msgstr "Ошибка авторизации!"
|
2030 |
+
|
2031 |
+
#: pages/func_backwpupeditjob.php:18
|
2032 |
+
#@ backwpup
|
2033 |
+
msgid "PHP curl functions not available! Most backup destinations deaktivated!"
|
2034 |
+
msgstr "PHP функция curl недоступна! Большинство мест хранения недоступно!"
|
2035 |
+
|
2036 |
+
#: pages/func_backwpupeditjob.php:25
|
2037 |
+
#@ backwpup
|
2038 |
+
msgid ""
|
2039 |
+
"You are about to delete this Job. \n"
|
2040 |
+
" 'Cancel' to stop, 'OK' to delete."
|
2041 |
+
msgstr ""
|
2042 |
+
"Вы уверены, что хотите удалить эту задачу?. \n"
|
2043 |
+
" 'Отмена' для отмены, 'OK' для удаления."
|
2044 |
+
|
2045 |
+
#: pages/func_backwpupeditjob.php:28
|
2046 |
+
#@ backwpup
|
2047 |
+
msgid "Save Changes"
|
2048 |
+
msgstr "Сохранить изменения"
|
2049 |
+
|
2050 |
+
#: pages/func_backwpupeditjob.php:38
|
2051 |
+
#@ backwpup
|
2052 |
+
msgid "File Prefix:"
|
2053 |
+
msgstr "Префикс файла:"
|
2054 |
+
|
2055 |
+
#: pages/func_backwpupeditjob.php:40
|
2056 |
+
#@ backwpup
|
2057 |
+
msgid "File Formart:"
|
2058 |
+
msgstr "Формат файла:"
|
2059 |
+
|
2060 |
+
#: pages/func_backwpupeditjob.php:43
|
2061 |
+
#: pages/func_backwpupeditjob.php:45
|
2062 |
+
#@ backwpup
|
2063 |
+
msgid "Zip"
|
2064 |
+
msgstr "Zip"
|
2065 |
+
|
2066 |
+
#: pages/func_backwpupeditjob.php:46
|
2067 |
+
#@ backwpup
|
2068 |
+
msgid "Tar"
|
2069 |
+
msgstr "Tar"
|
2070 |
+
|
2071 |
+
#: pages/func_backwpupeditjob.php:48
|
2072 |
+
#: pages/func_backwpupeditjob.php:50
|
2073 |
+
#@ backwpup
|
2074 |
+
msgid "Tar GZip"
|
2075 |
+
msgstr "Tar GZip"
|
2076 |
+
|
2077 |
+
#: pages/func_backwpupeditjob.php:52
|
2078 |
+
#: pages/func_backwpupeditjob.php:54
|
2079 |
+
#@ backwpup
|
2080 |
+
msgid "Tar BZip2"
|
2081 |
+
msgstr "Tar BZip2"
|
2082 |
+
|
2083 |
+
#: pages/func_backwpupeditjob.php:55
|
2084 |
+
#@ backwpup
|
2085 |
+
msgid "Preview:"
|
2086 |
+
msgstr "Предпросмотр:"
|
2087 |
+
|
2088 |
+
#: pages/func_backwpupeditjob.php:60
|
2089 |
+
#@ backwpup
|
2090 |
+
msgid "E-Mail-Adress:"
|
2091 |
+
msgstr "E-Mail:"
|
2092 |
+
|
2093 |
+
#: pages/func_backwpupeditjob.php:62
|
2094 |
+
#@ backwpup
|
2095 |
+
msgid "Only send an e-mail if there are errors."
|
2096 |
+
msgstr "Отправлять e-mail, только при ошибках."
|
2097 |
+
|
2098 |
+
#: pages/func_backwpupeditjob.php:91
|
2099 |
+
#@ backwpup
|
2100 |
+
msgid "Activate scheduling"
|
2101 |
+
msgstr "Включить расписание"
|
2102 |
+
|
2103 |
+
#: pages/func_backwpupeditjob.php:92
|
2104 |
+
#@ backwpup
|
2105 |
+
msgid "advanced"
|
2106 |
+
msgstr "расширенное"
|
2107 |
+
|
2108 |
+
#: pages/func_backwpupeditjob.php:93
|
2109 |
+
#@ backwpup
|
2110 |
+
msgid "basic"
|
2111 |
+
msgstr "простое"
|
2112 |
+
|
2113 |
+
#: pages/func_backwpupeditjob.php:97
|
2114 |
+
#@ backwpup
|
2115 |
+
msgid "Minutes: "
|
2116 |
+
msgstr "Минут:"
|
2117 |
+
|
2118 |
+
#: pages/func_backwpupeditjob.php:99
|
2119 |
+
#: pages/func_backwpupeditjob.php:111
|
2120 |
+
#: pages/func_backwpupeditjob.php:122
|
2121 |
+
#: pages/func_backwpupeditjob.php:133
|
2122 |
+
#: pages/func_backwpupeditjob.php:153
|
2123 |
+
#@ backwpup
|
2124 |
+
msgid "Any (*)"
|
2125 |
+
msgstr "Все (*)"
|
2126 |
+
|
2127 |
+
#: pages/func_backwpupeditjob.php:108
|
2128 |
+
#@ backwpup
|
2129 |
+
msgid "Hours:"
|
2130 |
+
msgstr "Часов:"
|
2131 |
+
|
2132 |
+
#: pages/func_backwpupeditjob.php:120
|
2133 |
+
#@ backwpup
|
2134 |
+
msgid "Day of Month:"
|
2135 |
+
msgstr "День месяца:"
|
2136 |
+
|
2137 |
+
#: pages/func_backwpupeditjob.php:131
|
2138 |
+
#@ backwpup
|
2139 |
+
msgid "Month:"
|
2140 |
+
msgstr "Месяц:"
|
2141 |
+
|
2142 |
+
#: pages/func_backwpupeditjob.php:135
|
2143 |
+
#@ backwpup
|
2144 |
+
msgid "January"
|
2145 |
+
msgstr "Январь"
|
2146 |
+
|
2147 |
+
#: pages/func_backwpupeditjob.php:136
|
2148 |
+
#@ backwpup
|
2149 |
+
msgid "February"
|
2150 |
+
msgstr "Февраль"
|
2151 |
+
|
2152 |
+
#: pages/func_backwpupeditjob.php:137
|
2153 |
+
#@ backwpup
|
2154 |
+
msgid "March"
|
2155 |
+
msgstr "Март"
|
2156 |
+
|
2157 |
+
#: pages/func_backwpupeditjob.php:138
|
2158 |
+
#@ backwpup
|
2159 |
+
msgid "April"
|
2160 |
+
msgstr "Апрель"
|
2161 |
+
|
2162 |
+
#: pages/func_backwpupeditjob.php:139
|
2163 |
+
#@ backwpup
|
2164 |
+
msgid "May"
|
2165 |
+
msgstr "Май"
|
2166 |
+
|
2167 |
+
#: pages/func_backwpupeditjob.php:140
|
2168 |
+
#@ backwpup
|
2169 |
+
msgid "June"
|
2170 |
+
msgstr "Июнь"
|
2171 |
+
|
2172 |
+
#: pages/func_backwpupeditjob.php:141
|
2173 |
+
#@ backwpup
|
2174 |
+
msgid "July"
|
2175 |
+
msgstr "Июль"
|
2176 |
+
|
2177 |
+
#: pages/func_backwpupeditjob.php:142
|
2178 |
+
#@ backwpup
|
2179 |
+
msgid "Augest"
|
2180 |
+
msgstr "Август"
|
2181 |
+
|
2182 |
+
#: pages/func_backwpupeditjob.php:143
|
2183 |
+
#@ backwpup
|
2184 |
+
msgid "September"
|
2185 |
+
msgstr "Сентябрь"
|
2186 |
+
|
2187 |
+
#: pages/func_backwpupeditjob.php:144
|
2188 |
+
#@ backwpup
|
2189 |
+
msgid "October"
|
2190 |
+
msgstr "Октябрь"
|
2191 |
+
|
2192 |
+
#: pages/func_backwpupeditjob.php:145
|
2193 |
+
#@ backwpup
|
2194 |
+
msgid "November"
|
2195 |
+
msgstr "Ноябрь"
|
2196 |
+
|
2197 |
+
#: pages/func_backwpupeditjob.php:146
|
2198 |
+
#@ backwpup
|
2199 |
+
msgid "December"
|
2200 |
+
msgstr "Декабрь"
|
2201 |
+
|
2202 |
+
#: pages/func_backwpupeditjob.php:151
|
2203 |
+
#@ backwpup
|
2204 |
+
msgid "Day of Week:"
|
2205 |
+
msgstr "День недели:"
|
2206 |
+
|
2207 |
+
#: pages/func_backwpupeditjob.php:155
|
2208 |
+
#: pages/func_backwpupeditjob.php:191
|
2209 |
+
#@ backwpup
|
2210 |
+
msgid "Sunday"
|
2211 |
+
msgstr "Воскресенье"
|
2212 |
+
|
2213 |
+
#: pages/func_backwpupeditjob.php:156
|
2214 |
+
#: pages/func_backwpupeditjob.php:192
|
2215 |
+
#@ backwpup
|
2216 |
+
msgid "Monday"
|
2217 |
+
msgstr "Понедельник"
|
2218 |
+
|
2219 |
+
#: pages/func_backwpupeditjob.php:157
|
2220 |
+
#: pages/func_backwpupeditjob.php:193
|
2221 |
+
#@ backwpup
|
2222 |
+
msgid "Tuesday"
|
2223 |
+
msgstr "Вторник"
|
2224 |
+
|
2225 |
+
#: pages/func_backwpupeditjob.php:158
|
2226 |
+
#: pages/func_backwpupeditjob.php:194
|
2227 |
+
#@ backwpup
|
2228 |
+
msgid "Wednesday"
|
2229 |
+
msgstr "Среда"
|
2230 |
+
|
2231 |
+
#: pages/func_backwpupeditjob.php:159
|
2232 |
+
#: pages/func_backwpupeditjob.php:195
|
2233 |
+
#@ backwpup
|
2234 |
+
msgid "Thursday"
|
2235 |
+
msgstr "Четверг"
|
2236 |
+
|
2237 |
+
#: pages/func_backwpupeditjob.php:160
|
2238 |
+
#: pages/func_backwpupeditjob.php:196
|
2239 |
+
#@ backwpup
|
2240 |
+
msgid "Friday"
|
2241 |
+
msgstr "Пятница"
|
2242 |
+
|
2243 |
+
#: pages/func_backwpupeditjob.php:161
|
2244 |
+
#: pages/func_backwpupeditjob.php:197
|
2245 |
+
#@ backwpup
|
2246 |
+
msgid "Saturday"
|
2247 |
+
msgstr "Суббота"
|
2248 |
+
|
2249 |
+
#: pages/func_backwpupeditjob.php:176
|
2250 |
+
#@ backwpup
|
2251 |
+
msgid "Hour"
|
2252 |
+
msgstr "Час"
|
2253 |
+
|
2254 |
+
#: pages/func_backwpupeditjob.php:179
|
2255 |
+
#@ backwpup
|
2256 |
+
msgid "Minute"
|
2257 |
+
msgstr "Минута"
|
2258 |
+
|
2259 |
+
#: pages/func_backwpupeditjob.php:183
|
2260 |
+
#@ backwpup
|
2261 |
+
msgid "monthly"
|
2262 |
+
msgstr "ежемесячно"
|
2263 |
+
|
2264 |
+
#: pages/func_backwpupeditjob.php:184
|
2265 |
+
#@ backwpup
|
2266 |
+
msgid "on"
|
2267 |
+
msgstr "в"
|
2268 |
+
|
2269 |
+
#: pages/func_backwpupeditjob.php:189
|
2270 |
+
#@ backwpup
|
2271 |
+
msgid "weekly"
|
2272 |
+
msgstr "еженедельно"
|
2273 |
+
|
2274 |
+
#: pages/func_backwpupeditjob.php:203
|
2275 |
+
#@ backwpup
|
2276 |
+
msgid "daily"
|
2277 |
+
msgstr "ежедневно"
|
2278 |
+
|
2279 |
+
#: pages/func_backwpupeditjob.php:209
|
2280 |
+
#@ backwpup
|
2281 |
+
msgid "hourly"
|
2282 |
+
msgstr "ежечасно"
|
2283 |
+
|
2284 |
+
#: pages/func_backwpupeditjob.php:221
|
2285 |
+
#@ backwpup
|
2286 |
+
msgid "Full Path to folder for Backup Files:"
|
2287 |
+
msgstr "Полный путь к папке с резервными копиями:"
|
2288 |
+
|
2289 |
+
#: pages/func_backwpupeditjob.php:223
|
2290 |
+
#@ backwpup
|
2291 |
+
msgid "Your WordPress dir is:"
|
2292 |
+
msgstr "Папка с Wordpress:"
|
2293 |
+
|
2294 |
+
#: pages/func_backwpupeditjob.php:224
|
2295 |
+
#: pages/func_backwpupeditjob.php:415
|
2296 |
+
#@ backwpup
|
2297 |
+
msgid "Max. backup files in folder:"
|
2298 |
+
msgstr "Макс. рез.копий в папке:"
|
2299 |
+
|
2300 |
+
#: pages/func_backwpupeditjob.php:224
|
2301 |
+
#: pages/page_backwpupsettings.php:90
|
2302 |
+
#@ backwpup
|
2303 |
+
msgid "(Oldest files will deleted first.)"
|
2304 |
+
msgstr "(сначала будут удалены старые файлы.)"
|
2305 |
+
|
2306 |
+
#: pages/func_backwpupeditjob.php:230
|
2307 |
+
#@ backwpup
|
2308 |
+
msgid "Hostname:"
|
2309 |
+
msgstr "Сервер:"
|
2310 |
+
|
2311 |
+
#: pages/func_backwpupeditjob.php:232
|
2312 |
+
#: pages/page_backwpupsettings.php:52
|
2313 |
+
#@ backwpup
|
2314 |
+
msgid "Port:"
|
2315 |
+
msgstr "Порт:"
|
2316 |
+
|
2317 |
+
#: pages/func_backwpupeditjob.php:234
|
2318 |
+
#: pages/func_backwpupeditjob.php:325
|
2319 |
+
#: pages/page_backwpupsettings.php:139
|
2320 |
+
#@ backwpup
|
2321 |
+
msgid "Username:"
|
2322 |
+
msgstr "Логин:"
|
2323 |
+
|
2324 |
+
#: pages/func_backwpupeditjob.php:236
|
2325 |
+
#: pages/func_backwpupeditjob.php:378
|
2326 |
+
#: pages/page_backwpupsettings.php:144
|
2327 |
+
#@ backwpup
|
2328 |
+
msgid "Password:"
|
2329 |
+
msgstr "Пароль:"
|
2330 |
+
|
2331 |
+
#: pages/func_backwpupeditjob.php:238
|
2332 |
+
#@ backwpup
|
2333 |
+
msgid "Folder on Server:"
|
2334 |
+
msgstr "Папка на сервере:"
|
2335 |
+
|
2336 |
+
#: pages/func_backwpupeditjob.php:241
|
2337 |
+
#@ backwpup
|
2338 |
+
msgid "Max. backup files in FTP folder:"
|
2339 |
+
msgstr "Макс. кол-во рез.копий на FTP:"
|
2340 |
+
|
2341 |
+
#: pages/func_backwpupeditjob.php:241
|
2342 |
+
#: pages/func_backwpupeditjob.php:260
|
2343 |
+
#: pages/func_backwpupeditjob.php:285
|
2344 |
+
#: pages/func_backwpupeditjob.php:312
|
2345 |
+
#: pages/func_backwpupeditjob.php:335
|
2346 |
+
#: pages/func_backwpupeditjob.php:362
|
2347 |
+
#: pages/func_backwpupeditjob.php:416
|
2348 |
+
#@ backwpup
|
2349 |
+
msgid "(Oldest files will be deleted first.)"
|
2350 |
+
msgstr "(сначала будут удалены старые файлы)"
|
2351 |
+
|
2352 |
+
#: pages/func_backwpupeditjob.php:242
|
2353 |
+
#@ backwpup
|
2354 |
+
msgid "Use SSL-FTP Connection."
|
2355 |
+
msgstr "Использовать SSL-FTP соединение"
|
2356 |
+
|
2357 |
+
#: pages/func_backwpupeditjob.php:243
|
2358 |
+
#@ backwpup
|
2359 |
+
msgid "Use FTP Passive mode."
|
2360 |
+
msgstr "Использовать Пассивный режим FTP"
|
2361 |
+
|
2362 |
+
#: pages/func_backwpupeditjob.php:250
|
2363 |
+
#@ backwpup
|
2364 |
+
msgid "Access Key ID:"
|
2365 |
+
msgstr "ID ключа доступа:"
|
2366 |
+
|
2367 |
+
#: pages/func_backwpupeditjob.php:252
|
2368 |
+
#@ backwpup
|
2369 |
+
msgid "Secret Access Key:"
|
2370 |
+
msgstr "Секретный ключ доступа:"
|
2371 |
+
|
2372 |
+
#: pages/func_backwpupeditjob.php:254
|
2373 |
+
#: pages/func_backwpupeditjob.php:279
|
2374 |
+
#@ backwpup
|
2375 |
+
msgid "Bucket:"
|
2376 |
+
msgstr "Хранилище:"
|
2377 |
+
|
2378 |
+
#: pages/func_backwpupeditjob.php:257
|
2379 |
+
#: pages/func_backwpupeditjob.php:282
|
2380 |
+
#@ backwpup
|
2381 |
+
msgid "Create bucket:"
|
2382 |
+
msgstr "Создать хранилище:"
|
2383 |
+
|
2384 |
+
#: pages/func_backwpupeditjob.php:257
|
2385 |
+
#@ backwpup
|
2386 |
+
msgid "Bucket Region"
|
2387 |
+
msgstr "Регион хранения"
|
2388 |
+
|
2389 |
+
#: pages/func_backwpupeditjob.php:257
|
2390 |
+
#@ backwpup
|
2391 |
+
msgid "US-Standard (Northern Virginia & Washington State)"
|
2392 |
+
msgstr "US-Standard (Northern Virginia & Washington State)"
|
2393 |
+
|
2394 |
+
#: pages/func_backwpupeditjob.php:257
|
2395 |
+
#@ backwpup
|
2396 |
+
msgid "US-West 1 (Northern California)"
|
2397 |
+
msgstr "US-West 1 (Northern California)"
|
2398 |
+
|
2399 |
+
#: pages/func_backwpupeditjob.php:257
|
2400 |
+
#@ backwpup
|
2401 |
+
msgid "US-West 2 (Oregon)"
|
2402 |
+
msgstr "US-West 2 (Oregon)"
|
2403 |
+
|
2404 |
+
#: pages/func_backwpupeditjob.php:257
|
2405 |
+
#@ backwpup
|
2406 |
+
msgid "EU (Ireland)"
|
2407 |
+
msgstr "EU (Ireland)"
|
2408 |
+
|
2409 |
+
#: pages/func_backwpupeditjob.php:257
|
2410 |
+
#@ backwpup
|
2411 |
+
msgid "Asia Pacific (Singapore)"
|
2412 |
+
msgstr "Asia Pacific (Singapore)"
|
2413 |
+
|
2414 |
+
#: pages/func_backwpupeditjob.php:257
|
2415 |
+
#@ backwpup
|
2416 |
+
msgid "Asia Pacific (Japan)"
|
2417 |
+
msgstr "Asia Pacific (Japan)"
|
2418 |
+
|
2419 |
+
#: pages/func_backwpupeditjob.php:257
|
2420 |
+
#@ backwpup
|
2421 |
+
msgid "South America (Sao Paulo)"
|
2422 |
+
msgstr "South America (Sao Paulo)"
|
2423 |
+
|
2424 |
+
#: pages/func_backwpupeditjob.php:257
|
2425 |
+
#@ backwpup
|
2426 |
+
msgid "United States GovCloud"
|
2427 |
+
msgstr "United States GovCloud"
|
2428 |
+
|
2429 |
+
#: pages/func_backwpupeditjob.php:257
|
2430 |
+
#@ backwpup
|
2431 |
+
msgid "United States GovCloud FIPS 140-2"
|
2432 |
+
msgstr "United States GovCloud FIPS 140-2"
|
2433 |
+
|
2434 |
+
#: pages/func_backwpupeditjob.php:258
|
2435 |
+
#: pages/func_backwpupeditjob.php:283
|
2436 |
+
#@ backwpup
|
2437 |
+
msgid "Folder in bucket:"
|
2438 |
+
msgstr "Папка в хранилище:"
|
2439 |
+
|
2440 |
+
#: pages/func_backwpupeditjob.php:260
|
2441 |
+
#: pages/func_backwpupeditjob.php:285
|
2442 |
+
#@ backwpup
|
2443 |
+
msgid "Max. backup files in bucket folder:"
|
2444 |
+
msgstr "Макс. кол-во рез.копий в хранилище:"
|
2445 |
+
|
2446 |
+
#: pages/func_backwpupeditjob.php:261
|
2447 |
+
#@ backwpup
|
2448 |
+
msgid "Save Backups with reduced redundancy!"
|
2449 |
+
msgstr "Сохранить рез.копии с уменьшением избыточности!"
|
2450 |
+
|
2451 |
+
#: pages/func_backwpupeditjob.php:264
|
2452 |
+
#: pages/func_backwpupeditjob.php:288
|
2453 |
+
#: pages/func_backwpupeditjob.php:315
|
2454 |
+
#: pages/func_backwpupeditjob.php:338
|
2455 |
+
#: pages/func_backwpupeditjob.php:365
|
2456 |
+
#: pages/func_backwpupeditjob.php:420
|
2457 |
+
#@ backwpup
|
2458 |
+
msgid "Create Account"
|
2459 |
+
msgstr "Создать аккаунт"
|
2460 |
+
|
2461 |
+
#: pages/func_backwpupeditjob.php:265
|
2462 |
+
#: pages/func_backwpupeditjob.php:289
|
2463 |
+
#@ backwpup
|
2464 |
+
msgid "Find Keys"
|
2465 |
+
msgstr "Найти ключи"
|
2466 |
+
|
2467 |
+
#: pages/func_backwpupeditjob.php:266
|
2468 |
+
#: pages/func_backwpupeditjob.php:290
|
2469 |
+
#: pages/func_backwpupeditjob.php:340
|
2470 |
+
#: pages/func_backwpupeditjob.php:366
|
2471 |
+
#: pages/func_backwpupeditjob.php:421
|
2472 |
+
#@ backwpup
|
2473 |
+
msgid "Webinterface"
|
2474 |
+
msgstr "Веб-интерфейс"
|
2475 |
+
|
2476 |
+
#: pages/func_backwpupeditjob.php:275
|
2477 |
+
#: pages/func_backwpupeditjob.php:304
|
2478 |
+
#@ backwpup
|
2479 |
+
msgid "Access Key:"
|
2480 |
+
msgstr "Ключ доступа:"
|
2481 |
+
|
2482 |
+
#: pages/func_backwpupeditjob.php:277
|
2483 |
+
#@ backwpup
|
2484 |
+
msgid "Secret:"
|
2485 |
+
msgstr "Секрет:"
|
2486 |
+
|
2487 |
+
#: pages/func_backwpupeditjob.php:300
|
2488 |
+
#@ backwpup
|
2489 |
+
msgid "Host:"
|
2490 |
+
msgstr "Сервер:"
|
2491 |
+
|
2492 |
+
#: pages/func_backwpupeditjob.php:301
|
2493 |
+
#@ backwpup
|
2494 |
+
msgid "Normely: blob.core.windows.net"
|
2495 |
+
msgstr "Обычно: blob.core.windows.net"
|
2496 |
+
|
2497 |
+
#: pages/func_backwpupeditjob.php:302
|
2498 |
+
#@ backwpup
|
2499 |
+
msgid "Account Name:"
|
2500 |
+
msgstr "Имя аккаунта:"
|
2501 |
+
|
2502 |
+
#: pages/func_backwpupeditjob.php:306
|
2503 |
+
#: pages/func_backwpupeditjob.php:329
|
2504 |
+
#@ backwpup
|
2505 |
+
msgid "Container:"
|
2506 |
+
msgstr "Контейнер:"
|
2507 |
+
|
2508 |
+
#: pages/func_backwpupeditjob.php:309
|
2509 |
+
#: pages/func_backwpupeditjob.php:332
|
2510 |
+
#@ backwpup
|
2511 |
+
msgid "Create Container:"
|
2512 |
+
msgstr "Создать контейнер:"
|
2513 |
+
|
2514 |
+
#: pages/func_backwpupeditjob.php:310
|
2515 |
+
#@ backwpup
|
2516 |
+
msgid "Folder in Container:"
|
2517 |
+
msgstr "Папка в контейнере:"
|
2518 |
+
|
2519 |
+
#: pages/func_backwpupeditjob.php:312
|
2520 |
+
#: pages/func_backwpupeditjob.php:335
|
2521 |
+
#@ backwpup
|
2522 |
+
msgid "Max. backup files in container folder:"
|
2523 |
+
msgstr "Макс. кол-во рез.копий в контейнере:"
|
2524 |
+
|
2525 |
+
#: pages/func_backwpupeditjob.php:316
|
2526 |
+
#: pages/func_backwpupeditjob.php:339
|
2527 |
+
#@ backwpup
|
2528 |
+
msgid "Find Key"
|
2529 |
+
msgstr "Найти ключ"
|
2530 |
+
|
2531 |
+
#: pages/func_backwpupeditjob.php:327
|
2532 |
+
#@ backwpup
|
2533 |
+
msgid "API Key:"
|
2534 |
+
msgstr "API ключ:"
|
2535 |
+
|
2536 |
+
#: pages/func_backwpupeditjob.php:333
|
2537 |
+
#@ backwpup
|
2538 |
+
msgid "Folder in container:"
|
2539 |
+
msgstr "Папка в контейнере:"
|
2540 |
+
|
2541 |
+
#: pages/func_backwpupeditjob.php:349
|
2542 |
+
#: pages/func_backwpupeditjob.php:385
|
2543 |
+
#@ backwpup
|
2544 |
+
msgid "Login:"
|
2545 |
+
msgstr "Логин:"
|
2546 |
+
|
2547 |
+
#: pages/func_backwpupeditjob.php:351
|
2548 |
+
#@ backwpup
|
2549 |
+
msgid "Not authenticated!"
|
2550 |
+
msgstr "Не авторизован!"
|
2551 |
+
|
2552 |
+
#: pages/func_backwpupeditjob.php:351
|
2553 |
+
#@ backwpup
|
2554 |
+
msgid "Authenticate!"
|
2555 |
+
msgstr "Авторизовать!"
|
2556 |
+
|
2557 |
+
#: pages/func_backwpupeditjob.php:353
|
2558 |
+
#: pages/func_backwpupeditjob.php:386
|
2559 |
+
#@ backwpup
|
2560 |
+
msgid "Authenticated!"
|
2561 |
+
msgstr "Авторизован!"
|
2562 |
+
|
2563 |
+
#: pages/func_backwpupeditjob.php:353
|
2564 |
+
#@ backwpup
|
2565 |
+
msgid "Delete!"
|
2566 |
+
msgstr "Удалить!"
|
2567 |
+
|
2568 |
+
#: pages/func_backwpupeditjob.php:355
|
2569 |
+
#: pages/func_backwpupeditjob.php:389
|
2570 |
+
#@ backwpup
|
2571 |
+
msgid "Root:"
|
2572 |
+
msgstr "Корневая папка:"
|
2573 |
+
|
2574 |
+
#: pages/func_backwpupeditjob.php:357
|
2575 |
+
#@ backwpup
|
2576 |
+
msgid "dropbox"
|
2577 |
+
msgstr "dropbox"
|
2578 |
+
|
2579 |
+
#: pages/func_backwpupeditjob.php:358
|
2580 |
+
#@ backwpup
|
2581 |
+
msgid "sandbox (disabled by DropBox)"
|
2582 |
+
msgstr "sandbox (отключено в DropBox)"
|
2583 |
+
|
2584 |
+
#: pages/func_backwpupeditjob.php:360
|
2585 |
+
#: pages/func_backwpupeditjob.php:413
|
2586 |
+
#@ backwpup
|
2587 |
+
msgid "Folder:"
|
2588 |
+
msgstr "Папка:"
|
2589 |
+
|
2590 |
+
#: pages/func_backwpupeditjob.php:362
|
2591 |
+
#@ backwpup
|
2592 |
+
msgid "Max. backup files in Dropbox folder:"
|
2593 |
+
msgstr "Макс. кол-во рез.копий в Dropbox:"
|
2594 |
+
|
2595 |
+
#: pages/func_backwpupeditjob.php:376
|
2596 |
+
#: pages/func_backwpupeditjob.php:429
|
2597 |
+
#@ backwpup
|
2598 |
+
msgid "E-mail address:"
|
2599 |
+
msgstr "E-mail адрес:"
|
2600 |
+
|
2601 |
+
#: pages/func_backwpupeditjob.php:381
|
2602 |
+
#: pages/header_backwpupeditjob.php:225
|
2603 |
+
#@ backwpup
|
2604 |
+
msgid "Sugarsync authenticate!"
|
2605 |
+
msgstr "Авторизовать Sugarsync!"
|
2606 |
+
|
2607 |
+
#: pages/func_backwpupeditjob.php:382
|
2608 |
+
#: pages/header_backwpupeditjob.php:243
|
2609 |
+
#@ backwpup
|
2610 |
+
msgid "Create Sugarsync Account"
|
2611 |
+
msgstr "Создать аккаунт Sugarsync"
|
2612 |
+
|
2613 |
+
#: pages/func_backwpupeditjob.php:387
|
2614 |
+
#: pages/header_backwpupeditjob.php:239
|
2615 |
+
#@ backwpup
|
2616 |
+
msgid "Delete Sugarsync authentication!"
|
2617 |
+
msgstr "Удалить авторзиацию Sugarsync!"
|
2618 |
+
|
2619 |
+
#: pages/func_backwpupeditjob.php:398
|
2620 |
+
#: pages/func_backwpupeditjob.php:823
|
2621 |
+
#@ backwpup
|
2622 |
+
msgid "No Syncfolders found!"
|
2623 |
+
msgstr "Не найдено папок!"
|
2624 |
+
|
2625 |
+
#: pages/func_backwpupeditjob.php:432
|
2626 |
+
#@ backwpup
|
2627 |
+
msgid "Max. File Size for sending Backups with mail:"
|
2628 |
+
msgstr "Максимальный размер файла для отправления рез.копий на e-mail:"
|
2629 |
+
|
2630 |
+
#: pages/func_backwpupeditjob.php:490
|
2631 |
+
#@ backwpup
|
2632 |
+
msgid "Working as <a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a> job schedule:"
|
2633 |
+
msgstr "Выполнять задачи по расписанию используя <a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a>:"
|
2634 |
+
|
2635 |
+
#: pages/func_backwpupeditjob.php:496
|
2636 |
+
#, php-format
|
2637 |
+
#@ backwpup
|
2638 |
+
msgid "ATTENTION: Job runs every %d mins.!!!"
|
2639 |
+
msgstr "ВНИМАНИЕ: Задача запускается каждые %d мин.!!!"
|
2640 |
+
|
2641 |
+
#: pages/func_backwpupeditjob.php:502
|
2642 |
+
#, php-format
|
2643 |
+
#@ backwpup
|
2644 |
+
msgid "ATTENTION: Job runs every %d houers.!!!"
|
2645 |
+
msgstr "ВНИМАНИЕ: Задача запускается каждые %d часов.!!!"
|
2646 |
+
|
2647 |
+
#: pages/func_backwpupeditjob.php:506
|
2648 |
+
#@ backwpup
|
2649 |
+
msgid "ATTENTION: Can't calculate cron!!!"
|
2650 |
+
msgstr "ВНИМАНИЕ: Невозможно расчитать cron!!!"
|
2651 |
+
|
2652 |
+
#: pages/func_backwpupeditjob.php:508
|
2653 |
+
#@ backwpup
|
2654 |
+
msgid "Next runtime:"
|
2655 |
+
msgstr "Следующее выполнение:"
|
2656 |
+
|
2657 |
+
#: pages/func_backwpupeditjob.php:534
|
2658 |
+
#: pages/func_backwpupeditjob.php:599
|
2659 |
+
#@ backwpup
|
2660 |
+
msgid "Missing access key!"
|
2661 |
+
msgstr "Не указан ключ доступа!"
|
2662 |
+
|
2663 |
+
#: pages/func_backwpupeditjob.php:541
|
2664 |
+
#: pages/func_backwpupeditjob.php:606
|
2665 |
+
#@ backwpup
|
2666 |
+
msgid "Missing secret access key!"
|
2667 |
+
msgstr "Не указан секретный ключ доступа!"
|
2668 |
+
|
2669 |
+
#: pages/func_backwpupeditjob.php:565
|
2670 |
+
#: pages/func_backwpupeditjob.php:632
|
2671 |
+
#@ backwpup
|
2672 |
+
msgid "No bucket fount!"
|
2673 |
+
msgstr "Не найдено папка!"
|
2674 |
+
|
2675 |
+
#: pages/func_backwpupeditjob.php:667
|
2676 |
+
#: pages/func_backwpupeditjob.php:796
|
2677 |
+
#@ backwpup
|
2678 |
+
msgid "Missing Username!"
|
2679 |
+
msgstr "Не указан логин!"
|
2680 |
+
|
2681 |
+
#: pages/func_backwpupeditjob.php:674
|
2682 |
+
#@ backwpup
|
2683 |
+
msgid "Missing API Key!"
|
2684 |
+
msgstr "Не указан API ключ!"
|
2685 |
+
|
2686 |
+
#: pages/func_backwpupeditjob.php:695
|
2687 |
+
#@ backwpup
|
2688 |
+
msgid "No Containerss found!"
|
2689 |
+
msgstr "Не найдено контейнеров!"
|
2690 |
+
|
2691 |
+
#: pages/func_backwpupeditjob.php:730
|
2692 |
+
#@ backwpup
|
2693 |
+
msgid "Missing Hostname!"
|
2694 |
+
msgstr "Не указан сервер!"
|
2695 |
+
|
2696 |
+
#: pages/func_backwpupeditjob.php:737
|
2697 |
+
#@ backwpup
|
2698 |
+
msgid "Missing Account Name!"
|
2699 |
+
msgstr "Не указано имя аккаунта!"
|
2700 |
+
|
2701 |
+
#: pages/func_backwpupeditjob.php:744
|
2702 |
+
#@ backwpup
|
2703 |
+
msgid "Missing Access Key!"
|
2704 |
+
msgstr "Не указан ключ доступа!"
|
2705 |
+
|
2706 |
+
#: pages/func_backwpupeditjob.php:761
|
2707 |
+
#@ backwpup
|
2708 |
+
msgid "No Container found!"
|
2709 |
+
msgstr "Не найдено контейнеров!"
|
2710 |
+
|
2711 |
+
#: pages/func_backwpupeditjob.php:803
|
2712 |
+
#@ backwpup
|
2713 |
+
msgid "Missing Password!"
|
2714 |
+
msgstr "Не указан пароль!"
|
2715 |
+
|
2716 |
+
#: pages/func_backwpuplogs.php:68
|
2717 |
+
#@ backwpup
|
2718 |
+
msgid "No Logs."
|
2719 |
+
msgstr "Нет журналов выполнения."
|
2720 |
+
|
2721 |
+
#: pages/func_backwpuplogs.php:80
|
2722 |
+
#@ backwpup
|
2723 |
+
msgid "Job"
|
2724 |
+
msgstr "Зад."
|
2725 |
+
|
2726 |
+
#: pages/func_backwpuplogs.php:82
|
2727 |
+
#@ backwpup
|
2728 |
+
msgid "Backup/Log Date/Time"
|
2729 |
+
msgstr "Рез.копия/Дата/Время"
|
2730 |
+
|
2731 |
+
#: pages/func_backwpuplogs.php:83
|
2732 |
+
#@ backwpup
|
2733 |
+
msgid "Status"
|
2734 |
+
msgstr "Статус"
|
2735 |
+
|
2736 |
+
#: pages/func_backwpuplogs.php:85
|
2737 |
+
#@ backwpup
|
2738 |
+
msgid "Runtime"
|
2739 |
+
msgstr "Время выполн."
|
2740 |
+
|
2741 |
+
#: pages/func_backwpuplogs.php:124
|
2742 |
+
#@ backwpup
|
2743 |
+
msgid "View log"
|
2744 |
+
msgstr "Просмотр журнала"
|
2745 |
+
|
2746 |
+
#: pages/func_backwpuplogs.php:126
|
2747 |
+
#@ backwpup
|
2748 |
+
msgid "View"
|
2749 |
+
msgstr "Просмотр"
|
2750 |
+
|
2751 |
+
#: pages/func_backwpuplogs.php:147
|
2752 |
+
#@ backwpup
|
2753 |
+
msgid "only Log"
|
2754 |
+
msgstr "только журнал"
|
2755 |
+
|
2756 |
+
#: pages/header_backwpup.php:44
|
2757 |
+
#@ backwpup
|
2758 |
+
msgid "Copy of"
|
2759 |
+
msgstr "Копировать"
|
2760 |
+
|
2761 |
+
#: pages/header_backwpup.php:100
|
2762 |
+
#@ backwpup
|
2763 |
+
msgid "Aborted by user!!!"
|
2764 |
+
msgstr "Остановлено пользователем!!!"
|
2765 |
+
|
2766 |
+
#: pages/header_backwpup.php:115
|
2767 |
+
#@ backwpup
|
2768 |
+
msgid "Job will be terminated."
|
2769 |
+
msgstr "Задача была остановлена."
|
2770 |
+
|
2771 |
+
#: pages/header_backwpup.php:118
|
2772 |
+
#@ backwpup
|
2773 |
+
msgid "Process killed with PID:"
|
2774 |
+
msgstr "Процесс завершен с PID:"
|
2775 |
+
|
2776 |
+
#: pages/header_backwpup.php:120
|
2777 |
+
#@ backwpup
|
2778 |
+
msgid "Can't kill process with PID:"
|
2779 |
+
msgstr "Невозможно завершить процесс с PID:"
|
2780 |
+
|
2781 |
+
#: pages/header_backwpup.php:136
|
2782 |
+
#@ backwpup
|
2783 |
+
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."
|
2784 |
+
msgstr "Здесь вы видите обзор по задаче с некоторым количеством информации. Вы можете изменять объемы отображаемой информации используя кнопку \\\"Просмотр\\\". Также вы можете управлять задачами или отменять из выполнение."
|
2785 |
+
|
2786 |
+
#: pages/header_backwpupbackups.php:325
|
2787 |
+
#@ backwpup
|
2788 |
+
msgid "Here you see a list of backup files. Change the destionation to jobname:destination to become a list of backups from other destinations and jobs. Then you kann delete or download backup files."
|
2789 |
+
msgstr "Здесь вы можете увидеть список ваших резервных копий. Измените место назначения на имя задачи:место назначения (jobname:destination) для просмотра списка резервных копий других задач. Здесь вы можете загружать или удалять ваши резервные копии."
|
2790 |
+
|
2791 |
+
#: pages/header_backwpupeditjob.php:22
|
2792 |
+
#@ backwpup
|
2793 |
+
msgid "Dropbox authentication complete!"
|
2794 |
+
msgstr "Авторизация Dropbox завершена!"
|
2795 |
+
|
2796 |
+
#: pages/header_backwpupeditjob.php:24
|
2797 |
+
#@ backwpup
|
2798 |
+
msgid "Wrong Token for Dropbox authentication received!"
|
2799 |
+
msgstr "При авторизации Dropbox получен неправильный токен!"
|
2800 |
+
|
2801 |
+
#: pages/header_backwpupeditjob.php:27
|
2802 |
+
#@ backwpup
|
2803 |
+
msgid "No Dropbox authentication received!"
|
2804 |
+
msgstr "Авторизация Dropbox не получена!"
|
2805 |
+
|
2806 |
+
#: pages/header_backwpupeditjob.php:222
|
2807 |
+
#@ backwpup
|
2808 |
+
msgid "Dropbox authentication deleted!"
|
2809 |
+
msgstr "Авторизация Dropbox удалена!"
|
2810 |
+
|
2811 |
+
#: pages/header_backwpupeditjob.php:233
|
2812 |
+
#@ backwpup
|
2813 |
+
msgid "SugarSync authentication complete!"
|
2814 |
+
msgstr "Авторизация SugarSync завершена!"
|
2815 |
+
|
2816 |
+
#: pages/header_backwpupeditjob.php:241
|
2817 |
+
#@ backwpup
|
2818 |
+
msgid "SugarSync authentication deleted!"
|
2819 |
+
msgstr "Авторизация SugarSync удалена!"
|
2820 |
+
|
2821 |
+
#: pages/header_backwpupeditjob.php:249
|
2822 |
+
#@ backwpup
|
2823 |
+
msgid "SugarSync account created!"
|
2824 |
+
msgstr "Аккаунт SugarSync создан!"
|
2825 |
+
|
2826 |
+
#: pages/header_backwpupeditjob.php:286
|
2827 |
+
#, php-format
|
2828 |
+
#@ backwpup
|
2829 |
+
msgid "Job '%1' changes saved."
|
2830 |
+
msgstr "Изменения задачи '%1' сохранены."
|
2831 |
+
|
2832 |
+
#: pages/header_backwpupeditjob.php:286
|
2833 |
+
#@ backwpup
|
2834 |
+
msgid "Jobs overview."
|
2835 |
+
msgstr "Обзор задач."
|
2836 |
+
|
2837 |
+
#: pages/header_backwpupeditjob.php:298
|
2838 |
+
#@ backwpup
|
2839 |
+
msgid "Backup File"
|
2840 |
+
msgstr "Резервная копия"
|
2841 |
+
|
2842 |
+
#: pages/header_backwpupeditjob.php:299
|
2843 |
+
#@ backwpup
|
2844 |
+
msgid "Send log"
|
2845 |
+
msgstr "Отправление журналов"
|
2846 |
+
|
2847 |
+
#: pages/header_backwpupeditjob.php:300
|
2848 |
+
#@ backwpup
|
2849 |
+
msgid "Backup to Folder"
|
2850 |
+
msgstr "Резервное копирование в папку"
|
2851 |
+
|
2852 |
+
#: pages/header_backwpupeditjob.php:301
|
2853 |
+
#@ backwpup
|
2854 |
+
msgid "Backup to E-Mail"
|
2855 |
+
msgstr "Резервное копирование на E-mail"
|
2856 |
+
|
2857 |
+
#: pages/header_backwpupeditjob.php:303
|
2858 |
+
#@ backwpup
|
2859 |
+
msgid "Backup to FTP Server"
|
2860 |
+
msgstr "Резервное копирование на FTP сервер "
|
2861 |
+
|
2862 |
+
#: pages/header_backwpupeditjob.php:305
|
2863 |
+
#@ backwpup
|
2864 |
+
msgid "Backup to Dropbox"
|
2865 |
+
msgstr "Резервное копирование в Dropbox"
|
2866 |
+
|
2867 |
+
#: pages/header_backwpupeditjob.php:307
|
2868 |
+
#@ backwpup
|
2869 |
+
msgid "Backup to SugarSync"
|
2870 |
+
msgstr "Резервное копирование в SugarSync"
|
2871 |
+
|
2872 |
+
#: pages/header_backwpupeditjob.php:309
|
2873 |
+
#@ backwpup
|
2874 |
+
msgid "Backup to Amazon S3"
|
2875 |
+
msgstr "Резервное копирование в Amazon S3"
|
2876 |
+
|
2877 |
+
#: pages/header_backwpupeditjob.php:311
|
2878 |
+
#@ backwpup
|
2879 |
+
msgid "Backup to Google storage"
|
2880 |
+
msgstr "Резервное копирование в Google storage"
|
2881 |
+
|
2882 |
+
#: pages/header_backwpupeditjob.php:313
|
2883 |
+
#@ backwpup
|
2884 |
+
msgid "Backup to Micosoft Azure (Blob)"
|
2885 |
+
msgstr "Резервное копирование в Micosoft Azure"
|
2886 |
+
|
2887 |
+
#: pages/header_backwpupeditjob.php:315
|
2888 |
+
#@ backwpup
|
2889 |
+
msgid "Backup to Rackspace Cloud"
|
2890 |
+
msgstr "Резервное копирование в Rackspace Cloud"
|
2891 |
+
|
2892 |
+
#: pages/header_backwpuplogs.php:59
|
2893 |
+
#@ backwpup
|
2894 |
+
msgid "Here you can manage the log files of the jobs. You can download, view, or delete them."
|
2895 |
+
msgstr "Здесь вы можете управлять журналами выполнения задач. Вы можете загружать, просматривать или удалять их."
|
2896 |
+
|
2897 |
+
#: pages/header_backwpupsettings.php:44
|
2898 |
+
#@ backwpup
|
2899 |
+
msgid "Settings saved"
|
2900 |
+
msgstr "Настройки сохранены"
|
2901 |
+
|
2902 |
+
#: pages/header_backwpupworking.php:11
|
2903 |
+
#@ backwpup
|
2904 |
+
msgid "A job alredy running!!! Pleace try again if its done."
|
2905 |
+
msgstr "Задача уже запущена!!! Повторите после выполнения задачи"
|
2906 |
+
|
2907 |
+
#: pages/header_backwpupworking.php:23
|
2908 |
+
#@ backwpup
|
2909 |
+
msgid "A job is running!!!"
|
2910 |
+
msgstr "Задача запущена!!!"
|
2911 |
+
|
2912 |
+
#: pages/header_backwpupworking.php:27
|
2913 |
+
#@ backwpup
|
2914 |
+
msgid "Nothing..."
|
2915 |
+
msgstr "Ничего нет..."
|
2916 |
+
|
lang/backwpup-zh_CN.mo
CHANGED
Binary file
|
lang/backwpup-zh_CN.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: BackWPup v2.1.
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/backwpup\n"
|
5 |
"POT-Creation-Date: 2011-08-04 18:37:34+00:00\n"
|
6 |
-
"PO-Revision-Date: 2012-
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -54,91 +54,69 @@ msgstr ""
|
|
54 |
msgid "\"%s\" is not a file or directory"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: job/job_run.php:
|
58 |
-
#@ backwpup
|
59 |
-
msgid "Job restart terminated, bcause old job runs again!"
|
60 |
-
msgstr ""
|
61 |
-
|
62 |
-
#: job/job_run.php:72
|
63 |
-
#@ backwpup
|
64 |
-
msgid "Job restarted, bcause inactivity!"
|
65 |
-
msgstr ""
|
66 |
-
|
67 |
-
#: job/job_run.php:74
|
68 |
-
#, php-format
|
69 |
-
#@ backwpup
|
70 |
-
msgid "Second Prozess is running, bcause old job runs! Start type is %s"
|
71 |
-
msgstr ""
|
72 |
-
|
73 |
-
#: job/job_run.php:102
|
74 |
#, php-format
|
75 |
#@ backwpup
|
76 |
msgid "Can not find job step file: %s"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: job/job_run.php:
|
80 |
-
#, php-format
|
81 |
-
#@ default
|
82 |
-
msgid "[INFO]: BackWPup version %1$s, WordPress version %4$s Copyright © %2$s %3$s"
|
83 |
-
msgstr ""
|
84 |
-
|
85 |
-
#: job/job_run.php:111
|
86 |
#@ backwpup
|
87 |
msgid "[INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions."
|
88 |
-
msgstr "
|
89 |
|
90 |
-
#: job/job_run.php:
|
91 |
#@ backwpup
|
92 |
msgid "[INFO]: BackWPup job:"
|
93 |
msgstr "[INFO]: BackWPup 任务:"
|
94 |
|
95 |
-
#: job/job_run.php:
|
96 |
#@ backwpup
|
97 |
msgid "[INFO]: BackWPup cron:"
|
98 |
msgstr "[INFO]: BackWPup Cron:"
|
99 |
|
100 |
-
#: job/job_run.php:
|
101 |
#@ backwpup
|
102 |
msgid "[INFO]: PHP ver.:"
|
103 |
msgstr "[INFO]: PHP 版本:"
|
104 |
|
105 |
-
#: job/job_run.php:
|
106 |
#, php-format
|
107 |
#@ backwpup
|
108 |
msgid "[INFO]: PHP Safe mode is ON! Maximum script execution time is %1$d sec."
|
109 |
-
msgstr "
|
110 |
|
111 |
-
#: job/job_run.php:
|
112 |
#@ backwpup
|
113 |
msgid "[INFO]: MySQL ver.:"
|
114 |
msgstr "[INFO]: MySQL 版本:"
|
115 |
|
116 |
-
#: job/job_run.php:
|
117 |
#@ backwpup
|
118 |
msgid "[INFO]: curl ver.:"
|
119 |
msgstr "[INFO]: cURL 版本:"
|
120 |
|
121 |
-
#: job/job_run.php:
|
122 |
#@ backwpup
|
123 |
msgid "[INFO]: Temp folder is:"
|
124 |
msgstr "[INFO]: 临时文件夹:"
|
125 |
|
126 |
-
#: job/job_run.php:
|
127 |
#@ backwpup
|
128 |
msgid "[INFO]: Backup file is:"
|
129 |
msgstr "[INFO]: 备份文件:"
|
130 |
|
131 |
-
#: job/job_run.php:
|
132 |
#@ backwpup
|
133 |
msgid "No destination defineid for backup!!! Please correct job settings"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: job/job_run.php:
|
137 |
#@ backwpup
|
138 |
msgid "Step arborted has too many trys!"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: job/job_run.php:
|
142 |
#, php-format
|
143 |
#@ backwpup
|
144 |
msgid "Can not find job step function %s!"
|
@@ -165,9 +143,9 @@ msgstr ""
|
|
165 |
#: job/dest_msazure.php:20
|
166 |
#@ backwpup
|
167 |
msgid "Upload to MS Azure now started... "
|
168 |
-
msgstr "开始备份到MS Azure..."
|
169 |
|
170 |
-
#: job/dest_dropbox.php:
|
171 |
#: job/dest_gstorage.php:27
|
172 |
#: job/dest_msazure.php:25
|
173 |
#: job/dest_s3.php:30
|
@@ -194,7 +172,7 @@ msgstr[1] ""
|
|
194 |
#, php-format
|
195 |
#@ backwpup
|
196 |
msgid "Microsoft Azure API: %s"
|
197 |
-
msgstr "
|
198 |
|
199 |
#: job/backup_create.php:13
|
200 |
#, php-format
|
@@ -286,11 +264,6 @@ msgstr ""
|
|
286 |
msgid "Backup zip archive create done"
|
287 |
msgstr "压缩备份文件完成"
|
288 |
|
289 |
-
#: job/backup_create.php:89
|
290 |
-
#@ backwpup
|
291 |
-
msgid "Can not create tar arcive file!"
|
292 |
-
msgstr ""
|
293 |
-
|
294 |
#: job/backup_create.php:92
|
295 |
#, php-format
|
296 |
#@ backwpup
|
@@ -315,19 +288,19 @@ msgstr ""
|
|
315 |
msgid "File path \"%1$s\" to long to save corectly in %2$s archive!"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: job/backup_create.php:
|
319 |
#, php-format
|
320 |
#@ backwpup
|
321 |
msgid "%s archive creation done"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: job/backup_create.php:
|
325 |
#, php-format
|
326 |
#@ backwpup
|
327 |
msgid "Archive size is %s"
|
328 |
msgstr "压缩文件大小为 %s"
|
329 |
|
330 |
-
#: job/backup_create.php:
|
331 |
#, php-format
|
332 |
#@ backwpup
|
333 |
msgid "PCL ZIP Error \"%1$s\" on file %2$s!"
|
@@ -347,73 +320,73 @@ msgstr ""
|
|
347 |
#, php-format
|
348 |
#@ backwpup
|
349 |
msgid "Database error %1$s for query %2$s"
|
350 |
-
msgstr "
|
351 |
|
352 |
-
#: job/job_functions.php:
|
353 |
#, php-format
|
354 |
#@ backwpup
|
355 |
msgid "Memory increased from %1$s to %2$s"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: job/job_functions.php:
|
359 |
#, php-format
|
360 |
#@ backwpup
|
361 |
msgid "Can not increase memory limit is %1$s"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: job/job_functions.php:
|
365 |
#@ backwpup
|
366 |
msgid "Set Blog to maintenance mode"
|
367 |
-
msgstr "
|
368 |
|
369 |
-
#: job/job_functions.php:
|
370 |
#@ backwpup
|
371 |
msgid "Cannot set Blog to maintenance mode! Root folder is not writeable!"
|
372 |
-
msgstr "
|
373 |
|
374 |
-
#: job/job_functions.php:
|
375 |
#@ backwpup
|
376 |
msgid "Set Blog to normal mode"
|
377 |
msgstr "设置回正常模式"
|
378 |
|
379 |
-
#: job/job_functions.php:
|
380 |
#, php-format
|
381 |
#@ backwpup
|
382 |
msgid "No MySQL connection: %s"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: job/job_functions.php:
|
386 |
#, php-format
|
387 |
#@ backwpup
|
388 |
msgid "No MySQL connection to database: %s"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: job/job_functions.php:
|
392 |
#@ backwpup
|
393 |
msgid "[WARNING]"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: job/job_functions.php:
|
397 |
#@ backwpup
|
398 |
msgid "[ERROR]"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: job/job_functions.php:
|
402 |
#@ backwpup
|
403 |
msgid "[DEPRECATED]"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: job/job_functions.php:
|
407 |
#@ backwpup
|
408 |
msgid "[STRICT NOTICE]"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: job/job_functions.php:
|
412 |
#@ backwpup
|
413 |
msgid "[RECOVERABLE ERROR]"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: job/job_functions.php:
|
417 |
#, php-format
|
418 |
#@ backwpup
|
419 |
msgid "One old log deleted"
|
@@ -421,24 +394,24 @@ msgid_plural "%d old logs deleted"
|
|
421 |
msgstr[0] "一个日志被删除"
|
422 |
msgstr[1] "%d 个日志被删除"
|
423 |
|
424 |
-
#: job/job_functions.php:
|
425 |
#, php-format
|
426 |
#@ backwpup
|
427 |
msgid "Job done in %s sec."
|
428 |
msgstr "任务完成于 %s 秒内"
|
429 |
|
430 |
-
#: job/job_functions.php:
|
431 |
#, php-format
|
432 |
#@ backwpup
|
433 |
msgid "BackWPup log from %1$s: %2$s"
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: job/job_functions.php:
|
437 |
#@ backwpup
|
438 |
msgid "To many restarts...."
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: job/job_functions.php:
|
442 |
#@ backwpup
|
443 |
msgid "Script stop! Will started again now!"
|
444 |
msgstr ""
|
@@ -455,50 +428,50 @@ msgstr[1] "%d 个备份文件被删除"
|
|
455 |
#, php-format
|
456 |
#@ backwpup
|
457 |
msgid "%d. Try to sending backup file to DropBox..."
|
458 |
-
msgstr "%d. 正在备份文件到Dropbox..."
|
459 |
|
460 |
-
#: job/dest_dropbox.php:
|
461 |
#, php-format
|
462 |
#@ backwpup
|
463 |
msgid "Authed with DropBox from %s"
|
464 |
msgstr "%s 认证于 Dropbox"
|
465 |
|
466 |
-
#: job/dest_dropbox.php:
|
467 |
#@ backwpup
|
468 |
msgid "No free space left on DropBox!!!"
|
469 |
-
msgstr "Dropbox没空余容量了!"
|
470 |
|
471 |
-
#: job/dest_dropbox.php:
|
472 |
#, php-format
|
473 |
#@ backwpup
|
474 |
msgid "%s free on DropBox"
|
475 |
-
msgstr "Dropbox空余容量还有 %s"
|
476 |
|
477 |
-
#: job/dest_dropbox.php:
|
478 |
#@ backwpup
|
479 |
msgid "Upload to DropBox now started... "
|
480 |
-
msgstr "开始备份到Dropbox..."
|
481 |
|
482 |
-
#: job/dest_dropbox.php:
|
483 |
-
#: job/dest_dropbox.php:
|
484 |
#, php-format
|
485 |
#@ backwpup
|
486 |
msgid "DropBox API: %s"
|
487 |
msgstr "Dropbox API: %s"
|
488 |
|
489 |
-
#: job/dest_dropbox.php:
|
490 |
#, php-format
|
491 |
#@ backwpup
|
492 |
msgid "One file deleted on DropBox"
|
493 |
msgid_plural "%d files deleted on DropBox"
|
494 |
-
msgstr[0] "Dropbox中一个文件被删除"
|
495 |
-
msgstr[1] "Dropbox中 %d 个文件被删除"
|
496 |
|
497 |
#: job/wp_export.php:11
|
498 |
#, php-format
|
499 |
#@ backwpup
|
500 |
msgid "%d. try for wordpress export to XML file..."
|
501 |
-
msgstr "%d. 正在导出XML..."
|
502 |
|
503 |
#: job/wp_export.php:38
|
504 |
#: job/wp_export.php:40
|
@@ -522,30 +495,30 @@ msgstr ""
|
|
522 |
msgid "Temp dir not writeable"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: job/job_start.php:
|
526 |
#, php-format
|
527 |
#@ backwpup
|
528 |
msgid "Can not create folder for log files: %s"
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: job/job_start.php:
|
532 |
#@ backwpup
|
533 |
msgid "Log folder not writeable!"
|
534 |
msgstr "日志文件夹不可写!"
|
535 |
|
536 |
-
#: job/job_start.php:
|
537 |
#, php-format
|
538 |
#@ backwpup
|
539 |
msgid "BackWPup log for %1$s from %2$s at %3$s"
|
540 |
msgstr ""
|
541 |
|
542 |
-
#: job/job_start.php:
|
543 |
#, php-format
|
544 |
#@ backwpup
|
545 |
msgid "Can not create folder for backups: %1$s"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: job/job_start.php:
|
549 |
#@ backwpup
|
550 |
msgid "Backup folder not writeable!"
|
551 |
msgstr ""
|
@@ -589,17 +562,17 @@ msgstr ""
|
|
589 |
#: job/dest_rsc.php:92
|
590 |
#@ backwpup
|
591 |
msgid "Rackspase Cloud API:"
|
592 |
-
msgstr "
|
593 |
|
594 |
#: job/dest_rsc.php:34
|
595 |
#@ backwpup
|
596 |
msgid "Rackspase Cloud Container not exists:"
|
597 |
-
msgstr "
|
598 |
|
599 |
#: job/dest_rsc.php:53
|
600 |
#@ backwpup
|
601 |
msgid "Upload to RSC now started ... "
|
602 |
-
msgstr "开始备份到RSC..."
|
603 |
|
604 |
#: job/dest_rsc.php:56
|
605 |
#@ backwpup
|
@@ -650,7 +623,7 @@ msgstr ""
|
|
650 |
#: job/dest_sugarsync.php:31
|
651 |
#@ backwpup
|
652 |
msgid "Upload to SugarSync now started... "
|
653 |
-
msgstr "开始备份到SugarSync..."
|
654 |
|
655 |
#: job/dest_sugarsync.php:39
|
656 |
#@ backwpup
|
@@ -669,7 +642,7 @@ msgstr[1] ""
|
|
669 |
#, php-format
|
670 |
#@ backwpup
|
671 |
msgid "SugarSync API: %s"
|
672 |
-
msgstr "
|
673 |
|
674 |
#: job/dest_s3.php:4
|
675 |
#, php-format
|
@@ -686,7 +659,7 @@ msgstr ""
|
|
686 |
#: job/dest_s3.php:24
|
687 |
#@ backwpup
|
688 |
msgid "Upload to Amazon S3 now started... "
|
689 |
-
msgstr "开始备份到Amazon S3..."
|
690 |
|
691 |
#: job/dest_s3.php:34
|
692 |
#, php-format
|
@@ -727,60 +700,60 @@ msgstr[1] ""
|
|
727 |
msgid "%d. try to sending backup with mail..."
|
728 |
msgstr ""
|
729 |
|
730 |
-
#: job/dest_mail.php:
|
731 |
#@ backwpup
|
732 |
msgid "Send mail with SMTP"
|
733 |
-
msgstr "使用SMTP发送电子邮件"
|
734 |
|
735 |
-
#: job/dest_mail.php:
|
736 |
#@ backwpup
|
737 |
msgid "Send mail with Sendmail"
|
738 |
msgstr "使用 Sendmail() 发送电子邮件"
|
739 |
|
740 |
-
#: job/dest_mail.php:
|
741 |
#@ backwpup
|
742 |
msgid "Send mail with PHP mail"
|
743 |
msgstr "使用 PHP mail() 发送电子邮件"
|
744 |
|
745 |
-
#: job/dest_mail.php:
|
746 |
#@ backwpup
|
747 |
msgid "Creating mail"
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: job/dest_mail.php:
|
751 |
#, php-format
|
752 |
#@ backwpup
|
753 |
msgid "BackWPup archive from %1$s: %2$s"
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: job/dest_mail.php:
|
757 |
#, php-format
|
758 |
#@ backwpup
|
759 |
msgid "Backup archive: %s"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: job/dest_mail.php:
|
763 |
#@ backwpup
|
764 |
msgid "Backup archive too big for sending by mail!"
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: job/dest_mail.php:
|
768 |
#@ backwpup
|
769 |
msgid "Adding backup archive to mail"
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: job/dest_mail.php:
|
773 |
#@ backwpup
|
774 |
msgid "Send mail...."
|
775 |
msgstr "正在发送电子邮件..."
|
776 |
|
777 |
-
#: job/dest_mail.php:
|
778 |
#, php-format
|
779 |
#@ backwpup
|
780 |
msgid "Error \"%s\" on sending mail!"
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: job/dest_mail.php:
|
784 |
#@ backwpup
|
785 |
msgid "Mail send!!!"
|
786 |
msgstr ""
|
@@ -832,7 +805,7 @@ msgstr ""
|
|
832 |
#: job/dest_gstorage.php:21
|
833 |
#@ backwpup
|
834 |
msgid "Upload to GStorage now started... "
|
835 |
-
msgstr "开始备份到GStorage..."
|
836 |
|
837 |
#: job/dest_gstorage.php:31
|
838 |
#, php-format
|
@@ -875,28 +848,28 @@ msgstr[1] ""
|
|
875 |
msgid "%d. try for database dump..."
|
876 |
msgstr "%d. 正在导出数据库..."
|
877 |
|
878 |
-
#: job/db_dump.php:
|
879 |
#, php-format
|
880 |
#@ backwpup
|
881 |
msgid "Dump database table \"%s\""
|
882 |
msgstr "导出数据库表 \"%s\""
|
883 |
|
884 |
-
#: job/db_dump.php:
|
885 |
#@ backwpup
|
886 |
msgid "Database dump done!"
|
887 |
msgstr "数据库导出完成!"
|
888 |
|
889 |
-
#: job/db_dump.php:
|
890 |
#@ backwpup
|
891 |
msgid "Can not create database dump!"
|
892 |
msgstr ""
|
893 |
|
894 |
-
#: job/db_dump.php:
|
895 |
#@ backwpup
|
896 |
msgid "No tables to dump"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: job/db_dump.php:
|
900 |
#, php-format
|
901 |
#@ backwpup
|
902 |
msgid "Add database dump \"%1$s\" with %2$s to backup file list"
|
@@ -940,7 +913,7 @@ msgstr ""
|
|
940 |
#: job/dest_ftp.php:36
|
941 |
#: job/dest_ftp.php:43
|
942 |
#: job/dest_ftp.php:55
|
943 |
-
#: job/dest_ftp.php:
|
944 |
#, php-format
|
945 |
#@ backwpup
|
946 |
msgid "FTP Client command: %s"
|
@@ -951,31 +924,31 @@ msgstr ""
|
|
951 |
#: job/dest_ftp.php:45
|
952 |
#: job/dest_ftp.php:58
|
953 |
#: job/dest_ftp.php:60
|
954 |
-
#: job/dest_ftp.php:86
|
955 |
-
#: job/dest_ftp.php:88
|
956 |
-
#: job/dest_ftp.php:91
|
957 |
#: job/dest_ftp.php:93
|
|
|
|
|
|
|
958 |
#, php-format
|
959 |
#@ backwpup
|
960 |
msgid "FTP Server reply: %s"
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: job/dest_ftp.php:
|
964 |
#@ backwpup
|
965 |
msgid "Entering Passive Mode"
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: job/dest_ftp.php:
|
969 |
#@ backwpup
|
970 |
msgid "Can not Entering Passive Mode"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: job/dest_ftp.php:
|
974 |
#@ backwpup
|
975 |
msgid "Entering Normal Mode"
|
976 |
msgstr ""
|
977 |
|
978 |
-
#: job/dest_ftp.php:
|
979 |
#@ backwpup
|
980 |
msgid "Can not Entering Normal Mode"
|
981 |
msgstr ""
|
@@ -985,47 +958,35 @@ msgstr ""
|
|
985 |
msgid "Error getting SYSTYPE"
|
986 |
msgstr ""
|
987 |
|
988 |
-
#: job/dest_ftp.php:
|
989 |
-
#, php-format
|
990 |
-
#@ backwpup
|
991 |
-
msgid "FTP Folder \"%s\" created!"
|
992 |
-
msgstr ""
|
993 |
-
|
994 |
-
#: job/dest_ftp.php:72
|
995 |
-
#, php-format
|
996 |
-
#@ backwpup
|
997 |
-
msgid "FTP Folder \"%s\" can not created!"
|
998 |
-
msgstr ""
|
999 |
-
|
1000 |
-
#: job/dest_ftp.php:97
|
1001 |
#@ backwpup
|
1002 |
msgid "Upload to FTP now started ... "
|
1003 |
-
msgstr "开始备份到FTP..."
|
1004 |
|
1005 |
-
#: job/dest_ftp.php:
|
1006 |
#, php-format
|
1007 |
#@ backwpup
|
1008 |
msgid "Backup transferred to FTP server: %s"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
-
#: job/dest_ftp.php:
|
1012 |
#@ backwpup
|
1013 |
msgid "Can not transfer backup to FTP server!"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
-
#: job/dest_ftp.php:
|
1017 |
#, php-format
|
1018 |
#@ backwpup
|
1019 |
msgid "Can not delete \"%s\" on FTP server!"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
-
#: job/dest_ftp.php:
|
1023 |
#, php-format
|
1024 |
#@ backwpup
|
1025 |
msgid "One file deleted on FTP Server"
|
1026 |
msgid_plural "%d files deleted on FTP Server"
|
1027 |
-
msgstr[0] ""
|
1028 |
-
msgstr[1] ""
|
1029 |
|
1030 |
#: pages/page_backwpupbackups.php:8
|
1031 |
#@ backwpup
|
@@ -1069,7 +1030,7 @@ msgstr ""
|
|
1069 |
#, php-format
|
1070 |
#@ backwpup
|
1071 |
msgid "%1$s Database Querys done."
|
1072 |
-
msgstr "
|
1073 |
|
1074 |
#: pages/tools/db_restore.php:75
|
1075 |
#@ backwpup
|
@@ -1081,81 +1042,80 @@ msgstr ""
|
|
1081 |
msgid "Restore Done. Please delete the SQL file after restoring."
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#: backwpup-functions.php:
|
1085 |
#: pages/page_backwpuplogs.php:8
|
1086 |
#@ backwpup
|
1087 |
msgid "BackWPup Logs"
|
1088 |
msgstr "BackWPup 日志列表"
|
1089 |
|
1090 |
-
#: pages/func_backwpuplogs.php:
|
1091 |
#@ backwpup
|
1092 |
msgid "No Logs."
|
1093 |
msgstr "无日志"
|
1094 |
|
1095 |
-
#: pages/func_backwpup.php:
|
1096 |
-
#: pages/func_backwpup.php:
|
1097 |
#: pages/func_backwpupbackups.php:130
|
1098 |
#: pages/func_backwpupbackups.php:227
|
1099 |
#: pages/func_backwpupeditjob.php:25
|
1100 |
-
#: pages/func_backwpuplogs.php:
|
1101 |
-
#: pages/func_backwpuplogs.php:
|
1102 |
-
#@ default
|
1103 |
#@ backwpup
|
1104 |
msgid "Delete"
|
1105 |
msgstr "删除"
|
1106 |
|
1107 |
-
#: pages/func_backwpuplogs.php:
|
1108 |
#@ backwpup
|
1109 |
msgid "Job"
|
1110 |
msgstr "任务"
|
1111 |
|
1112 |
-
#: pages/func_backwpup.php:
|
1113 |
#: pages/func_backwpupeditjob.php:171
|
1114 |
-
#: pages/func_backwpuplogs.php:
|
1115 |
#@ backwpup
|
1116 |
msgid "Type"
|
1117 |
msgstr "类型"
|
1118 |
|
1119 |
-
#: pages/func_backwpuplogs.php:
|
1120 |
#@ backwpup
|
1121 |
msgid "Backup/Log Date/Time"
|
1122 |
-
msgstr "日期 @
|
1123 |
|
1124 |
-
#: pages/func_backwpuplogs.php:
|
1125 |
#@ backwpup
|
1126 |
msgid "Status"
|
1127 |
msgstr "状态"
|
1128 |
|
1129 |
#: pages/func_backwpupbackups.php:184
|
1130 |
-
#: pages/func_backwpuplogs.php:
|
1131 |
#@ backwpup
|
1132 |
msgid "Size"
|
1133 |
msgstr "大小"
|
1134 |
|
1135 |
-
#: pages/func_backwpuplogs.php:
|
1136 |
#@ backwpup
|
1137 |
msgid "Runtime"
|
1138 |
msgstr "花费时间"
|
1139 |
|
1140 |
-
#: pages/func_backwpuplogs.php:
|
1141 |
#@ backwpup
|
1142 |
msgid "View log"
|
1143 |
msgstr "查看日志"
|
1144 |
|
1145 |
-
#: pages/func_backwpuplogs.php:
|
1146 |
#@ backwpup
|
1147 |
msgid "View"
|
1148 |
msgstr "查看"
|
1149 |
|
1150 |
-
#: pages/func_backwpup.php:
|
1151 |
#: pages/func_backwpupbackups.php:228
|
1152 |
-
#: pages/func_backwpuplogs.php:
|
1153 |
#@ backwpup
|
1154 |
msgid "Download"
|
1155 |
msgstr "下载"
|
1156 |
|
1157 |
-
#: backwpup-functions.php:
|
1158 |
-
#: pages/func_backwpuplogs.php:
|
1159 |
#, php-format
|
1160 |
#@ backwpup
|
1161 |
msgid "%d ERROR"
|
@@ -1163,8 +1123,8 @@ msgid_plural "%d ERRORS"
|
|
1163 |
msgstr[0] "%d 个错误发生"
|
1164 |
msgstr[1] "%d 个错误发生"
|
1165 |
|
1166 |
-
#: backwpup-functions.php:
|
1167 |
-
#: pages/func_backwpuplogs.php:
|
1168 |
#, php-format
|
1169 |
#@ backwpup
|
1170 |
msgid "%d WARNING"
|
@@ -1172,20 +1132,20 @@ msgid_plural "%d WARNINGS"
|
|
1172 |
msgstr[0] "%d 个警告"
|
1173 |
msgstr[1] "%d 个警告"
|
1174 |
|
1175 |
-
#: backwpup-functions.php:
|
1176 |
-
#: pages/func_backwpuplogs.php:
|
1177 |
#@ backwpup
|
1178 |
msgid "O.K."
|
1179 |
msgstr "完成"
|
1180 |
|
1181 |
-
#: pages/func_backwpuplogs.php:
|
1182 |
#@ backwpup
|
1183 |
msgid "only Log"
|
1184 |
msgstr "只有日志"
|
1185 |
|
1186 |
-
#: pages/func_backwpup.php:
|
1187 |
-
#: pages/func_backwpup.php:
|
1188 |
-
#: pages/func_backwpuplogs.php:
|
1189 |
#@ backwpup
|
1190 |
msgid "sec."
|
1191 |
msgstr "秒"
|
@@ -1232,7 +1192,7 @@ msgstr "BackWPup 任务列表"
|
|
1232 |
|
1233 |
#: backwpup-functions.php:7
|
1234 |
#: pages/page_backwpup.php:8
|
1235 |
-
#: pages/page_backwpupeditjob.php:
|
1236 |
#@ backwpup
|
1237 |
msgid "Add New"
|
1238 |
msgstr "新建任务"
|
@@ -1266,7 +1226,7 @@ msgstr ""
|
|
1266 |
#: pages/page_backwpuptools.php:43
|
1267 |
#@ backwpup
|
1268 |
msgid "Copy SQL file to blog root folder to use for a restoring."
|
1269 |
-
msgstr "使用前请复制SQL文件到根目录。"
|
1270 |
|
1271 |
#: pages/page_backwpuptools.php:51
|
1272 |
#@ backwpup
|
@@ -1322,7 +1282,7 @@ msgstr ""
|
|
1322 |
msgid "Jobs imported!"
|
1323 |
msgstr "导入任务成功!"
|
1324 |
|
1325 |
-
#: pages/header_backwpupsettings.php:
|
1326 |
#@ backwpup
|
1327 |
msgid "Settings saved"
|
1328 |
msgstr "设置已保存"
|
@@ -1333,7 +1293,7 @@ msgid "Here you can manage the log files of the jobs. You can download, view, or
|
|
1333 |
msgstr ""
|
1334 |
|
1335 |
#: backwpup-functions.php:11
|
1336 |
-
#: backwpup-functions.php:
|
1337 |
#: pages/header_backwpupbackups.php:327
|
1338 |
#: pages/header_backwpuplogs.php:61
|
1339 |
#: pages/page_backwpupsettings.php:79
|
@@ -1341,7 +1301,7 @@ msgstr ""
|
|
1341 |
msgid "Logs"
|
1342 |
msgstr "日志"
|
1343 |
|
1344 |
-
#: pages/func_backwpupbackups.php:
|
1345 |
#: pages/header_backwpupbackups.php:140
|
1346 |
#@ backwpup
|
1347 |
msgid "Login failure!"
|
@@ -1352,136 +1312,135 @@ msgstr "登录失败!"
|
|
1352 |
msgid "Here you see a list of backup files. Change the destionation to jobname:destination to become a list of backups from other destinations and jobs. Then you kann delete or download backup files."
|
1353 |
msgstr ""
|
1354 |
|
1355 |
-
#: pages/func_backwpup.php:
|
1356 |
#@ backwpup
|
1357 |
msgid "No Jobs."
|
1358 |
msgstr "暂无任务"
|
1359 |
|
1360 |
-
#: pages/func_backwpup.php:
|
1361 |
-
#: pages/func_backwpup.php:
|
1362 |
-
#@ default
|
1363 |
#@ backwpup
|
1364 |
msgid "Export"
|
1365 |
msgstr "导出"
|
1366 |
|
1367 |
-
#: pages/func_backwpup.php:
|
1368 |
#@ backwpup
|
1369 |
msgid "ID"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
-
#: pages/func_backwpup.php:
|
1373 |
#@ backwpup
|
1374 |
msgid "Job Name"
|
1375 |
msgstr "任务名"
|
1376 |
|
1377 |
-
#: pages/func_backwpup.php:
|
1378 |
#@ backwpup
|
1379 |
msgid "Information"
|
1380 |
msgstr "信息"
|
1381 |
|
1382 |
-
#: pages/func_backwpup.php:
|
1383 |
#@ backwpup
|
1384 |
msgid "Next Run"
|
1385 |
msgstr "下次执行时间"
|
1386 |
|
1387 |
-
#: pages/func_backwpup.php:
|
1388 |
#@ backwpup
|
1389 |
msgid "Last Run"
|
1390 |
msgstr "上次执行时间"
|
1391 |
|
1392 |
-
#: pages/func_backwpup.php:
|
1393 |
#@ backwpup
|
1394 |
msgid "Edit:"
|
1395 |
msgstr "编辑 "
|
1396 |
|
1397 |
-
#: pages/func_backwpup.php:
|
1398 |
-
#@
|
1399 |
msgid "Edit"
|
1400 |
-
msgstr ""
|
1401 |
|
1402 |
-
#: pages/func_backwpup.php:
|
1403 |
#@ backwpup
|
1404 |
msgid "Copy"
|
1405 |
msgstr "复制"
|
1406 |
|
1407 |
-
#: pages/func_backwpup.php:
|
1408 |
#@ backwpup
|
1409 |
msgid "Run Now"
|
1410 |
msgstr "立即执行"
|
1411 |
|
1412 |
-
#: backwpup-functions.php:
|
1413 |
-
#: pages/func_backwpup.php:
|
1414 |
#@ backwpup
|
1415 |
msgid "View!"
|
1416 |
msgstr "查看"
|
1417 |
|
1418 |
-
#: backwpup-functions.php:
|
1419 |
-
#: pages/func_backwpup.php:
|
1420 |
#@ backwpup
|
1421 |
msgid "Abort!"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
-
#: pages/func_backwpup.php:
|
1425 |
#@ backwpup
|
1426 |
msgid "Running since:"
|
1427 |
msgstr "执行于"
|
1428 |
|
1429 |
-
#: pages/func_backwpup.php:
|
1430 |
#@ backwpup
|
1431 |
msgid "Inactive"
|
1432 |
msgstr ""
|
1433 |
|
1434 |
-
#: pages/func_backwpup.php:
|
1435 |
#@ backwpup
|
1436 |
msgid "<a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a>:"
|
1437 |
msgstr ""
|
1438 |
|
1439 |
-
#: pages/func_backwpup.php:
|
1440 |
#@ backwpup
|
1441 |
msgid "Runtime:"
|
1442 |
msgstr "花费时间:"
|
1443 |
|
1444 |
-
#: pages/func_backwpup.php:
|
1445 |
#@ backwpup
|
1446 |
msgid "None"
|
1447 |
msgstr ""
|
1448 |
|
1449 |
-
#: pages/func_backwpup.php:
|
1450 |
#@ backwpup
|
1451 |
msgid "Download last Backup"
|
1452 |
msgstr "下载上一个备份"
|
1453 |
|
1454 |
-
#: pages/func_backwpup.php:
|
1455 |
#@ backwpup
|
1456 |
msgid "View last Log"
|
1457 |
msgstr "查看上一次的日志"
|
1458 |
|
1459 |
-
#: pages/func_backwpup.php:
|
1460 |
#@ backwpup
|
1461 |
msgid "Log"
|
1462 |
msgstr "日志"
|
1463 |
|
1464 |
-
#: pages/func_backwpup.php:
|
1465 |
#@ backwpup
|
1466 |
msgid "DB Size:"
|
1467 |
msgstr "数据库大小:"
|
1468 |
|
1469 |
-
#: pages/func_backwpup.php:
|
1470 |
#@ backwpup
|
1471 |
msgid "DB Tables:"
|
1472 |
msgstr "数据库表数:"
|
1473 |
|
1474 |
-
#: pages/func_backwpup.php:
|
1475 |
#@ backwpup
|
1476 |
msgid "DB Rows:"
|
1477 |
msgstr "数据库记录数:"
|
1478 |
|
1479 |
-
#: pages/func_backwpup.php:
|
1480 |
#@ backwpup
|
1481 |
msgid "Files Size:"
|
1482 |
msgstr "文件大小:"
|
1483 |
|
1484 |
-
#: pages/func_backwpup.php:
|
1485 |
#@ backwpup
|
1486 |
msgid "Files count:"
|
1487 |
msgstr "文件数:"
|
@@ -1529,7 +1488,7 @@ msgstr "发送电子邮件"
|
|
1529 |
#: pages/page_backwpupsettings.php:18
|
1530 |
#@ backwpup
|
1531 |
msgid "Here you can set the options for email sending. The settings will be used in jobs for sending backups via email or for sending log files."
|
1532 |
-
msgstr "
|
1533 |
|
1534 |
#: pages/page_backwpupsettings.php:21
|
1535 |
#@ backwpup
|
@@ -1554,12 +1513,12 @@ msgstr ""
|
|
1554 |
#: pages/page_backwpupsettings.php:35
|
1555 |
#@ backwpup
|
1556 |
msgid "Sendmail"
|
1557 |
-
msgstr "
|
1558 |
|
1559 |
#: pages/page_backwpupsettings.php:36
|
1560 |
#@ backwpup
|
1561 |
msgid "SMTP"
|
1562 |
-
msgstr "
|
1563 |
|
1564 |
#: pages/page_backwpupsettings.php:42
|
1565 |
#@ backwpup
|
@@ -1569,7 +1528,7 @@ msgstr "Sendmail() 路径"
|
|
1569 |
#: pages/page_backwpupsettings.php:49
|
1570 |
#@ backwpup
|
1571 |
msgid "SMTP hostname"
|
1572 |
-
msgstr "SMTP地址"
|
1573 |
|
1574 |
#: pages/func_backwpupeditjob.php:232
|
1575 |
#: pages/page_backwpupsettings.php:52
|
@@ -1580,11 +1539,11 @@ msgstr "端口:"
|
|
1580 |
#: pages/page_backwpupsettings.php:56
|
1581 |
#@ backwpup
|
1582 |
msgid "SMTP secure connection"
|
1583 |
-
msgstr "SMTP安全连接"
|
1584 |
|
1585 |
-
#: backwpup-functions.php:
|
1586 |
-
#: backwpup-functions.php:
|
1587 |
-
#: backwpup-functions.php:
|
1588 |
#: pages/page_backwpupsettings.php:59
|
1589 |
#@ backwpup
|
1590 |
msgid "none"
|
@@ -1593,17 +1552,17 @@ msgstr "不使用"
|
|
1593 |
#: pages/page_backwpupsettings.php:66
|
1594 |
#@ backwpup
|
1595 |
msgid "SMTP username"
|
1596 |
-
msgstr "SMTP用户名"
|
1597 |
|
1598 |
#: pages/page_backwpupsettings.php:72
|
1599 |
#@ backwpup
|
1600 |
msgid "SMTP password"
|
1601 |
-
msgstr "SMTP密码"
|
1602 |
|
1603 |
#: pages/page_backwpupsettings.php:80
|
1604 |
#@ backwpup
|
1605 |
msgid "Here you can set Logfile related options."
|
1606 |
-
msgstr "
|
1607 |
|
1608 |
#: pages/page_backwpupsettings.php:83
|
1609 |
#@ backwpup
|
@@ -1613,7 +1572,7 @@ msgstr "日志文件夹"
|
|
1613 |
#: pages/page_backwpupsettings.php:88
|
1614 |
#@ backwpup
|
1615 |
msgid "Max. Log Files in Folder"
|
1616 |
-
msgstr "
|
1617 |
|
1618 |
#: pages/func_backwpupeditjob.php:224
|
1619 |
#: pages/page_backwpupsettings.php:90
|
@@ -1630,10 +1589,10 @@ msgstr "压缩"
|
|
1630 |
#: pages/page_backwpupsettings.php:97
|
1631 |
#@ backwpup
|
1632 |
msgid "Gzip Log files!"
|
1633 |
-
msgstr "Gzip压缩日志文件"
|
1634 |
|
1635 |
#: backwpup-functions.php:5
|
1636 |
-
#: backwpup-functions.php:
|
1637 |
#: pages/page_backwpupsettings.php:101
|
1638 |
#@ backwpup
|
1639 |
msgid "Jobs"
|
@@ -1642,7 +1601,7 @@ msgstr "任务列表"
|
|
1642 |
#: pages/page_backwpupsettings.php:102
|
1643 |
#@ backwpup
|
1644 |
msgid "Here you can set Job related options."
|
1645 |
-
msgstr "
|
1646 |
|
1647 |
#: pages/page_backwpupsettings.php:105
|
1648 |
#@ backwpup
|
@@ -1667,7 +1626,7 @@ msgstr ""
|
|
1667 |
#: pages/page_backwpupsettings.php:118
|
1668 |
#@ backwpup
|
1669 |
msgid "Use PHP zip class if available! Normaly PCL Zip class will used."
|
1670 |
-
msgstr "优先使用 PHP zip
|
1671 |
|
1672 |
#: pages/page_backwpupsettings.php:123
|
1673 |
#@ backwpup
|
@@ -1677,7 +1636,7 @@ msgstr "管理工具栏"
|
|
1677 |
#: pages/page_backwpupsettings.php:124
|
1678 |
#@ backwpup
|
1679 |
msgid "Will you see BackWPup in the WordPress Admin Bar?"
|
1680 |
-
msgstr "是否需要在管理工具栏显示BackWPup"
|
1681 |
|
1682 |
#: pages/page_backwpupsettings.php:127
|
1683 |
#: pages/page_backwpupsettings.php:128
|
@@ -1688,12 +1647,12 @@ msgstr "管理工具栏"
|
|
1688 |
#: pages/page_backwpupsettings.php:130
|
1689 |
#@ backwpup
|
1690 |
msgid "Show BackWPup Links in Admin Bar."
|
1691 |
-
msgstr "在管理工具栏显示BackWPup"
|
1692 |
|
1693 |
#: pages/page_backwpupsettings.php:135
|
1694 |
#@ backwpup
|
1695 |
msgid "Http basic authentication"
|
1696 |
-
msgstr "
|
1697 |
|
1698 |
#: pages/page_backwpupsettings.php:136
|
1699 |
#@ backwpup
|
@@ -1708,44 +1667,12 @@ msgid "Username:"
|
|
1708 |
msgstr "用户名:"
|
1709 |
|
1710 |
#: pages/func_backwpupeditjob.php:236
|
1711 |
-
#: pages/func_backwpupeditjob.php:
|
1712 |
#: pages/page_backwpupsettings.php:144
|
1713 |
#@ backwpup
|
1714 |
msgid "Password:"
|
1715 |
msgstr "密码:"
|
1716 |
|
1717 |
-
#: pages/page_backwpupsettings.php:149
|
1718 |
-
#@ backwpup
|
1719 |
-
msgid "WP-Cron"
|
1720 |
-
msgstr ""
|
1721 |
-
|
1722 |
-
#: pages/page_backwpupsettings.php:150
|
1723 |
-
#@ backwpup
|
1724 |
-
msgid "If you would use the cron job of your hoster you must point it to the url:"
|
1725 |
-
msgstr "如果你使用的是主机的 Cron,指向的URL为:"
|
1726 |
-
|
1727 |
-
#: pages/page_backwpupsettings.php:153
|
1728 |
-
#: pages/page_backwpupsettings.php:154
|
1729 |
-
#@ backwpup
|
1730 |
-
msgid "Disable WP-Cron"
|
1731 |
-
msgstr "禁止 WP-Cron"
|
1732 |
-
|
1733 |
-
#: pages/page_backwpupsettings.php:156
|
1734 |
-
#@ backwpup
|
1735 |
-
msgid "Use your host's Cron Job and disable WP-Cron"
|
1736 |
-
msgstr "使用主机的 Cron 而不是 WP-Cron"
|
1737 |
-
|
1738 |
-
#: pages/page_backwpupsettings.php:160
|
1739 |
-
#: pages/page_backwpupsettings.php:161
|
1740 |
-
#@ backwpup
|
1741 |
-
msgid "Use cron service of backwpup.com"
|
1742 |
-
msgstr "使用由 backwpup.com 提供的 Cron"
|
1743 |
-
|
1744 |
-
#: pages/page_backwpupsettings.php:163
|
1745 |
-
#@ backwpup
|
1746 |
-
msgid "If you check this, the job schedule will submited to backwpup.com. Backwpup.com will call your blog wp-cron.php to start. <em>Use this service only if you have not a cron service of your hoster, or a blog that has a few visitors.</em> The cron service can start cron behind a basic authentication, on that the http authentication data will transferd too! Please make a little donation for the plugin if you use this servcie. The service can be removed by me without a massage."
|
1747 |
-
msgstr "如果勾选此选项,计划任务将会托管在 Backwpup.com,Backwpup.com 会帮完成计划任务。请注意,仅在您的主机不支持 Cron 或访问人数过少的情况下才选择此方案。此 Cron 服务是基于 Http basic authentication 的,也就是说您的 Http basic authentication 信息也会一起被托管出去!如果使用此方案,那请捐助一下我吧!在不告知的情况下作者有权单方面删除此托管。"
|
1748 |
-
|
1749 |
#: pages/func_backwpupeditjob.php:18
|
1750 |
#@ backwpup
|
1751 |
msgid "PHP curl functions not available! Most backup destinations deaktivated!"
|
@@ -2005,10 +1932,10 @@ msgstr "需要备份文件的完整路径:"
|
|
2005 |
#: pages/func_backwpupeditjob.php:223
|
2006 |
#@ backwpup
|
2007 |
msgid "Your WordPress dir is:"
|
2008 |
-
msgstr "WordPress的根目录路径:"
|
2009 |
|
2010 |
#: pages/func_backwpupeditjob.php:224
|
2011 |
-
#: pages/func_backwpupeditjob.php:
|
2012 |
#@ backwpup
|
2013 |
msgid "Max. backup files in folder:"
|
2014 |
msgstr "文件夹最大存放文件数:"
|
@@ -2026,7 +1953,7 @@ msgstr "FTP 文件夹:"
|
|
2026 |
#: pages/func_backwpupeditjob.php:241
|
2027 |
#@ backwpup
|
2028 |
msgid "Max. backup files in FTP folder:"
|
2029 |
-
msgstr "FTP文件夹最多存放文件数:"
|
2030 |
|
2031 |
#: pages/func_backwpupeditjob.php:241
|
2032 |
#: pages/func_backwpupeditjob.php:260
|
@@ -2034,7 +1961,7 @@ msgstr "FTP文件夹最多存放文件数:"
|
|
2034 |
#: pages/func_backwpupeditjob.php:312
|
2035 |
#: pages/func_backwpupeditjob.php:335
|
2036 |
#: pages/func_backwpupeditjob.php:362
|
2037 |
-
#: pages/func_backwpupeditjob.php:
|
2038 |
#@ backwpup
|
2039 |
msgid "(Oldest files will be deleted first.)"
|
2040 |
msgstr "(优先删除旧文件)"
|
@@ -2042,22 +1969,17 @@ msgstr "(优先删除旧文件)"
|
|
2042 |
#: pages/func_backwpupeditjob.php:242
|
2043 |
#@ backwpup
|
2044 |
msgid "Use SSL-FTP Connection."
|
2045 |
-
msgstr "使用SSL-FTP连接"
|
2046 |
-
|
2047 |
-
#: pages/func_backwpupeditjob.php:243
|
2048 |
-
#@ backwpup
|
2049 |
-
msgid "Use FTP Passiv mode."
|
2050 |
-
msgstr "使用被动模式"
|
2051 |
|
2052 |
#: pages/func_backwpupeditjob.php:250
|
2053 |
#@ backwpup
|
2054 |
msgid "Access Key ID:"
|
2055 |
-
msgstr "
|
2056 |
|
2057 |
#: pages/func_backwpupeditjob.php:252
|
2058 |
#@ backwpup
|
2059 |
msgid "Secret Access Key:"
|
2060 |
-
msgstr "
|
2061 |
|
2062 |
#: pages/func_backwpupeditjob.php:254
|
2063 |
#: pages/func_backwpupeditjob.php:279
|
@@ -2069,7 +1991,7 @@ msgstr ""
|
|
2069 |
#: pages/func_backwpupeditjob.php:282
|
2070 |
#@ backwpup
|
2071 |
msgid "Create bucket:"
|
2072 |
-
msgstr "
|
2073 |
|
2074 |
#: pages/func_backwpupeditjob.php:257
|
2075 |
#@ backwpup
|
@@ -2095,25 +2017,25 @@ msgstr ""
|
|
2095 |
#: pages/func_backwpupeditjob.php:283
|
2096 |
#@ backwpup
|
2097 |
msgid "Folder in bucket:"
|
2098 |
-
msgstr "
|
2099 |
|
2100 |
#: pages/func_backwpupeditjob.php:260
|
2101 |
#: pages/func_backwpupeditjob.php:285
|
2102 |
#@ backwpup
|
2103 |
msgid "Max. backup files in bucket folder:"
|
2104 |
-
msgstr "
|
2105 |
|
2106 |
#: pages/func_backwpupeditjob.php:261
|
2107 |
#@ backwpup
|
2108 |
msgid "Save Backups with reduced redundancy!"
|
2109 |
-
msgstr "
|
2110 |
|
2111 |
#: pages/func_backwpupeditjob.php:264
|
2112 |
#: pages/func_backwpupeditjob.php:288
|
2113 |
#: pages/func_backwpupeditjob.php:315
|
2114 |
#: pages/func_backwpupeditjob.php:338
|
2115 |
#: pages/func_backwpupeditjob.php:365
|
2116 |
-
#: pages/func_backwpupeditjob.php:
|
2117 |
#@ backwpup
|
2118 |
msgid "Create Account"
|
2119 |
msgstr "注册帐号"
|
@@ -2122,13 +2044,13 @@ msgstr "注册帐号"
|
|
2122 |
#: pages/func_backwpupeditjob.php:289
|
2123 |
#@ backwpup
|
2124 |
msgid "Find Keys"
|
2125 |
-
msgstr "
|
2126 |
|
2127 |
#: pages/func_backwpupeditjob.php:266
|
2128 |
#: pages/func_backwpupeditjob.php:290
|
2129 |
#: pages/func_backwpupeditjob.php:340
|
2130 |
#: pages/func_backwpupeditjob.php:366
|
2131 |
-
#: pages/func_backwpupeditjob.php:
|
2132 |
#@ backwpup
|
2133 |
msgid "Webinterface"
|
2134 |
msgstr "官网"
|
@@ -2137,7 +2059,7 @@ msgstr "官网"
|
|
2137 |
#: pages/func_backwpupeditjob.php:304
|
2138 |
#@ backwpup
|
2139 |
msgid "Access Key:"
|
2140 |
-
msgstr "
|
2141 |
|
2142 |
#: pages/func_backwpupeditjob.php:277
|
2143 |
#@ backwpup
|
@@ -2147,12 +2069,12 @@ msgstr ""
|
|
2147 |
#: pages/func_backwpupeditjob.php:300
|
2148 |
#@ backwpup
|
2149 |
msgid "Host:"
|
2150 |
-
msgstr "
|
2151 |
|
2152 |
#: pages/func_backwpupeditjob.php:301
|
2153 |
#@ backwpup
|
2154 |
msgid "Normely: blob.core.windows.net"
|
2155 |
-
msgstr "
|
2156 |
|
2157 |
#: pages/func_backwpupeditjob.php:302
|
2158 |
#@ backwpup
|
@@ -2163,42 +2085,43 @@ msgstr "用户名:"
|
|
2163 |
#: pages/func_backwpupeditjob.php:329
|
2164 |
#@ backwpup
|
2165 |
msgid "Container:"
|
2166 |
-
msgstr "
|
2167 |
|
2168 |
#: pages/func_backwpupeditjob.php:309
|
2169 |
#: pages/func_backwpupeditjob.php:332
|
2170 |
#@ backwpup
|
2171 |
msgid "Create Container:"
|
2172 |
-
msgstr "
|
2173 |
|
2174 |
#: pages/func_backwpupeditjob.php:310
|
2175 |
#@ backwpup
|
2176 |
msgid "Folder in Container:"
|
2177 |
-
msgstr "
|
2178 |
|
2179 |
#: pages/func_backwpupeditjob.php:312
|
2180 |
#: pages/func_backwpupeditjob.php:335
|
2181 |
#@ backwpup
|
2182 |
msgid "Max. backup files in container folder:"
|
2183 |
-
msgstr "
|
2184 |
|
2185 |
#: pages/func_backwpupeditjob.php:316
|
2186 |
#: pages/func_backwpupeditjob.php:339
|
2187 |
#@ backwpup
|
2188 |
msgid "Find Key"
|
2189 |
-
msgstr "
|
2190 |
|
2191 |
#: pages/func_backwpupeditjob.php:327
|
2192 |
#@ backwpup
|
2193 |
msgid "API Key:"
|
2194 |
-
msgstr "
|
2195 |
|
2196 |
#: pages/func_backwpupeditjob.php:333
|
2197 |
#@ backwpup
|
2198 |
msgid "Folder in container:"
|
2199 |
-
msgstr "
|
2200 |
|
2201 |
#: pages/func_backwpupeditjob.php:349
|
|
|
2202 |
#@ backwpup
|
2203 |
msgid "Login:"
|
2204 |
msgstr "登陆:"
|
@@ -2214,6 +2137,7 @@ msgid "Authenticate!"
|
|
2214 |
msgstr "点击绑定"
|
2215 |
|
2216 |
#: pages/func_backwpupeditjob.php:353
|
|
|
2217 |
#@ backwpup
|
2218 |
msgid "Authenticated!"
|
2219 |
msgstr "已绑定"
|
@@ -2224,7 +2148,7 @@ msgid "Delete!"
|
|
2224 |
msgstr "删除"
|
2225 |
|
2226 |
#: pages/func_backwpupeditjob.php:355
|
2227 |
-
#: pages/func_backwpupeditjob.php:
|
2228 |
#@ backwpup
|
2229 |
msgid "Root:"
|
2230 |
msgstr "根目录:"
|
@@ -2237,10 +2161,10 @@ msgstr "Dropbox"
|
|
2237 |
#: pages/func_backwpupeditjob.php:358
|
2238 |
#@ backwpup
|
2239 |
msgid "sandbox (disabled by DropBox)"
|
2240 |
-
msgstr "
|
2241 |
|
2242 |
#: pages/func_backwpupeditjob.php:360
|
2243 |
-
#: pages/func_backwpupeditjob.php:
|
2244 |
#@ backwpup
|
2245 |
msgid "Folder:"
|
2246 |
msgstr "文件夹:"
|
@@ -2248,218 +2172,207 @@ msgstr "文件夹:"
|
|
2248 |
#: pages/func_backwpupeditjob.php:362
|
2249 |
#@ backwpup
|
2250 |
msgid "Max. backup files in Dropbox folder:"
|
2251 |
-
msgstr "在Dropbox文件夹中最多存放的备份文件数:"
|
2252 |
|
2253 |
-
#: pages/func_backwpupeditjob.php:
|
2254 |
-
#: pages/func_backwpupeditjob.php:
|
2255 |
#@ backwpup
|
2256 |
msgid "E-mail address:"
|
2257 |
msgstr "电子邮箱地址:"
|
2258 |
|
2259 |
-
#: pages/func_backwpupeditjob.php:
|
2260 |
#@ backwpup
|
2261 |
msgid "Max. File Size for sending Backups with mail:"
|
2262 |
msgstr "电子邮件可发送最大文件大小:"
|
2263 |
|
2264 |
-
#: pages/func_backwpupeditjob.php:
|
2265 |
#@ backwpup
|
2266 |
msgid "Working as <a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a> job schedule:"
|
2267 |
msgstr "<a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a> 计划任务:"
|
2268 |
|
2269 |
-
#: pages/func_backwpupeditjob.php:
|
2270 |
#, php-format
|
2271 |
#@ backwpup
|
2272 |
msgid "ATTENTION: Job runs every %d mins.!!!"
|
2273 |
msgstr ""
|
2274 |
|
2275 |
-
#: pages/func_backwpupeditjob.php:
|
2276 |
-
#, php-format
|
2277 |
-
#@ backwpup
|
2278 |
-
msgid "ATTENTION: Job runs every %d houers.!!!"
|
2279 |
-
msgstr ""
|
2280 |
-
|
2281 |
-
#: pages/func_backwpupeditjob.php:472
|
2282 |
#@ backwpup
|
2283 |
msgid "ATTENTION: Can't calculate cron!!!"
|
2284 |
msgstr ""
|
2285 |
|
2286 |
-
#: pages/func_backwpupeditjob.php:
|
2287 |
#@ backwpup
|
2288 |
msgid "Next runtime:"
|
2289 |
msgstr "下次执行时间:"
|
2290 |
|
2291 |
-
#: pages/func_backwpupeditjob.php:
|
2292 |
-
#: pages/func_backwpupeditjob.php:
|
2293 |
#@ backwpup
|
2294 |
msgid "Missing access key!"
|
2295 |
msgstr "Access Key 为空!"
|
2296 |
|
2297 |
-
#: pages/func_backwpupeditjob.php:
|
2298 |
-
#: pages/func_backwpupeditjob.php:
|
2299 |
#@ backwpup
|
2300 |
msgid "Missing secret access key!"
|
2301 |
msgstr "Secret Access Key 为空!"
|
2302 |
|
2303 |
-
#: pages/func_backwpupeditjob.php:
|
2304 |
-
#: pages/func_backwpupeditjob.php:
|
2305 |
-
#@ backwpup
|
2306 |
-
msgid "No bucket fount!"
|
2307 |
-
msgstr "找不到 Bucket!"
|
2308 |
-
|
2309 |
-
#: pages/func_backwpupeditjob.php:633
|
2310 |
-
#: pages/func_backwpupeditjob.php:762
|
2311 |
#@ backwpup
|
2312 |
msgid "Missing Username!"
|
2313 |
msgstr "用户名为空!"
|
2314 |
|
2315 |
-
#: pages/func_backwpupeditjob.php:
|
2316 |
#@ backwpup
|
2317 |
msgid "Missing API Key!"
|
2318 |
msgstr "API为空!"
|
2319 |
|
2320 |
-
#: pages/func_backwpupeditjob.php:
|
2321 |
#@ backwpup
|
2322 |
msgid "No Containerss found!"
|
2323 |
-
msgstr "
|
2324 |
|
2325 |
-
#: pages/func_backwpupeditjob.php:
|
2326 |
#@ backwpup
|
2327 |
msgid "Missing Hostname!"
|
2328 |
msgstr "主机名为空!"
|
2329 |
|
2330 |
-
#: pages/func_backwpupeditjob.php:
|
2331 |
#@ backwpup
|
2332 |
msgid "Missing Account Name!"
|
2333 |
msgstr "用户名为空!"
|
2334 |
|
2335 |
-
#: pages/func_backwpupeditjob.php:
|
2336 |
#@ backwpup
|
2337 |
msgid "Missing Access Key!"
|
2338 |
msgstr "Access Key 为空!"
|
2339 |
|
2340 |
-
#: pages/func_backwpupeditjob.php:
|
2341 |
#@ backwpup
|
2342 |
msgid "No Container found!"
|
2343 |
-
msgstr "
|
2344 |
|
2345 |
-
#: pages/func_backwpupeditjob.php:
|
2346 |
#@ backwpup
|
2347 |
msgid "Missing Password!"
|
2348 |
msgstr "密码为空!"
|
2349 |
|
2350 |
-
#: pages/func_backwpupeditjob.php:
|
|
|
2351 |
#@ backwpup
|
2352 |
msgid "No Syncfolders found!"
|
2353 |
msgstr ""
|
2354 |
|
2355 |
-
#: pages/page_backwpupeditjob.php:
|
2356 |
#@ backwpup
|
2357 |
msgid "Job Type"
|
2358 |
msgstr "任务类型"
|
2359 |
|
2360 |
-
#: pages/page_backwpupeditjob.php:
|
2361 |
#@ backwpup
|
2362 |
msgid "Job Schedule"
|
2363 |
msgstr "计划任务"
|
2364 |
|
2365 |
-
#: pages/
|
2366 |
#@ backwpup
|
2367 |
msgid "Backup to Folder"
|
2368 |
msgstr "备份到文件夹"
|
2369 |
|
2370 |
-
#: pages/
|
2371 |
#@ backwpup
|
2372 |
msgid "Backup to E-Mail"
|
2373 |
msgstr "电子邮件发送备份"
|
2374 |
|
2375 |
-
#: pages/page_backwpupeditjob.php:
|
2376 |
#@ backwpup
|
2377 |
msgid "BackWPup Job Settings"
|
2378 |
msgstr "BackWPup 任务设置"
|
2379 |
|
2380 |
-
#: pages/page_backwpupeditjob.php:
|
2381 |
-
#: pages/page_backwpupeditjob.php:
|
2382 |
#@ backwpup
|
2383 |
msgid "Enter Job name here"
|
2384 |
msgstr ""
|
2385 |
|
2386 |
-
#: pages/page_backwpupeditjob.php:
|
2387 |
#@ backwpup
|
2388 |
msgid "Database Jobs"
|
2389 |
msgstr "数据库任务"
|
2390 |
|
2391 |
-
#: pages/page_backwpupeditjob.php:
|
2392 |
#@ backwpup
|
2393 |
msgid "Database tables to use:"
|
2394 |
msgstr "需要备份的数据库表:"
|
2395 |
|
2396 |
-
#: pages/page_backwpupeditjob.php:
|
2397 |
#@ backwpup
|
2398 |
msgid "Use short INSERTs instead of full (with keys)"
|
2399 |
-
msgstr "使用较短的 INSERTs
|
2400 |
|
2401 |
-
#: pages/page_backwpupeditjob.php:
|
2402 |
#@ backwpup
|
2403 |
msgid "Set Blog Maintenance Mode on Database Operations"
|
2404 |
-
msgstr "
|
2405 |
|
2406 |
-
#: backwpup-functions.php:
|
2407 |
-
#: pages/page_backwpupeditjob.php:
|
2408 |
#@ backwpup
|
2409 |
msgid "File Backup"
|
2410 |
msgstr "文件备份"
|
2411 |
|
2412 |
-
#: pages/page_backwpupeditjob.php:
|
2413 |
#@ backwpup
|
2414 |
msgid "Blog Folders to Backup:"
|
2415 |
msgstr "需要备份的文件夹:"
|
2416 |
|
2417 |
-
#: pages/page_backwpupeditjob.php:
|
2418 |
#@ backwpup
|
2419 |
msgid "root"
|
2420 |
msgstr "根目录"
|
2421 |
|
2422 |
-
#: pages/page_backwpupeditjob.php:
|
2423 |
-
#: pages/page_backwpupeditjob.php:
|
2424 |
-
#: pages/page_backwpupeditjob.php:
|
2425 |
-
#: pages/page_backwpupeditjob.php:
|
2426 |
-
#: pages/page_backwpupeditjob.php:
|
2427 |
#@ backwpup
|
2428 |
msgid "Exclude:"
|
2429 |
msgstr "不包括:"
|
2430 |
|
2431 |
-
#: pages/page_backwpupeditjob.php:
|
2432 |
#@ backwpup
|
2433 |
msgid "Content"
|
2434 |
msgstr ""
|
2435 |
|
2436 |
-
#: pages/page_backwpupeditjob.php:
|
2437 |
#@ backwpup
|
2438 |
msgid "Plugins"
|
2439 |
msgstr "插件"
|
2440 |
|
2441 |
-
#: pages/page_backwpupeditjob.php:
|
2442 |
#@ backwpup
|
2443 |
msgid "Themes"
|
2444 |
msgstr "主题"
|
2445 |
|
2446 |
-
#: pages/page_backwpupeditjob.php:
|
2447 |
#@ backwpup
|
2448 |
msgid "Blog Uploads"
|
2449 |
msgstr "上传文件"
|
2450 |
|
2451 |
-
#: pages/page_backwpupeditjob.php:
|
2452 |
#@ backwpup
|
2453 |
msgid "Include Folders to Backup:"
|
2454 |
msgstr "备份包括的文件夹:"
|
2455 |
|
2456 |
-
#: pages/page_backwpupeditjob.php:
|
2457 |
-
#: pages/page_backwpupeditjob.php:
|
2458 |
#@ backwpup
|
2459 |
msgid "Example:"
|
2460 |
msgstr "例子:"
|
2461 |
|
2462 |
-
#: pages/page_backwpupeditjob.php:
|
2463 |
#@ backwpup
|
2464 |
msgid "Exclude Files/Folders from Backup:"
|
2465 |
msgstr "备份不包括的文件或文件夹:"
|
@@ -2467,78 +2380,78 @@ msgstr "备份不包括的文件或文件夹:"
|
|
2467 |
#: pages/header_backwpupeditjob.php:22
|
2468 |
#@ backwpup
|
2469 |
msgid "Dropbox authentication complete!"
|
2470 |
-
msgstr "Dropbox绑定成功!"
|
2471 |
|
2472 |
#: pages/header_backwpupeditjob.php:24
|
2473 |
#@ backwpup
|
2474 |
msgid "Wrong Token for Dropbox authentication received!"
|
2475 |
-
msgstr "Dropbox绑定返回了错误的Token
|
2476 |
|
2477 |
#: pages/header_backwpupeditjob.php:27
|
2478 |
#@ backwpup
|
2479 |
msgid "No Dropbox authentication received!"
|
2480 |
-
msgstr "Dropbox
|
2481 |
|
2482 |
-
#: pages/header_backwpupeditjob.php:
|
2483 |
#@ backwpup
|
2484 |
msgid "Dropbox authentication deleted!"
|
2485 |
-
msgstr "Dropbox绑定已删除!"
|
2486 |
|
2487 |
-
#: pages/header_backwpupeditjob.php:
|
2488 |
#, php-format
|
2489 |
#@ backwpup
|
2490 |
msgid "Job '%1' changes saved."
|
2491 |
msgstr "任务 %1 设置已保存"
|
2492 |
|
2493 |
-
#: pages/header_backwpupeditjob.php:
|
2494 |
#@ backwpup
|
2495 |
msgid "Jobs overview."
|
2496 |
msgstr "任务总览"
|
2497 |
|
2498 |
-
#: pages/
|
2499 |
#@ backwpup
|
2500 |
msgid "Backup File"
|
2501 |
msgstr "备份文件"
|
2502 |
|
2503 |
-
#: pages/
|
2504 |
#@ backwpup
|
2505 |
msgid "Send log"
|
2506 |
msgstr "发送日志"
|
2507 |
|
2508 |
-
#: pages/
|
2509 |
#@ backwpup
|
2510 |
msgid "Backup to FTP Server"
|
2511 |
-
msgstr "备份到FTP"
|
2512 |
|
2513 |
-
#: pages/
|
2514 |
#@ backwpup
|
2515 |
msgid "Backup to Dropbox"
|
2516 |
-
msgstr "备份到Dropbox"
|
2517 |
|
2518 |
-
#: pages/
|
2519 |
#@ backwpup
|
2520 |
msgid "Backup to SugarSync"
|
2521 |
-
msgstr "备份到SugarSync"
|
2522 |
|
2523 |
-
#: pages/
|
2524 |
#@ backwpup
|
2525 |
msgid "Backup to Amazon S3"
|
2526 |
-
msgstr "备份到Amazon S3"
|
2527 |
|
2528 |
-
#: pages/
|
2529 |
#@ backwpup
|
2530 |
msgid "Backup to Google storage"
|
2531 |
-
msgstr "备份到Google storage"
|
2532 |
|
2533 |
-
#: pages/
|
2534 |
#@ backwpup
|
2535 |
msgid "Backup to Micosoft Azure (Blob)"
|
2536 |
-
msgstr "备份到Micosoft Azure (Blob)"
|
2537 |
|
2538 |
-
#: pages/
|
2539 |
#@ backwpup
|
2540 |
msgid "Backup to Rackspace Cloud"
|
2541 |
-
msgstr "备份到Rackspace Cloud"
|
2542 |
|
2543 |
#: pages/func_backwpupbackups.php:125
|
2544 |
#@ backwpup
|
@@ -2580,11 +2493,10 @@ msgstr ""
|
|
2580 |
|
2581 |
#. translators: plugin header field 'Name'
|
2582 |
#: backwpup-functions.php:4
|
2583 |
-
#: backwpup-functions.php:
|
2584 |
-
#: backwpup-functions.php:
|
2585 |
#: backwpup.php:0
|
2586 |
#@ backwpup
|
2587 |
-
#@ textdomain
|
2588 |
msgid "BackWPup"
|
2589 |
msgstr ""
|
2590 |
|
@@ -2594,7 +2506,7 @@ msgid "Working"
|
|
2594 |
msgstr "进行中的任务"
|
2595 |
|
2596 |
#: backwpup-functions.php:13
|
2597 |
-
#: backwpup-functions.php:
|
2598 |
#@ backwpup
|
2599 |
msgid "Backups"
|
2600 |
msgstr "备份文件管理"
|
@@ -2605,125 +2517,102 @@ msgid "Tools"
|
|
2605 |
msgstr "工具"
|
2606 |
|
2607 |
#: backwpup-functions.php:17
|
2608 |
-
#: backwpup-functions.php:
|
2609 |
#@ backwpup
|
2610 |
msgid "Settings"
|
2611 |
msgstr "设置"
|
2612 |
|
2613 |
-
#: backwpup-functions.php:
|
2614 |
-
#: backwpup-functions.php:
|
2615 |
-
#: backwpup-functions.php:132
|
2616 |
-
#: backwpup-functions.php:144
|
2617 |
#@ backwpup
|
2618 |
msgid "For more information:"
|
2619 |
-
msgstr "
|
2620 |
|
2621 |
-
#: backwpup-functions.php:
|
2622 |
#@ backwpup
|
2623 |
msgid "Support"
|
2624 |
msgstr "支持"
|
2625 |
|
2626 |
-
#: backwpup-functions.php:
|
2627 |
-
#: backwpup-functions.php:
|
2628 |
-
#: backwpup-functions.php:
|
2629 |
-
#: backwpup-functions.php:147
|
2630 |
-
#: backwpup-functions.php:284
|
2631 |
#@ backwpup
|
2632 |
msgid "FAQ"
|
2633 |
msgstr ""
|
2634 |
|
2635 |
-
#: backwpup-functions.php:
|
2636 |
-
#: backwpup-functions.php:
|
2637 |
-
#: backwpup-functions.php:137
|
2638 |
-
#: backwpup-functions.php:149
|
2639 |
-
#: backwpup-functions.php:286
|
2640 |
-
#@ backwpup
|
2641 |
-
msgid "Donate"
|
2642 |
-
msgstr "捐助"
|
2643 |
-
|
2644 |
-
#: backwpup-functions.php:92
|
2645 |
-
#: backwpup-functions.php:99
|
2646 |
-
#: backwpup-functions.php:131
|
2647 |
-
#: backwpup-functions.php:143
|
2648 |
#@ backwpup
|
2649 |
msgid "BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions."
|
2650 |
-
msgstr "
|
2651 |
|
2652 |
-
#: backwpup-functions.php:
|
2653 |
#@ backwpup
|
2654 |
msgid "Go to Settings Page"
|
2655 |
msgstr "前去设置"
|
2656 |
|
2657 |
-
#: backwpup-functions.php:
|
2658 |
#@ backwpup
|
2659 |
msgid "WP XML Export"
|
2660 |
msgstr "WP XML 导出"
|
2661 |
|
2662 |
-
#: backwpup-functions.php:
|
2663 |
#@ backwpup
|
2664 |
msgid "Database Backup"
|
2665 |
msgstr "数据库备份"
|
2666 |
|
2667 |
-
#: backwpup-functions.php:
|
2668 |
#@ backwpup
|
2669 |
msgid "Optimize Database Tables"
|
2670 |
msgstr "优化数据库表"
|
2671 |
|
2672 |
-
#: backwpup-functions.php:
|
2673 |
#@ backwpup
|
2674 |
msgid "Check Database Tables"
|
2675 |
msgstr "检查数据库表"
|
2676 |
|
2677 |
-
#: backwpup-functions.php:
|
2678 |
#@ backwpup
|
2679 |
msgid "View Log:"
|
2680 |
msgstr "查看日志:"
|
2681 |
|
2682 |
-
#: backwpup-functions.php:
|
2683 |
#@ backwpup
|
2684 |
msgid "How many of the lastes logs would you like to display?"
|
2685 |
msgstr ""
|
2686 |
|
2687 |
-
#: backwpup-functions.php:
|
2688 |
#, php-format
|
2689 |
#@ backwpup
|
2690 |
msgid "working since %d sec."
|
2691 |
msgstr ""
|
2692 |
|
2693 |
-
#: backwpup-functions.php:
|
2694 |
#@ backwpup
|
2695 |
msgid "Edit Job"
|
2696 |
-
msgstr ""
|
2697 |
-
|
2698 |
-
#: backwpup-functions.php:508
|
2699 |
-
#@ backwpup
|
2700 |
-
msgid "BackWPup Aktive Jobs"
|
2701 |
-
msgstr ""
|
2702 |
|
2703 |
-
#: backwpup-functions.php:
|
2704 |
#@ backwpup
|
2705 |
msgid "See Working!"
|
2706 |
msgstr "查看过程"
|
2707 |
|
2708 |
-
#: backwpup-functions.php:
|
2709 |
#@ backwpup
|
2710 |
msgid "BackWPup Job"
|
2711 |
msgstr ""
|
2712 |
|
2713 |
-
#: backwpup-functions.php:
|
2714 |
#@ backwpup
|
2715 |
msgid "- PHP 5.2.4 or higher is needed!"
|
2716 |
msgstr "- 需要 PHP 5.2.4 或更高版本!"
|
2717 |
|
2718 |
-
#: backwpup-functions.php:
|
2719 |
#@ backwpup
|
2720 |
msgid "- WP-Cron isn't working, please check it!"
|
2721 |
msgstr ""
|
2722 |
|
2723 |
#. translators: plugin header field 'PluginURI'
|
2724 |
-
#: backwpup-functions.php:87
|
2725 |
-
#: backwpup-functions.php:107
|
2726 |
-
#: backwpup-functions.php:129
|
2727 |
#: backwpup.php:0
|
2728 |
#@ backwpup
|
2729 |
msgid "http://backwpup.com"
|
@@ -2741,43 +2630,43 @@ msgstr ""
|
|
2741 |
msgid "http://danielhuesken.de"
|
2742 |
msgstr ""
|
2743 |
|
2744 |
-
#: backwpup-functions.php:
|
2745 |
#, php-format
|
2746 |
#@ backwpup
|
2747 |
msgid "- WordPress %d or higher is needed!"
|
2748 |
msgstr "- 需要 WordPress %d 或更高版本!"
|
2749 |
|
2750 |
-
#: backwpup-functions.php:
|
2751 |
#, php-format
|
2752 |
#@ backwpup
|
2753 |
msgid "- Log folder '%s' does not exists!"
|
2754 |
msgstr ""
|
2755 |
|
2756 |
-
#: backwpup-functions.php:
|
2757 |
#, php-format
|
2758 |
#@ backwpup
|
2759 |
msgid "- Log folder '%s' is not writeable!"
|
2760 |
msgstr ""
|
2761 |
|
2762 |
-
#: backwpup-functions.php:
|
2763 |
#, php-format
|
2764 |
#@ backwpup
|
2765 |
msgid "- Log folder '%s' is not in open_basedir path!"
|
2766 |
msgstr ""
|
2767 |
|
2768 |
-
#: backwpup-functions.php:
|
2769 |
#, php-format
|
2770 |
#@ backwpup
|
2771 |
msgid "- WP_CONTENT_URL '%s' must set as a full URL!"
|
2772 |
msgstr ""
|
2773 |
|
2774 |
-
#: backwpup-functions.php:
|
2775 |
#, php-format
|
2776 |
#@ backwpup
|
2777 |
msgid "- WP_PLUGIN_URL '%s' must set as a full URL!"
|
2778 |
msgstr ""
|
2779 |
|
2780 |
-
#: backwpup-functions.php:
|
2781 |
#@ backwpup
|
2782 |
msgid "New"
|
2783 |
msgstr "新建的任务"
|
@@ -2788,13 +2677,13 @@ msgstr "新建的任务"
|
|
2788 |
msgid "WordPress Backup and more..."
|
2789 |
msgstr ""
|
2790 |
|
2791 |
-
#: job/job_functions.php:
|
2792 |
#, php-format
|
2793 |
#@ backwpup
|
2794 |
msgid "Signal %d send to script!"
|
2795 |
msgstr ""
|
2796 |
|
2797 |
-
#: job/job_functions.php:
|
2798 |
#@ backwpup
|
2799 |
msgid "Can not restart on alternate cron...."
|
2800 |
msgstr ""
|
@@ -2829,66 +2718,159 @@ msgstr ""
|
|
2829 |
msgid "United States GovCloud FIPS 140-2"
|
2830 |
msgstr ""
|
2831 |
|
2832 |
-
#: backwpup-functions.php:
|
2833 |
-
#: backwpup-functions.php:97
|
2834 |
#@ backwpup
|
2835 |
msgid "Plugin Info"
|
2836 |
msgstr ""
|
2837 |
|
2838 |
-
#: backwpup-functions.php:
|
2839 |
#@ backwpup
|
2840 |
msgid "Overview"
|
2841 |
msgstr ""
|
2842 |
|
2843 |
-
#: backwpup-functions.php:
|
2844 |
-
#: backwpup-functions.php:
|
2845 |
-
#: backwpup-functions.php:134
|
2846 |
-
#: backwpup-functions.php:146
|
2847 |
-
#@ backwpup
|
2848 |
-
msgid "Documentation"
|
2849 |
-
msgstr ""
|
2850 |
-
|
2851 |
-
#: backwpup-functions.php:113
|
2852 |
-
#: backwpup-functions.php:123
|
2853 |
-
#: backwpup-functions.php:136
|
2854 |
-
#: backwpup-functions.php:148
|
2855 |
#@ backwpup
|
2856 |
msgid "Support Forums"
|
2857 |
msgstr ""
|
2858 |
|
|
|
2859 |
#: backwpup-functions.php:115
|
2860 |
-
#: backwpup-functions.php:125
|
2861 |
-
#: backwpup-functions.php:138
|
2862 |
-
#: backwpup-functions.php:150
|
2863 |
#@ backwpup
|
2864 |
msgid "Google+"
|
2865 |
msgstr ""
|
2866 |
|
2867 |
-
#: backwpup-functions.php:
|
2868 |
#, php-format
|
2869 |
#@ backwpup
|
2870 |
msgid "- Temp folder '%s' does not exists!"
|
2871 |
msgstr ""
|
2872 |
|
2873 |
-
#: backwpup-functions.php:
|
2874 |
#, php-format
|
2875 |
#@ backwpup
|
2876 |
msgid "- Temp folder '%s' is not writeable!"
|
2877 |
msgstr ""
|
2878 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2879 |
#. translators: plugin header field 'Version'
|
2880 |
#: backwpup.php:0
|
2881 |
#@ backwpup
|
2882 |
-
msgid "2.1.
|
2883 |
msgstr ""
|
2884 |
|
2885 |
-
#: job/
|
2886 |
#@ backwpup
|
2887 |
-
msgid "
|
2888 |
msgstr ""
|
2889 |
|
2890 |
-
#: job/
|
|
|
2891 |
#@ backwpup
|
2892 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2893 |
msgstr ""
|
2894 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: BackWPup v2.1.16\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/backwpup\n"
|
5 |
"POT-Creation-Date: 2011-08-04 18:37:34+00:00\n"
|
6 |
+
"PO-Revision-Date: 2012-12-01 05:40:46+0000\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
54 |
msgid "\"%s\" is not a file or directory"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: job/job_run.php:105
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
#, php-format
|
59 |
#@ backwpup
|
60 |
msgid "Can not find job step file: %s"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: job/job_run.php:114
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
#@ backwpup
|
65 |
msgid "[INFO]: BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions."
|
66 |
+
msgstr ""
|
67 |
|
68 |
+
#: job/job_run.php:115
|
69 |
#@ backwpup
|
70 |
msgid "[INFO]: BackWPup job:"
|
71 |
msgstr "[INFO]: BackWPup 任务:"
|
72 |
|
73 |
+
#: job/job_run.php:117
|
74 |
#@ backwpup
|
75 |
msgid "[INFO]: BackWPup cron:"
|
76 |
msgstr "[INFO]: BackWPup Cron:"
|
77 |
|
78 |
+
#: job/job_run.php:122
|
79 |
#@ backwpup
|
80 |
msgid "[INFO]: PHP ver.:"
|
81 |
msgstr "[INFO]: PHP 版本:"
|
82 |
|
83 |
+
#: job/job_run.php:124
|
84 |
#, php-format
|
85 |
#@ backwpup
|
86 |
msgid "[INFO]: PHP Safe mode is ON! Maximum script execution time is %1$d sec."
|
87 |
+
msgstr ""
|
88 |
|
89 |
+
#: job/job_run.php:125
|
90 |
#@ backwpup
|
91 |
msgid "[INFO]: MySQL ver.:"
|
92 |
msgstr "[INFO]: MySQL 版本:"
|
93 |
|
94 |
+
#: job/job_run.php:128
|
95 |
#@ backwpup
|
96 |
msgid "[INFO]: curl ver.:"
|
97 |
msgstr "[INFO]: cURL 版本:"
|
98 |
|
99 |
+
#: job/job_run.php:130
|
100 |
#@ backwpup
|
101 |
msgid "[INFO]: Temp folder is:"
|
102 |
msgstr "[INFO]: 临时文件夹:"
|
103 |
|
104 |
+
#: job/job_run.php:132
|
105 |
#@ backwpup
|
106 |
msgid "[INFO]: Backup file is:"
|
107 |
msgstr "[INFO]: 备份文件:"
|
108 |
|
109 |
+
#: job/job_run.php:143
|
110 |
#@ backwpup
|
111 |
msgid "No destination defineid for backup!!! Please correct job settings"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: job/job_run.php:165
|
115 |
#@ backwpup
|
116 |
msgid "Step arborted has too many trys!"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: job/job_run.php:167
|
120 |
#, php-format
|
121 |
#@ backwpup
|
122 |
msgid "Can not find job step function %s!"
|
143 |
#: job/dest_msazure.php:20
|
144 |
#@ backwpup
|
145 |
msgid "Upload to MS Azure now started... "
|
146 |
+
msgstr "开始备份到 MS Azure ..."
|
147 |
|
148 |
+
#: job/dest_dropbox.php:38
|
149 |
#: job/dest_gstorage.php:27
|
150 |
#: job/dest_msazure.php:25
|
151 |
#: job/dest_s3.php:30
|
172 |
#, php-format
|
173 |
#@ backwpup
|
174 |
msgid "Microsoft Azure API: %s"
|
175 |
+
msgstr ""
|
176 |
|
177 |
#: job/backup_create.php:13
|
178 |
#, php-format
|
264 |
msgid "Backup zip archive create done"
|
265 |
msgstr "压缩备份文件完成"
|
266 |
|
|
|
|
|
|
|
|
|
|
|
267 |
#: job/backup_create.php:92
|
268 |
#, php-format
|
269 |
#@ backwpup
|
288 |
msgid "File path \"%1$s\" to long to save corectly in %2$s archive!"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: job/backup_create.php:174
|
292 |
#, php-format
|
293 |
#@ backwpup
|
294 |
msgid "%s archive creation done"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: job/backup_create.php:178
|
298 |
#, php-format
|
299 |
#@ backwpup
|
300 |
msgid "Archive size is %s"
|
301 |
msgstr "压缩文件大小为 %s"
|
302 |
|
303 |
+
#: job/backup_create.php:185
|
304 |
#, php-format
|
305 |
#@ backwpup
|
306 |
msgid "PCL ZIP Error \"%1$s\" on file %2$s!"
|
320 |
#, php-format
|
321 |
#@ backwpup
|
322 |
msgid "Database error %1$s for query %2$s"
|
323 |
+
msgstr ""
|
324 |
|
325 |
+
#: job/job_functions.php:113
|
326 |
#, php-format
|
327 |
#@ backwpup
|
328 |
msgid "Memory increased from %1$s to %2$s"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: job/job_functions.php:115
|
332 |
#, php-format
|
333 |
#@ backwpup
|
334 |
msgid "Can not increase memory limit is %1$s"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: job/job_functions.php:124
|
338 |
#@ backwpup
|
339 |
msgid "Set Blog to maintenance mode"
|
340 |
+
msgstr "博客设置为维护模式"
|
341 |
|
342 |
+
#: job/job_functions.php:138
|
343 |
#@ backwpup
|
344 |
msgid "Cannot set Blog to maintenance mode! Root folder is not writeable!"
|
345 |
+
msgstr "博客不能设置为维护模式!根目录不可写!"
|
346 |
|
347 |
+
#: job/job_functions.php:141
|
348 |
#@ backwpup
|
349 |
msgid "Set Blog to normal mode"
|
350 |
msgstr "设置回正常模式"
|
351 |
|
352 |
+
#: job/job_functions.php:222
|
353 |
#, php-format
|
354 |
#@ backwpup
|
355 |
msgid "No MySQL connection: %s"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: job/job_functions.php:237
|
359 |
#, php-format
|
360 |
#@ backwpup
|
361 |
msgid "No MySQL connection to database: %s"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: job/job_functions.php:261
|
365 |
#@ backwpup
|
366 |
msgid "[WARNING]"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: job/job_functions.php:267
|
370 |
#@ backwpup
|
371 |
msgid "[ERROR]"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: job/job_functions.php:271
|
375 |
#@ backwpup
|
376 |
msgid "[DEPRECATED]"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: job/job_functions.php:274
|
380 |
#@ backwpup
|
381 |
msgid "[STRICT NOTICE]"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: job/job_functions.php:277
|
385 |
#@ backwpup
|
386 |
msgid "[RECOVERABLE ERROR]"
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: job/job_functions.php:353
|
390 |
#, php-format
|
391 |
#@ backwpup
|
392 |
msgid "One old log deleted"
|
394 |
msgstr[0] "一个日志被删除"
|
395 |
msgstr[1] "%d 个日志被删除"
|
396 |
|
397 |
+
#: job/job_functions.php:357
|
398 |
#, php-format
|
399 |
#@ backwpup
|
400 |
msgid "Job done in %s sec."
|
401 |
msgstr "任务完成于 %s 秒内"
|
402 |
|
403 |
+
#: job/job_functions.php:471
|
404 |
#, php-format
|
405 |
#@ backwpup
|
406 |
msgid "BackWPup log from %1$s: %2$s"
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: job/job_functions.php:520
|
410 |
#@ backwpup
|
411 |
msgid "To many restarts...."
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: job/job_functions.php:541
|
415 |
#@ backwpup
|
416 |
msgid "Script stop! Will started again now!"
|
417 |
msgstr ""
|
428 |
#, php-format
|
429 |
#@ backwpup
|
430 |
msgid "%d. Try to sending backup file to DropBox..."
|
431 |
+
msgstr "%d. 正在备份文件到 Dropbox ..."
|
432 |
|
433 |
+
#: job/dest_dropbox.php:18
|
434 |
#, php-format
|
435 |
#@ backwpup
|
436 |
msgid "Authed with DropBox from %s"
|
437 |
msgstr "%s 认证于 Dropbox"
|
438 |
|
439 |
+
#: job/dest_dropbox.php:23
|
440 |
#@ backwpup
|
441 |
msgid "No free space left on DropBox!!!"
|
442 |
+
msgstr "Dropbox 没空余容量了!"
|
443 |
|
444 |
+
#: job/dest_dropbox.php:27
|
445 |
#, php-format
|
446 |
#@ backwpup
|
447 |
msgid "%s free on DropBox"
|
448 |
+
msgstr "Dropbox 空余容量还有 %s"
|
449 |
|
450 |
+
#: job/dest_dropbox.php:32
|
451 |
#@ backwpup
|
452 |
msgid "Upload to DropBox now started... "
|
453 |
+
msgstr "开始备份到 Dropbox ..."
|
454 |
|
455 |
+
#: job/dest_dropbox.php:43
|
456 |
+
#: job/dest_dropbox.php:68
|
457 |
#, php-format
|
458 |
#@ backwpup
|
459 |
msgid "DropBox API: %s"
|
460 |
msgstr "Dropbox API: %s"
|
461 |
|
462 |
+
#: job/dest_dropbox.php:64
|
463 |
#, php-format
|
464 |
#@ backwpup
|
465 |
msgid "One file deleted on DropBox"
|
466 |
msgid_plural "%d files deleted on DropBox"
|
467 |
+
msgstr[0] "Dropbox 中一个文件被删除"
|
468 |
+
msgstr[1] "Dropbox 中 %d 个文件被删除"
|
469 |
|
470 |
#: job/wp_export.php:11
|
471 |
#, php-format
|
472 |
#@ backwpup
|
473 |
msgid "%d. try for wordpress export to XML file..."
|
474 |
+
msgstr "%d. 正在导出 XML ..."
|
475 |
|
476 |
#: job/wp_export.php:38
|
477 |
#: job/wp_export.php:40
|
495 |
msgid "Temp dir not writeable"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: job/job_start.php:102
|
499 |
#, php-format
|
500 |
#@ backwpup
|
501 |
msgid "Can not create folder for log files: %s"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: job/job_start.php:113
|
505 |
#@ backwpup
|
506 |
msgid "Log folder not writeable!"
|
507 |
msgstr "日志文件夹不可写!"
|
508 |
|
509 |
+
#: job/job_start.php:138
|
510 |
#, php-format
|
511 |
#@ backwpup
|
512 |
msgid "BackWPup log for %1$s from %2$s at %3$s"
|
513 |
msgstr ""
|
514 |
|
515 |
+
#: job/job_start.php:166
|
516 |
#, php-format
|
517 |
#@ backwpup
|
518 |
msgid "Can not create folder for backups: %1$s"
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: job/job_start.php:178
|
522 |
#@ backwpup
|
523 |
msgid "Backup folder not writeable!"
|
524 |
msgstr ""
|
562 |
#: job/dest_rsc.php:92
|
563 |
#@ backwpup
|
564 |
msgid "Rackspase Cloud API:"
|
565 |
+
msgstr ""
|
566 |
|
567 |
#: job/dest_rsc.php:34
|
568 |
#@ backwpup
|
569 |
msgid "Rackspase Cloud Container not exists:"
|
570 |
+
msgstr ""
|
571 |
|
572 |
#: job/dest_rsc.php:53
|
573 |
#@ backwpup
|
574 |
msgid "Upload to RSC now started ... "
|
575 |
+
msgstr "开始备份到 RSC ..."
|
576 |
|
577 |
#: job/dest_rsc.php:56
|
578 |
#@ backwpup
|
623 |
#: job/dest_sugarsync.php:31
|
624 |
#@ backwpup
|
625 |
msgid "Upload to SugarSync now started... "
|
626 |
+
msgstr "开始备份到 SugarSync ..."
|
627 |
|
628 |
#: job/dest_sugarsync.php:39
|
629 |
#@ backwpup
|
642 |
#, php-format
|
643 |
#@ backwpup
|
644 |
msgid "SugarSync API: %s"
|
645 |
+
msgstr ""
|
646 |
|
647 |
#: job/dest_s3.php:4
|
648 |
#, php-format
|
659 |
#: job/dest_s3.php:24
|
660 |
#@ backwpup
|
661 |
msgid "Upload to Amazon S3 now started... "
|
662 |
+
msgstr "开始备份到 Amazon S3 ..."
|
663 |
|
664 |
#: job/dest_s3.php:34
|
665 |
#, php-format
|
700 |
msgid "%d. try to sending backup with mail..."
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: job/dest_mail.php:23
|
704 |
#@ backwpup
|
705 |
msgid "Send mail with SMTP"
|
706 |
+
msgstr "使用 SMTP 发送电子邮件"
|
707 |
|
708 |
+
#: job/dest_mail.php:27
|
709 |
#@ backwpup
|
710 |
msgid "Send mail with Sendmail"
|
711 |
msgstr "使用 Sendmail() 发送电子邮件"
|
712 |
|
713 |
+
#: job/dest_mail.php:30
|
714 |
#@ backwpup
|
715 |
msgid "Send mail with PHP mail"
|
716 |
msgstr "使用 PHP mail() 发送电子邮件"
|
717 |
|
718 |
+
#: job/dest_mail.php:33
|
719 |
#@ backwpup
|
720 |
msgid "Creating mail"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: job/dest_mail.php:37
|
724 |
#, php-format
|
725 |
#@ backwpup
|
726 |
msgid "BackWPup archive from %1$s: %2$s"
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: job/dest_mail.php:39
|
730 |
#, php-format
|
731 |
#@ backwpup
|
732 |
msgid "Backup archive: %s"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: job/dest_mail.php:44
|
736 |
#@ backwpup
|
737 |
msgid "Backup archive too big for sending by mail!"
|
738 |
msgstr ""
|
739 |
|
740 |
+
#: job/dest_mail.php:51
|
741 |
#@ backwpup
|
742 |
msgid "Adding backup archive to mail"
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: job/dest_mail.php:55
|
746 |
#@ backwpup
|
747 |
msgid "Send mail...."
|
748 |
msgstr "正在发送电子邮件..."
|
749 |
|
750 |
+
#: job/dest_mail.php:57
|
751 |
#, php-format
|
752 |
#@ backwpup
|
753 |
msgid "Error \"%s\" on sending mail!"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: job/dest_mail.php:60
|
757 |
#@ backwpup
|
758 |
msgid "Mail send!!!"
|
759 |
msgstr ""
|
805 |
#: job/dest_gstorage.php:21
|
806 |
#@ backwpup
|
807 |
msgid "Upload to GStorage now started... "
|
808 |
+
msgstr "开始备份到 GStorage ..."
|
809 |
|
810 |
#: job/dest_gstorage.php:31
|
811 |
#, php-format
|
848 |
msgid "%d. try for database dump..."
|
849 |
msgstr "%d. 正在导出数据库..."
|
850 |
|
851 |
+
#: job/db_dump.php:97
|
852 |
#, php-format
|
853 |
#@ backwpup
|
854 |
msgid "Dump database table \"%s\""
|
855 |
msgstr "导出数据库表 \"%s\""
|
856 |
|
857 |
+
#: job/db_dump.php:72
|
858 |
#@ backwpup
|
859 |
msgid "Database dump done!"
|
860 |
msgstr "数据库导出完成!"
|
861 |
|
862 |
+
#: job/db_dump.php:74
|
863 |
#@ backwpup
|
864 |
msgid "Can not create database dump!"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: job/db_dump.php:77
|
868 |
#@ backwpup
|
869 |
msgid "No tables to dump"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: job/db_dump.php:83
|
873 |
#, php-format
|
874 |
#@ backwpup
|
875 |
msgid "Add database dump \"%1$s\" with %2$s to backup file list"
|
913 |
#: job/dest_ftp.php:36
|
914 |
#: job/dest_ftp.php:43
|
915 |
#: job/dest_ftp.php:55
|
916 |
+
#: job/dest_ftp.php:90
|
917 |
#, php-format
|
918 |
#@ backwpup
|
919 |
msgid "FTP Client command: %s"
|
924 |
#: job/dest_ftp.php:45
|
925 |
#: job/dest_ftp.php:58
|
926 |
#: job/dest_ftp.php:60
|
|
|
|
|
|
|
927 |
#: job/dest_ftp.php:93
|
928 |
+
#: job/dest_ftp.php:95
|
929 |
+
#: job/dest_ftp.php:98
|
930 |
+
#: job/dest_ftp.php:100
|
931 |
#, php-format
|
932 |
#@ backwpup
|
933 |
msgid "FTP Server reply: %s"
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: job/dest_ftp.php:93
|
937 |
#@ backwpup
|
938 |
msgid "Entering Passive Mode"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: job/dest_ftp.php:95
|
942 |
#@ backwpup
|
943 |
msgid "Can not Entering Passive Mode"
|
944 |
msgstr ""
|
945 |
|
946 |
+
#: job/dest_ftp.php:98
|
947 |
#@ backwpup
|
948 |
msgid "Entering Normal Mode"
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: job/dest_ftp.php:100
|
952 |
#@ backwpup
|
953 |
msgid "Can not Entering Normal Mode"
|
954 |
msgstr ""
|
958 |
msgid "Error getting SYSTYPE"
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: job/dest_ftp.php:104
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
962 |
#@ backwpup
|
963 |
msgid "Upload to FTP now started ... "
|
964 |
+
msgstr "开始备份到 FTP ..."
|
965 |
|
966 |
+
#: job/dest_ftp.php:117
|
967 |
#, php-format
|
968 |
#@ backwpup
|
969 |
msgid "Backup transferred to FTP server: %s"
|
970 |
msgstr ""
|
971 |
|
972 |
+
#: job/dest_ftp.php:113
|
973 |
#@ backwpup
|
974 |
msgid "Can not transfer backup to FTP server!"
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: job/dest_ftp.php:138
|
978 |
#, php-format
|
979 |
#@ backwpup
|
980 |
msgid "Can not delete \"%s\" on FTP server!"
|
981 |
msgstr ""
|
982 |
|
983 |
+
#: job/dest_ftp.php:141
|
984 |
#, php-format
|
985 |
#@ backwpup
|
986 |
msgid "One file deleted on FTP Server"
|
987 |
msgid_plural "%d files deleted on FTP Server"
|
988 |
+
msgstr[0] "FTP 中一个文件被删除"
|
989 |
+
msgstr[1] "FTP 中 %d 个文件被删除"
|
990 |
|
991 |
#: pages/page_backwpupbackups.php:8
|
992 |
#@ backwpup
|
1030 |
#, php-format
|
1031 |
#@ backwpup
|
1032 |
msgid "%1$s Database Querys done."
|
1033 |
+
msgstr ""
|
1034 |
|
1035 |
#: pages/tools/db_restore.php:75
|
1036 |
#@ backwpup
|
1042 |
msgid "Restore Done. Please delete the SQL file after restoring."
|
1043 |
msgstr ""
|
1044 |
|
1045 |
+
#: backwpup-functions.php:447
|
1046 |
#: pages/page_backwpuplogs.php:8
|
1047 |
#@ backwpup
|
1048 |
msgid "BackWPup Logs"
|
1049 |
msgstr "BackWPup 日志列表"
|
1050 |
|
1051 |
+
#: pages/func_backwpuplogs.php:71
|
1052 |
#@ backwpup
|
1053 |
msgid "No Logs."
|
1054 |
msgstr "无日志"
|
1055 |
|
1056 |
+
#: pages/func_backwpup.php:50
|
1057 |
+
#: pages/func_backwpup.php:106
|
1058 |
#: pages/func_backwpupbackups.php:130
|
1059 |
#: pages/func_backwpupbackups.php:227
|
1060 |
#: pages/func_backwpupeditjob.php:25
|
1061 |
+
#: pages/func_backwpuplogs.php:76
|
1062 |
+
#: pages/func_backwpuplogs.php:130
|
|
|
1063 |
#@ backwpup
|
1064 |
msgid "Delete"
|
1065 |
msgstr "删除"
|
1066 |
|
1067 |
+
#: pages/func_backwpuplogs.php:83
|
1068 |
#@ backwpup
|
1069 |
msgid "Job"
|
1070 |
msgstr "任务"
|
1071 |
|
1072 |
+
#: pages/func_backwpup.php:60
|
1073 |
#: pages/func_backwpupeditjob.php:171
|
1074 |
+
#: pages/func_backwpuplogs.php:84
|
1075 |
#@ backwpup
|
1076 |
msgid "Type"
|
1077 |
msgstr "类型"
|
1078 |
|
1079 |
+
#: pages/func_backwpuplogs.php:85
|
1080 |
#@ backwpup
|
1081 |
msgid "Backup/Log Date/Time"
|
1082 |
+
msgstr "日期 @ 时间 : 任务名"
|
1083 |
|
1084 |
+
#: pages/func_backwpuplogs.php:86
|
1085 |
#@ backwpup
|
1086 |
msgid "Status"
|
1087 |
msgstr "状态"
|
1088 |
|
1089 |
#: pages/func_backwpupbackups.php:184
|
1090 |
+
#: pages/func_backwpuplogs.php:87
|
1091 |
#@ backwpup
|
1092 |
msgid "Size"
|
1093 |
msgstr "大小"
|
1094 |
|
1095 |
+
#: pages/func_backwpuplogs.php:88
|
1096 |
#@ backwpup
|
1097 |
msgid "Runtime"
|
1098 |
msgstr "花费时间"
|
1099 |
|
1100 |
+
#: pages/func_backwpuplogs.php:127
|
1101 |
#@ backwpup
|
1102 |
msgid "View log"
|
1103 |
msgstr "查看日志"
|
1104 |
|
1105 |
+
#: pages/func_backwpuplogs.php:129
|
1106 |
#@ backwpup
|
1107 |
msgid "View"
|
1108 |
msgstr "查看"
|
1109 |
|
1110 |
+
#: pages/func_backwpup.php:152
|
1111 |
#: pages/func_backwpupbackups.php:228
|
1112 |
+
#: pages/func_backwpuplogs.php:131
|
1113 |
#@ backwpup
|
1114 |
msgid "Download"
|
1115 |
msgstr "下载"
|
1116 |
|
1117 |
+
#: backwpup-functions.php:369
|
1118 |
+
#: pages/func_backwpuplogs.php:138
|
1119 |
#, php-format
|
1120 |
#@ backwpup
|
1121 |
msgid "%d ERROR"
|
1123 |
msgstr[0] "%d 个错误发生"
|
1124 |
msgstr[1] "%d 个错误发生"
|
1125 |
|
1126 |
+
#: backwpup-functions.php:371
|
1127 |
+
#: pages/func_backwpuplogs.php:140
|
1128 |
#, php-format
|
1129 |
#@ backwpup
|
1130 |
msgid "%d WARNING"
|
1132 |
msgstr[0] "%d 个警告"
|
1133 |
msgstr[1] "%d 个警告"
|
1134 |
|
1135 |
+
#: backwpup-functions.php:373
|
1136 |
+
#: pages/func_backwpuplogs.php:142
|
1137 |
#@ backwpup
|
1138 |
msgid "O.K."
|
1139 |
msgstr "完成"
|
1140 |
|
1141 |
+
#: pages/func_backwpuplogs.php:150
|
1142 |
#@ backwpup
|
1143 |
msgid "only Log"
|
1144 |
msgstr "只有日志"
|
1145 |
|
1146 |
+
#: pages/func_backwpup.php:131
|
1147 |
+
#: pages/func_backwpup.php:147
|
1148 |
+
#: pages/func_backwpuplogs.php:156
|
1149 |
#@ backwpup
|
1150 |
msgid "sec."
|
1151 |
msgstr "秒"
|
1192 |
|
1193 |
#: backwpup-functions.php:7
|
1194 |
#: pages/page_backwpup.php:8
|
1195 |
+
#: pages/page_backwpupeditjob.php:46
|
1196 |
#@ backwpup
|
1197 |
msgid "Add New"
|
1198 |
msgstr "新建任务"
|
1226 |
#: pages/page_backwpuptools.php:43
|
1227 |
#@ backwpup
|
1228 |
msgid "Copy SQL file to blog root folder to use for a restoring."
|
1229 |
+
msgstr "使用前请复制 SQL 文件到根目录。"
|
1230 |
|
1231 |
#: pages/page_backwpuptools.php:51
|
1232 |
#@ backwpup
|
1282 |
msgid "Jobs imported!"
|
1283 |
msgstr "导入任务成功!"
|
1284 |
|
1285 |
+
#: pages/header_backwpupsettings.php:44
|
1286 |
#@ backwpup
|
1287 |
msgid "Settings saved"
|
1288 |
msgstr "设置已保存"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
#: backwpup-functions.php:11
|
1296 |
+
#: backwpup-functions.php:462
|
1297 |
#: pages/header_backwpupbackups.php:327
|
1298 |
#: pages/header_backwpuplogs.php:61
|
1299 |
#: pages/page_backwpupsettings.php:79
|
1301 |
msgid "Logs"
|
1302 |
msgstr "日志"
|
1303 |
|
1304 |
+
#: pages/func_backwpupbackups.php:492
|
1305 |
#: pages/header_backwpupbackups.php:140
|
1306 |
#@ backwpup
|
1307 |
msgid "Login failure!"
|
1312 |
msgid "Here you see a list of backup files. Change the destionation to jobname:destination to become a list of backups from other destinations and jobs. Then you kann delete or download backup files."
|
1313 |
msgstr ""
|
1314 |
|
1315 |
+
#: pages/func_backwpup.php:44
|
1316 |
#@ backwpup
|
1317 |
msgid "No Jobs."
|
1318 |
msgstr "暂无任务"
|
1319 |
|
1320 |
+
#: pages/func_backwpup.php:49
|
1321 |
+
#: pages/func_backwpup.php:105
|
|
|
1322 |
#@ backwpup
|
1323 |
msgid "Export"
|
1324 |
msgstr "导出"
|
1325 |
|
1326 |
+
#: pages/func_backwpup.php:58
|
1327 |
#@ backwpup
|
1328 |
msgid "ID"
|
1329 |
msgstr ""
|
1330 |
|
1331 |
+
#: pages/func_backwpup.php:59
|
1332 |
#@ backwpup
|
1333 |
msgid "Job Name"
|
1334 |
msgstr "任务名"
|
1335 |
|
1336 |
+
#: pages/func_backwpup.php:61
|
1337 |
#@ backwpup
|
1338 |
msgid "Information"
|
1339 |
msgstr "信息"
|
1340 |
|
1341 |
+
#: pages/func_backwpup.php:62
|
1342 |
#@ backwpup
|
1343 |
msgid "Next Run"
|
1344 |
msgstr "下次执行时间"
|
1345 |
|
1346 |
+
#: pages/func_backwpup.php:63
|
1347 |
#@ backwpup
|
1348 |
msgid "Last Run"
|
1349 |
msgstr "上次执行时间"
|
1350 |
|
1351 |
+
#: pages/func_backwpup.php:100
|
1352 |
#@ backwpup
|
1353 |
msgid "Edit:"
|
1354 |
msgstr "编辑 "
|
1355 |
|
1356 |
+
#: pages/func_backwpup.php:103
|
1357 |
+
#@ backwpup
|
1358 |
msgid "Edit"
|
1359 |
+
msgstr "编辑"
|
1360 |
|
1361 |
+
#: pages/func_backwpup.php:104
|
1362 |
#@ backwpup
|
1363 |
msgid "Copy"
|
1364 |
msgstr "复制"
|
1365 |
|
1366 |
+
#: pages/func_backwpup.php:107
|
1367 |
#@ backwpup
|
1368 |
msgid "Run Now"
|
1369 |
msgstr "立即执行"
|
1370 |
|
1371 |
+
#: backwpup-functions.php:426
|
1372 |
+
#: pages/func_backwpup.php:110
|
1373 |
#@ backwpup
|
1374 |
msgid "View!"
|
1375 |
msgstr "查看"
|
1376 |
|
1377 |
+
#: backwpup-functions.php:427
|
1378 |
+
#: pages/func_backwpup.php:111
|
1379 |
#@ backwpup
|
1380 |
msgid "Abort!"
|
1381 |
msgstr ""
|
1382 |
|
1383 |
+
#: pages/func_backwpup.php:131
|
1384 |
#@ backwpup
|
1385 |
msgid "Running since:"
|
1386 |
msgstr "执行于"
|
1387 |
|
1388 |
+
#: pages/func_backwpup.php:135
|
1389 |
#@ backwpup
|
1390 |
msgid "Inactive"
|
1391 |
msgstr ""
|
1392 |
|
1393 |
+
#: pages/func_backwpup.php:138
|
1394 |
#@ backwpup
|
1395 |
msgid "<a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a>:"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
+
#: pages/func_backwpup.php:147
|
1399 |
#@ backwpup
|
1400 |
msgid "Runtime:"
|
1401 |
msgstr "花费时间:"
|
1402 |
|
1403 |
+
#: pages/func_backwpup.php:149
|
1404 |
#@ backwpup
|
1405 |
msgid "None"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
+
#: pages/func_backwpup.php:152
|
1409 |
#@ backwpup
|
1410 |
msgid "Download last Backup"
|
1411 |
msgstr "下载上一个备份"
|
1412 |
|
1413 |
+
#: pages/func_backwpup.php:154
|
1414 |
#@ backwpup
|
1415 |
msgid "View last Log"
|
1416 |
msgstr "查看上一次的日志"
|
1417 |
|
1418 |
+
#: pages/func_backwpup.php:154
|
1419 |
#@ backwpup
|
1420 |
msgid "Log"
|
1421 |
msgstr "日志"
|
1422 |
|
1423 |
+
#: pages/func_backwpup.php:243
|
1424 |
#@ backwpup
|
1425 |
msgid "DB Size:"
|
1426 |
msgstr "数据库大小:"
|
1427 |
|
1428 |
+
#: pages/func_backwpup.php:245
|
1429 |
#@ backwpup
|
1430 |
msgid "DB Tables:"
|
1431 |
msgstr "数据库表数:"
|
1432 |
|
1433 |
+
#: pages/func_backwpup.php:246
|
1434 |
#@ backwpup
|
1435 |
msgid "DB Rows:"
|
1436 |
msgstr "数据库记录数:"
|
1437 |
|
1438 |
+
#: pages/func_backwpup.php:251
|
1439 |
#@ backwpup
|
1440 |
msgid "Files Size:"
|
1441 |
msgstr "文件大小:"
|
1442 |
|
1443 |
+
#: pages/func_backwpup.php:253
|
1444 |
#@ backwpup
|
1445 |
msgid "Files count:"
|
1446 |
msgstr "文件数:"
|
1488 |
#: pages/page_backwpupsettings.php:18
|
1489 |
#@ backwpup
|
1490 |
msgid "Here you can set the options for email sending. The settings will be used in jobs for sending backups via email or for sending log files."
|
1491 |
+
msgstr "自定义发送电子邮件的方式,作用于备份功能和发送日志。"
|
1492 |
|
1493 |
#: pages/page_backwpupsettings.php:21
|
1494 |
#@ backwpup
|
1513 |
#: pages/page_backwpupsettings.php:35
|
1514 |
#@ backwpup
|
1515 |
msgid "Sendmail"
|
1516 |
+
msgstr ""
|
1517 |
|
1518 |
#: pages/page_backwpupsettings.php:36
|
1519 |
#@ backwpup
|
1520 |
msgid "SMTP"
|
1521 |
+
msgstr ""
|
1522 |
|
1523 |
#: pages/page_backwpupsettings.php:42
|
1524 |
#@ backwpup
|
1528 |
#: pages/page_backwpupsettings.php:49
|
1529 |
#@ backwpup
|
1530 |
msgid "SMTP hostname"
|
1531 |
+
msgstr "SMTP 地址"
|
1532 |
|
1533 |
#: pages/func_backwpupeditjob.php:232
|
1534 |
#: pages/page_backwpupsettings.php:52
|
1539 |
#: pages/page_backwpupsettings.php:56
|
1540 |
#@ backwpup
|
1541 |
msgid "SMTP secure connection"
|
1542 |
+
msgstr "SMTP 安全连接"
|
1543 |
|
1544 |
+
#: backwpup-functions.php:381
|
1545 |
+
#: backwpup-functions.php:411
|
1546 |
+
#: backwpup-functions.php:439
|
1547 |
#: pages/page_backwpupsettings.php:59
|
1548 |
#@ backwpup
|
1549 |
msgid "none"
|
1552 |
#: pages/page_backwpupsettings.php:66
|
1553 |
#@ backwpup
|
1554 |
msgid "SMTP username"
|
1555 |
+
msgstr "SMTP 用户名"
|
1556 |
|
1557 |
#: pages/page_backwpupsettings.php:72
|
1558 |
#@ backwpup
|
1559 |
msgid "SMTP password"
|
1560 |
+
msgstr "SMTP 密码"
|
1561 |
|
1562 |
#: pages/page_backwpupsettings.php:80
|
1563 |
#@ backwpup
|
1564 |
msgid "Here you can set Logfile related options."
|
1565 |
+
msgstr "日志相关设置"
|
1566 |
|
1567 |
#: pages/page_backwpupsettings.php:83
|
1568 |
#@ backwpup
|
1572 |
#: pages/page_backwpupsettings.php:88
|
1573 |
#@ backwpup
|
1574 |
msgid "Max. Log Files in Folder"
|
1575 |
+
msgstr "文件夹最多存放的文件数"
|
1576 |
|
1577 |
#: pages/func_backwpupeditjob.php:224
|
1578 |
#: pages/page_backwpupsettings.php:90
|
1589 |
#: pages/page_backwpupsettings.php:97
|
1590 |
#@ backwpup
|
1591 |
msgid "Gzip Log files!"
|
1592 |
+
msgstr "Gzip 压缩日志文件"
|
1593 |
|
1594 |
#: backwpup-functions.php:5
|
1595 |
+
#: backwpup-functions.php:461
|
1596 |
#: pages/page_backwpupsettings.php:101
|
1597 |
#@ backwpup
|
1598 |
msgid "Jobs"
|
1601 |
#: pages/page_backwpupsettings.php:102
|
1602 |
#@ backwpup
|
1603 |
msgid "Here you can set Job related options."
|
1604 |
+
msgstr "任务相关设置"
|
1605 |
|
1606 |
#: pages/page_backwpupsettings.php:105
|
1607 |
#@ backwpup
|
1626 |
#: pages/page_backwpupsettings.php:118
|
1627 |
#@ backwpup
|
1628 |
msgid "Use PHP zip class if available! Normaly PCL Zip class will used."
|
1629 |
+
msgstr "优先使用 PHP zip 类,一般情况下使用 PCL Zip 类。"
|
1630 |
|
1631 |
#: pages/page_backwpupsettings.php:123
|
1632 |
#@ backwpup
|
1636 |
#: pages/page_backwpupsettings.php:124
|
1637 |
#@ backwpup
|
1638 |
msgid "Will you see BackWPup in the WordPress Admin Bar?"
|
1639 |
+
msgstr "是否需要在管理工具栏显示 BackWPup"
|
1640 |
|
1641 |
#: pages/page_backwpupsettings.php:127
|
1642 |
#: pages/page_backwpupsettings.php:128
|
1647 |
#: pages/page_backwpupsettings.php:130
|
1648 |
#@ backwpup
|
1649 |
msgid "Show BackWPup Links in Admin Bar."
|
1650 |
+
msgstr "在管理工具栏显示 BackWPup"
|
1651 |
|
1652 |
#: pages/page_backwpupsettings.php:135
|
1653 |
#@ backwpup
|
1654 |
msgid "Http basic authentication"
|
1655 |
+
msgstr ""
|
1656 |
|
1657 |
#: pages/page_backwpupsettings.php:136
|
1658 |
#@ backwpup
|
1667 |
msgstr "用户名:"
|
1668 |
|
1669 |
#: pages/func_backwpupeditjob.php:236
|
1670 |
+
#: pages/func_backwpupeditjob.php:378
|
1671 |
#: pages/page_backwpupsettings.php:144
|
1672 |
#@ backwpup
|
1673 |
msgid "Password:"
|
1674 |
msgstr "密码:"
|
1675 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1676 |
#: pages/func_backwpupeditjob.php:18
|
1677 |
#@ backwpup
|
1678 |
msgid "PHP curl functions not available! Most backup destinations deaktivated!"
|
1932 |
#: pages/func_backwpupeditjob.php:223
|
1933 |
#@ backwpup
|
1934 |
msgid "Your WordPress dir is:"
|
1935 |
+
msgstr "WordPress 的根目录路径:"
|
1936 |
|
1937 |
#: pages/func_backwpupeditjob.php:224
|
1938 |
+
#: pages/func_backwpupeditjob.php:415
|
1939 |
#@ backwpup
|
1940 |
msgid "Max. backup files in folder:"
|
1941 |
msgstr "文件夹最大存放文件数:"
|
1953 |
#: pages/func_backwpupeditjob.php:241
|
1954 |
#@ backwpup
|
1955 |
msgid "Max. backup files in FTP folder:"
|
1956 |
+
msgstr "FTP 文件夹最多存放文件数:"
|
1957 |
|
1958 |
#: pages/func_backwpupeditjob.php:241
|
1959 |
#: pages/func_backwpupeditjob.php:260
|
1961 |
#: pages/func_backwpupeditjob.php:312
|
1962 |
#: pages/func_backwpupeditjob.php:335
|
1963 |
#: pages/func_backwpupeditjob.php:362
|
1964 |
+
#: pages/func_backwpupeditjob.php:416
|
1965 |
#@ backwpup
|
1966 |
msgid "(Oldest files will be deleted first.)"
|
1967 |
msgstr "(优先删除旧文件)"
|
1969 |
#: pages/func_backwpupeditjob.php:242
|
1970 |
#@ backwpup
|
1971 |
msgid "Use SSL-FTP Connection."
|
1972 |
+
msgstr "使用 SSL-FTP 连接"
|
|
|
|
|
|
|
|
|
|
|
1973 |
|
1974 |
#: pages/func_backwpupeditjob.php:250
|
1975 |
#@ backwpup
|
1976 |
msgid "Access Key ID:"
|
1977 |
+
msgstr ""
|
1978 |
|
1979 |
#: pages/func_backwpupeditjob.php:252
|
1980 |
#@ backwpup
|
1981 |
msgid "Secret Access Key:"
|
1982 |
+
msgstr ""
|
1983 |
|
1984 |
#: pages/func_backwpupeditjob.php:254
|
1985 |
#: pages/func_backwpupeditjob.php:279
|
1991 |
#: pages/func_backwpupeditjob.php:282
|
1992 |
#@ backwpup
|
1993 |
msgid "Create bucket:"
|
1994 |
+
msgstr ""
|
1995 |
|
1996 |
#: pages/func_backwpupeditjob.php:257
|
1997 |
#@ backwpup
|
2017 |
#: pages/func_backwpupeditjob.php:283
|
2018 |
#@ backwpup
|
2019 |
msgid "Folder in bucket:"
|
2020 |
+
msgstr ""
|
2021 |
|
2022 |
#: pages/func_backwpupeditjob.php:260
|
2023 |
#: pages/func_backwpupeditjob.php:285
|
2024 |
#@ backwpup
|
2025 |
msgid "Max. backup files in bucket folder:"
|
2026 |
+
msgstr ""
|
2027 |
|
2028 |
#: pages/func_backwpupeditjob.php:261
|
2029 |
#@ backwpup
|
2030 |
msgid "Save Backups with reduced redundancy!"
|
2031 |
+
msgstr ""
|
2032 |
|
2033 |
#: pages/func_backwpupeditjob.php:264
|
2034 |
#: pages/func_backwpupeditjob.php:288
|
2035 |
#: pages/func_backwpupeditjob.php:315
|
2036 |
#: pages/func_backwpupeditjob.php:338
|
2037 |
#: pages/func_backwpupeditjob.php:365
|
2038 |
+
#: pages/func_backwpupeditjob.php:420
|
2039 |
#@ backwpup
|
2040 |
msgid "Create Account"
|
2041 |
msgstr "注册帐号"
|
2044 |
#: pages/func_backwpupeditjob.php:289
|
2045 |
#@ backwpup
|
2046 |
msgid "Find Keys"
|
2047 |
+
msgstr ""
|
2048 |
|
2049 |
#: pages/func_backwpupeditjob.php:266
|
2050 |
#: pages/func_backwpupeditjob.php:290
|
2051 |
#: pages/func_backwpupeditjob.php:340
|
2052 |
#: pages/func_backwpupeditjob.php:366
|
2053 |
+
#: pages/func_backwpupeditjob.php:421
|
2054 |
#@ backwpup
|
2055 |
msgid "Webinterface"
|
2056 |
msgstr "官网"
|
2059 |
#: pages/func_backwpupeditjob.php:304
|
2060 |
#@ backwpup
|
2061 |
msgid "Access Key:"
|
2062 |
+
msgstr ""
|
2063 |
|
2064 |
#: pages/func_backwpupeditjob.php:277
|
2065 |
#@ backwpup
|
2069 |
#: pages/func_backwpupeditjob.php:300
|
2070 |
#@ backwpup
|
2071 |
msgid "Host:"
|
2072 |
+
msgstr ""
|
2073 |
|
2074 |
#: pages/func_backwpupeditjob.php:301
|
2075 |
#@ backwpup
|
2076 |
msgid "Normely: blob.core.windows.net"
|
2077 |
+
msgstr ""
|
2078 |
|
2079 |
#: pages/func_backwpupeditjob.php:302
|
2080 |
#@ backwpup
|
2085 |
#: pages/func_backwpupeditjob.php:329
|
2086 |
#@ backwpup
|
2087 |
msgid "Container:"
|
2088 |
+
msgstr ""
|
2089 |
|
2090 |
#: pages/func_backwpupeditjob.php:309
|
2091 |
#: pages/func_backwpupeditjob.php:332
|
2092 |
#@ backwpup
|
2093 |
msgid "Create Container:"
|
2094 |
+
msgstr ""
|
2095 |
|
2096 |
#: pages/func_backwpupeditjob.php:310
|
2097 |
#@ backwpup
|
2098 |
msgid "Folder in Container:"
|
2099 |
+
msgstr ""
|
2100 |
|
2101 |
#: pages/func_backwpupeditjob.php:312
|
2102 |
#: pages/func_backwpupeditjob.php:335
|
2103 |
#@ backwpup
|
2104 |
msgid "Max. backup files in container folder:"
|
2105 |
+
msgstr ""
|
2106 |
|
2107 |
#: pages/func_backwpupeditjob.php:316
|
2108 |
#: pages/func_backwpupeditjob.php:339
|
2109 |
#@ backwpup
|
2110 |
msgid "Find Key"
|
2111 |
+
msgstr ""
|
2112 |
|
2113 |
#: pages/func_backwpupeditjob.php:327
|
2114 |
#@ backwpup
|
2115 |
msgid "API Key:"
|
2116 |
+
msgstr ""
|
2117 |
|
2118 |
#: pages/func_backwpupeditjob.php:333
|
2119 |
#@ backwpup
|
2120 |
msgid "Folder in container:"
|
2121 |
+
msgstr ""
|
2122 |
|
2123 |
#: pages/func_backwpupeditjob.php:349
|
2124 |
+
#: pages/func_backwpupeditjob.php:385
|
2125 |
#@ backwpup
|
2126 |
msgid "Login:"
|
2127 |
msgstr "登陆:"
|
2137 |
msgstr "点击绑定"
|
2138 |
|
2139 |
#: pages/func_backwpupeditjob.php:353
|
2140 |
+
#: pages/func_backwpupeditjob.php:386
|
2141 |
#@ backwpup
|
2142 |
msgid "Authenticated!"
|
2143 |
msgstr "已绑定"
|
2148 |
msgstr "删除"
|
2149 |
|
2150 |
#: pages/func_backwpupeditjob.php:355
|
2151 |
+
#: pages/func_backwpupeditjob.php:389
|
2152 |
#@ backwpup
|
2153 |
msgid "Root:"
|
2154 |
msgstr "根目录:"
|
2161 |
#: pages/func_backwpupeditjob.php:358
|
2162 |
#@ backwpup
|
2163 |
msgid "sandbox (disabled by DropBox)"
|
2164 |
+
msgstr ""
|
2165 |
|
2166 |
#: pages/func_backwpupeditjob.php:360
|
2167 |
+
#: pages/func_backwpupeditjob.php:413
|
2168 |
#@ backwpup
|
2169 |
msgid "Folder:"
|
2170 |
msgstr "文件夹:"
|
2172 |
#: pages/func_backwpupeditjob.php:362
|
2173 |
#@ backwpup
|
2174 |
msgid "Max. backup files in Dropbox folder:"
|
2175 |
+
msgstr "在 Dropbox 文件夹中最多存放的备份文件数:"
|
2176 |
|
2177 |
+
#: pages/func_backwpupeditjob.php:376
|
2178 |
+
#: pages/func_backwpupeditjob.php:429
|
2179 |
#@ backwpup
|
2180 |
msgid "E-mail address:"
|
2181 |
msgstr "电子邮箱地址:"
|
2182 |
|
2183 |
+
#: pages/func_backwpupeditjob.php:432
|
2184 |
#@ backwpup
|
2185 |
msgid "Max. File Size for sending Backups with mail:"
|
2186 |
msgstr "电子邮件可发送最大文件大小:"
|
2187 |
|
2188 |
+
#: pages/func_backwpupeditjob.php:490
|
2189 |
#@ backwpup
|
2190 |
msgid "Working as <a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a> job schedule:"
|
2191 |
msgstr "<a href=\"http://wikipedia.org/wiki/Cron\" target=\"_blank\">Cron</a> 计划任务:"
|
2192 |
|
2193 |
+
#: pages/func_backwpupeditjob.php:496
|
2194 |
#, php-format
|
2195 |
#@ backwpup
|
2196 |
msgid "ATTENTION: Job runs every %d mins.!!!"
|
2197 |
msgstr ""
|
2198 |
|
2199 |
+
#: pages/func_backwpupeditjob.php:506
|
|
|
|
|
|
|
|
|
|
|
|
|
2200 |
#@ backwpup
|
2201 |
msgid "ATTENTION: Can't calculate cron!!!"
|
2202 |
msgstr ""
|
2203 |
|
2204 |
+
#: pages/func_backwpupeditjob.php:508
|
2205 |
#@ backwpup
|
2206 |
msgid "Next runtime:"
|
2207 |
msgstr "下次执行时间:"
|
2208 |
|
2209 |
+
#: pages/func_backwpupeditjob.php:534
|
2210 |
+
#: pages/func_backwpupeditjob.php:599
|
2211 |
#@ backwpup
|
2212 |
msgid "Missing access key!"
|
2213 |
msgstr "Access Key 为空!"
|
2214 |
|
2215 |
+
#: pages/func_backwpupeditjob.php:541
|
2216 |
+
#: pages/func_backwpupeditjob.php:606
|
2217 |
#@ backwpup
|
2218 |
msgid "Missing secret access key!"
|
2219 |
msgstr "Secret Access Key 为空!"
|
2220 |
|
2221 |
+
#: pages/func_backwpupeditjob.php:667
|
2222 |
+
#: pages/func_backwpupeditjob.php:796
|
|
|
|
|
|
|
|
|
|
|
|
|
2223 |
#@ backwpup
|
2224 |
msgid "Missing Username!"
|
2225 |
msgstr "用户名为空!"
|
2226 |
|
2227 |
+
#: pages/func_backwpupeditjob.php:674
|
2228 |
#@ backwpup
|
2229 |
msgid "Missing API Key!"
|
2230 |
msgstr "API为空!"
|
2231 |
|
2232 |
+
#: pages/func_backwpupeditjob.php:695
|
2233 |
#@ backwpup
|
2234 |
msgid "No Containerss found!"
|
2235 |
+
msgstr ""
|
2236 |
|
2237 |
+
#: pages/func_backwpupeditjob.php:730
|
2238 |
#@ backwpup
|
2239 |
msgid "Missing Hostname!"
|
2240 |
msgstr "主机名为空!"
|
2241 |
|
2242 |
+
#: pages/func_backwpupeditjob.php:737
|
2243 |
#@ backwpup
|
2244 |
msgid "Missing Account Name!"
|
2245 |
msgstr "用户名为空!"
|
2246 |
|
2247 |
+
#: pages/func_backwpupeditjob.php:744
|
2248 |
#@ backwpup
|
2249 |
msgid "Missing Access Key!"
|
2250 |
msgstr "Access Key 为空!"
|
2251 |
|
2252 |
+
#: pages/func_backwpupeditjob.php:761
|
2253 |
#@ backwpup
|
2254 |
msgid "No Container found!"
|
2255 |
+
msgstr ""
|
2256 |
|
2257 |
+
#: pages/func_backwpupeditjob.php:803
|
2258 |
#@ backwpup
|
2259 |
msgid "Missing Password!"
|
2260 |
msgstr "密码为空!"
|
2261 |
|
2262 |
+
#: pages/func_backwpupeditjob.php:398
|
2263 |
+
#: pages/func_backwpupeditjob.php:823
|
2264 |
#@ backwpup
|
2265 |
msgid "No Syncfolders found!"
|
2266 |
msgstr ""
|
2267 |
|
2268 |
+
#: pages/page_backwpupeditjob.php:10
|
2269 |
#@ backwpup
|
2270 |
msgid "Job Type"
|
2271 |
msgstr "任务类型"
|
2272 |
|
2273 |
+
#: pages/page_backwpupeditjob.php:11
|
2274 |
#@ backwpup
|
2275 |
msgid "Job Schedule"
|
2276 |
msgstr "计划任务"
|
2277 |
|
2278 |
+
#: pages/page_backwpupeditjob.php:15
|
2279 |
#@ backwpup
|
2280 |
msgid "Backup to Folder"
|
2281 |
msgstr "备份到文件夹"
|
2282 |
|
2283 |
+
#: pages/page_backwpupeditjob.php:16
|
2284 |
#@ backwpup
|
2285 |
msgid "Backup to E-Mail"
|
2286 |
msgstr "电子邮件发送备份"
|
2287 |
|
2288 |
+
#: pages/page_backwpupeditjob.php:46
|
2289 |
#@ backwpup
|
2290 |
msgid "BackWPup Job Settings"
|
2291 |
msgstr "BackWPup 任务设置"
|
2292 |
|
2293 |
+
#: pages/page_backwpupeditjob.php:66
|
2294 |
+
#: pages/page_backwpupeditjob.php:92
|
2295 |
#@ backwpup
|
2296 |
msgid "Enter Job name here"
|
2297 |
msgstr ""
|
2298 |
|
2299 |
+
#: pages/page_backwpupeditjob.php:98
|
2300 |
#@ backwpup
|
2301 |
msgid "Database Jobs"
|
2302 |
msgstr "数据库任务"
|
2303 |
|
2304 |
+
#: pages/page_backwpupeditjob.php:101
|
2305 |
#@ backwpup
|
2306 |
msgid "Database tables to use:"
|
2307 |
msgstr "需要备份的数据库表:"
|
2308 |
|
2309 |
+
#: pages/page_backwpupeditjob.php:111
|
2310 |
#@ backwpup
|
2311 |
msgid "Use short INSERTs instead of full (with keys)"
|
2312 |
+
msgstr "使用较短的 INSERTs 语句而不是带 keys 的完整语句"
|
2313 |
|
2314 |
+
#: pages/page_backwpupeditjob.php:112
|
2315 |
#@ backwpup
|
2316 |
msgid "Set Blog Maintenance Mode on Database Operations"
|
2317 |
+
msgstr "当进行数据库操作时博客设置为维护模式"
|
2318 |
|
2319 |
+
#: backwpup-functions.php:293
|
2320 |
+
#: pages/page_backwpupeditjob.php:117
|
2321 |
#@ backwpup
|
2322 |
msgid "File Backup"
|
2323 |
msgstr "文件备份"
|
2324 |
|
2325 |
+
#: pages/page_backwpupeditjob.php:119
|
2326 |
#@ backwpup
|
2327 |
msgid "Blog Folders to Backup:"
|
2328 |
msgstr "需要备份的文件夹:"
|
2329 |
|
2330 |
+
#: pages/page_backwpupeditjob.php:122
|
2331 |
#@ backwpup
|
2332 |
msgid "root"
|
2333 |
msgstr "根目录"
|
2334 |
|
2335 |
+
#: pages/page_backwpupeditjob.php:125
|
2336 |
+
#: pages/page_backwpupeditjob.php:141
|
2337 |
+
#: pages/page_backwpupeditjob.php:157
|
2338 |
+
#: pages/page_backwpupeditjob.php:173
|
2339 |
+
#: pages/page_backwpupeditjob.php:189
|
2340 |
#@ backwpup
|
2341 |
msgid "Exclude:"
|
2342 |
msgstr "不包括:"
|
2343 |
|
2344 |
+
#: pages/page_backwpupeditjob.php:138
|
2345 |
#@ backwpup
|
2346 |
msgid "Content"
|
2347 |
msgstr ""
|
2348 |
|
2349 |
+
#: pages/page_backwpupeditjob.php:154
|
2350 |
#@ backwpup
|
2351 |
msgid "Plugins"
|
2352 |
msgstr "插件"
|
2353 |
|
2354 |
+
#: pages/page_backwpupeditjob.php:170
|
2355 |
#@ backwpup
|
2356 |
msgid "Themes"
|
2357 |
msgstr "主题"
|
2358 |
|
2359 |
+
#: pages/page_backwpupeditjob.php:186
|
2360 |
#@ backwpup
|
2361 |
msgid "Blog Uploads"
|
2362 |
msgstr "上传文件"
|
2363 |
|
2364 |
+
#: pages/page_backwpupeditjob.php:203
|
2365 |
#@ backwpup
|
2366 |
msgid "Include Folders to Backup:"
|
2367 |
msgstr "备份包括的文件夹:"
|
2368 |
|
2369 |
+
#: pages/page_backwpupeditjob.php:204
|
2370 |
+
#: pages/page_backwpupeditjob.php:208
|
2371 |
#@ backwpup
|
2372 |
msgid "Example:"
|
2373 |
msgstr "例子:"
|
2374 |
|
2375 |
+
#: pages/page_backwpupeditjob.php:207
|
2376 |
#@ backwpup
|
2377 |
msgid "Exclude Files/Folders from Backup:"
|
2378 |
msgstr "备份不包括的文件或文件夹:"
|
2380 |
#: pages/header_backwpupeditjob.php:22
|
2381 |
#@ backwpup
|
2382 |
msgid "Dropbox authentication complete!"
|
2383 |
+
msgstr "Dropbox 绑定成功!"
|
2384 |
|
2385 |
#: pages/header_backwpupeditjob.php:24
|
2386 |
#@ backwpup
|
2387 |
msgid "Wrong Token for Dropbox authentication received!"
|
2388 |
+
msgstr "Dropbox 绑定返回了错误的 Token"
|
2389 |
|
2390 |
#: pages/header_backwpupeditjob.php:27
|
2391 |
#@ backwpup
|
2392 |
msgid "No Dropbox authentication received!"
|
2393 |
+
msgstr "Dropbox 绑定返回为空"
|
2394 |
|
2395 |
+
#: pages/header_backwpupeditjob.php:222
|
2396 |
#@ backwpup
|
2397 |
msgid "Dropbox authentication deleted!"
|
2398 |
+
msgstr "Dropbox 绑定已删除!"
|
2399 |
|
2400 |
+
#: pages/header_backwpupeditjob.php:286
|
2401 |
#, php-format
|
2402 |
#@ backwpup
|
2403 |
msgid "Job '%1' changes saved."
|
2404 |
msgstr "任务 %1 设置已保存"
|
2405 |
|
2406 |
+
#: pages/header_backwpupeditjob.php:286
|
2407 |
#@ backwpup
|
2408 |
msgid "Jobs overview."
|
2409 |
msgstr "任务总览"
|
2410 |
|
2411 |
+
#: pages/page_backwpupeditjob.php:13
|
2412 |
#@ backwpup
|
2413 |
msgid "Backup File"
|
2414 |
msgstr "备份文件"
|
2415 |
|
2416 |
+
#: pages/page_backwpupeditjob.php:14
|
2417 |
#@ backwpup
|
2418 |
msgid "Send log"
|
2419 |
msgstr "发送日志"
|
2420 |
|
2421 |
+
#: pages/page_backwpupeditjob.php:18
|
2422 |
#@ backwpup
|
2423 |
msgid "Backup to FTP Server"
|
2424 |
+
msgstr "备份到 FTP"
|
2425 |
|
2426 |
+
#: pages/page_backwpupeditjob.php:20
|
2427 |
#@ backwpup
|
2428 |
msgid "Backup to Dropbox"
|
2429 |
+
msgstr "备份到 Dropbox"
|
2430 |
|
2431 |
+
#: pages/page_backwpupeditjob.php:22
|
2432 |
#@ backwpup
|
2433 |
msgid "Backup to SugarSync"
|
2434 |
+
msgstr "备份到 SugarSync"
|
2435 |
|
2436 |
+
#: pages/page_backwpupeditjob.php:24
|
2437 |
#@ backwpup
|
2438 |
msgid "Backup to Amazon S3"
|
2439 |
+
msgstr "备份到 Amazon S3"
|
2440 |
|
2441 |
+
#: pages/page_backwpupeditjob.php:26
|
2442 |
#@ backwpup
|
2443 |
msgid "Backup to Google storage"
|
2444 |
+
msgstr "备份到 Google storage"
|
2445 |
|
2446 |
+
#: pages/page_backwpupeditjob.php:28
|
2447 |
#@ backwpup
|
2448 |
msgid "Backup to Micosoft Azure (Blob)"
|
2449 |
+
msgstr "备份到 Micosoft Azure (Blob)"
|
2450 |
|
2451 |
+
#: pages/page_backwpupeditjob.php:30
|
2452 |
#@ backwpup
|
2453 |
msgid "Backup to Rackspace Cloud"
|
2454 |
+
msgstr "备份到 Rackspace Cloud"
|
2455 |
|
2456 |
#: pages/func_backwpupbackups.php:125
|
2457 |
#@ backwpup
|
2493 |
|
2494 |
#. translators: plugin header field 'Name'
|
2495 |
#: backwpup-functions.php:4
|
2496 |
+
#: backwpup-functions.php:233
|
2497 |
+
#: backwpup-functions.php:458
|
2498 |
#: backwpup.php:0
|
2499 |
#@ backwpup
|
|
|
2500 |
msgid "BackWPup"
|
2501 |
msgstr ""
|
2502 |
|
2506 |
msgstr "进行中的任务"
|
2507 |
|
2508 |
#: backwpup-functions.php:13
|
2509 |
+
#: backwpup-functions.php:463
|
2510 |
#@ backwpup
|
2511 |
msgid "Backups"
|
2512 |
msgstr "备份文件管理"
|
2517 |
msgstr "工具"
|
2518 |
|
2519 |
#: backwpup-functions.php:17
|
2520 |
+
#: backwpup-functions.php:214
|
2521 |
#@ backwpup
|
2522 |
msgid "Settings"
|
2523 |
msgstr "设置"
|
2524 |
|
2525 |
+
#: backwpup-functions.php:99
|
2526 |
+
#: backwpup-functions.php:110
|
|
|
|
|
2527 |
#@ backwpup
|
2528 |
msgid "For more information:"
|
2529 |
+
msgstr ""
|
2530 |
|
2531 |
+
#: backwpup-functions.php:226
|
2532 |
#@ backwpup
|
2533 |
msgid "Support"
|
2534 |
msgstr "支持"
|
2535 |
|
2536 |
+
#: backwpup-functions.php:102
|
2537 |
+
#: backwpup-functions.php:113
|
2538 |
+
#: backwpup-functions.php:225
|
|
|
|
|
2539 |
#@ backwpup
|
2540 |
msgid "FAQ"
|
2541 |
msgstr ""
|
2542 |
|
2543 |
+
#: backwpup-functions.php:91
|
2544 |
+
#: backwpup-functions.php:109
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2545 |
#@ backwpup
|
2546 |
msgid "BackWPup comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions."
|
2547 |
+
msgstr ""
|
2548 |
|
2549 |
+
#: backwpup-functions.php:214
|
2550 |
#@ backwpup
|
2551 |
msgid "Go to Settings Page"
|
2552 |
msgstr "前去设置"
|
2553 |
|
2554 |
+
#: backwpup-functions.php:290
|
2555 |
#@ backwpup
|
2556 |
msgid "WP XML Export"
|
2557 |
msgstr "WP XML 导出"
|
2558 |
|
2559 |
+
#: backwpup-functions.php:296
|
2560 |
#@ backwpup
|
2561 |
msgid "Database Backup"
|
2562 |
msgstr "数据库备份"
|
2563 |
|
2564 |
+
#: backwpup-functions.php:299
|
2565 |
#@ backwpup
|
2566 |
msgid "Optimize Database Tables"
|
2567 |
msgstr "优化数据库表"
|
2568 |
|
2569 |
+
#: backwpup-functions.php:302
|
2570 |
#@ backwpup
|
2571 |
msgid "Check Database Tables"
|
2572 |
msgstr "检查数据库表"
|
2573 |
|
2574 |
+
#: backwpup-functions.php:367
|
2575 |
#@ backwpup
|
2576 |
msgid "View Log:"
|
2577 |
msgstr "查看日志:"
|
2578 |
|
2579 |
+
#: backwpup-functions.php:399
|
2580 |
#@ backwpup
|
2581 |
msgid "How many of the lastes logs would you like to display?"
|
2582 |
msgstr ""
|
2583 |
|
2584 |
+
#: backwpup-functions.php:425
|
2585 |
#, php-format
|
2586 |
#@ backwpup
|
2587 |
msgid "working since %d sec."
|
2588 |
msgstr ""
|
2589 |
|
2590 |
+
#: backwpup-functions.php:432
|
2591 |
#@ backwpup
|
2592 |
msgid "Edit Job"
|
2593 |
+
msgstr "编辑任务"
|
|
|
|
|
|
|
|
|
|
|
2594 |
|
2595 |
+
#: backwpup-functions.php:460
|
2596 |
#@ backwpup
|
2597 |
msgid "See Working!"
|
2598 |
msgstr "查看过程"
|
2599 |
|
2600 |
+
#: backwpup-functions.php:464
|
2601 |
#@ backwpup
|
2602 |
msgid "BackWPup Job"
|
2603 |
msgstr ""
|
2604 |
|
2605 |
+
#: backwpup-functions.php:683
|
2606 |
#@ backwpup
|
2607 |
msgid "- PHP 5.2.4 or higher is needed!"
|
2608 |
msgstr "- 需要 PHP 5.2.4 或更高版本!"
|
2609 |
|
2610 |
+
#: backwpup-functions.php:715
|
2611 |
#@ backwpup
|
2612 |
msgid "- WP-Cron isn't working, please check it!"
|
2613 |
msgstr ""
|
2614 |
|
2615 |
#. translators: plugin header field 'PluginURI'
|
|
|
|
|
|
|
2616 |
#: backwpup.php:0
|
2617 |
#@ backwpup
|
2618 |
msgid "http://backwpup.com"
|
2630 |
msgid "http://danielhuesken.de"
|
2631 |
msgstr ""
|
2632 |
|
2633 |
+
#: backwpup-functions.php:679
|
2634 |
#, php-format
|
2635 |
#@ backwpup
|
2636 |
msgid "- WordPress %d or higher is needed!"
|
2637 |
msgstr "- 需要 WordPress %d 或更高版本!"
|
2638 |
|
2639 |
+
#: backwpup-functions.php:699
|
2640 |
#, php-format
|
2641 |
#@ backwpup
|
2642 |
msgid "- Log folder '%s' does not exists!"
|
2643 |
msgstr ""
|
2644 |
|
2645 |
+
#: backwpup-functions.php:702
|
2646 |
#, php-format
|
2647 |
#@ backwpup
|
2648 |
msgid "- Log folder '%s' is not writeable!"
|
2649 |
msgstr ""
|
2650 |
|
2651 |
+
#: backwpup-functions.php:705
|
2652 |
#, php-format
|
2653 |
#@ backwpup
|
2654 |
msgid "- Log folder '%s' is not in open_basedir path!"
|
2655 |
msgstr ""
|
2656 |
|
2657 |
+
#: backwpup-functions.php:708
|
2658 |
#, php-format
|
2659 |
#@ backwpup
|
2660 |
msgid "- WP_CONTENT_URL '%s' must set as a full URL!"
|
2661 |
msgstr ""
|
2662 |
|
2663 |
+
#: backwpup-functions.php:711
|
2664 |
#, php-format
|
2665 |
#@ backwpup
|
2666 |
msgid "- WP_PLUGIN_URL '%s' must set as a full URL!"
|
2667 |
msgstr ""
|
2668 |
|
2669 |
+
#: backwpup-functions.php:771
|
2670 |
#@ backwpup
|
2671 |
msgid "New"
|
2672 |
msgstr "新建的任务"
|
2677 |
msgid "WordPress Backup and more..."
|
2678 |
msgstr ""
|
2679 |
|
2680 |
+
#: job/job_functions.php:498
|
2681 |
#, php-format
|
2682 |
#@ backwpup
|
2683 |
msgid "Signal %d send to script!"
|
2684 |
msgstr ""
|
2685 |
|
2686 |
+
#: job/job_functions.php:518
|
2687 |
#@ backwpup
|
2688 |
msgid "Can not restart on alternate cron...."
|
2689 |
msgstr ""
|
2718 |
msgid "United States GovCloud FIPS 140-2"
|
2719 |
msgstr ""
|
2720 |
|
2721 |
+
#: backwpup-functions.php:89
|
|
|
2722 |
#@ backwpup
|
2723 |
msgid "Plugin Info"
|
2724 |
msgstr ""
|
2725 |
|
2726 |
+
#: backwpup-functions.php:95
|
2727 |
#@ backwpup
|
2728 |
msgid "Overview"
|
2729 |
msgstr ""
|
2730 |
|
2731 |
+
#: backwpup-functions.php:103
|
2732 |
+
#: backwpup-functions.php:114
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2733 |
#@ backwpup
|
2734 |
msgid "Support Forums"
|
2735 |
msgstr ""
|
2736 |
|
2737 |
+
#: backwpup-functions.php:104
|
2738 |
#: backwpup-functions.php:115
|
|
|
|
|
|
|
2739 |
#@ backwpup
|
2740 |
msgid "Google+"
|
2741 |
msgstr ""
|
2742 |
|
2743 |
+
#: backwpup-functions.php:690
|
2744 |
#, php-format
|
2745 |
#@ backwpup
|
2746 |
msgid "- Temp folder '%s' does not exists!"
|
2747 |
msgstr ""
|
2748 |
|
2749 |
+
#: backwpup-functions.php:693
|
2750 |
#, php-format
|
2751 |
#@ backwpup
|
2752 |
msgid "- Temp folder '%s' is not writeable!"
|
2753 |
msgstr ""
|
2754 |
|
2755 |
+
#: job/job_run.php:119
|
2756 |
+
#@ backwpup
|
2757 |
+
msgid "[INFO]: BackWPup job started by cron"
|
2758 |
+
msgstr ""
|
2759 |
+
|
2760 |
+
#: job/job_run.php:121
|
2761 |
+
#@ backwpup
|
2762 |
+
msgid "[INFO]: BackWPup job started manualy"
|
2763 |
+
msgstr ""
|
2764 |
+
|
2765 |
+
#: backwpup-functions.php:91
|
2766 |
+
#: job/job_run.php:113
|
2767 |
+
#@ backwpup
|
2768 |
+
msgid "Author:"
|
2769 |
+
msgstr ""
|
2770 |
+
|
2771 |
+
#: backwpup-functions.php:448
|
2772 |
+
#@ backwpup
|
2773 |
+
msgid "BackWPup Active Jobs"
|
2774 |
+
msgstr ""
|
2775 |
+
|
2776 |
#. translators: plugin header field 'Version'
|
2777 |
#: backwpup.php:0
|
2778 |
#@ backwpup
|
2779 |
+
msgid "2.1.16"
|
2780 |
msgstr ""
|
2781 |
|
2782 |
+
#: job/backup_create.php:89
|
2783 |
#@ backwpup
|
2784 |
+
msgid "Can not create tar archive file!"
|
2785 |
msgstr ""
|
2786 |
|
2787 |
+
#: job/dest_ftp.php:71
|
2788 |
+
#, php-format
|
2789 |
#@ backwpup
|
2790 |
+
msgid "FTP folder \"%s\" created!"
|
2791 |
+
msgstr ""
|
2792 |
+
|
2793 |
+
#: job/dest_ftp.php:74
|
2794 |
+
#, php-format
|
2795 |
+
#@ backwpup
|
2796 |
+
msgid "FTP folder \"%s\" can not created!"
|
2797 |
+
msgstr ""
|
2798 |
+
|
2799 |
+
#: job/dest_ftp.php:83
|
2800 |
+
#, php-format
|
2801 |
+
#@ backwpup
|
2802 |
+
msgid "FTP current folder is: %s"
|
2803 |
+
msgstr ""
|
2804 |
+
|
2805 |
+
#: job/job_run.php:72
|
2806 |
+
#@ backwpup
|
2807 |
+
msgid "Job restart terminated, because old job runs again!"
|
2808 |
+
msgstr ""
|
2809 |
+
|
2810 |
+
#: job/job_run.php:75
|
2811 |
+
#@ backwpup
|
2812 |
+
msgid "Job restarted, because inactivity!"
|
2813 |
+
msgstr ""
|
2814 |
+
|
2815 |
+
#: job/job_run.php:77
|
2816 |
+
#, php-format
|
2817 |
+
#@ backwpup
|
2818 |
+
msgid "Second Process is running, because old job runs! Start type is %s"
|
2819 |
+
msgstr ""
|
2820 |
+
|
2821 |
+
#: job/job_run.php:113
|
2822 |
+
#, php-format
|
2823 |
+
#@ backwpup
|
2824 |
+
msgid "[INFO]: BackWPup version %1$s; WordPress version %4$s; Copyright © %2$s %3$s"
|
2825 |
+
msgstr ""
|
2826 |
+
|
2827 |
+
#: pages/func_backwpupeditjob.php:243
|
2828 |
+
#@ backwpup
|
2829 |
+
msgid "Use FTP Passive mode."
|
2830 |
+
msgstr "使用 FTP 被动模式"
|
2831 |
+
|
2832 |
+
#: pages/func_backwpupeditjob.php:381
|
2833 |
+
#: pages/header_backwpupeditjob.php:225
|
2834 |
+
#@ backwpup
|
2835 |
+
msgid "Sugarsync authenticate!"
|
2836 |
+
msgstr ""
|
2837 |
+
|
2838 |
+
#: pages/func_backwpupeditjob.php:382
|
2839 |
+
#: pages/header_backwpupeditjob.php:243
|
2840 |
+
#@ backwpup
|
2841 |
+
msgid "Create Sugarsync Account"
|
2842 |
+
msgstr ""
|
2843 |
+
|
2844 |
+
#: pages/func_backwpupeditjob.php:387
|
2845 |
+
#: pages/header_backwpupeditjob.php:239
|
2846 |
+
#@ backwpup
|
2847 |
+
msgid "Delete Sugarsync authentication!"
|
2848 |
+
msgstr ""
|
2849 |
+
|
2850 |
+
#: pages/func_backwpupeditjob.php:502
|
2851 |
+
#, php-format
|
2852 |
+
#@ backwpup
|
2853 |
+
msgid "ATTENTION: Job runs every %d hours.!!!"
|
2854 |
+
msgstr ""
|
2855 |
+
|
2856 |
+
#: pages/func_backwpupeditjob.php:565
|
2857 |
+
#: pages/func_backwpupeditjob.php:632
|
2858 |
+
#@ backwpup
|
2859 |
+
msgid "No bucket found!"
|
2860 |
+
msgstr ""
|
2861 |
+
|
2862 |
+
#: pages/header_backwpupeditjob.php:233
|
2863 |
+
#@ backwpup
|
2864 |
+
msgid "SugarSync authentication complete!"
|
2865 |
+
msgstr ""
|
2866 |
+
|
2867 |
+
#: pages/header_backwpupeditjob.php:241
|
2868 |
+
#@ backwpup
|
2869 |
+
msgid "SugarSync authentication deleted!"
|
2870 |
+
msgstr ""
|
2871 |
+
|
2872 |
+
#: pages/header_backwpupeditjob.php:249
|
2873 |
+
#@ backwpup
|
2874 |
+
msgid "SugarSync account created!"
|
2875 |
msgstr ""
|
2876 |
|
libs/aws/README.md
CHANGED
@@ -18,20 +18,29 @@ For more information about the AWS SDK for PHP, including a complete list of sup
|
|
18 |
[aws.amazon.com/sdkforphp](http://aws.amazon.com/sdkforphp).
|
19 |
|
20 |
|
21 |
-
##
|
|
|
|
|
22 |
|
23 |
-
|
|
|
24 |
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
*
|
33 |
-
|
34 |
-
|
|
|
35 |
|
36 |
|
37 |
## Source
|
18 |
[aws.amazon.com/sdkforphp](http://aws.amazon.com/sdkforphp).
|
19 |
|
20 |
|
21 |
+
## Staying up-to-date!
|
22 |
+
We tend to release new updates very frequently. In order to keep up with the newest features and the latest bug fixes,
|
23 |
+
we encourage you to subscribe to our release announcements, and to keep your code current.
|
24 |
|
25 |
+
### Release announcements
|
26 |
+
You can subscribe to release announcements via:
|
27 |
|
28 |
+
* [RSS feed](http://pear.amazonwebservices.com/feed.xml)
|
29 |
+
* [Twitter](https://twitter.com/awssdkforphp)
|
30 |
+
* [Facebook](https://www.facebook.com/pages/AWS-SDK-for-PHP/276240099155588)
|
31 |
+
* [Mobile notifications](http://ifttt.com/recipes/52404)
|
32 |
+
* [SMS notifications](http://ifttt.com/recipes/52409)
|
33 |
+
* [Email notifications](http://ifttt.com/recipes/52408)
|
34 |
|
35 |
+
Only the RSS feed is supported by AWS. The other channels are bots created/managed by third-parties.
|
36 |
+
|
37 |
+
### Getting the latest versions
|
38 |
+
You can get the latest version of the SDK via:
|
39 |
+
|
40 |
+
* [Composer/Packagist](http://packagist.org/packages/amazonwebservices/aws-sdk-for-php)
|
41 |
+
* [PEAR channel](http://pear.amazonwebservices.com)
|
42 |
+
* [GitHub](http://github.com/amazonwebservices/aws-sdk-for-php)
|
43 |
+
* [Zip file](http://aws.amazon.com/sdkforphp/)
|
44 |
|
45 |
|
46 |
## Source
|
libs/aws/authentication/signature_v4json.class.php
CHANGED
@@ -155,12 +155,11 @@ class AuthV4JSON extends Signer implements Signable
|
|
155 |
// Add headers to request and compute the string to sign
|
156 |
foreach ($this->headers as $header_key => $header_value)
|
157 |
{
|
158 |
-
// Strip
|
159 |
-
$header_value =
|
160 |
|
161 |
$request->add_header($header_key, $header_value);
|
162 |
$this->canonical_headers[] = strtolower($header_key) . ':' . $header_value;
|
163 |
-
|
164 |
$this->signed_headers[] = strtolower($header_key);
|
165 |
}
|
166 |
|
155 |
// Add headers to request and compute the string to sign
|
156 |
foreach ($this->headers as $header_key => $header_value)
|
157 |
{
|
158 |
+
// Strip line breaks and remove consecutive spaces. Services collapse whitespace in signature calculation
|
159 |
+
$header_value = preg_replace('/\s+/', ' ', trim($header_value));
|
160 |
|
161 |
$request->add_header($header_key, $header_value);
|
162 |
$this->canonical_headers[] = strtolower($header_key) . ':' . $header_value;
|
|
|
163 |
$this->signed_headers[] = strtolower($header_key);
|
164 |
}
|
165 |
|
libs/aws/authentication/signature_v4query.class.php
CHANGED
@@ -149,12 +149,11 @@ class AuthV4Query extends Signer implements Signable
|
|
149 |
// Add headers to request and compute the string to sign
|
150 |
foreach ($this->headers as $header_key => $header_value)
|
151 |
{
|
152 |
-
// Strip
|
153 |
-
$header_value =
|
154 |
|
155 |
$request->add_header($header_key, $header_value);
|
156 |
$this->canonical_headers[] = strtolower($header_key) . ':' . $header_value;
|
157 |
-
|
158 |
$this->signed_headers[] = strtolower($header_key);
|
159 |
}
|
160 |
|
149 |
// Add headers to request and compute the string to sign
|
150 |
foreach ($this->headers as $header_key => $header_value)
|
151 |
{
|
152 |
+
// Strip line breaks and remove consecutive spaces. Services collapse whitespace in signature calculation
|
153 |
+
$header_value = preg_replace('/\s+/', ' ', trim($header_value));
|
154 |
|
155 |
$request->add_header($header_key, $header_value);
|
156 |
$this->canonical_headers[] = strtolower($header_key) . ':' . $header_value;
|
|
|
157 |
$this->signed_headers[] = strtolower($header_key);
|
158 |
}
|
159 |
|
libs/aws/extensions/dynamodbsessionhandler.class.php
CHANGED
@@ -298,7 +298,8 @@ class DynamoDBSessionHandler
|
|
298 |
{
|
299 |
foreach ($response->body->{$node_name}->children() as $key => $value)
|
300 |
{
|
301 |
-
$
|
|
|
302 |
}
|
303 |
}
|
304 |
|
298 |
{
|
299 |
foreach ($response->body->{$node_name}->children() as $key => $value)
|
300 |
{
|
301 |
+
$type = $value->children()->getName();
|
302 |
+
$item[$key] = $value->{$type}->to_string();
|
303 |
}
|
304 |
}
|
305 |
|
libs/aws/lib/requestcore/requestcore.class.php
CHANGED
@@ -156,6 +156,11 @@ class RequestCore
|
|
156 |
*/
|
157 |
public $registered_streaming_write_callback = null;
|
158 |
|
|
|
|
|
|
|
|
|
|
|
159 |
|
160 |
/*%******************************************************************************************%*/
|
161 |
// CONSTANTS
|
@@ -205,6 +210,12 @@ class RequestCore
|
|
205 |
$this->request_headers = array();
|
206 |
$this->request_body = '';
|
207 |
|
|
|
|
|
|
|
|
|
|
|
|
|
208 |
// Set a new Request class if one was set.
|
209 |
if (isset($helpers['request']) && !empty($helpers['request']))
|
210 |
{
|
@@ -819,7 +830,10 @@ class RequestCore
|
|
819 |
*/
|
820 |
public function send_request($parse = false)
|
821 |
{
|
822 |
-
|
|
|
|
|
|
|
823 |
|
824 |
$curl_handle = $this->prep_request();
|
825 |
$this->response = curl_exec($curl_handle);
|
@@ -852,7 +866,10 @@ class RequestCore
|
|
852 |
*/
|
853 |
public function send_multi_request($handles, $opt = null)
|
854 |
{
|
855 |
-
|
|
|
|
|
|
|
856 |
|
857 |
// Skip everything if there are no handles to process.
|
858 |
if (count($handles) === 0) return array();
|
156 |
*/
|
157 |
public $registered_streaming_write_callback = null;
|
158 |
|
159 |
+
/**
|
160 |
+
* Whether or not the set_time_limit function should be called.
|
161 |
+
*/
|
162 |
+
public $allow_set_time_limit = true;
|
163 |
+
|
164 |
|
165 |
/*%******************************************************************************************%*/
|
166 |
// CONSTANTS
|
210 |
$this->request_headers = array();
|
211 |
$this->request_body = '';
|
212 |
|
213 |
+
// Determine if set_time_limit can be called
|
214 |
+
if (strpos(ini_get('disable_functions'), 'set_time_limit') !== false)
|
215 |
+
{
|
216 |
+
$this->allow_set_time_limit = false;
|
217 |
+
}
|
218 |
+
|
219 |
// Set a new Request class if one was set.
|
220 |
if (isset($helpers['request']) && !empty($helpers['request']))
|
221 |
{
|
830 |
*/
|
831 |
public function send_request($parse = false)
|
832 |
{
|
833 |
+
if ($this->allow_set_time_limit)
|
834 |
+
{
|
835 |
+
set_time_limit(0);
|
836 |
+
}
|
837 |
|
838 |
$curl_handle = $this->prep_request();
|
839 |
$this->response = curl_exec($curl_handle);
|
866 |
*/
|
867 |
public function send_multi_request($handles, $opt = null)
|
868 |
{
|
869 |
+
if ($this->allow_set_time_limit)
|
870 |
+
{
|
871 |
+
set_time_limit(0);
|
872 |
+
}
|
873 |
|
874 |
// Skip everything if there are no handles to process.
|
875 |
if (count($handles) === 0) return array();
|
libs/aws/sdk.class.php
CHANGED
@@ -115,8 +115,8 @@ function __aws_sdk_ua_callback()
|
|
115 |
// INTERMEDIARY CONSTANTS
|
116 |
|
117 |
define('CFRUNTIME_NAME', 'aws-sdk-php');
|
118 |
-
define('CFRUNTIME_VERSION', '
|
119 |
-
define('CFRUNTIME_BUILD', '
|
120 |
define('CFRUNTIME_USERAGENT', CFRUNTIME_NAME . '/' . CFRUNTIME_VERSION . ' PHP/' . PHP_VERSION . ' ' . str_replace(' ', '_', php_uname('s')) . '/' . str_replace(' ', '_', php_uname('r')) . ' Arch/' . php_uname('m') . ' SAPI/' . php_sapi_name() . ' Integer/' . PHP_INT_MAX . ' Build/' . CFRUNTIME_BUILD . __aws_sdk_ua_callback());
|
121 |
|
122 |
|
@@ -1525,7 +1525,16 @@ else
|
|
1525 |
}
|
1526 |
else
|
1527 |
{
|
1528 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1529 |
}
|
1530 |
|
1531 |
if (!$_ENV['HOME'])
|
@@ -1549,8 +1558,11 @@ else
|
|
1549 |
}
|
1550 |
}
|
1551 |
|
1552 |
-
|
|
|
1553 |
{
|
1554 |
-
include_once
|
1555 |
}
|
|
|
|
|
1556 |
}
|
115 |
// INTERMEDIARY CONSTANTS
|
116 |
|
117 |
define('CFRUNTIME_NAME', 'aws-sdk-php');
|
118 |
+
define('CFRUNTIME_VERSION', 'Panther');
|
119 |
+
define('CFRUNTIME_BUILD', '20120926163000');
|
120 |
define('CFRUNTIME_USERAGENT', CFRUNTIME_NAME . '/' . CFRUNTIME_VERSION . ' PHP/' . PHP_VERSION . ' ' . str_replace(' ', '_', php_uname('s')) . '/' . str_replace(' ', '_', php_uname('r')) . ' Arch/' . php_uname('m') . ' SAPI/' . php_sapi_name() . ' Integer/' . PHP_INT_MAX . ' Build/' . CFRUNTIME_BUILD . __aws_sdk_ua_callback());
|
121 |
|
122 |
|
1525 |
}
|
1526 |
else
|
1527 |
{
|
1528 |
+
$dir = exec('(cd ~ && pwd) 2>&1', $out, $exit);
|
1529 |
+
if ($exit === 0)
|
1530 |
+
{
|
1531 |
+
$_ENV['HOME'] = trim($dir);
|
1532 |
+
}
|
1533 |
+
else
|
1534 |
+
{
|
1535 |
+
error_log('Failed to determine HOME directory after trying "' . $dir . '" (exit code ' . $exit . ')');
|
1536 |
+
$_ENV['HOME'] = false;
|
1537 |
+
}
|
1538 |
}
|
1539 |
|
1540 |
if (!$_ENV['HOME'])
|
1558 |
}
|
1559 |
}
|
1560 |
|
1561 |
+
$path = DIRECTORY_SEPARATOR . '.aws' . DIRECTORY_SEPARATOR . 'sdk' . DIRECTORY_SEPARATOR . 'config.inc.php';
|
1562 |
+
if (isset($_ENV['HOME']) && file_exists($_ENV['HOME'] . $path))
|
1563 |
{
|
1564 |
+
include_once $_ENV['HOME'] . $path;
|
1565 |
}
|
1566 |
+
|
1567 |
+
unset($os, $dir, $out, $exit, $path);
|
1568 |
}
|
libs/aws/services/as.class.php
CHANGED
@@ -15,15 +15,16 @@
|
|
15 |
*/
|
16 |
|
17 |
/**
|
18 |
-
* This
|
19 |
-
*
|
20 |
-
*
|
21 |
* "http://docs.amazonwebservices.com/AutoScaling/latest/DeveloperGuide/">Auto Scaling Developer
|
22 |
* Guide</a>.
|
23 |
*
|
24 |
-
* Auto Scaling is a web service designed to automatically launch or terminate
|
25 |
-
* on user-defined policies, schedules, and health
|
26 |
-
* with Amazon CloudWatch and Elastic Load Balancing
|
|
|
27 |
*
|
28 |
* This reference is based on the current WSDL, which is available at:
|
29 |
*
|
@@ -36,7 +37,7 @@
|
|
36 |
* "http://docs.amazonwebservices.com/general/latest/gr/index.html?rande.html">Regions and
|
37 |
* Endpoints</a> in the Amazon Web Services General Reference.
|
38 |
*
|
39 |
-
* @version 2012.
|
40 |
* @license See the included NOTICE.md file for complete information.
|
41 |
* @copyright See the included NOTICE.md file for complete information.
|
42 |
* @link http://aws.amazon.com/as/ Auto Scaling
|
@@ -170,8 +171,8 @@ class AmazonAS extends CFRuntime
|
|
170 |
// SERVICE METHODS
|
171 |
|
172 |
/**
|
173 |
-
* Creates a new Auto Scaling group with the specified name. When the
|
174 |
-
* completed, the Auto Scaling group is ready to be used in other calls.
|
175 |
*
|
176 |
* <p class="note">
|
177 |
* The Auto Scaling group name must be unique within the scope of your AWS account, and under the
|
@@ -182,22 +183,23 @@ class AmazonAS extends CFRuntime
|
|
182 |
* @param string $launch_configuration_name (Required) The name of the launch configuration to use with the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
183 |
* @param integer $min_size (Required) The minimum size of the Auto Scaling group.
|
184 |
* @param integer $max_size (Required) The maximum size of the Auto Scaling group.
|
185 |
-
* @param string|array $availability_zones (Required) A list of
|
186 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
187 |
* <li><code>DesiredCapacity</code> - <code>integer</code> - Optional - The number of Amazon EC2 instances that should be running in the group.</li>
|
188 |
* <li><code>DefaultCooldown</code> - <code>integer</code> - Optional - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.</li>
|
189 |
-
* <li><code>LoadBalancerNames</code> - <code>string|array</code> - Optional - A list of
|
190 |
* <li><code>HealthCheckType</code> - <code>string</code> - Optional - The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are <code>EC2</code> or <code>ELB</code>. [Constraints: The value must be between 1 and 32 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
191 |
-
* <li><code>HealthCheckGracePeriod</code> - <code>integer</code> - Optional - Length of time in seconds after a new EC2 instance comes into service that Auto Scaling starts checking its health.</li>
|
192 |
* <li><code>PlacementGroup</code> - <code>string</code> - Optional - Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see <a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using_cluster_computing.html">Using Cluster Instances</a> [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
193 |
* <li><code>VPCZoneIdentifier</code> - <code>string</code> - Optional - A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs). When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
194 |
-
* <li><code>
|
|
|
195 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
196 |
-
* <li><code>ResourceId</code> - <code>string</code> - Optional -
|
197 |
-
* <li><code>ResourceType</code> - <code>string</code> - Optional -
|
198 |
-
* <li><code>Key</code> - <code>string</code> - Required -
|
199 |
-
* <li><code>Value</code> - <code>string</code> - Optional -
|
200 |
-
* <li><code>PropagateAtLaunch</code> - <code>boolean</code> - Optional -
|
201 |
* </ul></li>
|
202 |
* </ul></li>
|
203 |
* <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>
|
@@ -226,6 +228,15 @@ class AmazonAS extends CFRuntime
|
|
226 |
unset($opt['LoadBalancerNames']);
|
227 |
}
|
228 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
// Optional list + map
|
230 |
if (isset($opt['Tags']))
|
231 |
{
|
@@ -249,27 +260,27 @@ class AmazonAS extends CFRuntime
|
|
249 |
* security groups, or vice versa.
|
250 |
*
|
251 |
* <p class="note">
|
252 |
-
* At this time, Auto Scaling launch configurations don't support compressed (e.g.
|
253 |
* data files.
|
254 |
* </p>
|
255 |
*
|
256 |
* @param string $launch_configuration_name (Required) The name of the launch configuration to create. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
257 |
-
* @param string $image_id (Required) Unique ID of the <em>Amazon Machine Image</em> (AMI) which was assigned during registration. For more information about Amazon EC2 images, please see <a href="http://aws.amazon.com/ec2/">Amazon EC2 product documentation</a
|
258 |
-
* @param string $instance_type (Required) The instance type of the EC2 instance. For more information about Amazon EC2 instance types, please see <a href="http://aws.amazon.com/ec2/">Amazon EC2 product documentation</a> [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
259 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
260 |
-
* <li><code>KeyName</code> - <code>string</code> - Optional - The name of the EC2 key pair. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
261 |
* <li><code>SecurityGroups</code> - <code>string|array</code> - Optional - The names of the security groups with which to associate Amazon EC2 or Amazon VPC instances. Specify Amazon EC2 security groups using security group names, such as <code>websrv</code>. Specify Amazon VPC security groups using security group IDs, such as <code>sg-12345678</code>. For more information about Amazon EC2 security groups, go to <a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?using-network-security.html">Using Security Groups</a> in the Amazon EC2 product documentation. For more information about Amazon VPC security groups, go to <a href="http://docs.amazonwebservices.com/AmazonVPC/latest/UserGuide/index.html?VPC_SecurityGroups.html">Security Groups</a> in the Amazon VPC product documentation. Pass a string for a single value, or an indexed array for multiple values.</li>
|
262 |
* <li><code>UserData</code> - <code>string</code> - Optional - The user data available to the launched Amazon EC2 instances. For more information about Amazon EC2 user data, please see <a href="http://aws.amazon.com/ec2/">Amazon EC2 product documentation</a>. [Constraints: The value must be between 0 and 21847 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
263 |
-
* <li><code>KernelId</code> - <code>string</code> - Optional - The ID of the kernel associated with the EC2 AMI. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
264 |
-
* <li><code>RamdiskId</code> - <code>string</code> - Optional - The ID of the RAM disk associated with the EC2 AMI. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
265 |
-
* <li><code>BlockDeviceMappings</code> - <code>array</code> - Optional - A list of mappings that specify how block devices are exposed to the instance. Each mapping is made up of a <em>VirtualName</em>, a <em>DeviceName</em>, and an <em>ebs</em> data structure that contains information about the associated Elastic Block Storage volume. For more information about Amazon EC2 BlockDeviceMappings,
|
266 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
267 |
* <li><code>VirtualName</code> - <code>string</code> - Optional - The virtual name associated with the device. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
268 |
* <li><code>DeviceName</code> - <code>string</code> - Required - The name of the device within Amazon EC2. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
269 |
* <li><code>Ebs</code> - <code>array</code> - Optional - The Elastic Block Storage volume information. <ul>
|
270 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
271 |
-
* <li><code>SnapshotId</code> - <code>string</code> - Optional - The
|
272 |
-
* <li><code>VolumeSize</code> - <code>integer</code> - Optional - The volume size, in
|
273 |
* </ul></li>
|
274 |
* </ul></li>
|
275 |
* </ul></li>
|
@@ -279,8 +290,8 @@ class AmazonAS extends CFRuntime
|
|
279 |
* <li><code>Enabled</code> - <code>boolean</code> - Optional - If <code>True</code>, instance monitoring is enabled.</li>
|
280 |
* </ul></li>
|
281 |
* </ul></li>
|
282 |
-
* <li><code>SpotPrice</code> - <code>string</code> - Optional - </li>
|
283 |
-
* <li><code>IamInstanceProfile</code> - <code>string</code> - Optional -
|
284 |
* <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>
|
285 |
* <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>
|
286 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -323,15 +334,21 @@ class AmazonAS extends CFRuntime
|
|
323 |
}
|
324 |
|
325 |
/**
|
|
|
326 |
*
|
|
|
|
|
|
|
|
|
|
|
327 |
*
|
328 |
-
* @param array $tags (Required)
|
329 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
330 |
-
* <li><code>ResourceId</code> - <code>string</code> - Optional -
|
331 |
-
* <li><code>ResourceType</code> - <code>string</code> - Optional -
|
332 |
-
* <li><code>Key</code> - <code>string</code> - Required -
|
333 |
-
* <li><code>Value</code> - <code>string</code> - Optional -
|
334 |
-
* <li><code>PropagateAtLaunch</code> - <code>boolean</code> - Optional -
|
335 |
* </ul></li>
|
336 |
* </ul>
|
337 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
@@ -352,7 +369,7 @@ class AmazonAS extends CFRuntime
|
|
352 |
}
|
353 |
|
354 |
/**
|
355 |
-
* Deletes the specified
|
356 |
* activities in progress.
|
357 |
*
|
358 |
* <p class="note">
|
@@ -416,9 +433,9 @@ class AmazonAS extends CFRuntime
|
|
416 |
}
|
417 |
|
418 |
/**
|
419 |
-
* Deletes a policy created by <code>PutScalingPolicy</code
|
420 |
*
|
421 |
-
* @param string $policy_name (Required) The name or PolicyARN of the policy you want to delete [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
422 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
423 |
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
424 |
* <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>
|
@@ -439,7 +456,7 @@ class AmazonAS extends CFRuntime
|
|
439 |
*
|
440 |
* @param string $scheduled_action_name (Required) The name of the action you want to delete. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
441 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
442 |
-
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the Auto Scaling group [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
443 |
* <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>
|
444 |
* <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>
|
445 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -453,15 +470,15 @@ class AmazonAS extends CFRuntime
|
|
453 |
}
|
454 |
|
455 |
/**
|
456 |
-
*
|
457 |
*
|
458 |
-
* @param array $tags (Required)
|
459 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
460 |
-
* <li><code>ResourceId</code> - <code>string</code> - Optional -
|
461 |
-
* <li><code>ResourceType</code> - <code>string</code> - Optional -
|
462 |
-
* <li><code>Key</code> - <code>string</code> - Required -
|
463 |
-
* <li><code>Value</code> - <code>string</code> - Optional -
|
464 |
-
* <li><code>PropagateAtLaunch</code> - <code>boolean</code> - Optional -
|
465 |
* </ul></li>
|
466 |
* </ul>
|
467 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
@@ -578,9 +595,10 @@ class AmazonAS extends CFRuntime
|
|
578 |
}
|
579 |
|
580 |
/**
|
581 |
-
* Returns a full description of the launch configurations
|
|
|
582 |
*
|
583 |
-
* If no
|
584 |
*
|
585 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
586 |
* <li><code>LaunchConfigurationNames</code> - <code>string|array</code> - Optional - A list of launch configuration names. Pass a string for a single value, or an indexed array for multiple values.</li>
|
@@ -656,7 +674,7 @@ class AmazonAS extends CFRuntime
|
|
656 |
*
|
657 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
658 |
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
659 |
-
* <li><code>PolicyNames</code> - <code>string|array</code> - Optional - A list of policy names or policy ARNs to be described. If this list is omitted, all policy names are described. If an auto scaling group name is provided, the results are limited to that group.The list of requested policy names cannot contain more than 50 items. If unknown policy names are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.</li>
|
660 |
* <li><code>NextToken</code> - <code>string</code> - Optional - A string that is used to mark the start of the next batch of returned results for pagination. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
661 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of policies that will be described with each call.</li>
|
662 |
* <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>
|
@@ -691,7 +709,7 @@ class AmazonAS extends CFRuntime
|
|
691 |
* <code>NextToken</code> parameter.
|
692 |
*
|
693 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
694 |
-
* <li><code>ActivityIds</code> - <code>string|array</code> - Optional - A list containing the activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If an AutoScalingGroupName is provided, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.</li>
|
695 |
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the <code>AutoScalingGroup</code>. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
696 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of scaling activities to return.</li>
|
697 |
* <li><code>NextToken</code> - <code>string</code> - Optional - A string that marks the start of the next batch of returned results for pagination. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
@@ -733,14 +751,14 @@ class AmazonAS extends CFRuntime
|
|
733 |
|
734 |
/**
|
735 |
* Lists all the actions scheduled for your Auto Scaling group that haven't been executed. To see
|
736 |
-
* a list of
|
737 |
* <code>DescribeScalingActivities</code>.
|
738 |
*
|
739 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
740 |
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
741 |
* <li><code>ScheduledActionNames</code> - <code>string|array</code> - Optional - A list of scheduled actions to be described. If this list is omitted, all scheduled actions are described. The list of requested scheduled actions cannot contain more than 50 items. If an auto scaling group name is provided, the results are limited to that group. If unknown scheduled actions are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.</li>
|
742 |
* <li><code>StartTime</code> - <code>string</code> - Optional - The earliest scheduled start time to return. If scheduled action names are provided, this field will be ignored. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
|
743 |
-
* <li><code>EndTime</code> - <code>string</code> - Optional - The latest scheduled start time to return. If scheduled action names are provided, this field
|
744 |
* <li><code>NextToken</code> - <code>string</code> - Optional - A string that marks the start of the next batch of returned results. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
745 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of scheduled actions to return.</li>
|
746 |
* <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>
|
@@ -776,17 +794,24 @@ class AmazonAS extends CFRuntime
|
|
776 |
}
|
777 |
|
778 |
/**
|
779 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
780 |
*
|
781 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
782 |
-
* <li><code>Filters</code> - <code>array</code> - Optional -
|
783 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
784 |
-
* <li><code>Name</code> - <code>string</code> - Optional -
|
785 |
-
* <li><code>Values</code> - <code>string|array</code> - Optional -
|
786 |
* </ul></li>
|
787 |
* </ul></li>
|
788 |
-
* <li><code>NextToken</code> - <code>string</code> - Optional -
|
789 |
-
* <li><code>MaxRecords</code> - <code>integer</code> - Optional -
|
790 |
* <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>
|
791 |
* <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>
|
792 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -807,9 +832,25 @@ class AmazonAS extends CFRuntime
|
|
807 |
return $this->authenticate('DescribeTags', $opt);
|
808 |
}
|
809 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
810 |
/**
|
811 |
* Disables monitoring of group metrics for the Auto Scaling group specified in
|
812 |
-
* AutoScalingGroupName
|
|
|
813 |
*
|
814 |
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling Group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
815 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
@@ -837,12 +878,13 @@ class AmazonAS extends CFRuntime
|
|
837 |
|
838 |
/**
|
839 |
* Enables monitoring of group metrics for the Auto Scaling group specified in
|
840 |
-
* AutoScalingGroupName
|
|
|
841 |
*
|
842 |
* Auto scaling metrics collection can be turned on only if the <code>InstanceMonitoring</code>
|
843 |
* flag, in the Auto Scaling group's launch configuration, is set to <code>True</code>.
|
844 |
*
|
845 |
-
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling
|
846 |
* @param string $granularity (Required) The granularity to associate with the metrics to collect. Currently, the only legal granularity is "1Minute". [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
847 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
848 |
* <li><code>Metrics</code> - <code>string|array</code> - Optional - The list of metrics to collect. If no metrics are specified, all metrics are enabled. The following metrics are supported:<ul><li>GroupMinSize</li><li>GroupMaxSize</li><li>GroupDesiredCapacity</li><li>GroupInServiceInstances</li><li>GroupPendingInstances</li><li>GroupTerminatingInstances</li><li>GroupTotalInstances</li></ul> Pass a string for a single value, or an indexed array for multiple values.</li>
|
@@ -873,8 +915,8 @@ class AmazonAS extends CFRuntime
|
|
873 |
*
|
874 |
* @param string $policy_name (Required) The name or PolicyARN of the policy you want to run. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
875 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
876 |
-
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name or ARN of the Auto Scaling
|
877 |
-
* <li><code>HonorCooldown</code> - <code>boolean</code> - Optional - Set to True if you want Auto Scaling to reject this request when the Auto Scaling group is in cooldown.</li>
|
878 |
* <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>
|
879 |
* <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>
|
880 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -894,7 +936,7 @@ class AmazonAS extends CFRuntime
|
|
894 |
*
|
895 |
* A new <code>PutNotificationConfiguration</code> overwrites an existing configuration.
|
896 |
*
|
897 |
-
* @param string $auto_scaling_group_name (Required) The name of the Auto Scaling
|
898 |
* @param string $topic_arn (Required) The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
899 |
* @param string|array $notification_types (Required) The type of events that will trigger the notification. For more information, go to <code>DescribeAutoScalingNotificationTypes</code>. Pass a string for a single value, or an indexed array for multiple values.
|
900 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
@@ -921,13 +963,13 @@ class AmazonAS extends CFRuntime
|
|
921 |
* existing policy name and set the parameter(s) you want to change. Any existing parameter not
|
922 |
* changed in an update to an existing policy is not changed in this update request.
|
923 |
*
|
924 |
-
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling
|
925 |
* @param string $policy_name (Required) The name of the policy you want to create or update. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
926 |
* @param integer $scaling_adjustment (Required) The number of instances by which to scale. <code>AdjustmentType</code> determines the interpretation of this number (e.g., as an absolute number or as a percentage of the existing Auto Scaling group size). A positive increment adds to the current capacity and a negative value removes from the current capacity.
|
927 |
* @param string $adjustment_type (Required) Specifies whether the <code>ScalingAdjustment</code> is an absolute number or a percentage of the current capacity. Valid values are <code>ChangeInCapacity</code>, <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
928 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
929 |
* <li><code>Cooldown</code> - <code>integer</code> - Optional - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.</li>
|
930 |
-
* <li><code>MinAdjustmentStep</code> - <code>integer</code> - Optional - </li>
|
931 |
* <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>
|
932 |
* <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>
|
933 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -944,10 +986,10 @@ class AmazonAS extends CFRuntime
|
|
944 |
}
|
945 |
|
946 |
/**
|
947 |
-
* Creates a scheduled scaling action for
|
948 |
* unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
|
949 |
*
|
950 |
-
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling
|
951 |
* @param string $scheduled_action_name (Required) The name of this scaling action. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
952 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
953 |
* <li><code>Time</code> - <code>string</code> - Optional - <code>Time</code> is deprecated. The time for this action to start. <code>Time</code> is an alias for <code>StartTime</code> and can be specified instead of <code>StartTime</code>, or vice versa. If both <code>Time</code> and <code>StartTime</code> are specified, their values should be identical. Otherwise, <code>PutScheduledUpdateGroupAction</code> will return an error. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
|
@@ -994,7 +1036,7 @@ class AmazonAS extends CFRuntime
|
|
994 |
*
|
995 |
* @param string $auto_scaling_group_name (Required) The name or Amazon Resource Name (ARN) of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
996 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
997 |
-
* <li><code>ScalingProcesses</code> - <code>string|array</code> - Optional - The processes that you want to suspend or resume, which can include one or more of the following:<ul><li>Launch</li><li>Terminate</li><li>HealthCheck</li><li>ReplaceUnhealthy</li><li>AZRebalance</li><li>
|
998 |
* <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>
|
999 |
* <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>
|
1000 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -1018,8 +1060,8 @@ class AmazonAS extends CFRuntime
|
|
1018 |
|
1019 |
/**
|
1020 |
* Adjusts the desired size of the <code>AutoScalingGroup</code> by initiating scaling activities.
|
1021 |
-
* When reducing the size of the group, it is not possible to define which EC2 instances
|
1022 |
-
* terminated. This applies to any Auto Scaling decisions that might result in terminating
|
1023 |
* instances.
|
1024 |
*
|
1025 |
* There are two common use cases for <code>SetDesiredCapacity</code>: one for users of the Auto
|
@@ -1030,7 +1072,7 @@ class AmazonAS extends CFRuntime
|
|
1030 |
* <code>SetDesiredCapacity</code> changes the size of your Auto Scaling group without regard to
|
1031 |
* the cooldown period. This could be useful, for example, if Auto Scaling did something
|
1032 |
* unexpected for some reason. If your cooldown period is 10 minutes, Auto Scaling would normally
|
1033 |
-
* reject requests to change the size of the group for that entire 10
|
1034 |
* <code>SetDesiredCapacity</code> command allows you to circumvent this restriction and change
|
1035 |
* the size of the group before the end of the cooldown period.
|
1036 |
*
|
@@ -1040,10 +1082,10 @@ class AmazonAS extends CFRuntime
|
|
1040 |
* <code>SetDesiredCapacity</code> to honor cooldown by setting the <code>HonorCooldown</code>
|
1041 |
* parameter to <code>true</code>.
|
1042 |
*
|
1043 |
-
* @param string $auto_scaling_group_name (Required) The name of the
|
1044 |
-
* @param integer $desired_capacity (Required) The new capacity setting for the
|
1045 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1046 |
-
* <li><code>HonorCooldown</code> - <code>boolean</code> - Optional - By default, <code>SetDesiredCapacity</code> overrides any cooldown period. Set to True if you want Auto Scaling to reject this request when the Auto Scaling group is in cooldown.</li>
|
1047 |
* <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>
|
1048 |
* <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>
|
1049 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -1060,7 +1102,7 @@ class AmazonAS extends CFRuntime
|
|
1060 |
/**
|
1061 |
* Sets the health status of an instance.
|
1062 |
*
|
1063 |
-
* @param string $instance_id (Required) The identifier of the EC2 instance. [Constraints: The value must be between 1 and 16 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1064 |
* @param string $health_status (Required) The health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy. Auto Scaling should terminate and replace it. [Constraints: The value must be between 1 and 32 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1065 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1066 |
* <li><code>ShouldRespectGracePeriod</code> - <code>boolean</code> - Optional - If True, this call should respect the grace period associated with the group.</li>
|
@@ -1091,7 +1133,7 @@ class AmazonAS extends CFRuntime
|
|
1091 |
*
|
1092 |
* @param string $auto_scaling_group_name (Required) The name or Amazon Resource Name (ARN) of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1093 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1094 |
-
* <li><code>ScalingProcesses</code> - <code>string|array</code> - Optional - The processes that you want to suspend or resume, which can include one or more of the following:<ul><li>Launch</li><li>Terminate</li><li>HealthCheck</li><li>ReplaceUnhealthy</li><li>AZRebalance</li><li>
|
1095 |
* <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>
|
1096 |
* <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>
|
1097 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -1121,7 +1163,7 @@ class AmazonAS extends CFRuntime
|
|
1121 |
* immediately.
|
1122 |
* </p>
|
1123 |
*
|
1124 |
-
* @param string $instance_id (Required) The ID of the EC2 instance to be terminated. [Constraints: The value must be between 1 and 16 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1125 |
* @param boolean $should_decrement_desired_capacity (Required) Specifies whether (<em>true</em>) or not (<em>false</em>) terminating this instance should also decrement the size of the <code>AutoScalingGroup</code>.
|
1126 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1127 |
* <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>
|
@@ -1152,11 +1194,18 @@ class AmazonAS extends CFRuntime
|
|
1152 |
* settings take effect on any triggers after this call returns. Triggers that are currently in
|
1153 |
* progress aren't affected.
|
1154 |
*
|
1155 |
-
* <p class="note">
|
1156 |
-
*
|
1157 |
-
*
|
1158 |
-
*
|
1159 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1160 |
*
|
1161 |
* @param string $auto_scaling_group_name (Required) The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1162 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
@@ -1165,11 +1214,12 @@ class AmazonAS extends CFRuntime
|
|
1165 |
* <li><code>MaxSize</code> - <code>integer</code> - Optional - The maximum size of the Auto Scaling group.</li>
|
1166 |
* <li><code>DesiredCapacity</code> - <code>integer</code> - Optional - The desired capacity for the Auto Scaling group.</li>
|
1167 |
* <li><code>DefaultCooldown</code> - <code>integer</code> - Optional - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.</li>
|
1168 |
-
* <li><code>AvailabilityZones</code> - <code>string|array</code> - Optional - Availability
|
1169 |
* <li><code>HealthCheckType</code> - <code>string</code> - Optional - The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing. [Constraints: The value must be between 1 and 32 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
1170 |
* <li><code>HealthCheckGracePeriod</code> - <code>integer</code> - Optional - The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.</li>
|
1171 |
* <li><code>PlacementGroup</code> - <code>string</code> - Optional - The name of the cluster placement group, if applicable. For more information, go to <a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using_cluster_computing.html">Using Cluster Instances</a> in the Amazon EC2 User Guide. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
1172 |
* <li><code>VPCZoneIdentifier</code> - <code>string</code> - Optional - The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list. When you specify <code>VPCZoneIdentifier</code> with <code>AvailabilityZones</code>, ensure that the subnets' Availability Zones match the values you specify for <code>AvailabilityZones</code>. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
|
|
1173 |
* <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>
|
1174 |
* <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>
|
1175 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -1187,6 +1237,15 @@ class AmazonAS extends CFRuntime
|
|
1187 |
), 'member'));
|
1188 |
unset($opt['AvailabilityZones']);
|
1189 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1190 |
|
1191 |
return $this->authenticate('UpdateAutoScalingGroup', $opt);
|
1192 |
}
|
15 |
*/
|
16 |
|
17 |
/**
|
18 |
+
* This guide provides detailed information about Auto Scaling actions, data types, parameters,
|
19 |
+
* and errors. For detailed information about Auto Scaling features and their associated API
|
20 |
+
* calls, go to the <a href=
|
21 |
* "http://docs.amazonwebservices.com/AutoScaling/latest/DeveloperGuide/">Auto Scaling Developer
|
22 |
* Guide</a>.
|
23 |
*
|
24 |
+
* Auto Scaling is a web service designed to automatically launch or terminate Amazon Elastic
|
25 |
+
* Compute Cloud (Amazon EC2) instances based on user-defined policies, schedules, and health
|
26 |
+
* checks. This service is used in conjunction with Amazon CloudWatch and Elastic Load Balancing
|
27 |
+
* services.
|
28 |
*
|
29 |
* This reference is based on the current WSDL, which is available at:
|
30 |
*
|
37 |
* "http://docs.amazonwebservices.com/general/latest/gr/index.html?rande.html">Regions and
|
38 |
* Endpoints</a> in the Amazon Web Services General Reference.
|
39 |
*
|
40 |
+
* @version 2012.09.18
|
41 |
* @license See the included NOTICE.md file for complete information.
|
42 |
* @copyright See the included NOTICE.md file for complete information.
|
43 |
* @link http://aws.amazon.com/as/ Auto Scaling
|
171 |
// SERVICE METHODS
|
172 |
|
173 |
/**
|
174 |
+
* Creates a new Auto Scaling group with the specified name and other attributes. When the
|
175 |
+
* creation request is completed, the Auto Scaling group is ready to be used in other calls.
|
176 |
*
|
177 |
* <p class="note">
|
178 |
* The Auto Scaling group name must be unique within the scope of your AWS account, and under the
|
183 |
* @param string $launch_configuration_name (Required) The name of the launch configuration to use with the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
184 |
* @param integer $min_size (Required) The minimum size of the Auto Scaling group.
|
185 |
* @param integer $max_size (Required) The maximum size of the Auto Scaling group.
|
186 |
+
* @param string|array $availability_zones (Required) A list of Availability Zones for the Auto Scaling group. Pass a string for a single value, or an indexed array for multiple values.
|
187 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
188 |
* <li><code>DesiredCapacity</code> - <code>integer</code> - Optional - The number of Amazon EC2 instances that should be running in the group.</li>
|
189 |
* <li><code>DefaultCooldown</code> - <code>integer</code> - Optional - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.</li>
|
190 |
+
* <li><code>LoadBalancerNames</code> - <code>string|array</code> - Optional - A list of load balancers to use. Pass a string for a single value, or an indexed array for multiple values.</li>
|
191 |
* <li><code>HealthCheckType</code> - <code>string</code> - Optional - The service you want the health status from, Amazon EC2 or Elastic Load Balancer. Valid values are <code>EC2</code> or <code>ELB</code>. [Constraints: The value must be between 1 and 32 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
192 |
+
* <li><code>HealthCheckGracePeriod</code> - <code>integer</code> - Optional - Length of time in seconds after a new Amazon EC2 instance comes into service that Auto Scaling starts checking its health.</li>
|
193 |
* <li><code>PlacementGroup</code> - <code>string</code> - Optional - Physical location of your cluster placement group created in Amazon EC2. For more information about cluster placement group, see <a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using_cluster_computing.html">Using Cluster Instances</a> [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
194 |
* <li><code>VPCZoneIdentifier</code> - <code>string</code> - Optional - A comma-separated list of subnet identifiers of Amazon Virtual Private Clouds (Amazon VPCs). When you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
195 |
+
* <li><code>TerminationPolicies</code> - <code>string|array</code> - Optional - A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed. For more information on configuring a termination policy for your Auto Scaling group, go to <a href="http://docs.amazonwebservices.com/AutoScaling/latest/DeveloperGuide/us-termination-policy.html">Instance Termination Policy for Your Auto Scaling Group</a> in the the <em>Auto Scaling Developer Guide</em>. Pass a string for a single value, or an indexed array for multiple values.</li>
|
196 |
+
* <li><code>Tags</code> - <code>array</code> - Optional - The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values: key= <em>value</em>, value= <em>value</em>, propagate= <em>true</em> or <em>false</em>. Value and propagate are optional parameters. <ul>
|
197 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
198 |
+
* <li><code>ResourceId</code> - <code>string</code> - Optional - The name of the Auto Scaling group. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
199 |
+
* <li><code>ResourceType</code> - <code>string</code> - Optional - The kind of resource to which the tag is applied. Currently, Auto Scaling supports the <code>auto-scaling-group</code> resource type. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
200 |
+
* <li><code>Key</code> - <code>string</code> - Required - The key of the tag. [Constraints: The value must be between 1 and 128 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
201 |
+
* <li><code>Value</code> - <code>string</code> - Optional - The value of the tag. [Constraints: The value must be between 0 and 256 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
202 |
+
* <li><code>PropagateAtLaunch</code> - <code>boolean</code> - Optional - Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.</li>
|
203 |
* </ul></li>
|
204 |
* </ul></li>
|
205 |
* <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>
|
228 |
unset($opt['LoadBalancerNames']);
|
229 |
}
|
230 |
|
231 |
+
// Optional list (non-map)
|
232 |
+
if (isset($opt['TerminationPolicies']))
|
233 |
+
{
|
234 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
235 |
+
'TerminationPolicies' => (is_array($opt['TerminationPolicies']) ? $opt['TerminationPolicies'] : array($opt['TerminationPolicies']))
|
236 |
+
), 'member'));
|
237 |
+
unset($opt['TerminationPolicies']);
|
238 |
+
}
|
239 |
+
|
240 |
// Optional list + map
|
241 |
if (isset($opt['Tags']))
|
242 |
{
|
260 |
* security groups, or vice versa.
|
261 |
*
|
262 |
* <p class="note">
|
263 |
+
* At this time, Auto Scaling launch configurations don't support compressed (e.g. zipped) user
|
264 |
* data files.
|
265 |
* </p>
|
266 |
*
|
267 |
* @param string $launch_configuration_name (Required) The name of the launch configuration to create. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
268 |
+
* @param string $image_id (Required) Unique ID of the <em>Amazon Machine Image</em> (AMI) which was assigned during registration. For more information about Amazon EC2 images, please see <a href="http://aws.amazon.com/ec2/">Amazon EC2 product documentation</a>. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
269 |
+
* @param string $instance_type (Required) The instance type of the Amazon EC2 instance. For more information about Amazon EC2 instance types, please see <a href="http://aws.amazon.com/ec2/">Amazon EC2 product documentation</a> [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
270 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
271 |
+
* <li><code>KeyName</code> - <code>string</code> - Optional - The name of the Amazon EC2 key pair. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
272 |
* <li><code>SecurityGroups</code> - <code>string|array</code> - Optional - The names of the security groups with which to associate Amazon EC2 or Amazon VPC instances. Specify Amazon EC2 security groups using security group names, such as <code>websrv</code>. Specify Amazon VPC security groups using security group IDs, such as <code>sg-12345678</code>. For more information about Amazon EC2 security groups, go to <a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?using-network-security.html">Using Security Groups</a> in the Amazon EC2 product documentation. For more information about Amazon VPC security groups, go to <a href="http://docs.amazonwebservices.com/AmazonVPC/latest/UserGuide/index.html?VPC_SecurityGroups.html">Security Groups</a> in the Amazon VPC product documentation. Pass a string for a single value, or an indexed array for multiple values.</li>
|
273 |
* <li><code>UserData</code> - <code>string</code> - Optional - The user data available to the launched Amazon EC2 instances. For more information about Amazon EC2 user data, please see <a href="http://aws.amazon.com/ec2/">Amazon EC2 product documentation</a>. [Constraints: The value must be between 0 and 21847 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
274 |
+
* <li><code>KernelId</code> - <code>string</code> - Optional - The ID of the kernel associated with the Amazon EC2 AMI. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
275 |
+
* <li><code>RamdiskId</code> - <code>string</code> - Optional - The ID of the RAM disk associated with the Amazon EC2 AMI. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
276 |
+
* <li><code>BlockDeviceMappings</code> - <code>array</code> - Optional - A list of mappings that specify how block devices are exposed to the instance. Each mapping is made up of a <em>VirtualName</em>, a <em>DeviceName</em>, and an <em>ebs</em> data structure that contains information about the associated Elastic Block Storage volume. For more information about Amazon EC2 BlockDeviceMappings, go to <a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/index.html?block-device-mapping-concepts.html">Block Device Mapping</a> in the Amazon EC2 product documentation. <ul>
|
277 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
278 |
* <li><code>VirtualName</code> - <code>string</code> - Optional - The virtual name associated with the device. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
279 |
* <li><code>DeviceName</code> - <code>string</code> - Required - The name of the device within Amazon EC2. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
280 |
* <li><code>Ebs</code> - <code>array</code> - Optional - The Elastic Block Storage volume information. <ul>
|
281 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
282 |
+
* <li><code>SnapshotId</code> - <code>string</code> - Optional - The snapshot ID. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
283 |
+
* <li><code>VolumeSize</code> - <code>integer</code> - Optional - The volume size, in gigabytes.</li>
|
284 |
* </ul></li>
|
285 |
* </ul></li>
|
286 |
* </ul></li>
|
290 |
* <li><code>Enabled</code> - <code>boolean</code> - Optional - If <code>True</code>, instance monitoring is enabled.</li>
|
291 |
* </ul></li>
|
292 |
* </ul></li>
|
293 |
+
* <li><code>SpotPrice</code> - <code>string</code> - Optional - The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot market price. For more information on launching Spot Instances, go to <a href="http://docs.amazonwebservices.com/AutoScaling/latest/DeveloperGuide/US-SpotInstances.html">Using Auto Scaling to Launch Spot Instances</a> in the <em>Auto Scaling Developer Guide</em>.</li>
|
294 |
+
* <li><code>IamInstanceProfile</code> - <code>string</code> - Optional - The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. For information on launching EC2 instances with an IAM role, go to <a href="http://docs.amazonwebservices.com/AutoScaling/latest/DeveloperGuide/us-iam-role.html">Launching Auto Scaling Instances With an IAM Role</a> in the <em>Auto Scaling Developer Guide</em>. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
295 |
* <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>
|
296 |
* <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>
|
297 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
334 |
}
|
335 |
|
336 |
/**
|
337 |
+
* Creates new tags or updates existing tags for an Auto Scaling group.
|
338 |
*
|
339 |
+
* <p class="note">
|
340 |
+
* A tag's definition is composed of a resource ID, resource type, key and value, and the
|
341 |
+
* propagate flag. Value and the propagate flag are optional parameters. See the Request
|
342 |
+
* Parameters for more information.
|
343 |
+
* </p>
|
344 |
*
|
345 |
+
* @param array $tags (Required) The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. The resource type and resource ID identify the type and name of resource for which the tag is created. Currently, <code>auto-scaling-group</code> is the only supported resource type. The valid value for the resource ID is <em>groupname</em>. The <code>PropagateAtLaunch</code> flag defines whether the new tag will be applied to instances launched by the Auto Scaling group. Valid values are <code>true</code> or <code>false</code>. However, instances that are already running will not get the new or updated tag. Likewise, when you modify a tag, the updated version will be applied only to new instances launched by the Auto Scaling group after the change. Running instances that had the previous version of the tag will continue to have the older tag. When you create a tag and a tag of the same name already exists, the operation overwrites the previous tag definition, but you will not get an error message. <ul>
|
346 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
347 |
+
* <li><code>ResourceId</code> - <code>string</code> - Optional - The name of the Auto Scaling group. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
348 |
+
* <li><code>ResourceType</code> - <code>string</code> - Optional - The kind of resource to which the tag is applied. Currently, Auto Scaling supports the <code>auto-scaling-group</code> resource type. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
349 |
+
* <li><code>Key</code> - <code>string</code> - Required - The key of the tag. [Constraints: The value must be between 1 and 128 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
350 |
+
* <li><code>Value</code> - <code>string</code> - Optional - The value of the tag. [Constraints: The value must be between 0 and 256 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
351 |
+
* <li><code>PropagateAtLaunch</code> - <code>boolean</code> - Optional - Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.</li>
|
352 |
* </ul></li>
|
353 |
* </ul>
|
354 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
369 |
}
|
370 |
|
371 |
/**
|
372 |
+
* Deletes the specified Auto Scaling group if the group has no instances and no scaling
|
373 |
* activities in progress.
|
374 |
*
|
375 |
* <p class="note">
|
433 |
}
|
434 |
|
435 |
/**
|
436 |
+
* Deletes a policy created by <code>PutScalingPolicy</code>.
|
437 |
*
|
438 |
+
* @param string $policy_name (Required) The name or PolicyARN of the policy you want to delete. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
439 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
440 |
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
441 |
* <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>
|
456 |
*
|
457 |
* @param string $scheduled_action_name (Required) The name of the action you want to delete. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
458 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
459 |
+
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
460 |
* <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>
|
461 |
* <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>
|
462 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
470 |
}
|
471 |
|
472 |
/**
|
473 |
+
* Removes the specified tags or a set of tags from a set of resources.
|
474 |
*
|
475 |
+
* @param array $tags (Required) Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. Valid values are: Resource type = <em>auto-scaling-group</em>, Resource ID = <em>AutoScalingGroupName</em>, key= <em>value</em>, value= <em>value</em>, propagate= <em>true</em> or <em>false</em>. <ul>
|
476 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
477 |
+
* <li><code>ResourceId</code> - <code>string</code> - Optional - The name of the Auto Scaling group. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
478 |
+
* <li><code>ResourceType</code> - <code>string</code> - Optional - The kind of resource to which the tag is applied. Currently, Auto Scaling supports the <code>auto-scaling-group</code> resource type. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
479 |
+
* <li><code>Key</code> - <code>string</code> - Required - The key of the tag. [Constraints: The value must be between 1 and 128 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
480 |
+
* <li><code>Value</code> - <code>string</code> - Optional - The value of the tag. [Constraints: The value must be between 0 and 256 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
481 |
+
* <li><code>PropagateAtLaunch</code> - <code>boolean</code> - Optional - Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.</li>
|
482 |
* </ul></li>
|
483 |
* </ul>
|
484 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
595 |
}
|
596 |
|
597 |
/**
|
598 |
+
* Returns a full description of the launch configurations, or the specified launch
|
599 |
+
* configurations, if they exist.
|
600 |
*
|
601 |
+
* If no name is specified, then the full details of all launch configurations are returned.
|
602 |
*
|
603 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
604 |
* <li><code>LaunchConfigurationNames</code> - <code>string|array</code> - Optional - A list of launch configuration names. Pass a string for a single value, or an indexed array for multiple values.</li>
|
674 |
*
|
675 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
676 |
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
677 |
+
* <li><code>PolicyNames</code> - <code>string|array</code> - Optional - A list of policy names or policy ARNs to be described. If this list is omitted, all policy names are described. If an auto scaling group name is provided, the results are limited to that group. The list of requested policy names cannot contain more than 50 items. If unknown policy names are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.</li>
|
678 |
* <li><code>NextToken</code> - <code>string</code> - Optional - A string that is used to mark the start of the next batch of returned results for pagination. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
679 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of policies that will be described with each call.</li>
|
680 |
* <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>
|
709 |
* <code>NextToken</code> parameter.
|
710 |
*
|
711 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
712 |
+
* <li><code>ActivityIds</code> - <code>string|array</code> - Optional - A list containing the activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If an <code>AutoScalingGroupName</code> is provided, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.</li>
|
713 |
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the <code>AutoScalingGroup</code>. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
714 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of scaling activities to return.</li>
|
715 |
* <li><code>NextToken</code> - <code>string</code> - Optional - A string that marks the start of the next batch of returned results for pagination. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
751 |
|
752 |
/**
|
753 |
* Lists all the actions scheduled for your Auto Scaling group that haven't been executed. To see
|
754 |
+
* a list of actions already executed, see the activity record returned in
|
755 |
* <code>DescribeScalingActivities</code>.
|
756 |
*
|
757 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
758 |
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
759 |
* <li><code>ScheduledActionNames</code> - <code>string|array</code> - Optional - A list of scheduled actions to be described. If this list is omitted, all scheduled actions are described. The list of requested scheduled actions cannot contain more than 50 items. If an auto scaling group name is provided, the results are limited to that group. If unknown scheduled actions are requested, they are ignored with no error. Pass a string for a single value, or an indexed array for multiple values.</li>
|
760 |
* <li><code>StartTime</code> - <code>string</code> - Optional - The earliest scheduled start time to return. If scheduled action names are provided, this field will be ignored. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
|
761 |
+
* <li><code>EndTime</code> - <code>string</code> - Optional - The latest scheduled start time to return. If scheduled action names are provided, this field is ignored. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
|
762 |
* <li><code>NextToken</code> - <code>string</code> - Optional - A string that marks the start of the next batch of returned results. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
763 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of scheduled actions to return.</li>
|
764 |
* <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>
|
794 |
}
|
795 |
|
796 |
/**
|
797 |
+
* Lists the Auto Scaling group tags.
|
798 |
+
*
|
799 |
+
* You can use filters to limit results when describing tags. For example, you can query for tags
|
800 |
+
* of a particular Auto Scaling group. You can specify multiple values for a filter. A tag must
|
801 |
+
* match at least one of the specified values for it to be included in the results.
|
802 |
+
*
|
803 |
+
* You can also specify multiple filters. The result includes information for a particular tag
|
804 |
+
* only if it matches all your filters. If there's no match, no special message is returned.
|
805 |
*
|
806 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
807 |
+
* <li><code>Filters</code> - <code>array</code> - Optional - The value of the filter type used to identify the tags to be returned. For example, you can filter so that tags are returned according to Auto Scaling group, the key and value, or whether the new tag will be applied to instances launched after the tag is created (PropagateAtLaunch). <ul>
|
808 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
809 |
+
* <li><code>Name</code> - <code>string</code> - Optional - The name of the filter. Valid Name values are: <code>"auto-scaling-group"</code>, <code>"key"</code>, <code>"value"</code>, and <code>"propagate-at-launch"</code>. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
810 |
+
* <li><code>Values</code> - <code>string|array</code> - Optional - The value of the filter. Pass a string for a single value, or an indexed array for multiple values.</li>
|
811 |
* </ul></li>
|
812 |
* </ul></li>
|
813 |
+
* <li><code>NextToken</code> - <code>string</code> - Optional - A string that marks the start of the next batch of returned results. [Constraints: The value must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
814 |
+
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to return.</li>
|
815 |
* <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>
|
816 |
* <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>
|
817 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
832 |
return $this->authenticate('DescribeTags', $opt);
|
833 |
}
|
834 |
|
835 |
+
/**
|
836 |
+
* Returns a list of all termination policies supported by Auto Scaling.
|
837 |
+
*
|
838 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
839 |
+
* <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>
|
840 |
+
* <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>
|
841 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
842 |
+
*/
|
843 |
+
public function describe_termination_policy_types($opt = null)
|
844 |
+
{
|
845 |
+
if (!$opt) $opt = array();
|
846 |
+
|
847 |
+
return $this->authenticate('DescribeTerminationPolicyTypes', $opt);
|
848 |
+
}
|
849 |
+
|
850 |
/**
|
851 |
* Disables monitoring of group metrics for the Auto Scaling group specified in
|
852 |
+
* <code>AutoScalingGroupName</code>. You can specify the list of affected metrics with the
|
853 |
+
* <code>Metrics</code> parameter.
|
854 |
*
|
855 |
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling Group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
856 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
878 |
|
879 |
/**
|
880 |
* Enables monitoring of group metrics for the Auto Scaling group specified in
|
881 |
+
* <code>AutoScalingGroupName</code>. You can specify the list of enabled metrics with the
|
882 |
+
* <code>Metrics</code> parameter.
|
883 |
*
|
884 |
* Auto scaling metrics collection can be turned on only if the <code>InstanceMonitoring</code>
|
885 |
* flag, in the Auto Scaling group's launch configuration, is set to <code>True</code>.
|
886 |
*
|
887 |
+
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
888 |
* @param string $granularity (Required) The granularity to associate with the metrics to collect. Currently, the only legal granularity is "1Minute". [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
889 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
890 |
* <li><code>Metrics</code> - <code>string|array</code> - Optional - The list of metrics to collect. If no metrics are specified, all metrics are enabled. The following metrics are supported:<ul><li>GroupMinSize</li><li>GroupMaxSize</li><li>GroupDesiredCapacity</li><li>GroupInServiceInstances</li><li>GroupPendingInstances</li><li>GroupTerminatingInstances</li><li>GroupTotalInstances</li></ul> Pass a string for a single value, or an indexed array for multiple values.</li>
|
915 |
*
|
916 |
* @param string $policy_name (Required) The name or PolicyARN of the policy you want to run. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
917 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
918 |
+
* <li><code>AutoScalingGroupName</code> - <code>string</code> - Optional - The name or ARN of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
919 |
+
* <li><code>HonorCooldown</code> - <code>boolean</code> - Optional - Set to <code>True</code> if you want Auto Scaling to reject this request when the Auto Scaling group is in cooldown.</li>
|
920 |
* <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>
|
921 |
* <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>
|
922 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
936 |
*
|
937 |
* A new <code>PutNotificationConfiguration</code> overwrites an existing configuration.
|
938 |
*
|
939 |
+
* @param string $auto_scaling_group_name (Required) The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
940 |
* @param string $topic_arn (Required) The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
941 |
* @param string|array $notification_types (Required) The type of events that will trigger the notification. For more information, go to <code>DescribeAutoScalingNotificationTypes</code>. Pass a string for a single value, or an indexed array for multiple values.
|
942 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
963 |
* existing policy name and set the parameter(s) you want to change. Any existing parameter not
|
964 |
* changed in an update to an existing policy is not changed in this update request.
|
965 |
*
|
966 |
+
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
967 |
* @param string $policy_name (Required) The name of the policy you want to create or update. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
968 |
* @param integer $scaling_adjustment (Required) The number of instances by which to scale. <code>AdjustmentType</code> determines the interpretation of this number (e.g., as an absolute number or as a percentage of the existing Auto Scaling group size). A positive increment adds to the current capacity and a negative value removes from the current capacity.
|
969 |
* @param string $adjustment_type (Required) Specifies whether the <code>ScalingAdjustment</code> is an absolute number or a percentage of the current capacity. Valid values are <code>ChangeInCapacity</code>, <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
970 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
971 |
* <li><code>Cooldown</code> - <code>integer</code> - Optional - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.</li>
|
972 |
+
* <li><code>MinAdjustmentStep</code> - <code>integer</code> - Optional - Used with <code>AdjustmentType</code> with the value <code>PercentChangeInCapacity</code>, the scaling policy changes the <code>DesiredCapacity</code> of the Auto Scaling group by at least the number of instances specified in the value. You will get a <code>ValidationError</code> if you use <code>MinAdjustmentStep</code> on a policy with an <code>AdjustmentType</code> other than <code>PercentChangeInCapacity</code>.</li>
|
973 |
* <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>
|
974 |
* <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>
|
975 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
986 |
}
|
987 |
|
988 |
/**
|
989 |
+
* Creates a scheduled scaling action for an Auto Scaling group. If you leave a parameter
|
990 |
* unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
|
991 |
*
|
992 |
+
* @param string $auto_scaling_group_name (Required) The name or ARN of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
993 |
* @param string $scheduled_action_name (Required) The name of this scaling action. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
994 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
995 |
* <li><code>Time</code> - <code>string</code> - Optional - <code>Time</code> is deprecated. The time for this action to start. <code>Time</code> is an alias for <code>StartTime</code> and can be specified instead of <code>StartTime</code>, or vice versa. If both <code>Time</code> and <code>StartTime</code> are specified, their values should be identical. Otherwise, <code>PutScheduledUpdateGroupAction</code> will return an error. May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
|
1036 |
*
|
1037 |
* @param string $auto_scaling_group_name (Required) The name or Amazon Resource Name (ARN) of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1038 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1039 |
+
* <li><code>ScalingProcesses</code> - <code>string|array</code> - Optional - The processes that you want to suspend or resume, which can include one or more of the following:<ul><li>Launch</li><li>Terminate</li><li>HealthCheck</li><li>ReplaceUnhealthy</li><li>AZRebalance</li><li>AlarmNotification</li><li>ScheduledActions</li><li>AddToLoadBalancer</li></ul>To suspend all process types, omit this parameter. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1040 |
* <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>
|
1041 |
* <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>
|
1042 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1060 |
|
1061 |
/**
|
1062 |
* Adjusts the desired size of the <code>AutoScalingGroup</code> by initiating scaling activities.
|
1063 |
+
* When reducing the size of the group, it is not possible to define which Amazon EC2 instances
|
1064 |
+
* will be terminated. This applies to any Auto Scaling decisions that might result in terminating
|
1065 |
* instances.
|
1066 |
*
|
1067 |
* There are two common use cases for <code>SetDesiredCapacity</code>: one for users of the Auto
|
1072 |
* <code>SetDesiredCapacity</code> changes the size of your Auto Scaling group without regard to
|
1073 |
* the cooldown period. This could be useful, for example, if Auto Scaling did something
|
1074 |
* unexpected for some reason. If your cooldown period is 10 minutes, Auto Scaling would normally
|
1075 |
+
* reject requests to change the size of the group for that entire 10-minute period. The
|
1076 |
* <code>SetDesiredCapacity</code> command allows you to circumvent this restriction and change
|
1077 |
* the size of the group before the end of the cooldown period.
|
1078 |
*
|
1082 |
* <code>SetDesiredCapacity</code> to honor cooldown by setting the <code>HonorCooldown</code>
|
1083 |
* parameter to <code>true</code>.
|
1084 |
*
|
1085 |
+
* @param string $auto_scaling_group_name (Required) The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1086 |
+
* @param integer $desired_capacity (Required) The new capacity setting for the Auto Scaling group.
|
1087 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1088 |
+
* <li><code>HonorCooldown</code> - <code>boolean</code> - Optional - By default, <code>SetDesiredCapacity</code> overrides any cooldown period. Set to <code>True</code> if you want Auto Scaling to reject this request when the Auto Scaling group is in cooldown.</li>
|
1089 |
* <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>
|
1090 |
* <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>
|
1091 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1102 |
/**
|
1103 |
* Sets the health status of an instance.
|
1104 |
*
|
1105 |
+
* @param string $instance_id (Required) The identifier of the Amazon EC2 instance. [Constraints: The value must be between 1 and 16 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1106 |
* @param string $health_status (Required) The health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy. Auto Scaling should terminate and replace it. [Constraints: The value must be between 1 and 32 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1107 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1108 |
* <li><code>ShouldRespectGracePeriod</code> - <code>boolean</code> - Optional - If True, this call should respect the grace period associated with the group.</li>
|
1133 |
*
|
1134 |
* @param string $auto_scaling_group_name (Required) The name or Amazon Resource Name (ARN) of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1135 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1136 |
+
* <li><code>ScalingProcesses</code> - <code>string|array</code> - Optional - The processes that you want to suspend or resume, which can include one or more of the following:<ul><li>Launch</li><li>Terminate</li><li>HealthCheck</li><li>ReplaceUnhealthy</li><li>AZRebalance</li><li>AlarmNotification</li><li>ScheduledActions</li><li>AddToLoadBalancer</li></ul>To suspend all process types, omit this parameter. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1137 |
* <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>
|
1138 |
* <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>
|
1139 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1163 |
* immediately.
|
1164 |
* </p>
|
1165 |
*
|
1166 |
+
* @param string $instance_id (Required) The ID of the Amazon EC2 instance to be terminated. [Constraints: The value must be between 1 and 16 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1167 |
* @param boolean $should_decrement_desired_capacity (Required) Specifies whether (<em>true</em>) or not (<em>false</em>) terminating this instance should also decrement the size of the <code>AutoScalingGroup</code>.
|
1168 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1169 |
* <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>
|
1194 |
* settings take effect on any triggers after this call returns. Triggers that are currently in
|
1195 |
* progress aren't affected.
|
1196 |
*
|
1197 |
+
* <p class="note"></p>
|
1198 |
+
* <ul>
|
1199 |
+
* <li>If a new value is specified for <em>MinSize</em> without specifying the value for
|
1200 |
+
* <em>DesiredCapacity</em>, and if the new <em>MinSize</em> is larger than the current
|
1201 |
+
* size of the Auto Scaling Group, there will be an implicit call to
|
1202 |
+
* <code>SetDesiredCapacity</code> to set the group to the new <em>MinSize</em>.</li>
|
1203 |
+
* <li>If a new value is specified for <em>MaxSize</em> without specifying the value for
|
1204 |
+
* <em>DesiredCapacity</em>, and the new <em>MaxSize</em> is smaller than the current size
|
1205 |
+
* of the Auto Scaling Group, there will be an implicit call to
|
1206 |
+
* <code>SetDesiredCapacity</code> to set the group to the new <em>MaxSize</em>.</li>
|
1207 |
+
* <li>All other optional parameters are left unchanged if not passed in the request.</li>
|
1208 |
+
* </ul>
|
1209 |
*
|
1210 |
* @param string $auto_scaling_group_name (Required) The name of the Auto Scaling group. [Constraints: The value must be between 1 and 1600 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]
|
1211 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1214 |
* <li><code>MaxSize</code> - <code>integer</code> - Optional - The maximum size of the Auto Scaling group.</li>
|
1215 |
* <li><code>DesiredCapacity</code> - <code>integer</code> - Optional - The desired capacity for the Auto Scaling group.</li>
|
1216 |
* <li><code>DefaultCooldown</code> - <code>integer</code> - Optional - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.</li>
|
1217 |
+
* <li><code>AvailabilityZones</code> - <code>string|array</code> - Optional - Availability Zones for the group. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1218 |
* <li><code>HealthCheckType</code> - <code>string</code> - Optional - The service of interest for the health status check, either "EC2" for Amazon EC2 or "ELB" for Elastic Load Balancing. [Constraints: The value must be between 1 and 32 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
1219 |
* <li><code>HealthCheckGracePeriod</code> - <code>integer</code> - Optional - The length of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.</li>
|
1220 |
* <li><code>PlacementGroup</code> - <code>string</code> - Optional - The name of the cluster placement group, if applicable. For more information, go to <a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using_cluster_computing.html">Using Cluster Instances</a> in the Amazon EC2 User Guide. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
1221 |
* <li><code>VPCZoneIdentifier</code> - <code>string</code> - Optional - The subnet identifier for the Amazon VPC connection, if applicable. You can specify several subnets in a comma-separated list. When you specify <code>VPCZoneIdentifier</code> with <code>AvailabilityZones</code>, ensure that the subnets' Availability Zones match the values you specify for <code>AvailabilityZones</code>. [Constraints: The value must be between 1 and 255 characters, and must match the following regular expression pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*</code>]</li>
|
1222 |
+
* <li><code>TerminationPolicies</code> - <code>string|array</code> - Optional - A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed. For more information on creating a termination policy for your Auto Scaling group, go to <a href="http://docs.amazonwebservices.com/AutoScaling/latest/DeveloperGuide/us-termination-policy.html">Instance Termination Policy for Your Auto Scaling Group</a> in the the <em>Auto Scaling Developer Guide</em>. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1223 |
* <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>
|
1224 |
* <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>
|
1225 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1237 |
), 'member'));
|
1238 |
unset($opt['AvailabilityZones']);
|
1239 |
}
|
1240 |
+
|
1241 |
+
// Optional list (non-map)
|
1242 |
+
if (isset($opt['TerminationPolicies']))
|
1243 |
+
{
|
1244 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
1245 |
+
'TerminationPolicies' => (is_array($opt['TerminationPolicies']) ? $opt['TerminationPolicies'] : array($opt['TerminationPolicies']))
|
1246 |
+
), 'member'));
|
1247 |
+
unset($opt['TerminationPolicies']);
|
1248 |
+
}
|
1249 |
|
1250 |
return $this->authenticate('UpdateAutoScalingGroup', $opt);
|
1251 |
}
|
libs/aws/services/cloudformation.class.php
CHANGED
@@ -33,7 +33,7 @@
|
|
33 |
* information about a specific AWS product, you can find the product's technical documentation at
|
34 |
* <a href="http://aws.amazon.com/documentation/">http://aws.amazon.com/documentation/</a>.
|
35 |
*
|
36 |
-
* @version 2012.
|
37 |
* @license See the included NOTICE.md file for complete information.
|
38 |
* @copyright See the included NOTICE.md file for complete information.
|
39 |
* @link http://aws.amazon.com/cloudformation/ AWS CloudFormation
|
@@ -184,11 +184,17 @@ class AmazonCloudFormation extends CFRuntime
|
|
184 |
* <li><code>ParameterValue</code> - <code>string</code> - Optional - The value associated with the parameter.</li>
|
185 |
* </ul></li>
|
186 |
* </ul></li>
|
187 |
-
* <li><code>DisableRollback</code> - <code>boolean</code> - Optional -
|
188 |
* <li><code>TimeoutInMinutes</code> - <code>integer</code> - Optional - The amount of time that can pass before the stack status becomes CREATE_FAILED; if <code>DisableRollback</code> is not set or is set to <code>false</code>, the stack will be rolled back.</li>
|
189 |
* <li><code>NotificationARNs</code> - <code>string|array</code> - Optional - The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the <a href="http://console.aws.amazon.com/sns">SNS console</a> or your Command Line Interface (CLI). Pass a string for a single value, or an indexed array for multiple values.</li>
|
190 |
* <li><code>Capabilities</code> - <code>string|array</code> - Optional - The list of capabilities that you want to allow in the stack. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html">AWS::IAM::AccessKey</a>, <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html">AWS::IAM::Group</a>, <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html">AWS::IAM::Policy</a>, <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html">AWS::IAM::User</a>, and <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html">AWS::IAM::UserToGroupAddition</a>. Pass a string for a single value, or an indexed array for multiple values.</li>
|
191 |
-
* <li><code>OnFailure</code> - <code>string</code> - Optional -
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
* <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>
|
193 |
* <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>
|
194 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -224,6 +230,15 @@ class AmazonCloudFormation extends CFRuntime
|
|
224 |
), 'member'));
|
225 |
unset($opt['Capabilities']);
|
226 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
|
228 |
return $this->authenticate('CreateStack', $opt);
|
229 |
}
|
@@ -304,11 +319,18 @@ class AmazonCloudFormation extends CFRuntime
|
|
304 |
* For deleted stacks, DescribeStackResources returns resource information for up to 90 days after
|
305 |
* the stack has been deleted.
|
306 |
*
|
307 |
-
*
|
308 |
-
*
|
309 |
-
*
|
310 |
-
*
|
311 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
312 |
*
|
313 |
* <p class="note">
|
314 |
* A <code>ValidationError</code> is returned if you specify both <code>StackName</code> and
|
@@ -336,6 +358,7 @@ class AmazonCloudFormation extends CFRuntime
|
|
336 |
*
|
337 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
338 |
* <li><code>StackName</code> - <code>string</code> - Optional - The name or the unique identifier associated with the stack. Default: There is no default value.</li>
|
|
|
339 |
* <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>
|
340 |
* <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>
|
341 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -463,6 +486,9 @@ class AmazonCloudFormation extends CFRuntime
|
|
463 |
* To get a copy of the template for an existing stack, you can use the <code>GetTemplate</code>
|
464 |
* action.
|
465 |
*
|
|
|
|
|
|
|
466 |
* For more information about creating an update template, updating a stack, and monitoring the
|
467 |
* progress of the update, see <a href=
|
468 |
* "http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks.html">
|
33 |
* information about a specific AWS product, you can find the product's technical documentation at
|
34 |
* <a href="http://aws.amazon.com/documentation/">http://aws.amazon.com/documentation/</a>.
|
35 |
*
|
36 |
+
* @version 2012.08.22
|
37 |
* @license See the included NOTICE.md file for complete information.
|
38 |
* @copyright See the included NOTICE.md file for complete information.
|
39 |
* @link http://aws.amazon.com/cloudformation/ AWS CloudFormation
|
184 |
* <li><code>ParameterValue</code> - <code>string</code> - Optional - The value associated with the parameter.</li>
|
185 |
* </ul></li>
|
186 |
* </ul></li>
|
187 |
+
* <li><code>DisableRollback</code> - <code>boolean</code> - Optional - Set to <code>true</code> to disable rollback of the stack if stack creation failed. You can specify either <code>DisableRollback</code> or <code>OnFailure</code>, but not both. Default: <code>false</code></li>
|
188 |
* <li><code>TimeoutInMinutes</code> - <code>integer</code> - Optional - The amount of time that can pass before the stack status becomes CREATE_FAILED; if <code>DisableRollback</code> is not set or is set to <code>false</code>, the stack will be rolled back.</li>
|
189 |
* <li><code>NotificationARNs</code> - <code>string|array</code> - Optional - The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the <a href="http://console.aws.amazon.com/sns">SNS console</a> or your Command Line Interface (CLI). Pass a string for a single value, or an indexed array for multiple values.</li>
|
190 |
* <li><code>Capabilities</code> - <code>string|array</code> - Optional - The list of capabilities that you want to allow in the stack. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html">AWS::IAM::AccessKey</a>, <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html">AWS::IAM::Group</a>, <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html">AWS::IAM::Policy</a>, <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html">AWS::IAM::User</a>, and <a href="http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html">AWS::IAM::UserToGroupAddition</a>. Pass a string for a single value, or an indexed array for multiple values.</li>
|
191 |
+
* <li><code>OnFailure</code> - <code>string</code> - Optional - Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either <code>OnFailure</code> or <code>DisableRollback</code>, but not both. Default: <code>ROLLBACK</code> [Allowed values: <code>DO_NOTHING</code>, <code>ROLLBACK</code>, <code>DELETE</code>]</li>
|
192 |
+
* <li><code>Tags</code> - <code>array</code> - Optional - A set of user-defined <code>Tags</code> to associate with this stack, represented by key/value pairs. Tags defined for the stack are propogated to EC2 resources that are created as part of the stack. A maximum number of 10 tags can be specified. <ul>
|
193 |
+
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
194 |
+
* <li><code>Key</code> - <code>string</code> - Optional - <em>Required</em>. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: <code>aws:</code>.</li>
|
195 |
+
* <li><code>Value</code> - <code>string</code> - Optional - <em>Required</em>. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.</li>
|
196 |
+
* </ul></li>
|
197 |
+
* </ul></li>
|
198 |
* <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>
|
199 |
* <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>
|
200 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
230 |
), 'member'));
|
231 |
unset($opt['Capabilities']);
|
232 |
}
|
233 |
+
|
234 |
+
// Optional list + map
|
235 |
+
if (isset($opt['Tags']))
|
236 |
+
{
|
237 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
238 |
+
'Tags' => $opt['Tags']
|
239 |
+
), 'member'));
|
240 |
+
unset($opt['Tags']);
|
241 |
+
}
|
242 |
|
243 |
return $this->authenticate('CreateStack', $opt);
|
244 |
}
|
319 |
* For deleted stacks, DescribeStackResources returns resource information for up to 90 days after
|
320 |
* the stack has been deleted.
|
321 |
*
|
322 |
+
* If you do not provide either a stack or resource id, information for all stacks and resources
|
323 |
+
* will be returned, up to a limit of 100 records.
|
324 |
+
*
|
325 |
+
* <p class="note"></p>
|
326 |
+
* To list more than 100 resources use <code>ListStackResources</code> instead.
|
327 |
+
*
|
328 |
+
* You can specify either <code>StackName</code> or <code>PhysicalResourceId.</code>, but not
|
329 |
+
* both. In addition, you can specify <code>LogicalResourceId</code> to filter the returned
|
330 |
+
* result. For more information about resources, the <code>LogicalResourceId</code> and
|
331 |
+
* <code>PhysicalResourceId</code>, go to the <a href=
|
332 |
+
* "http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide">AWS CloudFormation User
|
333 |
+
* Guide</a>.
|
334 |
*
|
335 |
* <p class="note">
|
336 |
* A <code>ValidationError</code> is returned if you specify both <code>StackName</code> and
|
358 |
*
|
359 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
360 |
* <li><code>StackName</code> - <code>string</code> - Optional - The name or the unique identifier associated with the stack. Default: There is no default value.</li>
|
361 |
+
* <li><code>NextToken</code> - <code>string</code> - Optional - </li>
|
362 |
* <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>
|
363 |
* <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>
|
364 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
486 |
* To get a copy of the template for an existing stack, you can use the <code>GetTemplate</code>
|
487 |
* action.
|
488 |
*
|
489 |
+
* Tags that were associated with this stack during creation time will still be associated with
|
490 |
+
* the stack after an <code>UpdateStack</code> operation.
|
491 |
+
*
|
492 |
* For more information about creating an update template, updating a stack, and monitoring the
|
493 |
* progress of the update, see <a href=
|
494 |
* "http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks.html">
|
libs/aws/services/dynamodb.class.php
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
* Amazon DynamoDB removes traditional scalability limitations on data storage while maintaining
|
22 |
* low latency and predictable performance.
|
23 |
*
|
24 |
-
* @version 2012.
|
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/dynamodb/ Amazon DynamoDB
|
@@ -229,14 +229,47 @@ class AmazonDynamoDB extends CFRuntime
|
|
229 |
const TYPE_NUMBER = 'N';
|
230 |
|
231 |
/**
|
232 |
-
* Content type:
|
233 |
*/
|
234 |
-
const
|
235 |
|
236 |
/**
|
237 |
-
* Content type:
|
238 |
*/
|
239 |
-
const
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
|
241 |
|
242 |
/*%******************************************************************************************%*/
|
@@ -325,8 +358,10 @@ class AmazonDynamoDB extends CFRuntime
|
|
325 |
static $valid_types = array(
|
326 |
self::TYPE_STRING,
|
327 |
self::TYPE_NUMBER,
|
328 |
-
self::
|
329 |
-
self::
|
|
|
|
|
330 |
);
|
331 |
|
332 |
$info['type'] = in_array($type_override, $valid_types) ? $type_override : $info['type'];
|
@@ -379,17 +414,39 @@ class AmazonDynamoDB extends CFRuntime
|
|
379 |
return null;
|
380 |
}
|
381 |
|
382 |
-
//
|
383 |
-
|
384 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
|
386 |
-
|
|
|
387 |
{
|
388 |
return null;
|
389 |
}
|
390 |
|
391 |
-
// Create the
|
392 |
-
$info = array(
|
393 |
|
394 |
// Handle boolean values
|
395 |
if (is_bool($value))
|
@@ -401,6 +458,7 @@ class AmazonDynamoDB extends CFRuntime
|
|
401 |
elseif (is_int($value) || is_float($value))
|
402 |
{
|
403 |
$info['type'] = self::TYPE_NUMBER;
|
|
|
404 |
}
|
405 |
// Handle arrays
|
406 |
elseif (is_array($value))
|
@@ -434,13 +492,48 @@ class AmazonDynamoDB extends CFRuntime
|
|
434 |
$info['value'][] = $sub_info['value'];
|
435 |
}
|
436 |
|
437 |
-
// Make sure the type is changed to be the appropriate array type
|
438 |
-
$info['type'] =
|
|
|
|
|
|
|
|
|
|
|
439 |
}
|
440 |
|
441 |
return $info;
|
442 |
}
|
443 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
444 |
|
445 |
/*%******************************************************************************************%*/
|
446 |
// SERVICE METHODS
|
@@ -468,14 +561,18 @@ class AmazonDynamoDB extends CFRuntime
|
|
468 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
469 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
470 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
471 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
472 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
473 |
* </ul></li>
|
474 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
475 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
476 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
477 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
478 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
479 |
* </ul></li>
|
480 |
* </ul></li>
|
481 |
* </ul></li>
|
@@ -506,11 +603,13 @@ class AmazonDynamoDB extends CFRuntime
|
|
506 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
507 |
* <li><code>PutRequest</code> - <code>array</code> - Optional - A container for a Put BatchWrite request <ul>
|
508 |
* <li><code>Item</code> - <code>array</code> - Required - The item to put <ul>
|
509 |
-
* <li><code>[custom-key]</code> - <code>array</code> - Optional - AttributeValue can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
510 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
511 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
512 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
513 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
514 |
* </ul></li>
|
515 |
* </ul></li>
|
516 |
* </ul></li>
|
@@ -519,24 +618,30 @@ class AmazonDynamoDB extends CFRuntime
|
|
519 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
520 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
521 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
522 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
523 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
524 |
* </ul></li>
|
525 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
526 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
527 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
528 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
529 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
530 |
* </ul></li>
|
531 |
* </ul></li>
|
532 |
* </ul></li>
|
533 |
* </ul></li>
|
534 |
* </ul></li>
|
535 |
-
* <li><code>value</code> - <code>array</code> - Optional - AttributeValue can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
536 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
537 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
538 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
539 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
540 |
* </ul></li>
|
541 |
* </ul></li>
|
542 |
* <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>
|
@@ -566,11 +671,11 @@ class AmazonDynamoDB extends CFRuntime
|
|
566 |
* <li><code>KeySchema</code> - <code>array</code> - Required - The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute (hash-and-range) primary key. Single attribute primary keys have one index value: a <code>HashKeyElement</code>. A composite hash-and-range primary key contains two attribute values: a <code>HashKeyElement</code> and a <code>RangeKeyElement</code>. <ul>
|
567 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
568 |
* <li><code>AttributeName</code> - <code>string</code> - Required - The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</li>
|
569 |
-
* <li><code>AttributeType</code> - <code>string</code> - Required - The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a <code>Number</code>. [Allowed values: <code>S</code>, <code>N</code>]</li>
|
570 |
* </ul></li>
|
571 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
572 |
* <li><code>AttributeName</code> - <code>string</code> - Required - The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</li>
|
573 |
-
* <li><code>AttributeType</code> - <code>string</code> - Required - The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a <code>Number</code>. [Allowed values: <code>S</code>, <code>N</code>]</li>
|
574 |
* </ul></li>
|
575 |
* </ul></li>
|
576 |
* <li><code>ProvisionedThroughput</code> - <code>array</code> - Required - Provisioned throughput reserves the required read and write resources for your table in terms of <code>ReadCapacityUnits</code> and <code>WriteCapacityUnits</code>. Values for provisioned throughput depend upon your expected read/write rates, item size, and consistency. Provide the expected number of read and write operations, assuming an item size of 1k and strictly consistent reads. For 2k item size, double the value. For 3k, triple the value, etc. Eventually-consistent reads consume half the resources of strictly consistent reads. <ul>
|
@@ -600,14 +705,18 @@ class AmazonDynamoDB extends CFRuntime
|
|
600 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
601 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
602 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
603 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
604 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
605 |
* </ul></li>
|
606 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
607 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
608 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
609 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
610 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
611 |
* </ul></li>
|
612 |
* </ul></li>
|
613 |
* <li><code>Expected</code> - <code>array</code> - Optional - Designates an attribute for a conditional modification. The <code>Expected</code> parameter allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value before modifying it. <ul>
|
@@ -615,8 +724,10 @@ class AmazonDynamoDB extends CFRuntime
|
|
615 |
* <li><code>Value</code> - <code>array</code> - Optional - Specify whether or not a value already exists and has a specific content for the attribute name-value pair. <ul>
|
616 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
617 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
618 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
619 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
620 |
* </ul></li>
|
621 |
* <li><code>Exists</code> - <code>boolean</code> - Optional - Specify whether or not a value already exists for the attribute name-value pair.</li>
|
622 |
* </ul></li>
|
@@ -687,14 +798,18 @@ class AmazonDynamoDB extends CFRuntime
|
|
687 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
688 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
689 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
690 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
691 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
692 |
* </ul></li>
|
693 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
694 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
695 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
696 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
697 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
698 |
* </ul></li>
|
699 |
* </ul></li>
|
700 |
* <li><code>AttributesToGet</code> - <code>string|array</code> - Optional - List of <code>Attribute</code> names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result. Pass a string for a single value, or an indexed array for multiple values.</li>
|
@@ -745,11 +860,13 @@ class AmazonDynamoDB extends CFRuntime
|
|
745 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
746 |
* <li><code>TableName</code> - <code>string</code> - Required - The name of the table in which you want to put an item. Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: <code>[a-zA-Z0-9_.-]+</code>]</li>
|
747 |
* <li><code>Item</code> - <code>array</code> - Required - A map of the attributes for the item, and must include the primary key values that define the item. Other attribute name-value pairs can be provided for the item. <ul>
|
748 |
-
* <li><code>[custom-key]</code> - <code>array</code> - Optional - AttributeValue can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
749 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
750 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
751 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
752 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
753 |
* </ul></li>
|
754 |
* </ul></li>
|
755 |
* <li><code>Expected</code> - <code>array</code> - Optional - Designates an attribute for a conditional modification. The <code>Expected</code> parameter allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value before modifying it. <ul>
|
@@ -757,8 +874,10 @@ class AmazonDynamoDB extends CFRuntime
|
|
757 |
* <li><code>Value</code> - <code>array</code> - Optional - Specify whether or not a value already exists and has a specific content for the attribute name-value pair. <ul>
|
758 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
759 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
760 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
761 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
762 |
* </ul></li>
|
763 |
* <li><code>Exists</code> - <code>boolean</code> - Optional - Specify whether or not a value already exists for the attribute name-value pair.</li>
|
764 |
* </ul></li>
|
@@ -792,16 +911,20 @@ class AmazonDynamoDB extends CFRuntime
|
|
792 |
* <li><code>HashKeyValue</code> - <code>array</code> - Required - Attribute value of the hash component of the composite primary key. <ul>
|
793 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
794 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
795 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
796 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
797 |
* </ul></li>
|
798 |
* <li><code>RangeKeyCondition</code> - <code>array</code> - Optional - A container for the attribute values and comparison operators to use for the query. <ul>
|
799 |
* <li><code>AttributeValueList</code> - <code>array</code> - Optional - A list of attribute values to be used with a comparison operator for a scan or query operation. For comparisons that require more than one value, such as a <code>BETWEEN</code> comparison, the AttributeValueList contains two attribute values and the comparison operator. <ul>
|
800 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
801 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
802 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
803 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
804 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
805 |
* </ul></li>
|
806 |
* </ul></li>
|
807 |
* <li><code>ComparisonOperator</code> - <code>string</code> - Required - A comparison operator is an enumeration of several operations:<ul><li> <code>EQ</code> for <em>equal</em>.</li><li> <code>NE</code> for <em>not equal</em>.</li><li> <code>IN</code> checks for exact matches.</li><li> <code>LE</code> for <em>less than or equal to</em>.</li><li> <code>LT</code> for <em>less than</em>.</li><li> <code>GE</code> for <em>greater than or equal to</em>.</li><li> <code>GT</code> for <em>greater than</em>.</li><li> <code>BETWEEN</code> for <em>between</em>.</li><li> <code>NOT_NULL</code> for <em>exists</em>.</li><li> <code>NULL</code> for <em>not exists</em>.</li><li> <code>CONTAINS</code> for substring or value in a set.</li><li> <code>NOT_CONTAINS</code> for absence of a substring or absence of a value in a set.</li><li> <code>BEGINS_WITH</code> for a substring prefix.</li></ul>Scan operations support all available comparison operators. Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH. [Allowed values: <code>EQ</code>, <code>NE</code>, <code>IN</code>, <code>LE</code>, <code>LT</code>, <code>GE</code>, <code>GT</code>, <code>BETWEEN</code>, <code>NOT_NULL</code>, <code>NULL</code>, <code>CONTAINS</code>, <code>NOT_CONTAINS</code>, <code>BEGINS_WITH</code>]</li>
|
@@ -811,14 +934,18 @@ class AmazonDynamoDB extends CFRuntime
|
|
811 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
812 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
813 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
814 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
815 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
816 |
* </ul></li>
|
817 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
818 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
819 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
820 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
821 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
822 |
* </ul></li>
|
823 |
* </ul></li>
|
824 |
* <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>
|
@@ -854,8 +981,10 @@ class AmazonDynamoDB extends CFRuntime
|
|
854 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
855 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
856 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
857 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
858 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
859 |
* </ul></li>
|
860 |
* </ul></li>
|
861 |
* <li><code>ComparisonOperator</code> - <code>string</code> - Required - A comparison operator is an enumeration of several operations:<ul><li> <code>EQ</code> for <em>equal</em>.</li><li> <code>NE</code> for <em>not equal</em>.</li><li> <code>IN</code> checks for exact matches.</li><li> <code>LE</code> for <em>less than or equal to</em>.</li><li> <code>LT</code> for <em>less than</em>.</li><li> <code>GE</code> for <em>greater than or equal to</em>.</li><li> <code>GT</code> for <em>greater than</em>.</li><li> <code>BETWEEN</code> for <em>between</em>.</li><li> <code>NOT_NULL</code> for <em>exists</em>.</li><li> <code>NULL</code> for <em>not exists</em>.</li><li> <code>CONTAINS</code> for substring or value in a set.</li><li> <code>NOT_CONTAINS</code> for absence of a substring or absence of a value in a set.</li><li> <code>BEGINS_WITH</code> for a substring prefix.</li></ul>Scan operations support all available comparison operators. Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH. [Allowed values: <code>EQ</code>, <code>NE</code>, <code>IN</code>, <code>LE</code>, <code>LT</code>, <code>GE</code>, <code>GT</code>, <code>BETWEEN</code>, <code>NOT_NULL</code>, <code>NULL</code>, <code>CONTAINS</code>, <code>NOT_CONTAINS</code>, <code>BEGINS_WITH</code>]</li>
|
@@ -865,14 +994,18 @@ class AmazonDynamoDB extends CFRuntime
|
|
865 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
866 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
867 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
868 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
869 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
870 |
* </ul></li>
|
871 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
872 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
873 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
874 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
875 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
876 |
* </ul></li>
|
877 |
* </ul></li>
|
878 |
* <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>
|
@@ -904,23 +1037,29 @@ class AmazonDynamoDB extends CFRuntime
|
|
904 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
905 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
906 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
907 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
908 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
909 |
* </ul></li>
|
910 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
911 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
912 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
913 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
914 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
915 |
* </ul></li>
|
916 |
* </ul></li>
|
917 |
* <li><code>AttributeUpdates</code> - <code>array</code> - Required - Map of attribute name to the new value and action for the update. The attribute names specify the attributes to modify, and cannot contain any primary key attributes. <ul>
|
918 |
* <li><code>[custom-key]</code> - <code>array</code> - Optional - Specifies the attribute to update and how to perform the update. Possible values: <code>PUT</code> (default), <code>ADD</code> or <code>DELETE</code>. <ul>
|
919 |
-
* <li><code>Value</code> - <code>array</code> - Optional - AttributeValue can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
920 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
921 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
922 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
923 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
924 |
* </ul></li>
|
925 |
* <li><code>Action</code> - <code>string</code> - Optional - The type of action for an item update operation. Only use the add action for numbers or sets; the specified value is added to the existing value. If a set of values is specified, the values are added to the existing set. Adds the specified attribute. If the attribute exists, it is replaced by the new value. If no value is specified, this removes the attribute and its value. If a set of values is specified, then the values in the specified set are removed from the old set. [Allowed values: <code>ADD</code>, <code>PUT</code>, <code>DELETE</code>]</li>
|
926 |
* </ul></li>
|
@@ -930,8 +1069,10 @@ class AmazonDynamoDB extends CFRuntime
|
|
930 |
* <li><code>Value</code> - <code>array</code> - Optional - Specify whether or not a value already exists and has a specific content for the attribute name-value pair. <ul>
|
931 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
932 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
|
|
933 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
934 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
|
|
935 |
* </ul></li>
|
936 |
* <li><code>Exists</code> - <code>boolean</code> - Optional - Specify whether or not a value already exists for the attribute name-value pair.</li>
|
937 |
* </ul></li>
|
@@ -977,3 +1118,46 @@ class AmazonDynamoDB extends CFRuntime
|
|
977 |
// EXCEPTIONS
|
978 |
|
979 |
class DynamoDB_Exception extends Exception {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
* Amazon DynamoDB removes traditional scalability limitations on data storage while maintaining
|
22 |
* low latency and predictable performance.
|
23 |
*
|
24 |
+
* @version 2012.09.18
|
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/dynamodb/ Amazon DynamoDB
|
229 |
const TYPE_NUMBER = 'N';
|
230 |
|
231 |
/**
|
232 |
+
* Content type: binary
|
233 |
*/
|
234 |
+
const TYPE_BINARY = 'B';
|
235 |
|
236 |
/**
|
237 |
+
* Content type: string set
|
238 |
*/
|
239 |
+
const TYPE_STRING_SET = 'SS';
|
240 |
+
|
241 |
+
/**
|
242 |
+
* Content type: number set
|
243 |
+
*/
|
244 |
+
const TYPE_NUMBER_SET = 'NS';
|
245 |
+
|
246 |
+
/**
|
247 |
+
* Content type: binary set
|
248 |
+
*/
|
249 |
+
const TYPE_BINARY_SET = 'BS';
|
250 |
+
|
251 |
+
/**
|
252 |
+
* Content type: string set
|
253 |
+
* @deprecated Please use TYPE_STRING_SET
|
254 |
+
*/
|
255 |
+
const TYPE_ARRAY_OF_STRINGS = self::TYPE_STRING_SET;
|
256 |
+
|
257 |
+
/**
|
258 |
+
* Content type: number set
|
259 |
+
* @deprecated Please use TYPE_NUMBER_SET
|
260 |
+
*/
|
261 |
+
const TYPE_ARRAY_OF_NUMBERS = self::TYPE_NUMBER_SET;
|
262 |
+
|
263 |
+
/**
|
264 |
+
* Content type: binary set
|
265 |
+
* @deprecated Please use TYPE_BINARY_SET
|
266 |
+
*/
|
267 |
+
const TYPE_ARRAY_OF_BINARIES = self::TYPE_BINARY_SET;
|
268 |
+
|
269 |
+
/**
|
270 |
+
* The suffix used for identifying a set type
|
271 |
+
*/
|
272 |
+
const SUFFIX_FOR_TYPES = 'S';
|
273 |
|
274 |
|
275 |
/*%******************************************************************************************%*/
|
358 |
static $valid_types = array(
|
359 |
self::TYPE_STRING,
|
360 |
self::TYPE_NUMBER,
|
361 |
+
self::TYPE_BINARY,
|
362 |
+
self::TYPE_STRING_SET,
|
363 |
+
self::TYPE_NUMBER_SET,
|
364 |
+
self::TYPE_BINARY_SET,
|
365 |
);
|
366 |
|
367 |
$info['type'] = in_array($type_override, $valid_types) ? $type_override : $info['type'];
|
414 |
return null;
|
415 |
}
|
416 |
|
417 |
+
// Handle objects (including DynamoDB Binary types)
|
418 |
+
if (is_object($value))
|
419 |
+
{
|
420 |
+
if ($value instanceof DynamoDB_Binary || $value instanceof DynamoDB_BinarySet)
|
421 |
+
{
|
422 |
+
$type = ($value instanceof DynamoDB_Binary) ? self::TYPE_BINARY : self::TYPE_BINARY_SET;
|
423 |
+
return array(
|
424 |
+
'value' => $value->{$type},
|
425 |
+
'type' => $type
|
426 |
+
);
|
427 |
+
}
|
428 |
+
elseif ($value instanceof Traversable)
|
429 |
+
{
|
430 |
+
$value = iterator_to_array($value);
|
431 |
+
}
|
432 |
+
elseif (method_exists($value, '__toString'))
|
433 |
+
{
|
434 |
+
$value = (string) $value;
|
435 |
+
}
|
436 |
+
else
|
437 |
+
{
|
438 |
+
return null;
|
439 |
+
}
|
440 |
+
}
|
441 |
|
442 |
+
// Handle empty values (zeroes are OK though) and resources
|
443 |
+
if ($value === null || $value === array() || $value === '' || is_resource($value))
|
444 |
{
|
445 |
return null;
|
446 |
}
|
447 |
|
448 |
+
// Create the attribute value info
|
449 |
+
$info = array();
|
450 |
|
451 |
// Handle boolean values
|
452 |
if (is_bool($value))
|
458 |
elseif (is_int($value) || is_float($value))
|
459 |
{
|
460 |
$info['type'] = self::TYPE_NUMBER;
|
461 |
+
$info['value'] = (string) $value;
|
462 |
}
|
463 |
// Handle arrays
|
464 |
elseif (is_array($value))
|
492 |
$info['value'][] = $sub_info['value'];
|
493 |
}
|
494 |
|
495 |
+
// Make sure the type is changed to be the appropriate array/set type
|
496 |
+
$info['type'] = $set_type . self::SUFFIX_FOR_TYPES;
|
497 |
+
}
|
498 |
+
// Handle strings
|
499 |
+
else
|
500 |
+
{
|
501 |
+
$info = array('value' => (string) $value, 'type' => self::TYPE_STRING);
|
502 |
}
|
503 |
|
504 |
return $info;
|
505 |
}
|
506 |
|
507 |
+
/**
|
508 |
+
* A shortcut/factory-type method for indicating a DynamoDB binary type. Binary types are
|
509 |
+
* like strings but get base64 encoded automatically. The DynamoDB service decodes these
|
510 |
+
* values and stores them in the raw format. This allows the transfer of binary data to
|
511 |
+
* DynamoDB without the extra storage costs of the base64 encoding inflation.
|
512 |
+
*
|
513 |
+
* @param string $value (Required) The value to be converted to a binary type
|
514 |
+
* @return DynamoDB_Binary
|
515 |
+
*/
|
516 |
+
public function binary($value)
|
517 |
+
{
|
518 |
+
return new DynamoDB_Binary($value);
|
519 |
+
}
|
520 |
+
|
521 |
+
/**
|
522 |
+
* A shortcut/factory-type method for indicating a DynamoDB binary set type.
|
523 |
+
*
|
524 |
+
* @param array $values (Required) The values to be converted to a binary set.
|
525 |
+
* @return DynamoDB_BinarySet
|
526 |
+
*/
|
527 |
+
public function binary_set($values)
|
528 |
+
{
|
529 |
+
if (is_scalar($values))
|
530 |
+
{
|
531 |
+
$values = func_get_args();
|
532 |
+
}
|
533 |
+
|
534 |
+
return new DynamoDB_BinarySet($values);
|
535 |
+
}
|
536 |
+
|
537 |
|
538 |
/*%******************************************************************************************%*/
|
539 |
// SERVICE METHODS
|
561 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
562 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
563 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
564 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
565 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
566 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
567 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
568 |
* </ul></li>
|
569 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
570 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
571 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
572 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
573 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
574 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
575 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
576 |
* </ul></li>
|
577 |
* </ul></li>
|
578 |
* </ul></li>
|
603 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
604 |
* <li><code>PutRequest</code> - <code>array</code> - Optional - A container for a Put BatchWrite request <ul>
|
605 |
* <li><code>Item</code> - <code>array</code> - Required - The item to put <ul>
|
606 |
+
* <li><code>[custom-key]</code> - <code>array</code> - Optional - AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>. <ul>
|
607 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
608 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
609 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
610 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
611 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
612 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
613 |
* </ul></li>
|
614 |
* </ul></li>
|
615 |
* </ul></li>
|
618 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
619 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
620 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
621 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
622 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
623 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
624 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
625 |
* </ul></li>
|
626 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
627 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
628 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
629 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
630 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
631 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
632 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
633 |
* </ul></li>
|
634 |
* </ul></li>
|
635 |
* </ul></li>
|
636 |
* </ul></li>
|
637 |
* </ul></li>
|
638 |
+
* <li><code>value</code> - <code>array</code> - Optional - AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>. <ul>
|
639 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
640 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
641 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
642 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
643 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
644 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
645 |
* </ul></li>
|
646 |
* </ul></li>
|
647 |
* <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>
|
671 |
* <li><code>KeySchema</code> - <code>array</code> - Required - The KeySchema identifies the primary key as a one attribute primary key (hash) or a composite two attribute (hash-and-range) primary key. Single attribute primary keys have one index value: a <code>HashKeyElement</code>. A composite hash-and-range primary key contains two attribute values: a <code>HashKeyElement</code> and a <code>RangeKeyElement</code>. <ul>
|
672 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
673 |
* <li><code>AttributeName</code> - <code>string</code> - Required - The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</li>
|
674 |
+
* <li><code>AttributeType</code> - <code>string</code> - Required - The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a <code>Number</code>. [Allowed values: <code>S</code>, <code>N</code>, <code>B</code>]</li>
|
675 |
* </ul></li>
|
676 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
677 |
* <li><code>AttributeName</code> - <code>string</code> - Required - The <code>AttributeName</code> of the <code>KeySchemaElement</code>.</li>
|
678 |
+
* <li><code>AttributeType</code> - <code>string</code> - Required - The <code>AttributeType</code> of the <code>KeySchemaElement</code> which can be a <code>String</code> or a <code>Number</code>. [Allowed values: <code>S</code>, <code>N</code>, <code>B</code>]</li>
|
679 |
* </ul></li>
|
680 |
* </ul></li>
|
681 |
* <li><code>ProvisionedThroughput</code> - <code>array</code> - Required - Provisioned throughput reserves the required read and write resources for your table in terms of <code>ReadCapacityUnits</code> and <code>WriteCapacityUnits</code>. Values for provisioned throughput depend upon your expected read/write rates, item size, and consistency. Provide the expected number of read and write operations, assuming an item size of 1k and strictly consistent reads. For 2k item size, double the value. For 3k, triple the value, etc. Eventually-consistent reads consume half the resources of strictly consistent reads. <ul>
|
705 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
706 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
707 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
708 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
709 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
710 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
711 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
712 |
* </ul></li>
|
713 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
714 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
715 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
716 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
717 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
718 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
719 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
720 |
* </ul></li>
|
721 |
* </ul></li>
|
722 |
* <li><code>Expected</code> - <code>array</code> - Optional - Designates an attribute for a conditional modification. The <code>Expected</code> parameter allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value before modifying it. <ul>
|
724 |
* <li><code>Value</code> - <code>array</code> - Optional - Specify whether or not a value already exists and has a specific content for the attribute name-value pair. <ul>
|
725 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
726 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
727 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
728 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
729 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
730 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
731 |
* </ul></li>
|
732 |
* <li><code>Exists</code> - <code>boolean</code> - Optional - Specify whether or not a value already exists for the attribute name-value pair.</li>
|
733 |
* </ul></li>
|
798 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
799 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
800 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
801 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
802 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
803 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
804 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
805 |
* </ul></li>
|
806 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
807 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
808 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
809 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
810 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
811 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
812 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
813 |
* </ul></li>
|
814 |
* </ul></li>
|
815 |
* <li><code>AttributesToGet</code> - <code>string|array</code> - Optional - List of <code>Attribute</code> names. If attribute names are not specified then all attributes will be returned. If some attributes are not found, they will not appear in the result. Pass a string for a single value, or an indexed array for multiple values.</li>
|
860 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
861 |
* <li><code>TableName</code> - <code>string</code> - Required - The name of the table in which you want to put an item. Allowed characters are <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code> (underscore), <code>-</code> (hyphen) and <code>.</code> (period). [Constraints: The value must be between 3 and 255 characters, and must match the following regular expression pattern: <code>[a-zA-Z0-9_.-]+</code>]</li>
|
862 |
* <li><code>Item</code> - <code>array</code> - Required - A map of the attributes for the item, and must include the primary key values that define the item. Other attribute name-value pairs can be provided for the item. <ul>
|
863 |
+
* <li><code>[custom-key]</code> - <code>array</code> - Optional - AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>. <ul>
|
864 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
865 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
866 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
867 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
868 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
869 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
870 |
* </ul></li>
|
871 |
* </ul></li>
|
872 |
* <li><code>Expected</code> - <code>array</code> - Optional - Designates an attribute for a conditional modification. The <code>Expected</code> parameter allows you to provide an attribute name, and whether or not Amazon DynamoDB should check to see if the attribute has a particular value before modifying it. <ul>
|
874 |
* <li><code>Value</code> - <code>array</code> - Optional - Specify whether or not a value already exists and has a specific content for the attribute name-value pair. <ul>
|
875 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
876 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
877 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
878 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
879 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
880 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
881 |
* </ul></li>
|
882 |
* <li><code>Exists</code> - <code>boolean</code> - Optional - Specify whether or not a value already exists for the attribute name-value pair.</li>
|
883 |
* </ul></li>
|
911 |
* <li><code>HashKeyValue</code> - <code>array</code> - Required - Attribute value of the hash component of the composite primary key. <ul>
|
912 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
913 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
914 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
915 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
916 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
917 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
918 |
* </ul></li>
|
919 |
* <li><code>RangeKeyCondition</code> - <code>array</code> - Optional - A container for the attribute values and comparison operators to use for the query. <ul>
|
920 |
* <li><code>AttributeValueList</code> - <code>array</code> - Optional - A list of attribute values to be used with a comparison operator for a scan or query operation. For comparisons that require more than one value, such as a <code>BETWEEN</code> comparison, the AttributeValueList contains two attribute values and the comparison operator. <ul>
|
921 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
922 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
923 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
924 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
925 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
926 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
927 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
928 |
* </ul></li>
|
929 |
* </ul></li>
|
930 |
* <li><code>ComparisonOperator</code> - <code>string</code> - Required - A comparison operator is an enumeration of several operations:<ul><li> <code>EQ</code> for <em>equal</em>.</li><li> <code>NE</code> for <em>not equal</em>.</li><li> <code>IN</code> checks for exact matches.</li><li> <code>LE</code> for <em>less than or equal to</em>.</li><li> <code>LT</code> for <em>less than</em>.</li><li> <code>GE</code> for <em>greater than or equal to</em>.</li><li> <code>GT</code> for <em>greater than</em>.</li><li> <code>BETWEEN</code> for <em>between</em>.</li><li> <code>NOT_NULL</code> for <em>exists</em>.</li><li> <code>NULL</code> for <em>not exists</em>.</li><li> <code>CONTAINS</code> for substring or value in a set.</li><li> <code>NOT_CONTAINS</code> for absence of a substring or absence of a value in a set.</li><li> <code>BEGINS_WITH</code> for a substring prefix.</li></ul>Scan operations support all available comparison operators. Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH. [Allowed values: <code>EQ</code>, <code>NE</code>, <code>IN</code>, <code>LE</code>, <code>LT</code>, <code>GE</code>, <code>GT</code>, <code>BETWEEN</code>, <code>NOT_NULL</code>, <code>NULL</code>, <code>CONTAINS</code>, <code>NOT_CONTAINS</code>, <code>BEGINS_WITH</code>]</li>
|
934 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
935 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
936 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
937 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
938 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
939 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
940 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
941 |
* </ul></li>
|
942 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
943 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
944 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
945 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
946 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
947 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
948 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
949 |
* </ul></li>
|
950 |
* </ul></li>
|
951 |
* <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>
|
981 |
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
982 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
983 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
984 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
985 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
986 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
987 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
988 |
* </ul></li>
|
989 |
* </ul></li>
|
990 |
* <li><code>ComparisonOperator</code> - <code>string</code> - Required - A comparison operator is an enumeration of several operations:<ul><li> <code>EQ</code> for <em>equal</em>.</li><li> <code>NE</code> for <em>not equal</em>.</li><li> <code>IN</code> checks for exact matches.</li><li> <code>LE</code> for <em>less than or equal to</em>.</li><li> <code>LT</code> for <em>less than</em>.</li><li> <code>GE</code> for <em>greater than or equal to</em>.</li><li> <code>GT</code> for <em>greater than</em>.</li><li> <code>BETWEEN</code> for <em>between</em>.</li><li> <code>NOT_NULL</code> for <em>exists</em>.</li><li> <code>NULL</code> for <em>not exists</em>.</li><li> <code>CONTAINS</code> for substring or value in a set.</li><li> <code>NOT_CONTAINS</code> for absence of a substring or absence of a value in a set.</li><li> <code>BEGINS_WITH</code> for a substring prefix.</li></ul>Scan operations support all available comparison operators. Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH. [Allowed values: <code>EQ</code>, <code>NE</code>, <code>IN</code>, <code>LE</code>, <code>LT</code>, <code>GE</code>, <code>GT</code>, <code>BETWEEN</code>, <code>NOT_NULL</code>, <code>NULL</code>, <code>CONTAINS</code>, <code>NOT_CONTAINS</code>, <code>BEGINS_WITH</code>]</li>
|
994 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
995 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
996 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
997 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
998 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
999 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1000 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
1001 |
* </ul></li>
|
1002 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
1003 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
1004 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
1005 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
1006 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1007 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1008 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
1009 |
* </ul></li>
|
1010 |
* </ul></li>
|
1011 |
* <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>
|
1037 |
* <li><code>HashKeyElement</code> - <code>array</code> - Required - A hash key element is treated as the primary key, and can be a string or a number. Single attribute primary keys have one index value. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
1038 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
1039 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
1040 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
1041 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1042 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1043 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
1044 |
* </ul></li>
|
1045 |
* <li><code>RangeKeyElement</code> - <code>array</code> - Optional - A range key element is treated as a secondary key (used in conjunction with the primary key), and can be a string or a number, and is only used for hash-and-range primary keys. The value can be <code>String</code>, <code>Number</code>, <code>StringSet</code>, <code>NumberSet</code>. <ul>
|
1046 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
1047 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
1048 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
1049 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1050 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1051 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
1052 |
* </ul></li>
|
1053 |
* </ul></li>
|
1054 |
* <li><code>AttributeUpdates</code> - <code>array</code> - Required - Map of attribute name to the new value and action for the update. The attribute names specify the attributes to modify, and cannot contain any primary key attributes. <ul>
|
1055 |
* <li><code>[custom-key]</code> - <code>array</code> - Optional - Specifies the attribute to update and how to perform the update. Possible values: <code>PUT</code> (default), <code>ADD</code> or <code>DELETE</code>. <ul>
|
1056 |
+
* <li><code>Value</code> - <code>array</code> - Optional - AttributeValue can be <code>String</code>, <code>Number</code>, <code>Binary</code>, <code>StringSet</code>, <code>NumberSet</code>, <code>BinarySet</code>. <ul>
|
1057 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
1058 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
1059 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
1060 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1061 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1062 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
1063 |
* </ul></li>
|
1064 |
* <li><code>Action</code> - <code>string</code> - Optional - The type of action for an item update operation. Only use the add action for numbers or sets; the specified value is added to the existing value. If a set of values is specified, the values are added to the existing set. Adds the specified attribute. If the attribute exists, it is replaced by the new value. If no value is specified, this removes the attribute and its value. If a set of values is specified, then the values in the specified set are removed from the old set. [Allowed values: <code>ADD</code>, <code>PUT</code>, <code>DELETE</code>]</li>
|
1065 |
* </ul></li>
|
1069 |
* <li><code>Value</code> - <code>array</code> - Optional - Specify whether or not a value already exists and has a specific content for the attribute name-value pair. <ul>
|
1070 |
* <li><code>S</code> - <code>string</code> - Optional - Strings are Unicode with UTF-8 binary encoding. The maximum size is limited by the size of the primary key (1024 bytes as a range part of a key or 2048 bytes as a single part hash key) or the item size (64k).</li>
|
1071 |
* <li><code>N</code> - <code>string</code> - Optional - Numbers are positive or negative exact-value decimals and integers. A number can have up to 38 digits precision and can be between 10^-128 to 10^+126.</li>
|
1072 |
+
* <li><code>B</code> - <code>blob</code> - Optional - Binary attributes are sequences of unsigned bytes.</li>
|
1073 |
* <li><code>SS</code> - <code>string|array</code> - Optional - A set of strings. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1074 |
* <li><code>NS</code> - <code>string|array</code> - Optional - A set of numbers. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1075 |
+
* <li><code>BS</code> - <code>blob</code> - Optional - A set of binary attributes.</li>
|
1076 |
* </ul></li>
|
1077 |
* <li><code>Exists</code> - <code>boolean</code> - Optional - Specify whether or not a value already exists for the attribute name-value pair.</li>
|
1078 |
* </ul></li>
|
1118 |
// EXCEPTIONS
|
1119 |
|
1120 |
class DynamoDB_Exception extends Exception {}
|
1121 |
+
|
1122 |
+
|
1123 |
+
/*%******************************************************************************************%*/
|
1124 |
+
// BINARY TYPE HELPER CLASSES
|
1125 |
+
|
1126 |
+
/**
|
1127 |
+
* Represents a DynamoDB Binary type. Does base64_encoding automatically and can be
|
1128 |
+
* json_encoded directly.
|
1129 |
+
*/
|
1130 |
+
class DynamoDB_Binary
|
1131 |
+
{
|
1132 |
+
/**
|
1133 |
+
* Constructor for DynamoDB Binary type.
|
1134 |
+
*
|
1135 |
+
* @param string $value The binary value.
|
1136 |
+
*/
|
1137 |
+
public function __construct($value)
|
1138 |
+
{
|
1139 |
+
$this->{AmazonDynamoDB::TYPE_BINARY} = base64_encode((string) $value);
|
1140 |
+
}
|
1141 |
+
}
|
1142 |
+
|
1143 |
+
/**
|
1144 |
+
* Represents a DynamoDB binary set type. Does base64_encoding automatically and can be
|
1145 |
+
* json_encoded directly.
|
1146 |
+
*/
|
1147 |
+
class DynamoDB_BinarySet
|
1148 |
+
{
|
1149 |
+
/**
|
1150 |
+
* Constructor for DynamoDB Binary Set type.
|
1151 |
+
*
|
1152 |
+
* @param array $values Array of binary values.
|
1153 |
+
*/
|
1154 |
+
public function __construct(array $values)
|
1155 |
+
{
|
1156 |
+
foreach ($values as &$value)
|
1157 |
+
{
|
1158 |
+
$value = base64_encode((string) $value);
|
1159 |
+
}
|
1160 |
+
|
1161 |
+
$this->{AmazonDynamoDB::TYPE_BINARY_SET} = array_values($values);
|
1162 |
+
}
|
1163 |
+
}
|
libs/aws/services/ec2.class.php
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
*
|
30 |
* Visit <a href="http://aws.amazon.com/ec2/">http://aws.amazon.com/ec2/</a> for more information.
|
31 |
*
|
32 |
-
* @version 2012.
|
33 |
* @license See the included NOTICE.md file for complete information.
|
34 |
* @copyright See the included NOTICE.md file for complete information.
|
35 |
* @link http://aws.amazon.com/ec2/ Amazon EC2
|
@@ -138,7 +138,7 @@ class AmazonEC2 extends CFRuntime
|
|
138 |
*/
|
139 |
public function __construct(array $options = array())
|
140 |
{
|
141 |
-
$this->api_version = '2012-
|
142 |
$this->hostname = self::DEFAULT_URL;
|
143 |
$this->auth_class = 'AuthV2Query';
|
144 |
|
@@ -625,6 +625,23 @@ class AmazonEC2 extends CFRuntime
|
|
625 |
return $this->authenticate('CancelExportTask', $opt);
|
626 |
}
|
627 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
628 |
/**
|
629 |
* Cancels one or more Spot Instance requests.
|
630 |
*
|
@@ -1020,6 +1037,39 @@ class AmazonEC2 extends CFRuntime
|
|
1020 |
return $this->authenticate('CreatePlacementGroup', $opt);
|
1021 |
}
|
1022 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1023 |
/**
|
1024 |
* Creates a new route in a route table within a VPC. The route's target can be either a gateway
|
1025 |
* attached to the VPC or a NAT instance in the VPC.
|
@@ -1291,6 +1341,11 @@ class AmazonEC2 extends CFRuntime
|
|
1291 |
* @param string $customer_gateway_id (Required) The ID of the customer gateway.
|
1292 |
* @param string $vpn_gateway_id (Required) The ID of the VPN gateway.
|
1293 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
|
|
|
|
|
|
|
|
|
|
1294 |
* <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>
|
1295 |
* <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>
|
1296 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -1302,9 +1357,37 @@ class AmazonEC2 extends CFRuntime
|
|
1302 |
$opt['CustomerGatewayId'] = $customer_gateway_id;
|
1303 |
$opt['VpnGatewayId'] = $vpn_gateway_id;
|
1304 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1305 |
return $this->authenticate('CreateVpnConnection', $opt);
|
1306 |
}
|
1307 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1308 |
/**
|
1309 |
* Creates a new VPN gateway. A VPN gateway is the VPC-side endpoint for your VPN connection. You
|
1310 |
* can create a VPN gateway before creating the VPC itself.
|
@@ -1717,6 +1800,25 @@ class AmazonEC2 extends CFRuntime
|
|
1717 |
return $this->authenticate('DeleteVpnConnection', $opt);
|
1718 |
}
|
1719 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1720 |
/**
|
1721 |
* Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components
|
1722 |
* because you no longer need them. We recommend that before you delete a VPN gateway, you detach
|
@@ -2700,6 +2802,38 @@ class AmazonEC2 extends CFRuntime
|
|
2700 |
return $this->authenticate('DescribeReservedInstances', $opt);
|
2701 |
}
|
2702 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2703 |
/**
|
2704 |
* The DescribeReservedInstancesOfferings operation describes Reserved Instance offerings that are
|
2705 |
* available for purchase. With Amazon EC2 Reserved Instances, you purchase the right to launch
|
@@ -3517,6 +3651,25 @@ class AmazonEC2 extends CFRuntime
|
|
3517 |
return $this->authenticate('DetachVpnGateway', $opt);
|
3518 |
}
|
3519 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3520 |
/**
|
3521 |
* The DisassociateAddress operation disassociates the specified elastic IP address from the
|
3522 |
* instance to which it is assigned. This is an idempotent operation. If you enter it more than
|
@@ -3560,6 +3713,25 @@ class AmazonEC2 extends CFRuntime
|
|
3560 |
return $this->authenticate('DisassociateRouteTable', $opt);
|
3561 |
}
|
3562 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3563 |
/**
|
3564 |
* Enable IO on the volume after an event has occured.
|
3565 |
*
|
@@ -4117,6 +4289,12 @@ class AmazonEC2 extends CFRuntime
|
|
4117 |
* @param string $reserved_instances_offering_id (Required) The unique ID of the Reserved Instances offering being purchased.
|
4118 |
* @param integer $instance_count (Required) The number of Reserved Instances to purchase.
|
4119 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
4120 |
* <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>
|
4121 |
* <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>
|
4122 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -4127,6 +4305,15 @@ class AmazonEC2 extends CFRuntime
|
|
4127 |
$opt['ReservedInstancesOfferingId'] = $reserved_instances_offering_id;
|
4128 |
$opt['InstanceCount'] = $instance_count;
|
4129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4130 |
return $this->authenticate('PurchaseReservedInstancesOffering', $opt);
|
4131 |
}
|
4132 |
|
29 |
*
|
30 |
* Visit <a href="http://aws.amazon.com/ec2/">http://aws.amazon.com/ec2/</a> for more information.
|
31 |
*
|
32 |
+
* @version 2012.09.18
|
33 |
* @license See the included NOTICE.md file for complete information.
|
34 |
* @copyright See the included NOTICE.md file for complete information.
|
35 |
* @link http://aws.amazon.com/ec2/ Amazon EC2
|
138 |
*/
|
139 |
public function __construct(array $options = array())
|
140 |
{
|
141 |
+
$this->api_version = '2012-08-15';
|
142 |
$this->hostname = self::DEFAULT_URL;
|
143 |
$this->auth_class = 'AuthV2Query';
|
144 |
|
625 |
return $this->authenticate('CancelExportTask', $opt);
|
626 |
}
|
627 |
|
628 |
+
/**
|
629 |
+
*
|
630 |
+
*
|
631 |
+
* @param string $reserved_instances_listing_id (Required)
|
632 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
633 |
+
* <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>
|
634 |
+
* <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>
|
635 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
636 |
+
*/
|
637 |
+
public function cancel_reserved_instances_listing($reserved_instances_listing_id, $opt = null)
|
638 |
+
{
|
639 |
+
if (!$opt) $opt = array();
|
640 |
+
$opt['ReservedInstancesListingId'] = $reserved_instances_listing_id;
|
641 |
+
|
642 |
+
return $this->authenticate('CancelReservedInstancesListing', $opt);
|
643 |
+
}
|
644 |
+
|
645 |
/**
|
646 |
* Cancels one or more Spot Instance requests.
|
647 |
*
|
1037 |
return $this->authenticate('CreatePlacementGroup', $opt);
|
1038 |
}
|
1039 |
|
1040 |
+
/**
|
1041 |
+
*
|
1042 |
+
*
|
1043 |
+
* @param string $reserved_instances_id (Required)
|
1044 |
+
* @param integer $instance_count (Required)
|
1045 |
+
* @param array $price_schedules (Required) <ul>
|
1046 |
+
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
1047 |
+
* <li><code>Term</code> - <code>long</code> - Optional - </li>
|
1048 |
+
* <li><code>Price</code> - <code>double</code> - Optional - </li>
|
1049 |
+
* <li><code>CurrencyCode</code> - <code>string</code> - Optional - </li>
|
1050 |
+
* </ul></li>
|
1051 |
+
* </ul>
|
1052 |
+
* @param string $client_token (Required)
|
1053 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1054 |
+
* <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>
|
1055 |
+
* <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>
|
1056 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1057 |
+
*/
|
1058 |
+
public function create_reserved_instances_listing($reserved_instances_id, $instance_count, $price_schedules, $client_token, $opt = null)
|
1059 |
+
{
|
1060 |
+
if (!$opt) $opt = array();
|
1061 |
+
$opt['ReservedInstancesId'] = $reserved_instances_id;
|
1062 |
+
$opt['InstanceCount'] = $instance_count;
|
1063 |
+
$opt['ClientToken'] = $client_token;
|
1064 |
+
|
1065 |
+
// Required list + map
|
1066 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
1067 |
+
'PriceSchedules' => (is_array($price_schedules) ? $price_schedules : array($price_schedules))
|
1068 |
+
)));
|
1069 |
+
|
1070 |
+
return $this->authenticate('CreateReservedInstancesListing', $opt);
|
1071 |
+
}
|
1072 |
+
|
1073 |
/**
|
1074 |
* Creates a new route in a route table within a VPC. The route's target can be either a gateway
|
1075 |
* attached to the VPC or a NAT instance in the VPC.
|
1341 |
* @param string $customer_gateway_id (Required) The ID of the customer gateway.
|
1342 |
* @param string $vpn_gateway_id (Required) The ID of the VPN gateway.
|
1343 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1344 |
+
* <li><code>Options</code> - <code>array</code> - Optional - <ul>
|
1345 |
+
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
1346 |
+
* <li><code>StaticRoutesOnly</code> - <code>boolean</code> - Optional - </li>
|
1347 |
+
* </ul></li>
|
1348 |
+
* </ul></li>
|
1349 |
* <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>
|
1350 |
* <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>
|
1351 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1357 |
$opt['CustomerGatewayId'] = $customer_gateway_id;
|
1358 |
$opt['VpnGatewayId'] = $vpn_gateway_id;
|
1359 |
|
1360 |
+
// Optional map (non-list)
|
1361 |
+
if (isset($opt['Options']))
|
1362 |
+
{
|
1363 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
1364 |
+
'Options' => $opt['Options']
|
1365 |
+
)));
|
1366 |
+
unset($opt['Options']);
|
1367 |
+
}
|
1368 |
+
|
1369 |
return $this->authenticate('CreateVpnConnection', $opt);
|
1370 |
}
|
1371 |
|
1372 |
+
/**
|
1373 |
+
*
|
1374 |
+
*
|
1375 |
+
* @param string $vpn_connection_id (Required)
|
1376 |
+
* @param string $destination_cidr_block (Required)
|
1377 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1378 |
+
* <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>
|
1379 |
+
* <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>
|
1380 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1381 |
+
*/
|
1382 |
+
public function create_vpn_connection_route($vpn_connection_id, $destination_cidr_block, $opt = null)
|
1383 |
+
{
|
1384 |
+
if (!$opt) $opt = array();
|
1385 |
+
$opt['VpnConnectionId'] = $vpn_connection_id;
|
1386 |
+
$opt['DestinationCidrBlock'] = $destination_cidr_block;
|
1387 |
+
|
1388 |
+
return $this->authenticate('CreateVpnConnectionRoute', $opt);
|
1389 |
+
}
|
1390 |
+
|
1391 |
/**
|
1392 |
* Creates a new VPN gateway. A VPN gateway is the VPC-side endpoint for your VPN connection. You
|
1393 |
* can create a VPN gateway before creating the VPC itself.
|
1800 |
return $this->authenticate('DeleteVpnConnection', $opt);
|
1801 |
}
|
1802 |
|
1803 |
+
/**
|
1804 |
+
*
|
1805 |
+
*
|
1806 |
+
* @param string $vpn_connection_id (Required)
|
1807 |
+
* @param string $destination_cidr_block (Required)
|
1808 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1809 |
+
* <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>
|
1810 |
+
* <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>
|
1811 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1812 |
+
*/
|
1813 |
+
public function delete_vpn_connection_route($vpn_connection_id, $destination_cidr_block, $opt = null)
|
1814 |
+
{
|
1815 |
+
if (!$opt) $opt = array();
|
1816 |
+
$opt['VpnConnectionId'] = $vpn_connection_id;
|
1817 |
+
$opt['DestinationCidrBlock'] = $destination_cidr_block;
|
1818 |
+
|
1819 |
+
return $this->authenticate('DeleteVpnConnectionRoute', $opt);
|
1820 |
+
}
|
1821 |
+
|
1822 |
/**
|
1823 |
* Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components
|
1824 |
* because you no longer need them. We recommend that before you delete a VPN gateway, you detach
|
2802 |
return $this->authenticate('DescribeReservedInstances', $opt);
|
2803 |
}
|
2804 |
|
2805 |
+
/**
|
2806 |
+
*
|
2807 |
+
*
|
2808 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
2809 |
+
* <li><code>ReservedInstancesId</code> - <code>string</code> - Optional - </li>
|
2810 |
+
* <li><code>ReservedInstancesListingId</code> - <code>string</code> - Optional - </li>
|
2811 |
+
* <li><code>Filters</code> - <code>array</code> - Optional - A filter used to limit results when describing tags. Multiple values can be specified per filter. A tag must match at least one of the specified values for it to be returned from an operation. Wildcards can be included in filter values; <code>*</code> specifies that zero or more characters must match, and <code>?</code> specifies that exactly one character must match. Use a backslash to escape special characters. For example, a filter value of <code>\*amazon\?\\</code> specifies the literal string <code>*amazon?\</code>. <ul>
|
2812 |
+
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
2813 |
+
* <li><code>Name</code> - <code>string</code> - Optional - Specifies the name of the filter.</li>
|
2814 |
+
* <li><code>Value</code> - <code>string|array</code> - Optional - Contains one or more values for the filter. Pass a string for a single value, or an indexed array for multiple values.</li>
|
2815 |
+
* </ul></li>
|
2816 |
+
* </ul></li>
|
2817 |
+
* <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>
|
2818 |
+
* <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>
|
2819 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
2820 |
+
*/
|
2821 |
+
public function describe_reserved_instances_listings($opt = null)
|
2822 |
+
{
|
2823 |
+
if (!$opt) $opt = array();
|
2824 |
+
|
2825 |
+
// Optional list + map
|
2826 |
+
if (isset($opt['Filters']))
|
2827 |
+
{
|
2828 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
2829 |
+
'Filters' => $opt['Filters']
|
2830 |
+
)));
|
2831 |
+
unset($opt['Filters']);
|
2832 |
+
}
|
2833 |
+
|
2834 |
+
return $this->authenticate('DescribeReservedInstancesListings', $opt);
|
2835 |
+
}
|
2836 |
+
|
2837 |
/**
|
2838 |
* The DescribeReservedInstancesOfferings operation describes Reserved Instance offerings that are
|
2839 |
* available for purchase. With Amazon EC2 Reserved Instances, you purchase the right to launch
|
3651 |
return $this->authenticate('DetachVpnGateway', $opt);
|
3652 |
}
|
3653 |
|
3654 |
+
/**
|
3655 |
+
*
|
3656 |
+
*
|
3657 |
+
* @param string $route_table_id (Required)
|
3658 |
+
* @param string $gateway_id (Required)
|
3659 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
3660 |
+
* <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>
|
3661 |
+
* <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>
|
3662 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
3663 |
+
*/
|
3664 |
+
public function disable_vgw_route_propagation($route_table_id, $gateway_id, $opt = null)
|
3665 |
+
{
|
3666 |
+
if (!$opt) $opt = array();
|
3667 |
+
$opt['RouteTableId'] = $route_table_id;
|
3668 |
+
$opt['GatewayId'] = $gateway_id;
|
3669 |
+
|
3670 |
+
return $this->authenticate('DisableVgwRoutePropagation', $opt);
|
3671 |
+
}
|
3672 |
+
|
3673 |
/**
|
3674 |
* The DisassociateAddress operation disassociates the specified elastic IP address from the
|
3675 |
* instance to which it is assigned. This is an idempotent operation. If you enter it more than
|
3713 |
return $this->authenticate('DisassociateRouteTable', $opt);
|
3714 |
}
|
3715 |
|
3716 |
+
/**
|
3717 |
+
*
|
3718 |
+
*
|
3719 |
+
* @param string $route_table_id (Required)
|
3720 |
+
* @param string $gateway_id (Required)
|
3721 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
3722 |
+
* <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>
|
3723 |
+
* <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>
|
3724 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
3725 |
+
*/
|
3726 |
+
public function enable_vgw_route_propagation($route_table_id, $gateway_id, $opt = null)
|
3727 |
+
{
|
3728 |
+
if (!$opt) $opt = array();
|
3729 |
+
$opt['RouteTableId'] = $route_table_id;
|
3730 |
+
$opt['GatewayId'] = $gateway_id;
|
3731 |
+
|
3732 |
+
return $this->authenticate('EnableVgwRoutePropagation', $opt);
|
3733 |
+
}
|
3734 |
+
|
3735 |
/**
|
3736 |
* Enable IO on the volume after an event has occured.
|
3737 |
*
|
4289 |
* @param string $reserved_instances_offering_id (Required) The unique ID of the Reserved Instances offering being purchased.
|
4290 |
* @param integer $instance_count (Required) The number of Reserved Instances to purchase.
|
4291 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
4292 |
+
* <li><code>LimitPrice</code> - <code>array</code> - Optional - <ul>
|
4293 |
+
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
4294 |
+
* <li><code>Amount</code> - <code>double</code> - Optional - </li>
|
4295 |
+
* <li><code>CurrencyCode</code> - <code>string</code> - Optional - </li>
|
4296 |
+
* </ul></li>
|
4297 |
+
* </ul></li>
|
4298 |
* <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>
|
4299 |
* <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>
|
4300 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
4305 |
$opt['ReservedInstancesOfferingId'] = $reserved_instances_offering_id;
|
4306 |
$opt['InstanceCount'] = $instance_count;
|
4307 |
|
4308 |
+
// Optional map (non-list)
|
4309 |
+
if (isset($opt['LimitPrice']))
|
4310 |
+
{
|
4311 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
4312 |
+
'LimitPrice' => $opt['LimitPrice']
|
4313 |
+
)));
|
4314 |
+
unset($opt['LimitPrice']);
|
4315 |
+
}
|
4316 |
+
|
4317 |
return $this->authenticate('PurchaseReservedInstancesOffering', $opt);
|
4318 |
}
|
4319 |
|
libs/aws/services/rds.class.php
CHANGED
@@ -36,7 +36,7 @@
|
|
36 |
* <a href="http://docs.amazonwebservices.com/AmazonRDS/latest/UserGuide/">Amazon RDS User
|
37 |
* Guide</a>.
|
38 |
*
|
39 |
-
* @version 2012.
|
40 |
* @license See the included NOTICE.md file for complete information.
|
41 |
* @copyright See the included NOTICE.md file for complete information.
|
42 |
* @link http://aws.amazon.com/rds/ Amazon Relational Database Service
|
@@ -140,9 +140,9 @@ class AmazonRDS extends CFRuntime
|
|
140 |
*/
|
141 |
public function __construct(array $options = array())
|
142 |
{
|
143 |
-
$this->api_version = '
|
144 |
$this->hostname = self::DEFAULT_URL;
|
145 |
-
$this->auth_class = '
|
146 |
|
147 |
return parent::__construct($options);
|
148 |
}
|
@@ -170,15 +170,50 @@ class AmazonRDS extends CFRuntime
|
|
170 |
// SERVICE METHODS
|
171 |
|
172 |
/**
|
173 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
* Security Groups can be added to the DBSecurityGroup if the application using the database is
|
175 |
-
* running on EC2 instances. Second, IP ranges are available if the application accessing
|
176 |
-
* database is running on the Internet. Required parameters for this API are one of CIDR
|
177 |
-
* (
|
|
|
178 |
*
|
179 |
* <p class="note">
|
180 |
* You cannot authorize ingress from an EC2 security group in one Region to an Amazon RDS DB
|
181 |
-
* Instance in another.
|
|
|
182 |
* </p>
|
183 |
* For an overview of CIDR ranges, go to the <a href=
|
184 |
* "http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Wikipedia Tutorial</a>.
|
@@ -186,8 +221,9 @@ class AmazonRDS extends CFRuntime
|
|
186 |
* @param string $db_security_group_name (Required) The name of the DB Security Group to add authorization to.
|
187 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
188 |
* <li><code>CIDRIP</code> - <code>string</code> - Optional - The IP range to authorize.</li>
|
189 |
-
* <li><code>EC2SecurityGroupName</code> - <code>string</code> - Optional - Name of the EC2 Security Group to authorize.</li>
|
190 |
-
* <li><code>
|
|
|
191 |
* <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>
|
192 |
* <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>
|
193 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -200,28 +236,50 @@ class AmazonRDS extends CFRuntime
|
|
200 |
return $this->authenticate('AuthorizeDBSecurityGroupIngress', $opt);
|
201 |
}
|
202 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
/**
|
204 |
* Creates a new DB instance.
|
205 |
*
|
206 |
-
* @param string $db_instance_identifier (Required) The DB Instance identifier. This parameter is stored as a lowercase string. Constraints:<ul><li>Must contain from 1 to 63 alphanumeric characters or hyphens.</li><li>First character must be a letter.</li><li>Cannot end with a hyphen or contain two consecutive hyphens.</li></ul>Example: <code>mydbinstance</code>
|
207 |
-
* @param integer $allocated_storage (Required) The amount of storage (in gigabytes) to be initially allocated for the database instance. <strong>MySQL</strong> Constraints: Must be an integer from 5 to 1024. Type: Integer <strong>Oracle</strong> Constraints: Must be an integer from 10 to 1024.
|
208 |
-
* @param string $db_instance_class (Required) The compute and memory capacity of the DB Instance. Valid Values: <code>db.m1.small | db.m1.large | db.m1.xlarge | db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge</code>
|
209 |
-
* @param string $engine (Required) The name of the database engine to be used for this instance. Valid Values: <code>MySQL</code> | <code>oracle-se1</code> | <code>oracle-se</code> | <code>oracle-ee</code>
|
210 |
-
* @param string $master_username (Required) The name of master user for the client DB Instance. <strong>MySQL</strong> Constraints:<ul><li>Must be 1 to 16 alphanumeric characters.</li><li>First character must be a letter.</li><li>Cannot be a reserved word for the chosen database engine.</li></ul>Type: String <strong>Oracle</strong> Constraints:<ul><li>Must be 1 to 30 alphanumeric characters.</li><li>First character must be a letter.</li><li>Cannot be a reserved word for the chosen database engine.</li></ul>
|
211 |
-
* @param string $master_user_password (Required) The password for the master
|
212 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
213 |
-
* <li><code>DBName</code> - <code>string</code> - Optional - The meaning of this parameter differs according to the database engine you use. <strong>MySQL</strong> The name of the database to create when the DB Instance is created. If this parameter is not specified, no database is created in the DB Instance. Constraints:<ul><li>Must contain 1 to 64 alphanumeric characters</li><li>Cannot be a word reserved by the specified database engine</li></ul>Type: String <strong>Oracle</strong> The Oracle System ID (SID) of the created DB Instance. Default: <code>
|
214 |
* <li><code>DBSecurityGroups</code> - <code>string|array</code> - Optional - A list of DB Security Groups to associate with this DB Instance. Default: The default DB Security Group for the database engine. Pass a string for a single value, or an indexed array for multiple values.</li>
|
215 |
* <li><code>AvailabilityZone</code> - <code>string</code> - Optional - The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone in the endpoint's region. Example: <code>us-east-1d</code> Constraint: The AvailabilityZone parameter cannot be specified if the MultiAZ parameter is set to <code>true</code>. The specified Availability Zone must be in the same region as the current endpoint.</li>
|
|
|
216 |
* <li><code>PreferredMaintenanceWindow</code> - <code>string</code> - Optional - The weekly time range (in UTC) during which system maintenance can occur. Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned.<ul><li> <strong>US-East (Northern Virginia) Region:</strong> 03:00-11:00 UTC</li><li> <strong>US-West (Northern California) Region:</strong> 06:00-14:00 UTC</li><li> <strong>EU (Ireland) Region:</strong> 22:00-06:00 UTC</li><li> <strong>Asia Pacific (Singapore) Region:</strong> 14:00-22:00 UTC</li><li> <strong>Asia Pacific (Tokyo) Region:</strong> 17:00-03:00 UTC</li></ul>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.</li>
|
217 |
* <li><code>DBParameterGroupName</code> - <code>string</code> - Optional - The name of the DB Parameter Group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine will be used. Constraints:<ul><li>Must be 1 to 255 alphanumeric characters</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul></li>
|
218 |
* <li><code>BackupRetentionPeriod</code> - <code>integer</code> - Optional - The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Default: 1 Constraints:<ul><li>Must be a value from 0 to 8</li><li>Cannot be set to 0 if the DB Instance is a master instance with read replicas</li></ul></li>
|
219 |
* <li><code>PreferredBackupWindow</code> - <code>string</code> - Optional - The daily time range during which automated backups are created if automated backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. The following list shows the time blocks for each region from which the default backup windows are assigned.<ul><li> <strong>US-East (Northern Virginia) Region:</strong> 03:00-11:00 UTC</li><li> <strong>US-West (Northern California) Region:</strong> 06:00-14:00 UTC</li><li> <strong>EU (Ireland) Region:</strong> 22:00-06:00 UTC</li><li> <strong>Asia Pacific (Singapore) Region:</strong> 14:00-22:00 UTC</li><li> <strong>Asia Pacific (Tokyo) Region:</strong> 17:00-03:00 UTC</li></ul>Constraints: Must be in the format <code>hh24:mi-hh24:mi</code>. Times should be Universal Time Coordinated (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes.</li>
|
220 |
-
* <li><code>Port</code> - <code>integer</code> - Optional - The port number on which the database accepts connections. <strong>MySQL</strong> Default: <code>3306</code> Valid Values: <code>1150-65535</code> Type: Integer <strong>Oracle</strong> Default: <code>1521</code> Valid Values: <code>1150-65535</code
|
221 |
-
* <li><code>MultiAZ</code> - <code>boolean</code> - Optional - Specifies if the DB Instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the MultiAZ parameter is set to true.</li>
|
222 |
-
* <li><code>EngineVersion</code> - <code>string</code> - Optional - The version number of the database engine to use. <strong>MySQL</strong> Example: <code>5.1.42</code> Type: String <strong>Oracle</strong> Example: <code>11.2.0.2.v2</code></li>
|
223 |
* <li><code>AutoMinorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that minor engine upgrades will be applied automatically to the DB Instance during the maintenance window. Default: <code>true</code></li>
|
224 |
* <li><code>LicenseModel</code> - <code>string</code> - Optional - License model information for this DB Instance. Valid values: <code>license-included</code> | <code>bring-your-own-license</code> | <code>general-public-license</code></li>
|
|
|
|
|
225 |
* <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>
|
226 |
* <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>
|
227 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -265,6 +323,7 @@ class AmazonRDS extends CFRuntime
|
|
265 |
* <li><code>AvailabilityZone</code> - <code>string</code> - Optional - The Amazon EC2 Availability Zone that the Read Replica will be created in. Default: A random, system-chosen Availability Zone in the endpoint's region. Example: <code>us-east-1d</code></li>
|
266 |
* <li><code>Port</code> - <code>integer</code> - Optional - The port number that the DB Instance uses for connections. Default: Inherits from the source DB Instance Valid Values: <code>1150-65535</code></li>
|
267 |
* <li><code>AutoMinorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. Default: Inherits from the source DB Instance</li>
|
|
|
268 |
* <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>
|
269 |
* <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>
|
270 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -313,6 +372,7 @@ class AmazonRDS extends CFRuntime
|
|
313 |
* @param string $db_security_group_name (Required) The name for the DB Security Group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default". Example: <code>mysecuritygroup</code>
|
314 |
* @param string $db_security_group_description (Required) The description for the DB Security Group.
|
315 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
|
|
316 |
* <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>
|
317 |
* <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>
|
318 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -345,6 +405,55 @@ class AmazonRDS extends CFRuntime
|
|
345 |
return $this->authenticate('CreateDBSnapshot', $opt);
|
346 |
}
|
347 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
/**
|
349 |
* The DeleteDBInstance API deletes a previously provisioned RDS instance. A successful response
|
350 |
* from the web service indicates the request was received correctly. If a final DBSnapshot is
|
@@ -369,7 +478,8 @@ class AmazonRDS extends CFRuntime
|
|
369 |
}
|
370 |
|
371 |
/**
|
372 |
-
* Deletes a specified DBParameterGroup.
|
|
|
373 |
*
|
374 |
* <p class="note">
|
375 |
* The specified DB Parameter Group cannot be associated with any DB Instances.
|
@@ -411,13 +521,13 @@ class AmazonRDS extends CFRuntime
|
|
411 |
}
|
412 |
|
413 |
/**
|
414 |
-
* Deletes a
|
415 |
*
|
416 |
* <p class="note">
|
417 |
* The DBSnapshot must be in the <code>available</code> state to be deleted.
|
418 |
* </p>
|
419 |
*
|
420 |
-
* @param string $db_snapshot_identifier (Required) The
|
421 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
422 |
* <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>
|
423 |
* <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>
|
@@ -431,6 +541,44 @@ class AmazonRDS extends CFRuntime
|
|
431 |
return $this->authenticate('DeleteDBSnapshot', $opt);
|
432 |
}
|
433 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
434 |
/**
|
435 |
* Returns a list of the available DB engines.
|
436 |
*
|
@@ -441,6 +589,7 @@ class AmazonRDS extends CFRuntime
|
|
441 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more than the <code>MaxRecords</code> value is available, a marker is included in the response so that the following results can be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
442 |
* <li><code>Marker</code> - <code>string</code> - Optional - The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to <code>MaxRecords</code>.</li>
|
443 |
* <li><code>DefaultOnly</code> - <code>boolean</code> - Optional - Indicates that only the default version of the specified engine or engine and major version combination is returned.</li>
|
|
|
444 |
* <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>
|
445 |
* <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>
|
446 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -496,7 +645,7 @@ class AmazonRDS extends CFRuntime
|
|
496 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
497 |
* <li><code>Source</code> - <code>string</code> - Optional - The parameter types to return. Default: All parameter types returned Valid Values: <code>user | system | engine-default</code></li>
|
498 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a marker is included in the response so that the remaining results may be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
499 |
-
* <li><code>Marker</code> - <code>string</code> - Optional - An optional marker provided in the previous
|
500 |
* <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>
|
501 |
* <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>
|
502 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -519,7 +668,7 @@ class AmazonRDS extends CFRuntime
|
|
519 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
520 |
* <li><code>DBSecurityGroupName</code> - <code>string</code> - Optional - The name of the DB Security Group to return details for.</li>
|
521 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a marker is included in the response so that the remaining results may be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
522 |
-
* <li><code>Marker</code> - <code>string</code> - Optional - An optional marker provided in the previous
|
523 |
* <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>
|
524 |
* <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>
|
525 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -535,8 +684,9 @@ class AmazonRDS extends CFRuntime
|
|
535 |
* Returns information about DBSnapshots. This API supports pagination.
|
536 |
*
|
537 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
538 |
-
* <li><code>DBInstanceIdentifier</code> - <code>string</code> - Optional - A DB Instance Identifier to retrieve the list of DB Snapshots for. Cannot be used in conjunction with DBSnapshotIdentifier. Constraints:<ul><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul></li>
|
539 |
-
* <li><code>DBSnapshotIdentifier</code> - <code>string</code> - Optional - A specific DB Snapshot Identifier to describe. Cannot be used in conjunction with DBInstanceIdentifier. Constraints:<ul><li>Must be 1 to 255 alphanumeric characters</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul></li>
|
|
|
540 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a marker is included in the response so that the remaining results may be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
541 |
* <li><code>Marker</code> - <code>string</code> - Optional - An optional marker provided in the previous DescribeDBSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</li>
|
542 |
* <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>
|
@@ -551,8 +701,29 @@ class AmazonRDS extends CFRuntime
|
|
551 |
}
|
552 |
|
553 |
/**
|
554 |
-
* Returns
|
555 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
556 |
*
|
557 |
* @param string $db_parameter_group_family (Required) The name of the DB Parameter Group Family.
|
558 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
@@ -572,9 +743,9 @@ class AmazonRDS extends CFRuntime
|
|
572 |
|
573 |
/**
|
574 |
* Returns events related to DB Instances, DB Security Groups, DB Snapshots and DB Parameter
|
575 |
-
* Groups for the past 14 days. Events specific to a particular DB Instance, DB Security Group,
|
576 |
-
*
|
577 |
-
* default, the past hour of events are returned.
|
578 |
*
|
579 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
580 |
* <li><code>SourceIdentifier</code> - <code>string</code> - Optional - The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response. Constraints:<ul><li>If SourceIdentifier is supplied, SourceType must also be provided.</li><li>If the source type is DBInstance, then a DBInstanceIdentifier must be supplied.</li><li>If the source type is DBSecurityGroup, a DBSecurityGroupName must be supplied.</li><li>If the source type is DBParameterGroup, a DBParameterGroupName must be supplied.</li><li>If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied.</li><li>Cannot end with a hyphen or contain two consecutive hyphens.</li></ul></li>
|
@@ -607,6 +778,46 @@ class AmazonRDS extends CFRuntime
|
|
607 |
return $this->authenticate('DescribeEvents', $opt);
|
608 |
}
|
609 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
610 |
/**
|
611 |
* Returns a list of orderable DB Instance options for the specified engine.
|
612 |
*
|
@@ -615,6 +826,7 @@ class AmazonRDS extends CFRuntime
|
|
615 |
* <li><code>EngineVersion</code> - <code>string</code> - Optional - The engine version filter value. Specify this parameter to show only the available offerings matching the specified engine version.</li>
|
616 |
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The DB Instance class filter value. Specify this parameter to show only the available offerings matching the specified DB Instance class.</li>
|
617 |
* <li><code>LicenseModel</code> - <code>string</code> - Optional - The license model filter value. Specify this parameter to show only the available offerings matching the specified license model.</li>
|
|
|
618 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a marker is included in the response so that the remaining results may be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
619 |
* <li><code>Marker</code> - <code>string</code> - Optional - An optional marker provided in the previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</li>
|
620 |
* <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>
|
@@ -639,6 +851,7 @@ class AmazonRDS extends CFRuntime
|
|
639 |
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The DB Instance class filter value. Specify this parameter to show only those reservations matching the specified DB Instances class.</li>
|
640 |
* <li><code>Duration</code> - <code>string</code> - Optional - The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration. Valid Values: <code>1 | 3 | 31536000 | 94608000</code></li>
|
641 |
* <li><code>ProductDescription</code> - <code>string</code> - Optional - The product description filter value. Specify this parameter to show only those reservations matching the specified product description.</li>
|
|
|
642 |
* <li><code>MultiAZ</code> - <code>boolean</code> - Optional - The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.</li>
|
643 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more than the <code>MaxRecords</code> value is available, a marker is included in the response so that the following results can be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
644 |
* <li><code>Marker</code> - <code>string</code> - Optional - The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to <code>MaxRecords</code>.</li>
|
@@ -661,6 +874,7 @@ class AmazonRDS extends CFRuntime
|
|
661 |
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The DB Instance class filter value. Specify this parameter to show only the available offerings matching the specified DB Instance class.</li>
|
662 |
* <li><code>Duration</code> - <code>string</code> - Optional - Duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration. Valid Values: <code>1 | 3 | 31536000 | 94608000</code></li>
|
663 |
* <li><code>ProductDescription</code> - <code>string</code> - Optional - Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.</li>
|
|
|
664 |
* <li><code>MultiAZ</code> - <code>boolean</code> - Optional - The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter.</li>
|
665 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more than the <code>MaxRecords</code> value is available, a marker is included in the response so that the following results can be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
666 |
* <li><code>Marker</code> - <code>string</code> - Optional - The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to <code>MaxRecords</code>.</li>
|
@@ -675,17 +889,38 @@ class AmazonRDS extends CFRuntime
|
|
675 |
return $this->authenticate('DescribeReservedDBInstancesOfferings', $opt);
|
676 |
}
|
677 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
678 |
/**
|
679 |
* Modify settings for a DB Instance. You can change one or more database configuration parameters
|
680 |
* by specifying these parameters and the new values in the request.
|
681 |
*
|
682 |
-
* @param string $db_instance_identifier (Required) The DB Instance identifier. This value is stored as a lowercase string. Constraints:<ul><li>Must be the identifier for an existing DB Instance</li><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>Example:<copy>mydbinstance</copy>
|
683 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
684 |
-
* <li><code>AllocatedStorage</code> - <code>integer</code> - Optional - The new storage capacity of the RDS instance. This change does not result in an outage and is applied during the next maintenance window unless the <code>ApplyImmediately</code> parameter is specified as <code>true</code> for this request. <strong>MySQL</strong> Default: Uses existing setting Valid Values: 5-1024 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. Type: Integer <strong>Oracle</strong> Default: Uses existing setting Valid Values: 10-1024 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value.</li>
|
685 |
-
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The new compute and memory capacity of the DB Instance. Passing a value for this parameter causes an outage during the change and is applied during the next maintenance window, unless the <code>ApplyImmediately</code> parameter is specified as <code>true</code> for this request. Default: Uses existing setting Valid Values: <code>db.m1.small | db.m1.large | db.m1.xlarge | db.m2.xlarge | db.m2.2xlarge | db.m2.4xlarge</code></li>
|
686 |
* <li><code>DBSecurityGroups</code> - <code>string|array</code> - Optional - A list of DB Security Groups to authorize on this DB Instance. This change is asynchronously applied as soon as possible. Constraints:<ul><li>Must be 1 to 255 alphanumeric characters</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul> Pass a string for a single value, or an indexed array for multiple values.</li>
|
687 |
* <li><code>ApplyImmediately</code> - <code>boolean</code> - Optional - Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the <code>PreferredMaintenanceWindow</code> setting for the DB Instance. If this parameter is passed as <code>false</code>, changes to the DB Instance are applied on the next call to <code>RebootDBInstance</code>, the next maintenance reboot, or the next failure reboot, whichever occurs first. Default: <code>false</code></li>
|
688 |
-
* <li><code>MasterUserPassword</code> - <code>string</code> - Optional - The new password for the DB Instance master user. This change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the <code>MasterUserPassword</code> element exists in the <code>PendingModifiedValues</code> element of the operation response. Default: Uses existing setting Constraints: Must be
|
689 |
* <li><code>DBParameterGroupName</code> - <code>string</code> - Optional - The name of the DB Parameter Group to apply to this DB Instance. This change is asynchronously applied as soon as possible for parameters when the <em>ApplyImmediately</em> parameter is specified as <code>true</code> for this request. Default: Uses existing setting Constraints: The DB Parameter Group must be in the same DB Parameter Group family as this DB Instance.</li>
|
690 |
* <li><code>BackupRetentionPeriod</code> - <code>integer</code> - Optional - The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Default: Uses existing setting Constraints:<ul><li>Must be a value from 0 to 8</li><li>Cannot be set to 0 if the DB Instance is a master instance with read replicas or of the DB Instance is a read replica</li></ul></li>
|
691 |
* <li><code>PreferredBackupWindow</code> - <code>string</code> - Optional - The daily time range during which automated backups are created if automated backups are enabled, as determined by the <code>BackupRetentionPeriod</code>. Constraints:<ul><li>Must be in the format hh24:mi-hh24:mi</li><li>Times should be Universal Time Coordinated (UTC)</li><li>Must not conflict with the preferred maintenance window</li><li>Must be at least 30 minutes</li></ul></li>
|
@@ -694,6 +929,7 @@ class AmazonRDS extends CFRuntime
|
|
694 |
* <li><code>EngineVersion</code> - <code>string</code> - Optional - The version number of the database engine to upgrade to. For major version upgrades, if a nondefault DB Parameter Group is currently in use, a new DB Parameter Group in the DB Parameter Group Family for the new engine version must be specified. The new DB Parameter Group can be the default for that DB Parameter Group Family. Example: <code>5.1.42</code></li>
|
695 |
* <li><code>AllowMajorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that major version upgrades are allowed. Constraints: This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB Instance's current version.</li>
|
696 |
* <li><code>AutoMinorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.</li>
|
|
|
697 |
* <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>
|
698 |
* <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>
|
699 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -721,8 +957,10 @@ class AmazonRDS extends CFRuntime
|
|
721 |
* can be modified in a single request.
|
722 |
*
|
723 |
* <p class="note"></p>
|
724 |
-
* The <code>apply-immediate</code> method can
|
725 |
-
* <code>pending-reboot</code> method can be used
|
|
|
|
|
726 |
*
|
727 |
* @param string $db_parameter_group_name (Required) The name of the DB Parameter Group. Constraints:<ul><li>Must be the name of an existing DB Parameter Group</li><li>Must be 1 to 255 alphanumeric characters</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
728 |
* @param array $parameters (Required) An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single request. Valid Values (for the application method): <code>immediate | pending-reboot</code> <p class="note">You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when DB Instance reboots.</p> <ul>
|
@@ -757,6 +995,75 @@ class AmazonRDS extends CFRuntime
|
|
757 |
return $this->authenticate('ModifyDBParameterGroup', $opt);
|
758 |
}
|
759 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
760 |
/**
|
761 |
* Purchases a reserved DB Instance offering.
|
762 |
*
|
@@ -780,11 +1087,13 @@ class AmazonRDS extends CFRuntime
|
|
780 |
* Reboots a previously provisioned RDS instance. This API results in the application of modified
|
781 |
* DBParameterGroup parameters with ApplyStatus of pending-reboot to the RDS instance. This action
|
782 |
* is taken as soon as possible, and results in a momentary outage to the RDS instance during
|
783 |
-
* which the RDS instance status is set to rebooting.
|
784 |
-
*
|
|
|
785 |
*
|
786 |
* @param string $db_instance_identifier (Required) The DB Instance identifier. This parameter is stored as a lowercase string. Constraints:<ul><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
787 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
|
|
788 |
* <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>
|
789 |
* <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>
|
790 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -798,7 +1107,34 @@ class AmazonRDS extends CFRuntime
|
|
798 |
}
|
799 |
|
800 |
/**
|
801 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
802 |
* specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the
|
803 |
* entire DBParameterGroup specify the DBParameterGroup name and ResetAllParameters parameters.
|
804 |
* When resetting the entire group, dynamic parameters are updated immediately and static
|
@@ -844,21 +1180,23 @@ class AmazonRDS extends CFRuntime
|
|
844 |
}
|
845 |
|
846 |
/**
|
847 |
-
* Creates a new DB Instance from a DB snapshot. The
|
848 |
-
* configuration as the original source database, except that
|
849 |
-
* the default security group.
|
850 |
*
|
851 |
* @param string $db_instance_identifier (Required) The identifier for the DB Snapshot to restore from. Constraints:<ul><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
852 |
* @param string $db_snapshot_identifier (Required) Name of the DB Instance to create from the DB Snapshot. This parameter isn't case sensitive. Constraints:<ul><li>Must contain from 1 to 255 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>Example: <code>my-snapshot-id</code>
|
853 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
854 |
-
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The compute and memory capacity of the Amazon RDS DB instance. Valid Values: <code>db.m1.small | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge</code></li>
|
855 |
* <li><code>Port</code> - <code>integer</code> - Optional - The port number on which the database accepts connections. Default: The same port as the original DB Instance Constraints: Value must be <code>1150-65535</code></li>
|
856 |
* <li><code>AvailabilityZone</code> - <code>string</code> - Optional - The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to <code>true</code>. Example: <code>us-east-1a</code></li>
|
|
|
857 |
* <li><code>MultiAZ</code> - <code>boolean</code> - Optional - Specifies if the DB Instance is a Multi-AZ deployment. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to <code>true</code>.</li>
|
858 |
* <li><code>AutoMinorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.</li>
|
859 |
* <li><code>LicenseModel</code> - <code>string</code> - Optional - License model information for the restored DB Instance. Default: Same as source. Valid values: <code>license-included</code> | <code>bring-your-own-license</code> | <code>general-public-license</code></li>
|
860 |
* <li><code>DBName</code> - <code>string</code> - Optional - The database name for the restored DB Instance. <p class="note">This parameter doesn't apply to the MySQL engine.</p></li>
|
861 |
* <li><code>Engine</code> - <code>string</code> - Optional - The database engine to use for the new instance. Default: The same as source Constraint: Must be compatible with the engine of the source Example: <code>oracle-ee</code></li>
|
|
|
862 |
* <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>
|
863 |
* <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>
|
864 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -875,22 +1213,24 @@ class AmazonRDS extends CFRuntime
|
|
875 |
/**
|
876 |
* Restores a DB Instance to an arbitrary point-in-time. Users can restore to any point in time
|
877 |
* before the latestRestorableTime for up to backupRetentionPeriod days. The target database is
|
878 |
-
* created from the source database with the same configuration as the
|
879 |
-
* the
|
880 |
*
|
881 |
* @param string $source_db_instance_identifier (Required) The identifier of the source DB Instance from which to restore. Constraints:<ul><li>Must be the identifier of an existing database instance</li><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
882 |
* @param string $target_db_instance_identifier (Required) The name of the new database instance to be created. Constraints:<ul><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
883 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
884 |
* <li><code>RestoreTime</code> - <code>string</code> - Optional - The date and time to restore from. Valid Values: Value must be a UTC time Constraints:<ul><li>Must be before the latest restorable time for the DB Instance</li><li>Cannot be specified if UseLatestRestorableTime parameter is true</li></ul>Example: <code>2009-09-07T23:45:00Z</code> May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
|
885 |
* <li><code>UseLatestRestorableTime</code> - <code>boolean</code> - Optional - Specifies whether (<code>true</code>) or not (<code>false</code>) the DB Instance is restored from the latest backup time. Default: <code>false</code> Constraints: Cannot be specified if RestoreTime parameter is provided.</li>
|
886 |
-
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The compute and memory capacity of the Amazon RDS DB instance. Valid Values: <code>db.m1.small | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge</code> Default: The same DBInstanceClass as the original DB Instance.</li>
|
887 |
* <li><code>Port</code> - <code>integer</code> - Optional - The port number on which the database accepts connections. Constraints: Value must be <code>1150-65535</code> Default: The same port as the original DB Instance.</li>
|
888 |
* <li><code>AvailabilityZone</code> - <code>string</code> - Optional - The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true. Example: <code>us-east-1a</code></li>
|
|
|
889 |
* <li><code>MultiAZ</code> - <code>boolean</code> - Optional - Specifies if the DB Instance is a Multi-AZ deployment. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to <code>true</code>.</li>
|
890 |
* <li><code>AutoMinorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.</li>
|
891 |
* <li><code>LicenseModel</code> - <code>string</code> - Optional - License model information for the restored DB Instance. Default: Same as source. Valid values: <code>license-included</code> | <code>bring-your-own-license</code> | <code>general-public-license</code></li>
|
892 |
* <li><code>DBName</code> - <code>string</code> - Optional - The database name for the restored DB Instance. <p class="note">This parameter is not used for the MySQL engine.</p></li>
|
893 |
* <li><code>Engine</code> - <code>string</code> - Optional - The database engine to use for the new instance. Default: The same as source Constraint: Must be compatible with the engine of the source Example: <code>oracle-ee</code></li>
|
|
|
894 |
* <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>
|
895 |
* <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>
|
896 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
@@ -911,15 +1251,16 @@ class AmazonRDS extends CFRuntime
|
|
911 |
}
|
912 |
|
913 |
/**
|
914 |
-
* Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2
|
915 |
-
* Groups. Required parameters for this API are one of CIDRIP
|
916 |
-
* EC2SecurityGroupOwnerId).
|
917 |
*
|
918 |
* @param string $db_security_group_name (Required) The name of the DB Security Group to revoke ingress from.
|
919 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
920 |
-
* <li><code>CIDRIP</code> - <code>string</code> - Optional - The IP range to revoke access from. Must be a valid CIDR range. If <code>CIDRIP</code> is specified, <code>EC2SecurityGroupName</code> and <code>EC2SecurityGroupOwnerId</code> cannot be provided.</li>
|
921 |
-
* <li><code>EC2SecurityGroupName</code> - <code>string</code> - Optional - The name of the EC2 Security Group to revoke access from.
|
922 |
-
* <li><code>
|
|
|
923 |
* <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>
|
924 |
* <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>
|
925 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
36 |
* <a href="http://docs.amazonwebservices.com/AmazonRDS/latest/UserGuide/">Amazon RDS User
|
37 |
* Guide</a>.
|
38 |
*
|
39 |
+
* @version 2012.08.23
|
40 |
* @license See the included NOTICE.md file for complete information.
|
41 |
* @copyright See the included NOTICE.md file for complete information.
|
42 |
* @link http://aws.amazon.com/rds/ Amazon Relational Database Service
|
140 |
*/
|
141 |
public function __construct(array $options = array())
|
142 |
{
|
143 |
+
$this->api_version = '2012-07-31';
|
144 |
$this->hostname = self::DEFAULT_URL;
|
145 |
+
$this->auth_class = 'AuthV4Query';
|
146 |
|
147 |
return parent::__construct($options);
|
148 |
}
|
170 |
// SERVICE METHODS
|
171 |
|
172 |
/**
|
173 |
+
* Adds metadata tags to a DB Instance. These tags can also be used with cost allocation reporting
|
174 |
+
* to track cost associated with a DB Instance.
|
175 |
+
*
|
176 |
+
* For an overview on tagging DB Instances, see <a href=
|
177 |
+
* "http://docs.amazonwebservices.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html">DB
|
178 |
+
* Instance Tags.</a>
|
179 |
+
*
|
180 |
+
* @param string $resource_name (Required) The DB Instance the tags will be added to.
|
181 |
+
* @param array $tags (Required) The tags to be assigned to the DB Instance. <ul>
|
182 |
+
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
183 |
+
* <li><code>Key</code> - <code>string</code> - Optional - A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and cannot be prefixed with "aws:". The string may only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").</li>
|
184 |
+
* <li><code>Value</code> - <code>string</code> - Optional - A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and cannot be prefixed with "aws:". The string may only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").</li>
|
185 |
+
* </ul></li>
|
186 |
+
* </ul>
|
187 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
188 |
+
* <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>
|
189 |
+
* <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>
|
190 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
191 |
+
*/
|
192 |
+
public function add_tags_to_resource($resource_name, $tags, $opt = null)
|
193 |
+
{
|
194 |
+
if (!$opt) $opt = array();
|
195 |
+
$opt['ResourceName'] = $resource_name;
|
196 |
+
|
197 |
+
// Required list + map
|
198 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
199 |
+
'Tags' => (is_array($tags) ? $tags : array($tags))
|
200 |
+
), 'member'));
|
201 |
+
|
202 |
+
return $this->authenticate('AddTagsToResource', $opt);
|
203 |
+
}
|
204 |
+
|
205 |
+
/**
|
206 |
+
* Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC
|
207 |
* Security Groups can be added to the DBSecurityGroup if the application using the database is
|
208 |
+
* running on EC2 or VPC instances. Second, IP ranges are available if the application accessing
|
209 |
+
* your database is running on the Internet. Required parameters for this API are one of CIDR
|
210 |
+
* range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName
|
211 |
+
* or EC2SecurityGroupId for non-VPC).
|
212 |
*
|
213 |
* <p class="note">
|
214 |
* You cannot authorize ingress from an EC2 security group in one Region to an Amazon RDS DB
|
215 |
+
* Instance in another. You cannot authorize ingress from a VPC security group in one VPC to an
|
216 |
+
* Amazon RDS DB Instance in another.
|
217 |
* </p>
|
218 |
* For an overview of CIDR ranges, go to the <a href=
|
219 |
* "http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Wikipedia Tutorial</a>.
|
221 |
* @param string $db_security_group_name (Required) The name of the DB Security Group to add authorization to.
|
222 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
223 |
* <li><code>CIDRIP</code> - <code>string</code> - Optional - The IP range to authorize.</li>
|
224 |
+
* <li><code>EC2SecurityGroupName</code> - <code>string</code> - Optional - Name of the EC2 Security Group to authorize. For VPC DB Security Groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, EC2SecurityGroupOwnerId and either <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided.</li>
|
225 |
+
* <li><code>EC2SecurityGroupId</code> - <code>string</code> - Optional - Id of the EC2 Security Group to authorize. For VPC DB Security Groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, EC2SecurityGroupOwnerId and either <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided.</li>
|
226 |
+
* <li><code>EC2SecurityGroupOwnerId</code> - <code>string</code> - Optional - AWS Account Number of the owner of the EC2 Security Group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB Security Groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, EC2SecurityGroupOwnerId and either <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided.</li>
|
227 |
* <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>
|
228 |
* <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>
|
229 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
236 |
return $this->authenticate('AuthorizeDBSecurityGroupIngress', $opt);
|
237 |
}
|
238 |
|
239 |
+
/**
|
240 |
+
* Copies the specified DBSnapshot. The source DBSnapshot must be in the "available" state.
|
241 |
+
*
|
242 |
+
* @param string $source_db_snapshot_identifier (Required) The identifier for the source DB snapshot. Constraints:<ul><li>Must be the identifier for a valid system snapshot in the "available" state.</li></ul>Example: <code>rds:mydb-2012-04-02-00-01</code>
|
243 |
+
* @param string $target_db_snapshot_identifier (Required) The identifier for the copied snapshot. Constraints:<ul><li>Cannot be null, empty, or blank</li><li>Must contain from 1 to 255 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>Example: <code>my-db-snapshot</code>
|
244 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
245 |
+
* <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>
|
246 |
+
* <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>
|
247 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
248 |
+
*/
|
249 |
+
public function copy_db_snapshot($source_db_snapshot_identifier, $target_db_snapshot_identifier, $opt = null)
|
250 |
+
{
|
251 |
+
if (!$opt) $opt = array();
|
252 |
+
$opt['SourceDBSnapshotIdentifier'] = $source_db_snapshot_identifier;
|
253 |
+
$opt['TargetDBSnapshotIdentifier'] = $target_db_snapshot_identifier;
|
254 |
+
|
255 |
+
return $this->authenticate('CopyDBSnapshot', $opt);
|
256 |
+
}
|
257 |
+
|
258 |
/**
|
259 |
* Creates a new DB instance.
|
260 |
*
|
261 |
+
* @param string $db_instance_identifier (Required) The DB Instance identifier. This parameter is stored as a lowercase string. Constraints:<ul><li>Must contain from 1 to 63 alphanumeric characters or hyphens (1 to 15 for SQL Server).</li><li>First character must be a letter.</li><li>Cannot end with a hyphen or contain two consecutive hyphens.</li></ul>Example: <code>mydbinstance</code>
|
262 |
+
* @param integer $allocated_storage (Required) The amount of storage (in gigabytes) to be initially allocated for the database instance. <strong>MySQL</strong> Constraints: Must be an integer from 5 to 1024. Type: Integer <strong>Oracle</strong> Constraints: Must be an integer from 10 to 1024. <strong>SQL Server</strong> Constraints: Must be an integer from 200 to 1024 (Standard Edition and Enterprise Edition) or from 30 to 1024 (Express Edition and Web Edition)
|
263 |
+
* @param string $db_instance_class (Required) The compute and memory capacity of the DB Instance. To determine the instance classes that are available for a particular DB engine, use the <code>DescribeOrderableDBInstanceOptions</code> action. Valid Values: <code>db.t1.micro | db.m1.small | db.m1.large | db.m1.xlarge | db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge</code> <p class="note">Amazon RDS does not support db.t1.micro instances in a virtual private cloud (VPC).</p>
|
264 |
+
* @param string $engine (Required) The name of the database engine to be used for this instance. Valid Values: <code>MySQL</code> | <code>oracle-se1</code> | <code>oracle-se</code> | <code>oracle-ee</code> | <code>sqlserver-ee</code> | <code>sqlserver-se</code> | <code>sqlserver-ex</code> | <code>sqlserver-web</code>
|
265 |
+
* @param string $master_username (Required) The name of master user for the client DB Instance. <strong>MySQL</strong> Constraints:<ul><li>Must be 1 to 16 alphanumeric characters.</li><li>First character must be a letter.</li><li>Cannot be a reserved word for the chosen database engine.</li></ul>Type: String <strong>Oracle</strong> Constraints:<ul><li>Must be 1 to 30 alphanumeric characters.</li><li>First character must be a letter.</li><li>Cannot be a reserved word for the chosen database engine.</li></ul> <strong>SQL Server</strong> Constraints:<ul><li>Must be 1 to 128 alphanumeric characters.</li><li>First character must be a letter.</li><li>Cannot be a reserved word for the chosen database engine.</li></ul>
|
266 |
+
* @param string $master_user_password (Required) The password for the master database user. <strong>MySQL</strong> Constraints: Must contain from 8 to 41 alphanumeric characters. Type: String <strong>Oracle</strong> Constraints: Must contain from 8 to 30 alphanumeric characters. <strong>SQL Server</strong> Constraints: Must contain from 8 to 128 alphanumeric characters.
|
267 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
268 |
+
* <li><code>DBName</code> - <code>string</code> - Optional - The meaning of this parameter differs according to the database engine you use. <strong>MySQL</strong> The name of the database to create when the DB Instance is created. If this parameter is not specified, no database is created in the DB Instance. Constraints:<ul><li>Must contain 1 to 64 alphanumeric characters</li><li>Cannot be a word reserved by the specified database engine</li></ul>Type: String <strong>Oracle</strong> The Oracle System ID (SID) of the created DB Instance. Default: <code>ORCL</code> Constraints:<ul><li>Cannot be longer than 8 characters</li></ul> <strong>SQL Server</strong> Not applicable. Must be null.</li>
|
269 |
* <li><code>DBSecurityGroups</code> - <code>string|array</code> - Optional - A list of DB Security Groups to associate with this DB Instance. Default: The default DB Security Group for the database engine. Pass a string for a single value, or an indexed array for multiple values.</li>
|
270 |
* <li><code>AvailabilityZone</code> - <code>string</code> - Optional - The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone in the endpoint's region. Example: <code>us-east-1d</code> Constraint: The AvailabilityZone parameter cannot be specified if the MultiAZ parameter is set to <code>true</code>. The specified Availability Zone must be in the same region as the current endpoint.</li>
|
271 |
+
* <li><code>DBSubnetGroupName</code> - <code>string</code> - Optional - A DB Subnet Group to associate with this DB Instance. If there is no DB Subnet Group, then it is a non-VPC DB instance.</li>
|
272 |
* <li><code>PreferredMaintenanceWindow</code> - <code>string</code> - Optional - The weekly time range (in UTC) during which system maintenance can occur. Format: <code>ddd:hh24:mi-ddd:hh24:mi</code> Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week. The following list shows the time blocks for each region from which the default maintenance windows are assigned.<ul><li> <strong>US-East (Northern Virginia) Region:</strong> 03:00-11:00 UTC</li><li> <strong>US-West (Northern California) Region:</strong> 06:00-14:00 UTC</li><li> <strong>EU (Ireland) Region:</strong> 22:00-06:00 UTC</li><li> <strong>Asia Pacific (Singapore) Region:</strong> 14:00-22:00 UTC</li><li> <strong>Asia Pacific (Tokyo) Region:</strong> 17:00-03:00 UTC</li></ul>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.</li>
|
273 |
* <li><code>DBParameterGroupName</code> - <code>string</code> - Optional - The name of the DB Parameter Group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine will be used. Constraints:<ul><li>Must be 1 to 255 alphanumeric characters</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul></li>
|
274 |
* <li><code>BackupRetentionPeriod</code> - <code>integer</code> - Optional - The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Default: 1 Constraints:<ul><li>Must be a value from 0 to 8</li><li>Cannot be set to 0 if the DB Instance is a master instance with read replicas</li></ul></li>
|
275 |
* <li><code>PreferredBackupWindow</code> - <code>string</code> - Optional - The daily time range during which automated backups are created if automated backups are enabled, using the <code>BackupRetentionPeriod</code> parameter. Default: A 30-minute window selected at random from an 8-hour block of time per region. The following list shows the time blocks for each region from which the default backup windows are assigned.<ul><li> <strong>US-East (Northern Virginia) Region:</strong> 03:00-11:00 UTC</li><li> <strong>US-West (Northern California) Region:</strong> 06:00-14:00 UTC</li><li> <strong>EU (Ireland) Region:</strong> 22:00-06:00 UTC</li><li> <strong>Asia Pacific (Singapore) Region:</strong> 14:00-22:00 UTC</li><li> <strong>Asia Pacific (Tokyo) Region:</strong> 17:00-03:00 UTC</li></ul>Constraints: Must be in the format <code>hh24:mi-hh24:mi</code>. Times should be Universal Time Coordinated (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes.</li>
|
276 |
+
* <li><code>Port</code> - <code>integer</code> - Optional - The port number on which the database accepts connections. <strong>MySQL</strong> Default: <code>3306</code> Valid Values: <code>1150-65535</code> Type: Integer <strong>Oracle</strong> Default: <code>1521</code> Valid Values: <code>1150-65535</code> <strong>SQL Server</strong> Default: <code>1433</code> Valid Values: <code>1150-65535</code> except for <code>1434</code> and <code>3389</code>.</li>
|
277 |
+
* <li><code>MultiAZ</code> - <code>boolean</code> - Optional - Specifies if the DB Instance is a Multi-AZ deployment. For Microsoft SQL Server, must be set to false. You cannot set the AvailabilityZone parameter if the MultiAZ parameter is set to true.</li>
|
278 |
+
* <li><code>EngineVersion</code> - <code>string</code> - Optional - The version number of the database engine to use. <strong>MySQL</strong> Example: <code>5.1.42</code> Type: String <strong>Oracle</strong> Example: <code>11.2.0.2.v2</code> Type: String <strong>SQL Server</strong> Example: <code>10.50.2789.0.v1</code></li>
|
279 |
* <li><code>AutoMinorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that minor engine upgrades will be applied automatically to the DB Instance during the maintenance window. Default: <code>true</code></li>
|
280 |
* <li><code>LicenseModel</code> - <code>string</code> - Optional - License model information for this DB Instance. Valid values: <code>license-included</code> | <code>bring-your-own-license</code> | <code>general-public-license</code></li>
|
281 |
+
* <li><code>OptionGroupName</code> - <code>string</code> - Optional - Indicates that the DB Instance should be associated with the specified option group.</li>
|
282 |
+
* <li><code>CharacterSetName</code> - <code>string</code> - Optional - For supported engines, indicates that the DB Instance should be associated with the specified CharacterSet.</li>
|
283 |
* <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>
|
284 |
* <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>
|
285 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
323 |
* <li><code>AvailabilityZone</code> - <code>string</code> - Optional - The Amazon EC2 Availability Zone that the Read Replica will be created in. Default: A random, system-chosen Availability Zone in the endpoint's region. Example: <code>us-east-1d</code></li>
|
324 |
* <li><code>Port</code> - <code>integer</code> - Optional - The port number that the DB Instance uses for connections. Default: Inherits from the source DB Instance Valid Values: <code>1150-65535</code></li>
|
325 |
* <li><code>AutoMinorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that minor engine upgrades will be applied automatically to the Read Replica during the maintenance window. Default: Inherits from the source DB Instance</li>
|
326 |
+
* <li><code>OptionGroupName</code> - <code>string</code> - Optional - </li>
|
327 |
* <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>
|
328 |
* <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>
|
329 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
372 |
* @param string $db_security_group_name (Required) The name for the DB Security Group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default". Example: <code>mysecuritygroup</code>
|
373 |
* @param string $db_security_group_description (Required) The description for the DB Security Group.
|
374 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
375 |
+
* <li><code>EC2VpcId</code> - <code>string</code> - Optional - The Id of VPC. Indicates which VPC this DB Security Group should belong to. Must be specified to create a DB Security Group for a VPC; may not be specified otherwise.</li>
|
376 |
* <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>
|
377 |
* <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>
|
378 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
405 |
return $this->authenticate('CreateDBSnapshot', $opt);
|
406 |
}
|
407 |
|
408 |
+
/**
|
409 |
+
* Creates a new DB subnet group. DB subnet groups must contain at least one subnet in each AZ in
|
410 |
+
* the region.
|
411 |
+
*
|
412 |
+
* @param string $db_subnet_group_name (Required) The name for the DB Subnet Group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default". Example: <code>mySubnetgroup</code>
|
413 |
+
* @param string $db_subnet_group_description (Required) The description for the DB Subnet Group.
|
414 |
+
* @param string|array $subnet_ids (Required) The EC2 Subnet IDs for the DB Subnet Group. Pass a string for a single value, or an indexed array for multiple values.
|
415 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
416 |
+
* <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>
|
417 |
+
* <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>
|
418 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
419 |
+
*/
|
420 |
+
public function create_db_subnet_group($db_subnet_group_name, $db_subnet_group_description, $subnet_ids, $opt = null)
|
421 |
+
{
|
422 |
+
if (!$opt) $opt = array();
|
423 |
+
$opt['DBSubnetGroupName'] = $db_subnet_group_name;
|
424 |
+
$opt['DBSubnetGroupDescription'] = $db_subnet_group_description;
|
425 |
+
|
426 |
+
// Required list (non-map)
|
427 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
428 |
+
'SubnetIds' => (is_array($subnet_ids) ? $subnet_ids : array($subnet_ids))
|
429 |
+
), 'member'));
|
430 |
+
|
431 |
+
return $this->authenticate('CreateDBSubnetGroup', $opt);
|
432 |
+
}
|
433 |
+
|
434 |
+
/**
|
435 |
+
* Creates a new Option Group.
|
436 |
+
*
|
437 |
+
* @param string $option_group_name (Required) Specifies the name of the option group to be created. Constraints:<ul><li>Must be 1 to 255 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>Example: <code>myOptiongroup</code>
|
438 |
+
* @param string $engine_name (Required) Specifies the name of the engine that this option group should be associated with.
|
439 |
+
* @param string $major_engine_version (Required) Specifies the major version of the engine that this option group should be associated with.
|
440 |
+
* @param string $option_group_description (Required) The description of the option group.
|
441 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
442 |
+
* <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>
|
443 |
+
* <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>
|
444 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
445 |
+
*/
|
446 |
+
public function create_option_group($option_group_name, $engine_name, $major_engine_version, $option_group_description, $opt = null)
|
447 |
+
{
|
448 |
+
if (!$opt) $opt = array();
|
449 |
+
$opt['OptionGroupName'] = $option_group_name;
|
450 |
+
$opt['EngineName'] = $engine_name;
|
451 |
+
$opt['MajorEngineVersion'] = $major_engine_version;
|
452 |
+
$opt['OptionGroupDescription'] = $option_group_description;
|
453 |
+
|
454 |
+
return $this->authenticate('CreateOptionGroup', $opt);
|
455 |
+
}
|
456 |
+
|
457 |
/**
|
458 |
* The DeleteDBInstance API deletes a previously provisioned RDS instance. A successful response
|
459 |
* from the web service indicates the request was received correctly. If a final DBSnapshot is
|
478 |
}
|
479 |
|
480 |
/**
|
481 |
+
* Deletes a specified DBParameterGroup. The DBParameterGroup cannot be associated with any RDS
|
482 |
+
* instances to be deleted.
|
483 |
*
|
484 |
* <p class="note">
|
485 |
* The specified DB Parameter Group cannot be associated with any DB Instances.
|
521 |
}
|
522 |
|
523 |
/**
|
524 |
+
* Deletes a DBSnapshot.
|
525 |
*
|
526 |
* <p class="note">
|
527 |
* The DBSnapshot must be in the <code>available</code> state to be deleted.
|
528 |
* </p>
|
529 |
*
|
530 |
+
* @param string $db_snapshot_identifier (Required) The DBSnapshot identifier. Constraints: Must be the name of an existing DB Snapshot in the <code>available</code> state.
|
531 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
532 |
* <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>
|
533 |
* <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>
|
541 |
return $this->authenticate('DeleteDBSnapshot', $opt);
|
542 |
}
|
543 |
|
544 |
+
/**
|
545 |
+
* Deletes a DB subnet group.
|
546 |
+
*
|
547 |
+
* <p class="note">
|
548 |
+
* The specified database subnet group must not be associated with any DB instances.
|
549 |
+
* </p>
|
550 |
+
*
|
551 |
+
* @param string $db_subnet_group_name (Required) The name of the database subnet group to delete. <p class="note">You cannot delete the default subnet group.</p> Constraints:<ul><li>Must be 1 to 255 alphanumeric characters</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
552 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
553 |
+
* <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>
|
554 |
+
* <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>
|
555 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
556 |
+
*/
|
557 |
+
public function delete_db_subnet_group($db_subnet_group_name, $opt = null)
|
558 |
+
{
|
559 |
+
if (!$opt) $opt = array();
|
560 |
+
$opt['DBSubnetGroupName'] = $db_subnet_group_name;
|
561 |
+
|
562 |
+
return $this->authenticate('DeleteDBSubnetGroup', $opt);
|
563 |
+
}
|
564 |
+
|
565 |
+
/**
|
566 |
+
* Deletes an existing Option Group.
|
567 |
+
*
|
568 |
+
* @param string $option_group_name (Required) The name of the option group to be deleted. <p class="note">You cannot delete default Option Groups.</p>
|
569 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
570 |
+
* <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>
|
571 |
+
* <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>
|
572 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
573 |
+
*/
|
574 |
+
public function delete_option_group($option_group_name, $opt = null)
|
575 |
+
{
|
576 |
+
if (!$opt) $opt = array();
|
577 |
+
$opt['OptionGroupName'] = $option_group_name;
|
578 |
+
|
579 |
+
return $this->authenticate('DeleteOptionGroup', $opt);
|
580 |
+
}
|
581 |
+
|
582 |
/**
|
583 |
* Returns a list of the available DB engines.
|
584 |
*
|
589 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more than the <code>MaxRecords</code> value is available, a marker is included in the response so that the following results can be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
590 |
* <li><code>Marker</code> - <code>string</code> - Optional - The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to <code>MaxRecords</code>.</li>
|
591 |
* <li><code>DefaultOnly</code> - <code>boolean</code> - Optional - Indicates that only the default version of the specified engine or engine and major version combination is returned.</li>
|
592 |
+
* <li><code>ListSupportedCharacterSets</code> - <code>boolean</code> - Optional - If this parameter is specified, and if the requested engine supports the CharacterSetName parameter for CreateDBInstance, the response includes a list of supported character sets for each engine version.</li>
|
593 |
* <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>
|
594 |
* <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>
|
595 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
645 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
646 |
* <li><code>Source</code> - <code>string</code> - Optional - The parameter types to return. Default: All parameter types returned Valid Values: <code>user | system | engine-default</code></li>
|
647 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a marker is included in the response so that the remaining results may be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
648 |
+
* <li><code>Marker</code> - <code>string</code> - Optional - An optional marker provided in the previous DescribeDBParameters request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</li>
|
649 |
* <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>
|
650 |
* <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>
|
651 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
668 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
669 |
* <li><code>DBSecurityGroupName</code> - <code>string</code> - Optional - The name of the DB Security Group to return details for.</li>
|
670 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a marker is included in the response so that the remaining results may be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
671 |
+
* <li><code>Marker</code> - <code>string</code> - Optional - An optional marker provided in the previous DescribeDBSecurityGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</li>
|
672 |
* <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>
|
673 |
* <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>
|
674 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
684 |
* Returns information about DBSnapshots. This API supports pagination.
|
685 |
*
|
686 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
687 |
+
* <li><code>DBInstanceIdentifier</code> - <code>string</code> - Optional - A DB Instance Identifier to retrieve the list of DB Snapshots for. Cannot be used in conjunction with DBSnapshotIdentifier. This parameter isn't case sensitive. Constraints:<ul><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul></li>
|
688 |
+
* <li><code>DBSnapshotIdentifier</code> - <code>string</code> - Optional - A specific DB Snapshot Identifier to describe. Cannot be used in conjunction with DBInstanceIdentifier. This value is stored as a lowercase string. Constraints:<ul><li>Must be 1 to 255 alphanumeric characters</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li><li>If this is the identifier of an automated snapshot, the <code>SnapshotType</code> parameter must also be specified.</li></ul></li>
|
689 |
+
* <li><code>SnapshotType</code> - <code>string</code> - Optional - An optional snapshot type for which snapshots will be returned. If not specified, the returned results will include snapshots of all types.</li>
|
690 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a marker is included in the response so that the remaining results may be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
691 |
* <li><code>Marker</code> - <code>string</code> - Optional - An optional marker provided in the previous DescribeDBSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</li>
|
692 |
* <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>
|
701 |
}
|
702 |
|
703 |
/**
|
704 |
+
* Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list
|
705 |
+
* will contain only the descriptions of the specified DBSubnetGroup.
|
706 |
+
*
|
707 |
+
* For an overview of CIDR ranges, go to the <a href=
|
708 |
+
* "http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Wikipedia Tutorial</a>.
|
709 |
+
*
|
710 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
711 |
+
* <li><code>DBSubnetGroupName</code> - <code>string</code> - Optional - The name of the DB Subnet Group to return details for.</li>
|
712 |
+
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a marker is included in the response so that the remaining results may be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
713 |
+
* <li><code>Marker</code> - <code>string</code> - Optional - An optional marker provided in the previous DescribeDBSubnetGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</li>
|
714 |
+
* <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>
|
715 |
+
* <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>
|
716 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
717 |
+
*/
|
718 |
+
public function describe_db_subnet_groups($opt = null)
|
719 |
+
{
|
720 |
+
if (!$opt) $opt = array();
|
721 |
+
|
722 |
+
return $this->authenticate('DescribeDBSubnetGroups', $opt);
|
723 |
+
}
|
724 |
+
|
725 |
+
/**
|
726 |
+
* Returns the default engine and system parameter information for the specified database engine.
|
727 |
*
|
728 |
* @param string $db_parameter_group_family (Required) The name of the DB Parameter Group Family.
|
729 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
743 |
|
744 |
/**
|
745 |
* Returns events related to DB Instances, DB Security Groups, DB Snapshots and DB Parameter
|
746 |
+
* Groups for the past 14 days. Events specific to a particular DB Instance, DB Security Group,
|
747 |
+
* database snapshot or DB Parameter Group can be obtained by providing the name as a parameter.
|
748 |
+
* By default, the past hour of events are returned.
|
749 |
*
|
750 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
751 |
* <li><code>SourceIdentifier</code> - <code>string</code> - Optional - The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response. Constraints:<ul><li>If SourceIdentifier is supplied, SourceType must also be provided.</li><li>If the source type is DBInstance, then a DBInstanceIdentifier must be supplied.</li><li>If the source type is DBSecurityGroup, a DBSecurityGroupName must be supplied.</li><li>If the source type is DBParameterGroup, a DBParameterGroupName must be supplied.</li><li>If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied.</li><li>Cannot end with a hyphen or contain two consecutive hyphens.</li></ul></li>
|
778 |
return $this->authenticate('DescribeEvents', $opt);
|
779 |
}
|
780 |
|
781 |
+
/**
|
782 |
+
* Describes all available options.
|
783 |
+
*
|
784 |
+
* @param string $engine_name (Required) A required parameter. Options available for the given Engine name will be described.
|
785 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
786 |
+
* <li><code>MajorEngineVersion</code> - <code>string</code> - Optional - If specified, filters the results to include only options for the specified major engine version.</li>
|
787 |
+
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - </li>
|
788 |
+
* <li><code>Marker</code> - <code>string</code> - Optional - </li>
|
789 |
+
* <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>
|
790 |
+
* <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>
|
791 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
792 |
+
*/
|
793 |
+
public function describe_option_group_options($engine_name, $opt = null)
|
794 |
+
{
|
795 |
+
if (!$opt) $opt = array();
|
796 |
+
$opt['EngineName'] = $engine_name;
|
797 |
+
|
798 |
+
return $this->authenticate('DescribeOptionGroupOptions', $opt);
|
799 |
+
}
|
800 |
+
|
801 |
+
/**
|
802 |
+
* Describes the available option groups.
|
803 |
+
*
|
804 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
805 |
+
* <li><code>OptionGroupName</code> - <code>string</code> - Optional - The name of the option group to describe. Cannot be supplied together with EngineName or MajorEngineVersion.</li>
|
806 |
+
* <li><code>Marker</code> - <code>string</code> - Optional - </li>
|
807 |
+
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - </li>
|
808 |
+
* <li><code>EngineName</code> - <code>string</code> - Optional - Filters the list of option groups to only include groups associated with a specific database engine.</li>
|
809 |
+
* <li><code>MajorEngineVersion</code> - <code>string</code> - Optional - Filters the list of option groups to only include groups associated with a specific database engine version. If specified, then EngineName must also be specified.</li>
|
810 |
+
* <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>
|
811 |
+
* <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>
|
812 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
813 |
+
*/
|
814 |
+
public function describe_option_groups($opt = null)
|
815 |
+
{
|
816 |
+
if (!$opt) $opt = array();
|
817 |
+
|
818 |
+
return $this->authenticate('DescribeOptionGroups', $opt);
|
819 |
+
}
|
820 |
+
|
821 |
/**
|
822 |
* Returns a list of orderable DB Instance options for the specified engine.
|
823 |
*
|
826 |
* <li><code>EngineVersion</code> - <code>string</code> - Optional - The engine version filter value. Specify this parameter to show only the available offerings matching the specified engine version.</li>
|
827 |
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The DB Instance class filter value. Specify this parameter to show only the available offerings matching the specified DB Instance class.</li>
|
828 |
* <li><code>LicenseModel</code> - <code>string</code> - Optional - The license model filter value. Specify this parameter to show only the available offerings matching the specified license model.</li>
|
829 |
+
* <li><code>Vpc</code> - <code>boolean</code> - Optional - The VPC filter value. Specify this parameter to show only the available VPC or non-VPC offerings.</li>
|
830 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a marker is included in the response so that the remaining results may be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
831 |
* <li><code>Marker</code> - <code>string</code> - Optional - An optional marker provided in the previous DescribeOrderableDBInstanceOptions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</li>
|
832 |
* <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>
|
851 |
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The DB Instance class filter value. Specify this parameter to show only those reservations matching the specified DB Instances class.</li>
|
852 |
* <li><code>Duration</code> - <code>string</code> - Optional - The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration. Valid Values: <code>1 | 3 | 31536000 | 94608000</code></li>
|
853 |
* <li><code>ProductDescription</code> - <code>string</code> - Optional - The product description filter value. Specify this parameter to show only those reservations matching the specified product description.</li>
|
854 |
+
* <li><code>OfferingType</code> - <code>string</code> - Optional - The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type. Valid Values: <code>"Light Utilization" | "Medium Utilization" | "Heavy Utilization"</code></li>
|
855 |
* <li><code>MultiAZ</code> - <code>boolean</code> - Optional - The Multi-AZ filter value. Specify this parameter to show only those reservations matching the specified Multi-AZ parameter.</li>
|
856 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more than the <code>MaxRecords</code> value is available, a marker is included in the response so that the following results can be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
857 |
* <li><code>Marker</code> - <code>string</code> - Optional - The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to <code>MaxRecords</code>.</li>
|
874 |
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The DB Instance class filter value. Specify this parameter to show only the available offerings matching the specified DB Instance class.</li>
|
875 |
* <li><code>Duration</code> - <code>string</code> - Optional - Duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration. Valid Values: <code>1 | 3 | 31536000 | 94608000</code></li>
|
876 |
* <li><code>ProductDescription</code> - <code>string</code> - Optional - Product description filter value. Specify this parameter to show only the available offerings matching the specified product description.</li>
|
877 |
+
* <li><code>OfferingType</code> - <code>string</code> - Optional - The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type. Valid Values: <code>"Light Utilization" | "Medium Utilization" | "Heavy Utilization"</code></li>
|
878 |
* <li><code>MultiAZ</code> - <code>boolean</code> - Optional - The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter.</li>
|
879 |
* <li><code>MaxRecords</code> - <code>integer</code> - Optional - The maximum number of records to include in the response. If more than the <code>MaxRecords</code> value is available, a marker is included in the response so that the following results can be retrieved. Default: 100 Constraints: minimum 20, maximum 100</li>
|
880 |
* <li><code>Marker</code> - <code>string</code> - Optional - The marker provided in the previous request. If this parameter is specified, the response includes records beyond the marker only, up to <code>MaxRecords</code>.</li>
|
889 |
return $this->authenticate('DescribeReservedDBInstancesOfferings', $opt);
|
890 |
}
|
891 |
|
892 |
+
/**
|
893 |
+
* Lists all tags on a DB Instance.
|
894 |
+
*
|
895 |
+
* For an overview on tagging DB Instances, see <a href=
|
896 |
+
* "http://docs.amazonwebservices.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html">DB
|
897 |
+
* Instance Tags.</a>
|
898 |
+
*
|
899 |
+
* @param string $resource_name (Required) The DB Instance with tags to be listed.
|
900 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
901 |
+
* <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>
|
902 |
+
* <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>
|
903 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
904 |
+
*/
|
905 |
+
public function list_tags_for_resource($resource_name, $opt = null)
|
906 |
+
{
|
907 |
+
if (!$opt) $opt = array();
|
908 |
+
$opt['ResourceName'] = $resource_name;
|
909 |
+
|
910 |
+
return $this->authenticate('ListTagsForResource', $opt);
|
911 |
+
}
|
912 |
+
|
913 |
/**
|
914 |
* Modify settings for a DB Instance. You can change one or more database configuration parameters
|
915 |
* by specifying these parameters and the new values in the request.
|
916 |
*
|
917 |
+
* @param string $db_instance_identifier (Required) The DB Instance identifier. This value is stored as a lowercase string. For a SQL Server DB Instance, this value cannot be changed. Constraints:<ul><li>Must be the identifier for an existing DB Instance</li><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>Example:<copy>mydbinstance</copy>
|
918 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
919 |
+
* <li><code>AllocatedStorage</code> - <code>integer</code> - Optional - The new storage capacity of the RDS instance. This change does not result in an outage and is applied during the next maintenance window unless the <code>ApplyImmediately</code> parameter is specified as <code>true</code> for this request. <strong>MySQL</strong> Default: Uses existing setting Valid Values: 5-1024 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. Type: Integer <strong>Oracle</strong> Default: Uses existing setting Valid Values: 10-1024 Constraints: Value supplied must be at least 10% greater than the current value. Values that are not at least 10% greater than the existing value are rounded up so that they are 10% greater than the current value. <strong>SQL Server</strong> Cannot be modified.</li>
|
920 |
+
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The new compute and memory capacity of the DB Instance. To determine the instance classes that are available for a particular DB engine, use the <code>DescribeOrderableDBInstanceOptions</code> action. Passing a value for this parameter causes an outage during the change and is applied during the next maintenance window, unless the <code>ApplyImmediately</code> parameter is specified as <code>true</code> for this request. Default: Uses existing setting Valid Values: <code>db.t1.micro | db.m1.small | db.m1.large | db.m1.xlarge | db.m2.xlarge | db.m2.2xlarge | db.m2.4xlarge</code> <p class="note">Amazon RDS does not support db.t1.micro instances in a virtual private cloud (VPC).</p></li>
|
921 |
* <li><code>DBSecurityGroups</code> - <code>string|array</code> - Optional - A list of DB Security Groups to authorize on this DB Instance. This change is asynchronously applied as soon as possible. Constraints:<ul><li>Must be 1 to 255 alphanumeric characters</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul> Pass a string for a single value, or an indexed array for multiple values.</li>
|
922 |
* <li><code>ApplyImmediately</code> - <code>boolean</code> - Optional - Specifies whether or not the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the <code>PreferredMaintenanceWindow</code> setting for the DB Instance. If this parameter is passed as <code>false</code>, changes to the DB Instance are applied on the next call to <code>RebootDBInstance</code>, the next maintenance reboot, or the next failure reboot, whichever occurs first. Default: <code>false</code></li>
|
923 |
+
* <li><code>MasterUserPassword</code> - <code>string</code> - Optional - The new password for the DB Instance master user. This change is asynchronously applied as soon as possible. Between the time of the request and the completion of the request, the <code>MasterUserPassword</code> element exists in the <code>PendingModifiedValues</code> element of the operation response. Default: Uses existing setting Constraints: Must be 8 to 41 alphanumeric characters (MySQL), 8 to 30 alphanumeric characters (Oracle), or 8 to 128 alphanumeric characters (SQL Server). <p class="note">Amazon RDS API actions never return the password, so this action provides a way to regain access to a master instance user if the password is lost.</p></li>
|
924 |
* <li><code>DBParameterGroupName</code> - <code>string</code> - Optional - The name of the DB Parameter Group to apply to this DB Instance. This change is asynchronously applied as soon as possible for parameters when the <em>ApplyImmediately</em> parameter is specified as <code>true</code> for this request. Default: Uses existing setting Constraints: The DB Parameter Group must be in the same DB Parameter Group family as this DB Instance.</li>
|
925 |
* <li><code>BackupRetentionPeriod</code> - <code>integer</code> - Optional - The number of days to retain automated backups. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Default: Uses existing setting Constraints:<ul><li>Must be a value from 0 to 8</li><li>Cannot be set to 0 if the DB Instance is a master instance with read replicas or of the DB Instance is a read replica</li></ul></li>
|
926 |
* <li><code>PreferredBackupWindow</code> - <code>string</code> - Optional - The daily time range during which automated backups are created if automated backups are enabled, as determined by the <code>BackupRetentionPeriod</code>. Constraints:<ul><li>Must be in the format hh24:mi-hh24:mi</li><li>Times should be Universal Time Coordinated (UTC)</li><li>Must not conflict with the preferred maintenance window</li><li>Must be at least 30 minutes</li></ul></li>
|
929 |
* <li><code>EngineVersion</code> - <code>string</code> - Optional - The version number of the database engine to upgrade to. For major version upgrades, if a nondefault DB Parameter Group is currently in use, a new DB Parameter Group in the DB Parameter Group Family for the new engine version must be specified. The new DB Parameter Group can be the default for that DB Parameter Group Family. Example: <code>5.1.42</code></li>
|
930 |
* <li><code>AllowMajorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that major version upgrades are allowed. Constraints: This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB Instance's current version.</li>
|
931 |
* <li><code>AutoMinorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.</li>
|
932 |
+
* <li><code>OptionGroupName</code> - <code>string</code> - Optional - Indicates that the DB Instance should be associated with the specified option group.</li>
|
933 |
* <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>
|
934 |
* <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>
|
935 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
957 |
* can be modified in a single request.
|
958 |
*
|
959 |
* <p class="note"></p>
|
960 |
+
* The <code>apply-immediate</code> method can be used only for dynamic parameters; the
|
961 |
+
* <code>pending-reboot</code> method can be used with MySQL and Oracle DB Instances for either
|
962 |
+
* dynamic or static parameters. For Microsoft SQL Server DB Instances, the
|
963 |
+
* <code>pending-reboot</code> method can be used only for static parameters.
|
964 |
*
|
965 |
* @param string $db_parameter_group_name (Required) The name of the DB Parameter Group. Constraints:<ul><li>Must be the name of an existing DB Parameter Group</li><li>Must be 1 to 255 alphanumeric characters</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
966 |
* @param array $parameters (Required) An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters may be modified in a single request. Valid Values (for the application method): <code>immediate | pending-reboot</code> <p class="note">You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when DB Instance reboots.</p> <ul>
|
995 |
return $this->authenticate('ModifyDBParameterGroup', $opt);
|
996 |
}
|
997 |
|
998 |
+
/**
|
999 |
+
* Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in each
|
1000 |
+
* AZ in the region.
|
1001 |
+
*
|
1002 |
+
* @param string $db_subnet_group_name (Required) The name for the DB Subnet Group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must not be "Default". Example: <code>mySubnetgroup</code>
|
1003 |
+
* @param string|array $subnet_ids (Required) The EC2 Subnet IDs for the DB Subnet Group. Pass a string for a single value, or an indexed array for multiple values.
|
1004 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1005 |
+
* <li><code>DBSubnetGroupDescription</code> - <code>string</code> - Optional - The description for the DB Subnet Group.</li>
|
1006 |
+
* <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>
|
1007 |
+
* <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>
|
1008 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1009 |
+
*/
|
1010 |
+
public function modify_db_subnet_group($db_subnet_group_name, $subnet_ids, $opt = null)
|
1011 |
+
{
|
1012 |
+
if (!$opt) $opt = array();
|
1013 |
+
$opt['DBSubnetGroupName'] = $db_subnet_group_name;
|
1014 |
+
|
1015 |
+
// Required list (non-map)
|
1016 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
1017 |
+
'SubnetIds' => (is_array($subnet_ids) ? $subnet_ids : array($subnet_ids))
|
1018 |
+
), 'member'));
|
1019 |
+
|
1020 |
+
return $this->authenticate('ModifyDBSubnetGroup', $opt);
|
1021 |
+
}
|
1022 |
+
|
1023 |
+
/**
|
1024 |
+
* Modifies an existing Option Group.
|
1025 |
+
*
|
1026 |
+
* @param string $option_group_name (Required) The name of the option group to be modified.
|
1027 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1028 |
+
* <li><code>OptionsToInclude</code> - <code>array</code> - Optional - Options in this list are added to the Option Group or, if already present, the specified configuration is used to update the existing configuration. <ul>
|
1029 |
+
* <li><code>x</code> - <code>array</code> - Optional - This represents a simple array index. <ul>
|
1030 |
+
* <li><code>OptionName</code> - <code>string</code> - Required - </li>
|
1031 |
+
* <li><code>Port</code> - <code>integer</code> - Optional - </li>
|
1032 |
+
* <li><code>DBSecurityGroupMemberships</code> - <code>string|array</code> - Optional - Pass a string for a single value, or an indexed array for multiple values.</li>
|
1033 |
+
* </ul></li>
|
1034 |
+
* </ul></li>
|
1035 |
+
* <li><code>OptionsToRemove</code> - <code>string|array</code> - Optional - Options in this list are removed from the Option Group. Pass a string for a single value, or an indexed array for multiple values.</li>
|
1036 |
+
* <li><code>ApplyImmediately</code> - <code>boolean</code> - Optional - Indicates whether the changes should be applied immediately, or during the next maintenance window for each instance associated with the Option Group.</li>
|
1037 |
+
* <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>
|
1038 |
+
* <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>
|
1039 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1040 |
+
*/
|
1041 |
+
public function modify_option_group($option_group_name, $opt = null)
|
1042 |
+
{
|
1043 |
+
if (!$opt) $opt = array();
|
1044 |
+
$opt['OptionGroupName'] = $option_group_name;
|
1045 |
+
|
1046 |
+
// Optional list + map
|
1047 |
+
if (isset($opt['OptionsToInclude']))
|
1048 |
+
{
|
1049 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
1050 |
+
'OptionsToInclude' => $opt['OptionsToInclude']
|
1051 |
+
), 'member'));
|
1052 |
+
unset($opt['OptionsToInclude']);
|
1053 |
+
}
|
1054 |
+
|
1055 |
+
// Optional list (non-map)
|
1056 |
+
if (isset($opt['OptionsToRemove']))
|
1057 |
+
{
|
1058 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
1059 |
+
'OptionsToRemove' => (is_array($opt['OptionsToRemove']) ? $opt['OptionsToRemove'] : array($opt['OptionsToRemove']))
|
1060 |
+
), 'member'));
|
1061 |
+
unset($opt['OptionsToRemove']);
|
1062 |
+
}
|
1063 |
+
|
1064 |
+
return $this->authenticate('ModifyOptionGroup', $opt);
|
1065 |
+
}
|
1066 |
+
|
1067 |
/**
|
1068 |
* Purchases a reserved DB Instance offering.
|
1069 |
*
|
1087 |
* Reboots a previously provisioned RDS instance. This API results in the application of modified
|
1088 |
* DBParameterGroup parameters with ApplyStatus of pending-reboot to the RDS instance. This action
|
1089 |
* is taken as soon as possible, and results in a momentary outage to the RDS instance during
|
1090 |
+
* which the RDS instance status is set to rebooting. If the RDS instance is configured for
|
1091 |
+
* MultiAZ, it is possible that the reboot will be conducted through a failover. A DBInstance
|
1092 |
+
* event is created when the reboot is completed.
|
1093 |
*
|
1094 |
* @param string $db_instance_identifier (Required) The DB Instance identifier. This parameter is stored as a lowercase string. Constraints:<ul><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
1095 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1096 |
+
* <li><code>ForceFailover</code> - <code>boolean</code> - Optional - When <code>true</code>, the reboot will be conducted through a MultiAZ failover. Constraint: You cannot specify <code>true</code> if the instance is not configured for MultiAZ.</li>
|
1097 |
* <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>
|
1098 |
* <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>
|
1099 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1107 |
}
|
1108 |
|
1109 |
/**
|
1110 |
+
* Removes metadata tags from a DB Instance.
|
1111 |
+
*
|
1112 |
+
* For an overview on tagging DB Instances, see <a href=
|
1113 |
+
* "http://docs.amazonwebservices.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html">DB
|
1114 |
+
* Instance Tags.</a>
|
1115 |
+
*
|
1116 |
+
* @param string $resource_name (Required) The DB Instance the tags will be removed from.
|
1117 |
+
* @param string|array $tag_keys (Required) The tag key (name) of the tag to be removed. Pass a string for a single value, or an indexed array for multiple values.
|
1118 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1119 |
+
* <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>
|
1120 |
+
* <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>
|
1121 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1122 |
+
*/
|
1123 |
+
public function remove_tags_from_resource($resource_name, $tag_keys, $opt = null)
|
1124 |
+
{
|
1125 |
+
if (!$opt) $opt = array();
|
1126 |
+
$opt['ResourceName'] = $resource_name;
|
1127 |
+
|
1128 |
+
// Required list (non-map)
|
1129 |
+
$opt = array_merge($opt, CFComplexType::map(array(
|
1130 |
+
'TagKeys' => (is_array($tag_keys) ? $tag_keys : array($tag_keys))
|
1131 |
+
), 'member'));
|
1132 |
+
|
1133 |
+
return $this->authenticate('RemoveTagsFromResource', $opt);
|
1134 |
+
}
|
1135 |
+
|
1136 |
+
/**
|
1137 |
+
* Modifies the parameters of a DBParameterGroup to the engine/system default value. To reset
|
1138 |
* specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the
|
1139 |
* entire DBParameterGroup specify the DBParameterGroup name and ResetAllParameters parameters.
|
1140 |
* When resetting the entire group, dynamic parameters are updated immediately and static
|
1180 |
}
|
1181 |
|
1182 |
/**
|
1183 |
+
* Creates a new DB Instance from a DB snapshot. The target database is created from the source
|
1184 |
+
* database restore point with the same configuration as the original source database, except that
|
1185 |
+
* the new RDS instance is created with the default security group.
|
1186 |
*
|
1187 |
* @param string $db_instance_identifier (Required) The identifier for the DB Snapshot to restore from. Constraints:<ul><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
1188 |
* @param string $db_snapshot_identifier (Required) Name of the DB Instance to create from the DB Snapshot. This parameter isn't case sensitive. Constraints:<ul><li>Must contain from 1 to 255 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>Example: <code>my-snapshot-id</code>
|
1189 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1190 |
+
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The compute and memory capacity of the Amazon RDS DB instance. Valid Values: <code>db.t1.micro | db.m1.small | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge</code></li>
|
1191 |
* <li><code>Port</code> - <code>integer</code> - Optional - The port number on which the database accepts connections. Default: The same port as the original DB Instance Constraints: Value must be <code>1150-65535</code></li>
|
1192 |
* <li><code>AvailabilityZone</code> - <code>string</code> - Optional - The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to <code>true</code>. Example: <code>us-east-1a</code></li>
|
1193 |
+
* <li><code>DBSubnetGroupName</code> - <code>string</code> - Optional - The DB Subnet Group name to use for the new instance.</li>
|
1194 |
* <li><code>MultiAZ</code> - <code>boolean</code> - Optional - Specifies if the DB Instance is a Multi-AZ deployment. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to <code>true</code>.</li>
|
1195 |
* <li><code>AutoMinorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.</li>
|
1196 |
* <li><code>LicenseModel</code> - <code>string</code> - Optional - License model information for the restored DB Instance. Default: Same as source. Valid values: <code>license-included</code> | <code>bring-your-own-license</code> | <code>general-public-license</code></li>
|
1197 |
* <li><code>DBName</code> - <code>string</code> - Optional - The database name for the restored DB Instance. <p class="note">This parameter doesn't apply to the MySQL engine.</p></li>
|
1198 |
* <li><code>Engine</code> - <code>string</code> - Optional - The database engine to use for the new instance. Default: The same as source Constraint: Must be compatible with the engine of the source Example: <code>oracle-ee</code></li>
|
1199 |
+
* <li><code>OptionGroupName</code> - <code>string</code> - Optional - </li>
|
1200 |
* <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>
|
1201 |
* <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>
|
1202 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1213 |
/**
|
1214 |
* Restores a DB Instance to an arbitrary point-in-time. Users can restore to any point in time
|
1215 |
* before the latestRestorableTime for up to backupRetentionPeriod days. The target database is
|
1216 |
+
* created from the source database with the same configuration as the original database except
|
1217 |
+
* that the DB instance is created with the default DB security group.
|
1218 |
*
|
1219 |
* @param string $source_db_instance_identifier (Required) The identifier of the source DB Instance from which to restore. Constraints:<ul><li>Must be the identifier of an existing database instance</li><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
1220 |
* @param string $target_db_instance_identifier (Required) The name of the new database instance to be created. Constraints:<ul><li>Must contain from 1 to 63 alphanumeric characters or hyphens</li><li>First character must be a letter</li><li>Cannot end with a hyphen or contain two consecutive hyphens</li></ul>
|
1221 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1222 |
* <li><code>RestoreTime</code> - <code>string</code> - Optional - The date and time to restore from. Valid Values: Value must be a UTC time Constraints:<ul><li>Must be before the latest restorable time for the DB Instance</li><li>Cannot be specified if UseLatestRestorableTime parameter is true</li></ul>Example: <code>2009-09-07T23:45:00Z</code> May be passed as a number of seconds since UNIX Epoch, or any string compatible with <php:strtotime()>.</li>
|
1223 |
* <li><code>UseLatestRestorableTime</code> - <code>boolean</code> - Optional - Specifies whether (<code>true</code>) or not (<code>false</code>) the DB Instance is restored from the latest backup time. Default: <code>false</code> Constraints: Cannot be specified if RestoreTime parameter is provided.</li>
|
1224 |
+
* <li><code>DBInstanceClass</code> - <code>string</code> - Optional - The compute and memory capacity of the Amazon RDS DB instance. Valid Values: <code>db.t1.micro | db.m1.small | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge</code> Default: The same DBInstanceClass as the original DB Instance.</li>
|
1225 |
* <li><code>Port</code> - <code>integer</code> - Optional - The port number on which the database accepts connections. Constraints: Value must be <code>1150-65535</code> Default: The same port as the original DB Instance.</li>
|
1226 |
* <li><code>AvailabilityZone</code> - <code>string</code> - Optional - The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true. Example: <code>us-east-1a</code></li>
|
1227 |
+
* <li><code>DBSubnetGroupName</code> - <code>string</code> - Optional - The DB subnet group name to use for the new instance.</li>
|
1228 |
* <li><code>MultiAZ</code> - <code>boolean</code> - Optional - Specifies if the DB Instance is a Multi-AZ deployment. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to <code>true</code>.</li>
|
1229 |
* <li><code>AutoMinorVersionUpgrade</code> - <code>boolean</code> - Optional - Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window.</li>
|
1230 |
* <li><code>LicenseModel</code> - <code>string</code> - Optional - License model information for the restored DB Instance. Default: Same as source. Valid values: <code>license-included</code> | <code>bring-your-own-license</code> | <code>general-public-license</code></li>
|
1231 |
* <li><code>DBName</code> - <code>string</code> - Optional - The database name for the restored DB Instance. <p class="note">This parameter is not used for the MySQL engine.</p></li>
|
1232 |
* <li><code>Engine</code> - <code>string</code> - Optional - The database engine to use for the new instance. Default: The same as source Constraint: Must be compatible with the engine of the source Example: <code>oracle-ee</code></li>
|
1233 |
+
* <li><code>OptionGroupName</code> - <code>string</code> - Optional - </li>
|
1234 |
* <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>
|
1235 |
* <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>
|
1236 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
1251 |
}
|
1252 |
|
1253 |
/**
|
1254 |
+
* Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC
|
1255 |
+
* Security Groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for
|
1256 |
+
* VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).
|
1257 |
*
|
1258 |
* @param string $db_security_group_name (Required) The name of the DB Security Group to revoke ingress from.
|
1259 |
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
1260 |
+
* <li><code>CIDRIP</code> - <code>string</code> - Optional - The IP range to revoke access from. Must be a valid CIDR range. If <code>CIDRIP</code> is specified, <code>EC2SecurityGroupName</code>, <code>EC2SecurityGroupId</code> and <code>EC2SecurityGroupOwnerId</code> cannot be provided.</li>
|
1261 |
+
* <li><code>EC2SecurityGroupName</code> - <code>string</code> - Optional - The name of the EC2 Security Group to revoke access from. For VPC DB Security Groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, EC2SecurityGroupOwnerId and either <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided.</li>
|
1262 |
+
* <li><code>EC2SecurityGroupId</code> - <code>string</code> - Optional - The id of the EC2 Security Group to revoke access from. For VPC DB Security Groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, EC2SecurityGroupOwnerId and either <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided.</li>
|
1263 |
+
* <li><code>EC2SecurityGroupOwnerId</code> - <code>string</code> - Optional - The AWS Account Number of the owner of the EC2 security group specified in the <code>EC2SecurityGroupName</code> parameter. The AWS Access Key ID is not an acceptable value. For VPC DB Security Groups, <code>EC2SecurityGroupId</code> must be provided. Otherwise, EC2SecurityGroupOwnerId and either <code>EC2SecurityGroupName</code> or <code>EC2SecurityGroupId</code> must be provided.</li>
|
1264 |
* <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>
|
1265 |
* <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>
|
1266 |
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
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 2012.
|
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
|
@@ -404,6 +404,16 @@ class AmazonS3 extends CFRuntime
|
|
404 |
*/
|
405 |
public $object_expiration_xml;
|
406 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
/**
|
408 |
* The DNS vs. Path-style setting.
|
409 |
*/
|
@@ -436,15 +446,17 @@ class AmazonS3 extends CFRuntime
|
|
436 |
$this->api_version = '2006-03-01';
|
437 |
$this->hostname = self::DEFAULT_URL;
|
438 |
|
439 |
-
$this->base_acp_xml = '<?xml version="1.0" encoding="UTF-8"?><AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/latest/"
|
440 |
-
$this->base_location_constraint = '<?xml version="1.0" encoding="UTF-8"?><CreateBucketConfiguration xmlns="http://s3.amazonaws.com/doc/' . $this->api_version . '/"><LocationConstraint
|
441 |
-
$this->base_logging_xml = '<?xml version="1.0" encoding="utf-8"?><BucketLoggingStatus xmlns="http://doc.s3.amazonaws.com/' . $this->api_version . '"
|
442 |
-
$this->base_notification_xml = '<?xml version="1.0" encoding="utf-8"?><NotificationConfiguration
|
443 |
-
$this->base_versioning_xml = '<?xml version="1.0" encoding="utf-8"?><VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/' . $this->api_version . '/"
|
444 |
-
$this->complete_mpu_xml = '<?xml version="1.0" encoding="utf-8"?><CompleteMultipartUpload
|
445 |
$this->website_config_xml = '<?xml version="1.0" encoding="utf-8"?><WebsiteConfiguration xmlns="http://s3.amazonaws.com/doc/' . $this->api_version . '/"><IndexDocument><Suffix>index.html</Suffix></IndexDocument><ErrorDocument><Key>error.html</Key></ErrorDocument></WebsiteConfiguration>';
|
446 |
-
$this->multi_object_delete_xml = '<?xml version="1.0" encoding="utf-8"?><Delete
|
447 |
-
$this->object_expiration_xml = '<?xml version="1.0" encoding="utf-8"?><LifecycleConfiguration
|
|
|
|
|
448 |
|
449 |
parent::__construct($options);
|
450 |
}
|
@@ -548,10 +560,18 @@ class AmazonS3 extends CFRuntime
|
|
548 |
$this->temporary_prefix = true;
|
549 |
}
|
550 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
551 |
// Determine hostname
|
552 |
$scheme = $this->use_ssl ? 'https://' : 'http://';
|
553 |
-
if ($this->resource_prefix || $this->path_style)
|
554 |
{
|
|
|
555 |
$hostname = $this->hostname . $this->resource_prefix . (($bucket === '' || $this->resource_prefix === '/' . $bucket) ? '' : ('/' . $bucket));
|
556 |
}
|
557 |
else
|
@@ -1800,18 +1820,20 @@ class AmazonS3 extends CFRuntime
|
|
1800 |
$opt['metadataDirective'] = 'REPLACE';
|
1801 |
|
1802 |
// Retrieve the original metadata
|
1803 |
-
$metadata = $this->get_object_metadata($bucket, $filename)
|
1804 |
-
if ($metadata && isset($metadata['ACL']))
|
1805 |
{
|
1806 |
-
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
|
|
|
|
|
|
|
1815 |
}
|
1816 |
|
1817 |
// Remove a header
|
@@ -2310,7 +2332,11 @@ class AmazonS3 extends CFRuntime
|
|
2310 |
}
|
2311 |
|
2312 |
$object = $this->get_object_headers($bucket, $filename);
|
2313 |
-
|
|
|
|
|
|
|
|
|
2314 |
|
2315 |
if ($friendly_format)
|
2316 |
{
|
@@ -4061,6 +4087,231 @@ class AmazonS3 extends CFRuntime
|
|
4061 |
}
|
4062 |
|
4063 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4064 |
/*%******************************************************************************************%*/
|
4065 |
// MISCELLANEOUS
|
4066 |
|
49 |
*
|
50 |
* Visit <http://aws.amazon.com/s3/> for more information.
|
51 |
*
|
52 |
+
* @version 2012.08.28
|
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
|
404 |
*/
|
405 |
public $object_expiration_xml;
|
406 |
|
407 |
+
/**
|
408 |
+
* The base XML elements to use for bucket tagging.
|
409 |
+
*/
|
410 |
+
public $bucket_tagging_xml;
|
411 |
+
|
412 |
+
/**
|
413 |
+
* The base XML elements to use for CORS support.
|
414 |
+
*/
|
415 |
+
public $cors_config_xml;
|
416 |
+
|
417 |
/**
|
418 |
* The DNS vs. Path-style setting.
|
419 |
*/
|
446 |
$this->api_version = '2006-03-01';
|
447 |
$this->hostname = self::DEFAULT_URL;
|
448 |
|
449 |
+
$this->base_acp_xml = '<?xml version="1.0" encoding="UTF-8"?><AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/latest/"/>';
|
450 |
+
$this->base_location_constraint = '<?xml version="1.0" encoding="UTF-8"?><CreateBucketConfiguration xmlns="http://s3.amazonaws.com/doc/' . $this->api_version . '/"><LocationConstraint/></CreateBucketConfiguration>';
|
451 |
+
$this->base_logging_xml = '<?xml version="1.0" encoding="utf-8"?><BucketLoggingStatus xmlns="http://doc.s3.amazonaws.com/' . $this->api_version . '"/>';
|
452 |
+
$this->base_notification_xml = '<?xml version="1.0" encoding="utf-8"?><NotificationConfiguration/>';
|
453 |
+
$this->base_versioning_xml = '<?xml version="1.0" encoding="utf-8"?><VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/' . $this->api_version . '/"/>';
|
454 |
+
$this->complete_mpu_xml = '<?xml version="1.0" encoding="utf-8"?><CompleteMultipartUpload/>';
|
455 |
$this->website_config_xml = '<?xml version="1.0" encoding="utf-8"?><WebsiteConfiguration xmlns="http://s3.amazonaws.com/doc/' . $this->api_version . '/"><IndexDocument><Suffix>index.html</Suffix></IndexDocument><ErrorDocument><Key>error.html</Key></ErrorDocument></WebsiteConfiguration>';
|
456 |
+
$this->multi_object_delete_xml = '<?xml version="1.0" encoding="utf-8"?><Delete/>';
|
457 |
+
$this->object_expiration_xml = '<?xml version="1.0" encoding="utf-8"?><LifecycleConfiguration/>';
|
458 |
+
$this->bucket_tagging_xml = '<?xml version="1.0" encoding="utf-8"?><Tagging><TagSet/></Tagging>';
|
459 |
+
$this->cors_config_xml = '<?xml version="1.0" encoding="utf-8"?><CORSConfiguration />';
|
460 |
|
461 |
parent::__construct($options);
|
462 |
}
|
560 |
$this->temporary_prefix = true;
|
561 |
}
|
562 |
|
563 |
+
// If the bucket name has periods and we are using SSL, we need to switch to path style URLs
|
564 |
+
$bucket_name_may_cause_ssl_wildcard_failures = false;
|
565 |
+
if ($this->use_ssl && strpos($bucket, '.') !== false)
|
566 |
+
{
|
567 |
+
$bucket_name_may_cause_ssl_wildcard_failures = true;
|
568 |
+
}
|
569 |
+
|
570 |
// Determine hostname
|
571 |
$scheme = $this->use_ssl ? 'https://' : 'http://';
|
572 |
+
if ($bucket_name_may_cause_ssl_wildcard_failures || $this->resource_prefix || $this->path_style)
|
573 |
{
|
574 |
+
// Use bucket-in-path method
|
575 |
$hostname = $this->hostname . $this->resource_prefix . (($bucket === '' || $this->resource_prefix === '/' . $bucket) ? '' : ('/' . $bucket));
|
576 |
}
|
577 |
else
|
1820 |
$opt['metadataDirective'] = 'REPLACE';
|
1821 |
|
1822 |
// Retrieve the original metadata
|
1823 |
+
if ($metadata = $this->get_object_metadata($bucket, $filename))
|
|
|
1824 |
{
|
1825 |
+
if (isset($metadata['ACL']))
|
1826 |
+
{
|
1827 |
+
$opt['acl'] = isset($opt['acl']) ? $opt['acl'] : $metadata['ACL'];
|
1828 |
+
}
|
1829 |
+
if (isset($metadata['StorageClass']))
|
1830 |
+
{
|
1831 |
+
$opt['headers']['x-amz-storage-class'] = $metadata['StorageClass'];
|
1832 |
+
}
|
1833 |
+
if (isset($metadata['ContentType']))
|
1834 |
+
{
|
1835 |
+
$opt['headers']['Content-Type'] = $metadata['ContentType'];
|
1836 |
+
}
|
1837 |
}
|
1838 |
|
1839 |
// Remove a header
|
2332 |
}
|
2333 |
|
2334 |
$object = $this->get_object_headers($bucket, $filename);
|
2335 |
+
if ($object->isOK()) {
|
2336 |
+
$filesize = (integer) $object->header['content-length'];
|
2337 |
+
} else {
|
2338 |
+
$filesize = 0;
|
2339 |
+
}
|
2340 |
|
2341 |
if ($friendly_format)
|
2342 |
{
|
4087 |
}
|
4088 |
|
4089 |
|
4090 |
+
/*%******************************************************************************************%*/
|
4091 |
+
// BUCKET TAGS
|
4092 |
+
|
4093 |
+
/**
|
4094 |
+
* Apply a set of tags to the specified bucket. Bucket Tags simplify the task of associating Amazon S3
|
4095 |
+
* costs with specific buckets.
|
4096 |
+
*
|
4097 |
+
* This operation requires permission to perform <code>s3:PutBucketTagging</code> actions. By default,
|
4098 |
+
* the bucket owner is permitted to perform these actions, and can grant permission to other users.
|
4099 |
+
*
|
4100 |
+
* @param string $bucket (Required) The name of the bucket to use.
|
4101 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
4102 |
+
* <li><code>tags</code> - <code>array</code> - Required - An associative array of custom key-value pairs. <ul>
|
4103 |
+
* <li><code>[custom-key]</code> - <code>string</code> - Optional - A custom key-value pair to tag the bucket with.</li>
|
4104 |
+
* </ul></li>
|
4105 |
+
* <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>
|
4106 |
+
* <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>
|
4107 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
4108 |
+
*/
|
4109 |
+
public function create_bucket_tags($bucket, $opt = null)
|
4110 |
+
{
|
4111 |
+
if (!$opt) $opt = array();
|
4112 |
+
$opt['verb'] = 'PUT';
|
4113 |
+
$opt['sub_resource'] = 'tagging';
|
4114 |
+
|
4115 |
+
$xml = simplexml_load_string($this->bucket_tagging_xml);
|
4116 |
+
if (isset($opt['tags']) && is_array($opt['tags']))
|
4117 |
+
{
|
4118 |
+
foreach ($opt['tags'] as $key => $value)
|
4119 |
+
{
|
4120 |
+
$xtag = $xml->TagSet->addChild('Tag');
|
4121 |
+
$xtag->addChild('Key', $key);
|
4122 |
+
$xtag->addChild('Value', $value);
|
4123 |
+
}
|
4124 |
+
}
|
4125 |
+
|
4126 |
+
$opt['body'] = $xml->asXML();
|
4127 |
+
|
4128 |
+
// Authenticate to S3
|
4129 |
+
return $this->authenticate($bucket, $opt);
|
4130 |
+
}
|
4131 |
+
|
4132 |
+
/**
|
4133 |
+
* Retrieve all associated tags for the specified bucket.
|
4134 |
+
*
|
4135 |
+
* @param string $bucket (Required) The name of the bucket to use.
|
4136 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
4137 |
+
* <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>
|
4138 |
+
* <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>
|
4139 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
4140 |
+
*/
|
4141 |
+
public function get_bucket_tags($bucket, $opt = null)
|
4142 |
+
{
|
4143 |
+
if (!$opt) $opt = array();
|
4144 |
+
$opt['verb'] = 'GET';
|
4145 |
+
$opt['sub_resource'] = 'tagging';
|
4146 |
+
$opt['headers'] = array(
|
4147 |
+
'Content-Type' => 'application/xml'
|
4148 |
+
);
|
4149 |
+
|
4150 |
+
// Authenticate to S3
|
4151 |
+
return $this->authenticate($bucket, $opt);
|
4152 |
+
}
|
4153 |
+
|
4154 |
+
/**
|
4155 |
+
* Delete all associated tags from the specified bucket.
|
4156 |
+
*
|
4157 |
+
* @param string $bucket (Required) The name of the bucket to use.
|
4158 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
4159 |
+
* <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>
|
4160 |
+
* <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>
|
4161 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
4162 |
+
*/
|
4163 |
+
public function delete_bucket_tags($bucket, $opt = null)
|
4164 |
+
{
|
4165 |
+
if (!$opt) $opt = array();
|
4166 |
+
$opt['verb'] = 'DELETE';
|
4167 |
+
$opt['sub_resource'] = 'tagging';
|
4168 |
+
|
4169 |
+
// Authenticate to S3
|
4170 |
+
return $this->authenticate($bucket, $opt);
|
4171 |
+
}
|
4172 |
+
|
4173 |
+
|
4174 |
+
/*%******************************************************************************************%*/
|
4175 |
+
// CROSS-ORIGIN RESOURCE SHARING (CORS)
|
4176 |
+
|
4177 |
+
/**
|
4178 |
+
* Create a new CORS configuration.
|
4179 |
+
*
|
4180 |
+
* @param string $bucket (Required) The name of the bucket to use.
|
4181 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
4182 |
+
* <li><code>cors_rule</code> - <code>array</code> - Required - One or more rule-sets. <ul>
|
4183 |
+
* <li><code>x</code> - <code>array</code> - Required - This represents a simple array index. <ul>
|
4184 |
+
* <li><code>allowed_header</code> - <code>array</code> - Required - Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request.</li>
|
4185 |
+
* <li><code>allowed_method</code> - <code>array</code> - Required - An array of HTTP methods to allow. There must be at least one method set. [Allowed values: `GET`, `PUT`, `HEAD`, `POST`, `DELETE`]</li>
|
4186 |
+
* <li><code>allowed_origin</code> - <code>array</code> - Required - An array of hostnames to allow. This could be `*` to indicate it is open to all domains. If one of them contains the string `*`, then there can be exactly one.</li>
|
4187 |
+
* <li><code>expose_header</code> - <code>string</code> - Optional - Enable the browser to read this header.</li>
|
4188 |
+
* <li><code>id</code> - <code>string</code> - Optional - Unique identifier for the rule. The value cannot be longer than 255 characters.</li>
|
4189 |
+
* <li><code>max_age</code> - <code>integer</code> - Optional - Alter the client's caching behavior for the pre-flight request.</li>
|
4190 |
+
* </ul></li>
|
4191 |
+
* </ul></li>
|
4192 |
+
* <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>
|
4193 |
+
* <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>
|
4194 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
4195 |
+
*/
|
4196 |
+
public function create_cors_config($bucket, $opt = null)
|
4197 |
+
{
|
4198 |
+
if (!$opt) $opt = array();
|
4199 |
+
$opt['verb'] = 'PUT';
|
4200 |
+
$opt['sub_resource'] = 'cors';
|
4201 |
+
$opt['headers'] = array(
|
4202 |
+
'Content-Type' => 'application/xml'
|
4203 |
+
);
|
4204 |
+
|
4205 |
+
$xml = simplexml_load_string($this->cors_config_xml, $this->parser_class);
|
4206 |
+
|
4207 |
+
if (isset($opt['cors_rule']) && is_array($opt['cors_rule']))
|
4208 |
+
{
|
4209 |
+
foreach ($opt['cors_rule'] as $rule_set)
|
4210 |
+
{
|
4211 |
+
// New rule node
|
4212 |
+
$xrule = $xml->addChild('CORSRule');
|
4213 |
+
|
4214 |
+
// ExposeHeader node
|
4215 |
+
if (isset($rule_set['expose_header']))
|
4216 |
+
{
|
4217 |
+
$xrule->addChild('ExposeHeader', $rule_set['expose_header']);
|
4218 |
+
}
|
4219 |
+
|
4220 |
+
// MaxAgeSeconds node
|
4221 |
+
if (isset($rule_set['max_age']))
|
4222 |
+
{
|
4223 |
+
$xrule->addChild('MaxAgeSeconds', $rule_set['max_age']);
|
4224 |
+
}
|
4225 |
+
|
4226 |
+
// AllowedHeader node
|
4227 |
+
if (isset($rule_set['allowed_header']))
|
4228 |
+
{
|
4229 |
+
if (!is_array($rule_set['allowed_header']))
|
4230 |
+
{
|
4231 |
+
$rule_set['allowed_header'] = array($rule_set['allowed_header']);
|
4232 |
+
}
|
4233 |
+
|
4234 |
+
foreach ($rule_set['allowed_header'] as $method)
|
4235 |
+
{
|
4236 |
+
$xrule->addChild('AllowedHeader', $method);
|
4237 |
+
}
|
4238 |
+
}
|
4239 |
+
|
4240 |
+
// AllowedMethod node
|
4241 |
+
if (isset($rule_set['allowed_method']))
|
4242 |
+
{
|
4243 |
+
if (!is_array($rule_set['allowed_method']))
|
4244 |
+
{
|
4245 |
+
$rule_set['allowed_method'] = array($rule_set['allowed_method']);
|
4246 |
+
}
|
4247 |
+
|
4248 |
+
foreach ($rule_set['allowed_method'] as $method)
|
4249 |
+
{
|
4250 |
+
$xrule->addChild('AllowedMethod', $method);
|
4251 |
+
}
|
4252 |
+
}
|
4253 |
+
|
4254 |
+
// AllowedOrigin node
|
4255 |
+
if (isset($rule_set['allowed_origin']))
|
4256 |
+
{
|
4257 |
+
if (!is_array($rule_set['allowed_origin']))
|
4258 |
+
{
|
4259 |
+
$rule_set['allowed_origin'] = array($rule_set['allowed_origin']);
|
4260 |
+
}
|
4261 |
+
|
4262 |
+
foreach ($rule_set['allowed_origin'] as $method)
|
4263 |
+
{
|
4264 |
+
$xrule->addChild('AllowedOrigin', $method);
|
4265 |
+
}
|
4266 |
+
}
|
4267 |
+
}
|
4268 |
+
}
|
4269 |
+
|
4270 |
+
$opt['body'] = $xml->asXML();
|
4271 |
+
|
4272 |
+
// Authenticate to S3
|
4273 |
+
return $this->authenticate($bucket, $opt);
|
4274 |
+
}
|
4275 |
+
|
4276 |
+
/**
|
4277 |
+
* Retrieves the CORS configuration.
|
4278 |
+
*
|
4279 |
+
* @param string $bucket (Required) The name of the bucket to use.
|
4280 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
4281 |
+
* <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>
|
4282 |
+
* <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>
|
4283 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
4284 |
+
*/
|
4285 |
+
public function get_cors_config($bucket, $opt = null)
|
4286 |
+
{
|
4287 |
+
if (!$opt) $opt = array();
|
4288 |
+
$opt['verb'] = 'GET';
|
4289 |
+
$opt['sub_resource'] = 'cors';
|
4290 |
+
|
4291 |
+
// Authenticate to S3
|
4292 |
+
return $this->authenticate($bucket, $opt);
|
4293 |
+
}
|
4294 |
+
|
4295 |
+
/**
|
4296 |
+
* Deletes the CORS configuration.
|
4297 |
+
*
|
4298 |
+
* @param string $bucket (Required) The name of the bucket to use.
|
4299 |
+
* @param array $opt (Optional) An associative array of parameters that can have the following keys: <ul>
|
4300 |
+
* <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>
|
4301 |
+
* <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>
|
4302 |
+
* @return CFResponse A <CFResponse> object containing a parsed HTTP response.
|
4303 |
+
*/
|
4304 |
+
public function delete_cors_config($bucket, $opt = null)
|
4305 |
+
{
|
4306 |
+
if (!$opt) $opt = array();
|
4307 |
+
$opt['verb'] = 'DELETE';
|
4308 |
+
$opt['sub_resource'] = 'cors';
|
4309 |
+
|
4310 |
+
// Authenticate to S3
|
4311 |
+
return $this->authenticate($bucket, $opt);
|
4312 |
+
}
|
4313 |
+
|
4314 |
+
|
4315 |
/*%******************************************************************************************%*/
|
4316 |
// MISCELLANEOUS
|
4317 |
|
libs/aws/utilities/mimetypes.class.php
CHANGED
@@ -218,6 +218,7 @@ class CFMimeTypes
|
|
218 |
*/
|
219 |
public static function get_mimetype($ext)
|
220 |
{
|
221 |
-
|
|
|
222 |
}
|
223 |
}
|
218 |
*/
|
219 |
public static function get_mimetype($ext)
|
220 |
{
|
221 |
+
$ext = strtolower($ext); // Make sure the passed in extension is lowercase
|
222 |
+
return isset(self::$mime_types[$ext]) ? self::$mime_types[$ext] : 'application/octet-stream';
|
223 |
}
|
224 |
}
|
libs/aws/utilities/simplexml.class.php
CHANGED
@@ -161,7 +161,7 @@ class CFSimpleXML extends SimpleXMLIterator
|
|
161 |
*/
|
162 |
public function to_string()
|
163 |
{
|
164 |
-
$s = (
|
165 |
|
166 |
if ($this->attributes())
|
167 |
{
|
161 |
*/
|
162 |
public function to_string()
|
163 |
{
|
164 |
+
$s = parent::__toString();
|
165 |
|
166 |
if ($this->attributes())
|
167 |
{
|
libs/dropbox.php
CHANGED
@@ -90,7 +90,7 @@ class backwpup_Dropbox {
|
|
90 |
$offset=0;
|
91 |
$ProgressFunction=null;
|
92 |
while ($data=fread($file_handel,4194304)) { //4194304 = 4MB
|
93 |
-
$chunkHandle = fopen('php://
|
94 |
fwrite($chunkHandle,$data);
|
95 |
rewind($chunkHandle);
|
96 |
//overwrite progress function
|
@@ -250,7 +250,6 @@ class backwpup_Dropbox {
|
|
250 |
if (is_file(dirname(__FILE__).'/aws/lib/requestcore/cacert.pem'))
|
251 |
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__).'/aws/lib/requestcore/cacert.pem');
|
252 |
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
253 |
-
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
|
254 |
if (!empty($this->ProgressFunction) and function_exists($this->ProgressFunction) and defined('CURLOPT_PROGRESSFUNCTION') and $method == 'PUT') {
|
255 |
curl_setopt($ch, CURLOPT_NOPROGRESS, false);
|
256 |
curl_setopt($ch, CURLOPT_PROGRESSFUNCTION, $this->ProgressFunction);
|
@@ -260,12 +259,21 @@ class backwpup_Dropbox {
|
|
260 |
echo curl_exec($ch);
|
261 |
$output='';
|
262 |
} else {
|
263 |
-
|
|
|
264 |
$output = json_decode($content, true);
|
265 |
}
|
266 |
$status = curl_getinfo($ch);
|
267 |
|
268 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
if(isset($output['error']) && is_string($output['error'])) $message = '('.$status['http_code'].') '.$output['error'];
|
270 |
elseif(isset($output['error']['hash']) && $output['error']['hash'] != '') $message = (string) '('.$status['http_code'].') '.$output['error']['hash'];
|
271 |
elseif (0!=curl_errno($ch)) $message = '('.curl_errno($ch).') '.curl_error($ch);
|
90 |
$offset=0;
|
91 |
$ProgressFunction=null;
|
92 |
while ($data=fread($file_handel,4194304)) { //4194304 = 4MB
|
93 |
+
$chunkHandle = fopen('php://temp', 'w+');
|
94 |
fwrite($chunkHandle,$data);
|
95 |
rewind($chunkHandle);
|
96 |
//overwrite progress function
|
250 |
if (is_file(dirname(__FILE__).'/aws/lib/requestcore/cacert.pem'))
|
251 |
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__).'/aws/lib/requestcore/cacert.pem');
|
252 |
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
|
|
253 |
if (!empty($this->ProgressFunction) and function_exists($this->ProgressFunction) and defined('CURLOPT_PROGRESSFUNCTION') and $method == 'PUT') {
|
254 |
curl_setopt($ch, CURLOPT_NOPROGRESS, false);
|
255 |
curl_setopt($ch, CURLOPT_PROGRESSFUNCTION, $this->ProgressFunction);
|
259 |
echo curl_exec($ch);
|
260 |
$output='';
|
261 |
} else {
|
262 |
+
curl_setopt( $ch, CURLOPT_HEADER, true );
|
263 |
+
list($header,$content) = explode("\r\n\r\n", curl_exec( $ch ), 2);
|
264 |
$output = json_decode($content, true);
|
265 |
}
|
266 |
$status = curl_getinfo($ch);
|
267 |
|
268 |
+
if ( $status['http_code'] == 503 ) {
|
269 |
+
$wait=1;
|
270 |
+
if ( preg_match( '/Retry-After:(.*?)\r/i', $header, $matches ) )
|
271 |
+
$wait = trim($matches[1]);
|
272 |
+
//trigger_error($header,E_WARNING);
|
273 |
+
trigger_error(sprintf('(503) Your app is making too many requests and is being rate limited. 503s can trigger on a per-app or per-user basis. Wait for %d seconds.',$wait),E_USER_WARNING);
|
274 |
+
sleep($wait);
|
275 |
+
return $this->request( $url, $args, $method, $filehandel, $filesize, $echo );
|
276 |
+
} elseif (isset($output['error']) or $status['http_code']>=300 or $status['http_code']<200 or curl_errno($ch)>0) {
|
277 |
if(isset($output['error']) && is_string($output['error'])) $message = '('.$status['http_code'].') '.$output['error'];
|
278 |
elseif(isset($output['error']['hash']) && $output['error']['hash'] != '') $message = (string) '('.$status['http_code'].') '.$output['error']['hash'];
|
279 |
elseif (0!=curl_errno($ch)) $message = '('.curl_errno($ch).') '.curl_error($ch);
|
pages/func_backwpup.php
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
<?PHP
|
|
|
|
|
|
|
2 |
include_once( trailingslashit(ABSPATH).'wp-admin/includes/class-wp-list-table.php');
|
3 |
|
4 |
class BackWPup_Jobs_Table extends WP_List_Table {
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
3 |
+
die();
|
4 |
+
|
5 |
include_once( trailingslashit(ABSPATH).'wp-admin/includes/class-wp-list-table.php');
|
6 |
|
7 |
class BackWPup_Jobs_Table extends WP_List_Table {
|
pages/func_backwpupeditjob.php
CHANGED
@@ -3,14 +3,14 @@ function backwpup_jobedit_metabox_save($jobvalue) {
|
|
3 |
?>
|
4 |
<div class="submitbox" id="submitjobedit">
|
5 |
<div id="minor-publishing">
|
6 |
-
<div id="minor-publishing-actions">
|
7 |
-
<div id="preview-action">
|
8 |
-
</div>
|
9 |
-
<div class="clear"></div>
|
10 |
</div>
|
11 |
<div id="misc-publishing-actions">
|
12 |
-
<div class="misc-pub-section misc-pub-section-last">
|
13 |
-
<?php
|
14 |
foreach (backwpup_backup_types() as $type) {
|
15 |
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);
|
16 |
}
|
@@ -51,8 +51,8 @@ function backwpup_jobedit_metabox_backupfile($jobvalue) {
|
|
51 |
if (function_exists('bzopen'))
|
52 |
echo '<input class="radio" type="radio"'.checked('.tar.bz2',$jobvalue['fileformart'],false).' name="fileformart" value=".tar.bz2" />'.__('Tar BZip2','backwpup').'<br />';
|
53 |
else
|
54 |
-
echo '<input class="radio" type="radio"'.checked('.tar.bz2',$jobvalue['fileformart'],false).' name="fileformart" value=".tar.bz2" disabled="disabled" />'.__('Tar BZip2','backwpup').'<br />';
|
55 |
-
_e('Preview:','backwpup');
|
56 |
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>';
|
57 |
}
|
58 |
|
@@ -60,7 +60,7 @@ function backwpup_jobedit_metabox_sendlog($jobvalue) {
|
|
60 |
_e('E-Mail-Adress:','backwpup'); ?>
|
61 |
<input name="mailaddresslog" id="mailaddresslog" type="text" value="<?PHP echo $jobvalue['mailaddresslog'];?>" class="large-text" /><br />
|
62 |
<input class="checkbox" value="1" type="checkbox" <?php checked($jobvalue['mailerroronly'],true); ?> name="mailerroronly" /> <?PHP _e('Only send an e-mail if there are errors.','backwpup'); ?>
|
63 |
-
<?PHP
|
64 |
}
|
65 |
|
66 |
function backwpup_jobedit_metabox_schedule($jobvalue) {
|
@@ -95,7 +95,7 @@ function backwpup_jobedit_metabox_schedule($jobvalue) {
|
|
95 |
<div id="schedadvanced" <?PHP if ($jobvalue['cronselect']!='advanced') echo 'style="display:none;"';?>>
|
96 |
<div id="cron-min-box">
|
97 |
<b><?PHP _e('Minutes: ','backwpup'); ?></b><br />
|
98 |
-
<?PHP
|
99 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("*",$minutes,true),true,false).' name="cronminutes[]" value="*" /> '.__('Any (*)','backwpup').'<br />';
|
100 |
echo '<div id="cron-min">';
|
101 |
for ($i=0;$i<60;$i=$i+5) {
|
@@ -106,7 +106,7 @@ function backwpup_jobedit_metabox_schedule($jobvalue) {
|
|
106 |
</div>
|
107 |
<div id="cron-hour-box">
|
108 |
<b><?PHP _e('Hours:','backwpup'); ?></b><br />
|
109 |
-
<?PHP
|
110 |
|
111 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("*",$hours,true),true,false).' name="cronhours[]" value="*" /> '.__('Any (*)','backwpup').'<br />';
|
112 |
echo '<div id="cron-hour">';
|
@@ -118,7 +118,7 @@ function backwpup_jobedit_metabox_schedule($jobvalue) {
|
|
118 |
</div>
|
119 |
<div id="cron-day-box">
|
120 |
<b><?PHP _e('Day of Month:','backwpup'); ?></b><br />
|
121 |
-
<?PHP
|
122 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("*",$mday,true),true,false).' name="cronmday[]" value="*" /> '.__('Any (*)','backwpup').'<br />';
|
123 |
echo '<div id="cron-day">';
|
124 |
for ($i=1;$i<=31;$i++) {
|
@@ -129,7 +129,7 @@ function backwpup_jobedit_metabox_schedule($jobvalue) {
|
|
129 |
</div>
|
130 |
<div id="cron-month-box">
|
131 |
<b><?PHP _e('Month:','backwpup'); ?></b><br />
|
132 |
-
<?PHP
|
133 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("*",$mday,true),true,false).' name="cronmon[]" value="*" /> '.__('Any (*)','backwpup').'<br />';
|
134 |
echo '<div id="cron-month">';
|
135 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("1",$mday,true),true,false).' name="cronmon[]" value="1" /> '.__('January','backwpup').'<br />';
|
@@ -149,7 +149,7 @@ function backwpup_jobedit_metabox_schedule($jobvalue) {
|
|
149 |
</div>
|
150 |
<div id="cron-weekday-box">
|
151 |
<b><?PHP _e('Day of Week:','backwpup'); ?></b><br />
|
152 |
-
<?PHP
|
153 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("*",$wday,true),true,false).' name="cronwday[]" value="*" /> '.__('Any (*)','backwpup').'<br />';
|
154 |
echo '<div id="cron-weekday">';
|
155 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("0",$wday,true),true,false).' name="cronwday[]" value="0" /> '.__('Sunday','backwpup').'<br />';
|
@@ -189,11 +189,11 @@ function backwpup_jobedit_metabox_schedule($jobvalue) {
|
|
189 |
<td><?PHP echo '<input class="radio" type="radio"'.checked(true,is_numeric($wday[0]),false).' name="cronbtype" value="week" />'.__('weekly','backwpup'); ?></td>
|
190 |
<td><select name="weekcronwday">
|
191 |
<?PHP echo '<option '.selected(in_array("0",$wday,true),true,false).' value="0" />'.__('Sunday','backwpup').'</option>';
|
192 |
-
echo '<option '.selected(in_array("1",$wday,true),true,false).' value="1" />'.__('Monday','backwpup').'</option>';
|
193 |
-
echo '<option '.selected(in_array("2",$wday,true),true,false).' value="2" />'.__('Tuesday','backwpup').'</option>';
|
194 |
-
echo '<option '.selected(in_array("3",$wday,true),true,false).' value="3" />'.__('Wednesday','backwpup').'</option>';
|
195 |
-
echo '<option '.selected(in_array("4",$wday,true),true,false).' value="4" />'.__('Thursday','backwpup').'</option>';
|
196 |
-
echo '<option '.selected(in_array("5",$wday,true),true,false).' value="5" />'.__('Friday','backwpup').'</option>';
|
197 |
echo '<option '.selected(in_array("6",$wday,true),true,false).' value="6" />'.__('Saturday','backwpup').'</option>'; ?>
|
198 |
</select></td>
|
199 |
<td><select name="weekcronhours"><?PHP for ($i=0;$i<24;$i++) {echo '<option '.selected(in_array("$i",$hours,true),true,false).' value="'.$i.'" />'.$i.'</option>';} ?></select></td>
|
@@ -240,7 +240,7 @@ function backwpup_jobedit_metabox_destftp($jobvalue) {
|
|
240 |
<?PHP if (!is_numeric($jobvalue['ftpmaxbackups'])) $jobvalue['ftpmaxbackups']=0; ?>
|
241 |
<?PHP _e('Max. backup files in FTP folder:','backwpup'); ?> <input name="ftpmaxbackups" type="text" size="3" value="<?PHP echo $jobvalue['ftpmaxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('(Oldest files will be deleted first.)','backwpup');?></span><br />
|
242 |
<input class="checkbox" value="1" type="checkbox" <?php checked($jobvalue['ftpssl'],true); ?> name="ftpssl" /> <?PHP _e('Use SSL-FTP Connection.','backwpup'); ?><br />
|
243 |
-
<input class="checkbox" value="1" type="checkbox" <?php checked($jobvalue['ftppasv'],true); ?> name="ftppasv" /> <?PHP _e('Use FTP Passive mode.','backwpup'); ?><br />
|
244 |
<?PHP
|
245 |
}
|
246 |
|
@@ -296,7 +296,7 @@ function backwpup_jobedit_metabox_destgstorage($jobvalue) {
|
|
296 |
function backwpup_jobedit_metabox_destazure($jobvalue) {
|
297 |
?>
|
298 |
<div class="dests">
|
299 |
-
|
300 |
<b><?PHP _e('Host:','backwpup'); ?></b><br />
|
301 |
<input id="msazureHost" name="msazureHost" type="text" value="<?PHP echo $jobvalue['msazureHost'];?>" class="large-text" /><span class="description"><?PHP _e('Normely: blob.core.windows.net','backwpup');?></span><br />
|
302 |
<b><?PHP _e('Account Name:','backwpup'); ?></b><br />
|
@@ -309,7 +309,7 @@ function backwpup_jobedit_metabox_destazure($jobvalue) {
|
|
309 |
<?PHP _e('Create Container:','backwpup'); ?><input name="newmsazureContainer" type="text" value="" class="text" /> <br />
|
310 |
<b><?PHP _e('Folder in Container:','backwpup'); ?></b><br />
|
311 |
<input name="msazuredir" type="text" value="<?PHP echo $jobvalue['msazuredir'];?>" class="large-text" /><br />
|
312 |
-
<?PHP _e('Max. backup files in container folder:','backwpup'); ?><input name="msazuremaxbackups" type="text" size="3" value="<?PHP echo $jobvalue['msazuremaxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('(Oldest files will be deleted first.)','backwpup');?></span><br />
|
313 |
</div>
|
314 |
<div class="destlinks">
|
315 |
<a href="http://www.microsoft.com/windowsazure/offers/" target="_blank"><?PHP _e('Create Account','backwpup'); ?></a><br />
|
@@ -332,7 +332,7 @@ function backwpup_jobedit_metabox_destrsc($jobvalue) {
|
|
332 |
<?PHP _e('Create Container:','backwpup'); ?><input name="newrscContainer" type="text" value="" class="text" /> <br />
|
333 |
<b><?PHP _e('Folder in container:','backwpup'); ?></b><br />
|
334 |
<input name="rscdir" type="text" value="<?PHP echo $jobvalue['rscdir'];?>" class="large-text" /><br />
|
335 |
-
<?PHP _e('Max. backup files in container folder:','backwpup'); ?><input name="rscmaxbackups" type="text" size="3" value="<?PHP echo $jobvalue['rscmaxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('(Oldest files will be deleted first.)','backwpup');?></span><br />
|
336 |
</div>
|
337 |
<div class="destlinks">
|
338 |
<a href="http://www.rackspacecloud.com/2073.html" target="_blank"><?PHP _e('Create Account','backwpup'); ?></a><br />
|
@@ -355,10 +355,10 @@ function backwpup_jobedit_metabox_destdropbox($jobvalue) {
|
|
355 |
<b><?PHP _e('Root:','backwpup'); ?></b><br />
|
356 |
<select name="droperoot" id="droperoot">
|
357 |
<option <?PHP selected($jobvalue['droperoot'],'dropbox',true); ?> value="dropbox"><?php _e('dropbox', 'backwpup'); ?></option>
|
358 |
-
<option <?PHP selected($jobvalue['droperoot'],'sandbox',true); ?> value="sandbox" disabled="disabled"><?php _e('sandbox (disabled by DropBox)', 'backwpup'); ?></option>
|
359 |
</select><br />
|
360 |
<b><?PHP _e('Folder:','backwpup'); ?></b><br />
|
361 |
-
<input name="dropedir" type="text" value="<?PHP echo $jobvalue['dropedir'];?>" class="user large-text" /><br />
|
362 |
<?PHP _e('Max. backup files in Dropbox folder:','backwpup'); ?><input name="dropemaxbackups" type="text" size="3" value="<?PHP echo $jobvalue['dropemaxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('(Oldest files will be deleted first.)','backwpup');?></span><br />
|
363 |
</div>
|
364 |
<div class="destlinks">
|
@@ -408,7 +408,7 @@ function backwpup_jobedit_metabox_destsugarsync( $jobvalue ) {
|
|
408 |
}
|
409 |
?>
|
410 |
<?php } ?>
|
411 |
-
|
412 |
<br />
|
413 |
<b><?php _e( 'Folder:', 'backwpup' ); ?></b><br />
|
414 |
<input name="sugardir" type="text" value="<?php echo $jobvalue['sugardir'];?>" class="large-text" /><br />
|
@@ -429,15 +429,15 @@ function backwpup_jobedit_metabox_destmail($jobvalue) {
|
|
429 |
<b><?PHP _e('E-mail address:','backwpup'); ?></b><br />
|
430 |
<input name="mailaddress" id="mailaddress" type="text" value="<?PHP echo $jobvalue['mailaddress'];?>" class="large-text" /><br />
|
431 |
<?PHP if (!is_numeric($jobvalue['mailefilesize'])) $jobvalue['mailefilesize']=0; ?>
|
432 |
-
<?PHP echo __('Max. File Size for sending Backups with mail:','backwpup').'<input name="mailefilesize" type="text" value="'.$jobvalue['mailefilesize'].'" class="small-text" />MB<br />';?>
|
433 |
<?PHP
|
434 |
}
|
435 |
|
436 |
-
//ever display
|
437 |
function backwpup_jobedit_metabox_displayneeded($hidden) {
|
438 |
$newhidden=array();
|
439 |
foreach($hidden as $hiddenid) {
|
440 |
-
if ($hiddenid
|
441 |
$newhidden[]=$hiddenid;
|
442 |
}
|
443 |
return $newhidden;
|
@@ -485,9 +485,9 @@ function backwpup_get_cron_text($args='') {
|
|
485 |
}
|
486 |
$cronstamp=implode(",",$_POST['cronminutes']).' '.implode(",",$_POST['cronhours']).' '.implode(",",$_POST['cronmday']).' '.implode(",",$_POST['cronmon']).' '.implode(",",$_POST['cronwday']);
|
487 |
$ajax=true;
|
488 |
-
}
|
489 |
echo '<div id="cron-text">';
|
490 |
-
_e('Working as <a href="http://wikipedia.org/wiki/Cron" target="_blank">Cron</a> job schedule:','backwpup'); echo ' <i><b><nobr>'.$cronstamp.'</nobr></b></i><br />';
|
491 |
list($cronstr['minutes'],$cronstr['hours'],$cronstr['mday'],$cronstr['mon'],$cronstr['wday'])=explode(' ',$cronstamp,5);
|
492 |
if (false !== strpos($cronstr['minutes'],'*/') or ($cronstr['minutes']=='*')) {
|
493 |
$repeatmins=str_replace('*/','',$cronstr['minutes']);
|
@@ -499,7 +499,7 @@ function backwpup_get_cron_text($args='') {
|
|
499 |
$repeathouer=str_replace('*/','',$cronstr['hours']);
|
500 |
if ($repeathouer=='*' or empty($repeathouer))
|
501 |
$repeathouer=1;
|
502 |
-
echo '<span style="color:red;">'.str_replace('%d',$repeathouer,__('ATTENTION: Job runs every %d
|
503 |
}
|
504 |
$nextrun=backwpup_cron_next($cronstamp);
|
505 |
if (2147483647==$nextrun) {
|
@@ -507,7 +507,7 @@ function backwpup_get_cron_text($args='') {
|
|
507 |
} else {
|
508 |
_e('Next runtime:','backwpup'); echo ' <b>'.date_i18n('D, j M Y, H:i',backwpup_cron_next($cronstamp)).'</b>';
|
509 |
}
|
510 |
-
echo "</div>";
|
511 |
if ($ajax)
|
512 |
die();
|
513 |
else
|
@@ -562,12 +562,12 @@ function backwpup_get_aws_buckets($args='') {
|
|
562 |
return;
|
563 |
}
|
564 |
if (count($buckets->body->Buckets->Bucket)<1) {
|
565 |
-
echo '<span id="awsBucket" style="color:red;">'.__('No bucket
|
566 |
if ($ajax)
|
567 |
die();
|
568 |
else
|
569 |
return;
|
570 |
-
}
|
571 |
echo '<select name="awsBucket" id="awsBucket">';
|
572 |
foreach ($buckets->body->Buckets->Bucket as $bucket) {
|
573 |
echo "<option ".selected(strtolower($awsselected),strtolower($bucket->Name),false).">".$bucket->Name."</option>";
|
@@ -627,14 +627,14 @@ function backwpup_get_gstorage_buckets($args='') {
|
|
627 |
die();
|
628 |
else
|
629 |
return;
|
630 |
-
}
|
631 |
if (count($buckets->body->Buckets->Bucket)<1) {
|
632 |
-
echo '<span id="GStorageBucket" style="color:red;">'.__('No bucket
|
633 |
if ($ajax)
|
634 |
die();
|
635 |
else
|
636 |
return;
|
637 |
-
}
|
638 |
echo '<select name="GStorageBucket" id="GStorageBucket">';
|
639 |
foreach ($buckets->body->Buckets->Bucket as $bucket) {
|
640 |
echo "<option ".selected(strtolower($GStorageselected),strtolower($bucket->Name),false).">".$bucket->Name."</option>";
|
@@ -724,7 +724,7 @@ function backwpup_get_msazure_container($args='') {
|
|
724 |
$msazureselected=$_POST['msazureselected'];
|
725 |
$ajax=true;
|
726 |
}
|
727 |
-
if (!class_exists('Microsoft_WindowsAzure_Storage_Blob'))
|
728 |
require_once(dirname(__FILE__).'/../libs/Microsoft/WindowsAzure/Storage/Blob.php');
|
729 |
if (empty($msazureHost)) {
|
730 |
echo '<span id="msazureContainer" style="color:red;">'.__('Missing Hostname!','backwpup').'</span>';
|
3 |
?>
|
4 |
<div class="submitbox" id="submitjobedit">
|
5 |
<div id="minor-publishing">
|
6 |
+
<div id="minor-publishing-actions">
|
7 |
+
<div id="preview-action">
|
8 |
+
</div>
|
9 |
+
<div class="clear"></div>
|
10 |
</div>
|
11 |
<div id="misc-publishing-actions">
|
12 |
+
<div class="misc-pub-section misc-pub-section-last">
|
13 |
+
<?php
|
14 |
foreach (backwpup_backup_types() as $type) {
|
15 |
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);
|
16 |
}
|
51 |
if (function_exists('bzopen'))
|
52 |
echo '<input class="radio" type="radio"'.checked('.tar.bz2',$jobvalue['fileformart'],false).' name="fileformart" value=".tar.bz2" />'.__('Tar BZip2','backwpup').'<br />';
|
53 |
else
|
54 |
+
echo '<input class="radio" type="radio"'.checked('.tar.bz2',$jobvalue['fileformart'],false).' name="fileformart" value=".tar.bz2" disabled="disabled" />'.__('Tar BZip2','backwpup').'<br />';
|
55 |
+
_e('Preview:','backwpup');
|
56 |
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>';
|
57 |
}
|
58 |
|
60 |
_e('E-Mail-Adress:','backwpup'); ?>
|
61 |
<input name="mailaddresslog" id="mailaddresslog" type="text" value="<?PHP echo $jobvalue['mailaddresslog'];?>" class="large-text" /><br />
|
62 |
<input class="checkbox" value="1" type="checkbox" <?php checked($jobvalue['mailerroronly'],true); ?> name="mailerroronly" /> <?PHP _e('Only send an e-mail if there are errors.','backwpup'); ?>
|
63 |
+
<?PHP
|
64 |
}
|
65 |
|
66 |
function backwpup_jobedit_metabox_schedule($jobvalue) {
|
95 |
<div id="schedadvanced" <?PHP if ($jobvalue['cronselect']!='advanced') echo 'style="display:none;"';?>>
|
96 |
<div id="cron-min-box">
|
97 |
<b><?PHP _e('Minutes: ','backwpup'); ?></b><br />
|
98 |
+
<?PHP
|
99 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("*",$minutes,true),true,false).' name="cronminutes[]" value="*" /> '.__('Any (*)','backwpup').'<br />';
|
100 |
echo '<div id="cron-min">';
|
101 |
for ($i=0;$i<60;$i=$i+5) {
|
106 |
</div>
|
107 |
<div id="cron-hour-box">
|
108 |
<b><?PHP _e('Hours:','backwpup'); ?></b><br />
|
109 |
+
<?PHP
|
110 |
|
111 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("*",$hours,true),true,false).' name="cronhours[]" value="*" /> '.__('Any (*)','backwpup').'<br />';
|
112 |
echo '<div id="cron-hour">';
|
118 |
</div>
|
119 |
<div id="cron-day-box">
|
120 |
<b><?PHP _e('Day of Month:','backwpup'); ?></b><br />
|
121 |
+
<?PHP
|
122 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("*",$mday,true),true,false).' name="cronmday[]" value="*" /> '.__('Any (*)','backwpup').'<br />';
|
123 |
echo '<div id="cron-day">';
|
124 |
for ($i=1;$i<=31;$i++) {
|
129 |
</div>
|
130 |
<div id="cron-month-box">
|
131 |
<b><?PHP _e('Month:','backwpup'); ?></b><br />
|
132 |
+
<?PHP
|
133 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("*",$mday,true),true,false).' name="cronmon[]" value="*" /> '.__('Any (*)','backwpup').'<br />';
|
134 |
echo '<div id="cron-month">';
|
135 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("1",$mday,true),true,false).' name="cronmon[]" value="1" /> '.__('January','backwpup').'<br />';
|
149 |
</div>
|
150 |
<div id="cron-weekday-box">
|
151 |
<b><?PHP _e('Day of Week:','backwpup'); ?></b><br />
|
152 |
+
<?PHP
|
153 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("*",$wday,true),true,false).' name="cronwday[]" value="*" /> '.__('Any (*)','backwpup').'<br />';
|
154 |
echo '<div id="cron-weekday">';
|
155 |
echo '<input class="checkbox" type="checkbox"'.checked(in_array("0",$wday,true),true,false).' name="cronwday[]" value="0" /> '.__('Sunday','backwpup').'<br />';
|
189 |
<td><?PHP echo '<input class="radio" type="radio"'.checked(true,is_numeric($wday[0]),false).' name="cronbtype" value="week" />'.__('weekly','backwpup'); ?></td>
|
190 |
<td><select name="weekcronwday">
|
191 |
<?PHP echo '<option '.selected(in_array("0",$wday,true),true,false).' value="0" />'.__('Sunday','backwpup').'</option>';
|
192 |
+
echo '<option '.selected(in_array("1",$wday,true),true,false).' value="1" />'.__('Monday','backwpup').'</option>';
|
193 |
+
echo '<option '.selected(in_array("2",$wday,true),true,false).' value="2" />'.__('Tuesday','backwpup').'</option>';
|
194 |
+
echo '<option '.selected(in_array("3",$wday,true),true,false).' value="3" />'.__('Wednesday','backwpup').'</option>';
|
195 |
+
echo '<option '.selected(in_array("4",$wday,true),true,false).' value="4" />'.__('Thursday','backwpup').'</option>';
|
196 |
+
echo '<option '.selected(in_array("5",$wday,true),true,false).' value="5" />'.__('Friday','backwpup').'</option>';
|
197 |
echo '<option '.selected(in_array("6",$wday,true),true,false).' value="6" />'.__('Saturday','backwpup').'</option>'; ?>
|
198 |
</select></td>
|
199 |
<td><select name="weekcronhours"><?PHP for ($i=0;$i<24;$i++) {echo '<option '.selected(in_array("$i",$hours,true),true,false).' value="'.$i.'" />'.$i.'</option>';} ?></select></td>
|
240 |
<?PHP if (!is_numeric($jobvalue['ftpmaxbackups'])) $jobvalue['ftpmaxbackups']=0; ?>
|
241 |
<?PHP _e('Max. backup files in FTP folder:','backwpup'); ?> <input name="ftpmaxbackups" type="text" size="3" value="<?PHP echo $jobvalue['ftpmaxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('(Oldest files will be deleted first.)','backwpup');?></span><br />
|
242 |
<input class="checkbox" value="1" type="checkbox" <?php checked($jobvalue['ftpssl'],true); ?> name="ftpssl" /> <?PHP _e('Use SSL-FTP Connection.','backwpup'); ?><br />
|
243 |
+
<input class="checkbox" value="1" type="checkbox" <?php checked($jobvalue['ftppasv'],true); ?> name="ftppasv" /> <?PHP _e('Use FTP Passive mode.','backwpup'); ?><br />
|
244 |
<?PHP
|
245 |
}
|
246 |
|
296 |
function backwpup_jobedit_metabox_destazure($jobvalue) {
|
297 |
?>
|
298 |
<div class="dests">
|
299 |
+
|
300 |
<b><?PHP _e('Host:','backwpup'); ?></b><br />
|
301 |
<input id="msazureHost" name="msazureHost" type="text" value="<?PHP echo $jobvalue['msazureHost'];?>" class="large-text" /><span class="description"><?PHP _e('Normely: blob.core.windows.net','backwpup');?></span><br />
|
302 |
<b><?PHP _e('Account Name:','backwpup'); ?></b><br />
|
309 |
<?PHP _e('Create Container:','backwpup'); ?><input name="newmsazureContainer" type="text" value="" class="text" /> <br />
|
310 |
<b><?PHP _e('Folder in Container:','backwpup'); ?></b><br />
|
311 |
<input name="msazuredir" type="text" value="<?PHP echo $jobvalue['msazuredir'];?>" class="large-text" /><br />
|
312 |
+
<?PHP _e('Max. backup files in container folder:','backwpup'); ?><input name="msazuremaxbackups" type="text" size="3" value="<?PHP echo $jobvalue['msazuremaxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('(Oldest files will be deleted first.)','backwpup');?></span><br />
|
313 |
</div>
|
314 |
<div class="destlinks">
|
315 |
<a href="http://www.microsoft.com/windowsazure/offers/" target="_blank"><?PHP _e('Create Account','backwpup'); ?></a><br />
|
332 |
<?PHP _e('Create Container:','backwpup'); ?><input name="newrscContainer" type="text" value="" class="text" /> <br />
|
333 |
<b><?PHP _e('Folder in container:','backwpup'); ?></b><br />
|
334 |
<input name="rscdir" type="text" value="<?PHP echo $jobvalue['rscdir'];?>" class="large-text" /><br />
|
335 |
+
<?PHP _e('Max. backup files in container folder:','backwpup'); ?><input name="rscmaxbackups" type="text" size="3" value="<?PHP echo $jobvalue['rscmaxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('(Oldest files will be deleted first.)','backwpup');?></span><br />
|
336 |
</div>
|
337 |
<div class="destlinks">
|
338 |
<a href="http://www.rackspacecloud.com/2073.html" target="_blank"><?PHP _e('Create Account','backwpup'); ?></a><br />
|
355 |
<b><?PHP _e('Root:','backwpup'); ?></b><br />
|
356 |
<select name="droperoot" id="droperoot">
|
357 |
<option <?PHP selected($jobvalue['droperoot'],'dropbox',true); ?> value="dropbox"><?php _e('dropbox', 'backwpup'); ?></option>
|
358 |
+
<option <?PHP selected($jobvalue['droperoot'],'sandbox',true); ?> value="sandbox" disabled="disabled"><?php _e('sandbox (disabled by DropBox)', 'backwpup'); ?></option>
|
359 |
</select><br />
|
360 |
<b><?PHP _e('Folder:','backwpup'); ?></b><br />
|
361 |
+
<input name="dropedir" type="text" value="<?PHP echo $jobvalue['dropedir'];?>" class="user large-text" /><br />
|
362 |
<?PHP _e('Max. backup files in Dropbox folder:','backwpup'); ?><input name="dropemaxbackups" type="text" size="3" value="<?PHP echo $jobvalue['dropemaxbackups'];?>" class="small-text" /><span class="description"><?PHP _e('(Oldest files will be deleted first.)','backwpup');?></span><br />
|
363 |
</div>
|
364 |
<div class="destlinks">
|
408 |
}
|
409 |
?>
|
410 |
<?php } ?>
|
411 |
+
|
412 |
<br />
|
413 |
<b><?php _e( 'Folder:', 'backwpup' ); ?></b><br />
|
414 |
<input name="sugardir" type="text" value="<?php echo $jobvalue['sugardir'];?>" class="large-text" /><br />
|
429 |
<b><?PHP _e('E-mail address:','backwpup'); ?></b><br />
|
430 |
<input name="mailaddress" id="mailaddress" type="text" value="<?PHP echo $jobvalue['mailaddress'];?>" class="large-text" /><br />
|
431 |
<?PHP if (!is_numeric($jobvalue['mailefilesize'])) $jobvalue['mailefilesize']=0; ?>
|
432 |
+
<?PHP echo __('Max. File Size for sending Backups with mail:','backwpup').'<input name="mailefilesize" type="text" value="'.$jobvalue['mailefilesize'].'" class="small-text" />MB<br />';?>
|
433 |
<?PHP
|
434 |
}
|
435 |
|
436 |
+
//ever display boxes
|
437 |
function backwpup_jobedit_metabox_displayneeded($hidden) {
|
438 |
$newhidden=array();
|
439 |
foreach($hidden as $hiddenid) {
|
440 |
+
if (!strstr($hiddenid,'backwpup_jobedit_'))
|
441 |
$newhidden[]=$hiddenid;
|
442 |
}
|
443 |
return $newhidden;
|
485 |
}
|
486 |
$cronstamp=implode(",",$_POST['cronminutes']).' '.implode(",",$_POST['cronhours']).' '.implode(",",$_POST['cronmday']).' '.implode(",",$_POST['cronmon']).' '.implode(",",$_POST['cronwday']);
|
487 |
$ajax=true;
|
488 |
+
}
|
489 |
echo '<div id="cron-text">';
|
490 |
+
_e('Working as <a href="http://wikipedia.org/wiki/Cron" target="_blank">Cron</a> job schedule:','backwpup'); echo ' <i><b><nobr>'.$cronstamp.'</nobr></b></i><br />';
|
491 |
list($cronstr['minutes'],$cronstr['hours'],$cronstr['mday'],$cronstr['mon'],$cronstr['wday'])=explode(' ',$cronstamp,5);
|
492 |
if (false !== strpos($cronstr['minutes'],'*/') or ($cronstr['minutes']=='*')) {
|
493 |
$repeatmins=str_replace('*/','',$cronstr['minutes']);
|
499 |
$repeathouer=str_replace('*/','',$cronstr['hours']);
|
500 |
if ($repeathouer=='*' or empty($repeathouer))
|
501 |
$repeathouer=1;
|
502 |
+
echo '<span style="color:red;">'.str_replace('%d',$repeathouer,__('ATTENTION: Job runs every %d hours.!!!','backwpup')).'</span><br />';
|
503 |
}
|
504 |
$nextrun=backwpup_cron_next($cronstamp);
|
505 |
if (2147483647==$nextrun) {
|
507 |
} else {
|
508 |
_e('Next runtime:','backwpup'); echo ' <b>'.date_i18n('D, j M Y, H:i',backwpup_cron_next($cronstamp)).'</b>';
|
509 |
}
|
510 |
+
echo "</div>";
|
511 |
if ($ajax)
|
512 |
die();
|
513 |
else
|
562 |
return;
|
563 |
}
|
564 |
if (count($buckets->body->Buckets->Bucket)<1) {
|
565 |
+
echo '<span id="awsBucket" style="color:red;">'.__('No bucket found!','backwpup').'</span>';
|
566 |
if ($ajax)
|
567 |
die();
|
568 |
else
|
569 |
return;
|
570 |
+
}
|
571 |
echo '<select name="awsBucket" id="awsBucket">';
|
572 |
foreach ($buckets->body->Buckets->Bucket as $bucket) {
|
573 |
echo "<option ".selected(strtolower($awsselected),strtolower($bucket->Name),false).">".$bucket->Name."</option>";
|
627 |
die();
|
628 |
else
|
629 |
return;
|
630 |
+
}
|
631 |
if (count($buckets->body->Buckets->Bucket)<1) {
|
632 |
+
echo '<span id="GStorageBucket" style="color:red;">'.__('No bucket found!','backwpup').'</span>';
|
633 |
if ($ajax)
|
634 |
die();
|
635 |
else
|
636 |
return;
|
637 |
+
}
|
638 |
echo '<select name="GStorageBucket" id="GStorageBucket">';
|
639 |
foreach ($buckets->body->Buckets->Bucket as $bucket) {
|
640 |
echo "<option ".selected(strtolower($GStorageselected),strtolower($bucket->Name),false).">".$bucket->Name."</option>";
|
724 |
$msazureselected=$_POST['msazureselected'];
|
725 |
$ajax=true;
|
726 |
}
|
727 |
+
if (!class_exists('Microsoft_WindowsAzure_Storage_Blob'))
|
728 |
require_once(dirname(__FILE__).'/../libs/Microsoft/WindowsAzure/Storage/Blob.php');
|
729 |
if (empty($msazureHost)) {
|
730 |
echo '<span id="msazureContainer" style="color:red;">'.__('Missing Hostname!','backwpup').'</span>';
|
pages/func_backwpuplogs.php
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
<?PHP
|
|
|
|
|
|
|
2 |
include_once(trailingslashit(ABSPATH).'wp-admin/includes/class-wp-list-table.php');
|
3 |
|
4 |
class BackWPup_Logs_Table extends WP_List_Table {
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
3 |
+
die();
|
4 |
+
|
5 |
include_once(trailingslashit(ABSPATH).'wp-admin/includes/class-wp-list-table.php');
|
6 |
|
7 |
class BackWPup_Logs_Table extends WP_List_Table {
|
pages/header_backwpupeditjob.php
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
die();
|
4 |
|
5 |
//Save Dropbox settings
|
6 |
-
if (isset($_GET['dropboxauth']) and $_GET['dropboxauth']=='AccessToken') {
|
7 |
$jobid = (int) $_GET['jobid'];
|
8 |
check_admin_referer('edit-job');
|
9 |
$backwpup_message='';
|
10 |
-
if ((int)$_GET['uid']>0 and !empty($_GET['
|
11 |
$reqtoken=get_transient('backwpup_dropboxrequest');
|
12 |
-
if ($reqtoken['oAuthRequestToken']==$_GET['
|
13 |
//Get Access Tokens
|
14 |
require_once (dirname(__FILE__).'/../libs/dropbox.php');
|
15 |
$jobs=get_option('backwpup_jobs');
|
@@ -24,7 +24,7 @@ if (isset($_GET['dropboxauth']) and $_GET['dropboxauth']=='AccessToken') {
|
|
24 |
$backwpup_message.=__('Wrong Token for Dropbox authentication received!','backwpup').'<br />';
|
25 |
}
|
26 |
} else {
|
27 |
-
$backwpup_message.=__('No Dropbox authentication received!','backwpup').'<br />';
|
28 |
}
|
29 |
delete_transient('backwpup_dropboxrequest');
|
30 |
$_POST['jobid']=$jobid;
|
@@ -99,7 +99,7 @@ if ((isset($_POST['save']) or isset($_POST['dropboxauth']) or isset($_POST['drop
|
|
99 |
foreach ($tables as $dbtable) {
|
100 |
if (!in_array($dbtable,$checedtables))
|
101 |
$jobvalues['dbexclude'][]=$dbtable;
|
102 |
-
}
|
103 |
$jobvalues['dbshortinsert']= (isset($_POST['dbshortinsert']) && $_POST['dbshortinsert']==1) ? true : false;
|
104 |
$jobvalues['maintenance']= (isset($_POST['maintenance']) && $_POST['maintenance']==1) ? true : false;
|
105 |
$jobvalues['fileexclude']=isset($_POST['fileexclude']) ? stripslashes($_POST['fileexclude']) : '';
|
@@ -170,7 +170,7 @@ if ((isset($_POST['save']) or isset($_POST['dropboxauth']) or isset($_POST['drop
|
|
170 |
$backwpup_message.=__($e->getMessage(),'backwpup').'<br />';
|
171 |
}
|
172 |
}
|
173 |
-
|
174 |
if (!empty($_POST['GStorageAccessKey']) and !empty($_POST['GStorageSecret']) and !empty($_POST['newGStorageBucket'])) { //create new google storage bucket if needed
|
175 |
if (!class_exists('CFRuntime'))
|
176 |
require_once(dirname(__FILE__).'/../libs/aws/sdk.class.php');
|
@@ -186,7 +186,7 @@ if ((isset($_POST['save']) or isset($_POST['dropboxauth']) or isset($_POST['drop
|
|
186 |
$backwpup_message.=__($e->getMessage(),'backwpup').'<br />';
|
187 |
}
|
188 |
}
|
189 |
-
|
190 |
if (!empty($_POST['newmsazureContainer']) and !empty($_POST['msazureHost']) and !empty($_POST['msazureAccName']) and !empty($_POST['msazureKey'])) { //create new s3 bucket if needed
|
191 |
if (!class_exists('Microsoft_WindowsAzure_Storage_Blob')) {
|
192 |
require_once(dirname(__FILE__).'/../libs/Microsoft/WindowsAzure/Storage/Blob.php');
|
@@ -198,8 +198,8 @@ if ((isset($_POST['save']) or isset($_POST['dropboxauth']) or isset($_POST['drop
|
|
198 |
} catch (Exception $e) {
|
199 |
$backwpup_message.=__($e->getMessage(),'backwpup').'<br />';
|
200 |
}
|
201 |
-
}
|
202 |
-
|
203 |
if (!empty($_POST['rscUsername']) and !empty($_POST['rscAPIKey']) and !empty($_POST['newrscContainer'])) { //create new Rackspase Container if needed
|
204 |
if (!class_exists('CF_Authentication'))
|
205 |
require_once(dirname(__FILE__).'/../libs/rackspace/cloudfiles.php');
|
@@ -214,14 +214,14 @@ if ((isset($_POST['save']) or isset($_POST['dropboxauth']) or isset($_POST['drop
|
|
214 |
$backwpup_message.=__($e->getMessage(),'backwpup').'<br />';
|
215 |
}
|
216 |
}
|
217 |
-
|
218 |
-
|
219 |
if (isset($_POST['dropboxauthdel']) and !empty($_POST['dropboxauthdel'])) {
|
220 |
$jobvalues['dropetoken']='';
|
221 |
$jobvalues['dropesecret']='';
|
222 |
$backwpup_message.=__('Dropbox authentication deleted!','backwpup').'<br />';
|
223 |
}
|
224 |
-
|
225 |
if (!empty($_POST['sugaremail']) && !empty($_POST['sugarpass']) && $_POST['authbutton']==__( 'Sugarsync authenticate!', 'backwpup' )) {
|
226 |
if (!class_exists('SugarSync'))
|
227 |
include_once(realpath(dirname(__FILE__).'/../libs/sugarsync.php'));
|
@@ -236,11 +236,11 @@ if ((isset($_POST['save']) or isset($_POST['dropboxauth']) or isset($_POST['drop
|
|
236 |
$backwpup_message.= 'SUGARSYNC: ' . $e->getMessage() . '<br />';
|
237 |
}
|
238 |
}
|
239 |
-
if ($_POST['authbutton']==__( 'Delete Sugarsync authentication!', 'backwpup' )) {
|
240 |
$jobvalues['sugarrefreshtoken']='';
|
241 |
$backwpup_message.=__('SugarSync authentication deleted!','backwpup').'<br />';
|
242 |
}
|
243 |
-
if ($_POST['authbutton']==__( 'Create Sugarsync Account', 'backwpup' )) {
|
244 |
if (!class_exists('SugarSync'))
|
245 |
include_once(realpath(dirname(__FILE__).'/../libs/sugarsync.php'));
|
246 |
try {
|
@@ -256,11 +256,11 @@ if ((isset($_POST['save']) or isset($_POST['dropboxauth']) or isset($_POST['drop
|
|
256 |
$jobs=get_option('backwpup_jobs'); //Load Settings
|
257 |
$jobs[$jobvalues['jobid']]=backwpup_get_job_vars($jobvalues['jobid'],$jobvalues);
|
258 |
update_option('backwpup_jobs',$jobs);
|
259 |
-
|
260 |
//activate/deactivate seduling if not needed
|
261 |
$activejobs=false;
|
262 |
foreach ($jobs as $jobid => $jobvalue) {
|
263 |
-
if (!empty($jobvalue['activated']))
|
264 |
$activejobs=true;
|
265 |
}
|
266 |
if ($activejobs and false === wp_next_scheduled('backwpup_cron')) {
|
@@ -270,51 +270,29 @@ if ((isset($_POST['save']) or isset($_POST['dropboxauth']) or isset($_POST['drop
|
|
270 |
wp_clear_scheduled_hook('backwpup_cron');
|
271 |
}
|
272 |
|
273 |
-
//get dropbox auth
|
274 |
if (isset($_POST['dropboxauth']) and !empty($_POST['dropboxauth'])) {
|
275 |
require_once (dirname(__FILE__).'/../libs/dropbox.php');
|
276 |
$dropbox = new backwpup_Dropbox('dropbox');
|
277 |
// let the user authorize (user will be redirected)
|
278 |
$response = $dropbox->oAuthAuthorize(backwpup_admin_url('admin.php').'?page=backwpupeditjob&jobid='.$jobvalues['jobid'].'&dropboxauth=AccessToken&_wpnonce='.wp_create_nonce('edit-job'));
|
279 |
-
// save oauth_token_secret
|
280 |
set_transient('backwpup_dropboxrequest',array('oAuthRequestToken'=>$response['oauth_token'],'oAuthRequestTokenSecret' => $response['oauth_token_secret']),600);
|
281 |
//forward to auth page
|
282 |
wp_redirect($response['authurl']);
|
283 |
-
}
|
284 |
-
|
285 |
$_POST['jobid']=$jobvalues['jobid'];
|
286 |
$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>';
|
287 |
}
|
288 |
|
289 |
-
|
290 |
-
$dests=explode(',',strtoupper(BACKWPUP_DESTS));
|
291 |
-
|
292 |
//load java
|
293 |
wp_enqueue_script('common');
|
294 |
wp_enqueue_script('wp-lists');
|
295 |
wp_enqueue_script('postbox');
|
296 |
|
297 |
-
//add
|
298 |
-
add_meta_box('backwpup_jobedit_backupfile', __('Backup File','backwpup'), 'backwpup_jobedit_metabox_backupfile', $current_screen->id, 'side', 'default');
|
299 |
-
add_meta_box('backwpup_jobedit_sendlog', __('Send log','backwpup'), 'backwpup_jobedit_metabox_sendlog', $current_screen->id, 'side', 'default');
|
300 |
-
add_meta_box('backwpup_jobedit_destfolder', __('Backup to Folder','backwpup'), 'backwpup_jobedit_metabox_destfolder', $current_screen->id, 'advanced', 'core');
|
301 |
-
add_meta_box('backwpup_jobedit_destmail', __('Backup to E-Mail','backwpup'), 'backwpup_jobedit_metabox_destmail', $current_screen->id, 'advanced', 'core');
|
302 |
-
if (in_array('FTP',$dests))
|
303 |
-
add_meta_box('backwpup_jobedit_destftp', __('Backup to FTP Server','backwpup'), 'backwpup_jobedit_metabox_destftp', $current_screen->id, 'advanced', 'default');
|
304 |
-
if (in_array('DROPBOX',$dests))
|
305 |
-
add_meta_box('backwpup_jobedit_destdropbox', __('Backup to Dropbox','backwpup'), 'backwpup_jobedit_metabox_destdropbox', $current_screen->id, 'advanced', 'default');
|
306 |
-
if (in_array('SUGARSYNC',$dests))
|
307 |
-
add_meta_box('backwpup_jobedit_destsugarsync', __('Backup to SugarSync','backwpup'), 'backwpup_jobedit_metabox_destsugarsync', $current_screen->id, 'advanced', 'default');
|
308 |
-
if (in_array('S3',$dests))
|
309 |
-
add_meta_box('backwpup_jobedit_dests3', __('Backup to Amazon S3','backwpup'), 'backwpup_jobedit_metabox_dests3', $current_screen->id, 'advanced', 'default');
|
310 |
-
if (in_array('GSTORAGE',$dests))
|
311 |
-
add_meta_box('backwpup_jobedit_destgstorage', __('Backup to Google storage','backwpup'), 'backwpup_jobedit_metabox_destgstorage', $current_screen->id, 'advanced', 'default');
|
312 |
-
if (in_array('MSAZURE',$dests))
|
313 |
-
add_meta_box('backwpup_jobedit_destazure', __('Backup to Micosoft Azure (Blob)','backwpup'), 'backwpup_jobedit_metabox_destazure', $current_screen->id, 'advanced', 'default');
|
314 |
-
if (in_array('RSC',$dests))
|
315 |
-
add_meta_box('backwpup_jobedit_destrsc', __('Backup to Rackspace Cloud','backwpup'), 'backwpup_jobedit_metabox_destrsc', $current_screen->id, 'advanced', 'default');
|
316 |
-
//add clumns
|
317 |
add_screen_option('layout_columns', array('max' => 2, 'default' => 2));
|
318 |
|
319 |
//add Help
|
320 |
-
backwpup_contextual_help(
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
3 |
die();
|
4 |
|
5 |
//Save Dropbox settings
|
6 |
+
if (isset($_GET['dropboxauth']) and $_GET['dropboxauth']=='AccessToken') {
|
7 |
$jobid = (int) $_GET['jobid'];
|
8 |
check_admin_referer('edit-job');
|
9 |
$backwpup_message='';
|
10 |
+
if ((int)$_GET['uid']>0 and !empty($_GET['oauth_token'])) {
|
11 |
$reqtoken=get_transient('backwpup_dropboxrequest');
|
12 |
+
if ($reqtoken['oAuthRequestToken']==$_GET['oauth_token']) {
|
13 |
//Get Access Tokens
|
14 |
require_once (dirname(__FILE__).'/../libs/dropbox.php');
|
15 |
$jobs=get_option('backwpup_jobs');
|
24 |
$backwpup_message.=__('Wrong Token for Dropbox authentication received!','backwpup').'<br />';
|
25 |
}
|
26 |
} else {
|
27 |
+
$backwpup_message.=__('No Dropbox authentication received!','backwpup').'<br />';
|
28 |
}
|
29 |
delete_transient('backwpup_dropboxrequest');
|
30 |
$_POST['jobid']=$jobid;
|
99 |
foreach ($tables as $dbtable) {
|
100 |
if (!in_array($dbtable,$checedtables))
|
101 |
$jobvalues['dbexclude'][]=$dbtable;
|
102 |
+
}
|
103 |
$jobvalues['dbshortinsert']= (isset($_POST['dbshortinsert']) && $_POST['dbshortinsert']==1) ? true : false;
|
104 |
$jobvalues['maintenance']= (isset($_POST['maintenance']) && $_POST['maintenance']==1) ? true : false;
|
105 |
$jobvalues['fileexclude']=isset($_POST['fileexclude']) ? stripslashes($_POST['fileexclude']) : '';
|
170 |
$backwpup_message.=__($e->getMessage(),'backwpup').'<br />';
|
171 |
}
|
172 |
}
|
173 |
+
|
174 |
if (!empty($_POST['GStorageAccessKey']) and !empty($_POST['GStorageSecret']) and !empty($_POST['newGStorageBucket'])) { //create new google storage bucket if needed
|
175 |
if (!class_exists('CFRuntime'))
|
176 |
require_once(dirname(__FILE__).'/../libs/aws/sdk.class.php');
|
186 |
$backwpup_message.=__($e->getMessage(),'backwpup').'<br />';
|
187 |
}
|
188 |
}
|
189 |
+
|
190 |
if (!empty($_POST['newmsazureContainer']) and !empty($_POST['msazureHost']) and !empty($_POST['msazureAccName']) and !empty($_POST['msazureKey'])) { //create new s3 bucket if needed
|
191 |
if (!class_exists('Microsoft_WindowsAzure_Storage_Blob')) {
|
192 |
require_once(dirname(__FILE__).'/../libs/Microsoft/WindowsAzure/Storage/Blob.php');
|
198 |
} catch (Exception $e) {
|
199 |
$backwpup_message.=__($e->getMessage(),'backwpup').'<br />';
|
200 |
}
|
201 |
+
}
|
202 |
+
|
203 |
if (!empty($_POST['rscUsername']) and !empty($_POST['rscAPIKey']) and !empty($_POST['newrscContainer'])) { //create new Rackspase Container if needed
|
204 |
if (!class_exists('CF_Authentication'))
|
205 |
require_once(dirname(__FILE__).'/../libs/rackspace/cloudfiles.php');
|
214 |
$backwpup_message.=__($e->getMessage(),'backwpup').'<br />';
|
215 |
}
|
216 |
}
|
217 |
+
|
218 |
+
|
219 |
if (isset($_POST['dropboxauthdel']) and !empty($_POST['dropboxauthdel'])) {
|
220 |
$jobvalues['dropetoken']='';
|
221 |
$jobvalues['dropesecret']='';
|
222 |
$backwpup_message.=__('Dropbox authentication deleted!','backwpup').'<br />';
|
223 |
}
|
224 |
+
|
225 |
if (!empty($_POST['sugaremail']) && !empty($_POST['sugarpass']) && $_POST['authbutton']==__( 'Sugarsync authenticate!', 'backwpup' )) {
|
226 |
if (!class_exists('SugarSync'))
|
227 |
include_once(realpath(dirname(__FILE__).'/../libs/sugarsync.php'));
|
236 |
$backwpup_message.= 'SUGARSYNC: ' . $e->getMessage() . '<br />';
|
237 |
}
|
238 |
}
|
239 |
+
if (isset($_POST['authbutton']) && $_POST['authbutton']==__( 'Delete Sugarsync authentication!', 'backwpup' )) {
|
240 |
$jobvalues['sugarrefreshtoken']='';
|
241 |
$backwpup_message.=__('SugarSync authentication deleted!','backwpup').'<br />';
|
242 |
}
|
243 |
+
if (isset($_POST['authbutton']) && $_POST['authbutton']==__( 'Create Sugarsync Account', 'backwpup' )) {
|
244 |
if (!class_exists('SugarSync'))
|
245 |
include_once(realpath(dirname(__FILE__).'/../libs/sugarsync.php'));
|
246 |
try {
|
256 |
$jobs=get_option('backwpup_jobs'); //Load Settings
|
257 |
$jobs[$jobvalues['jobid']]=backwpup_get_job_vars($jobvalues['jobid'],$jobvalues);
|
258 |
update_option('backwpup_jobs',$jobs);
|
259 |
+
|
260 |
//activate/deactivate seduling if not needed
|
261 |
$activejobs=false;
|
262 |
foreach ($jobs as $jobid => $jobvalue) {
|
263 |
+
if (!empty($jobvalue['activated']))
|
264 |
$activejobs=true;
|
265 |
}
|
266 |
if ($activejobs and false === wp_next_scheduled('backwpup_cron')) {
|
270 |
wp_clear_scheduled_hook('backwpup_cron');
|
271 |
}
|
272 |
|
273 |
+
//get dropbox auth
|
274 |
if (isset($_POST['dropboxauth']) and !empty($_POST['dropboxauth'])) {
|
275 |
require_once (dirname(__FILE__).'/../libs/dropbox.php');
|
276 |
$dropbox = new backwpup_Dropbox('dropbox');
|
277 |
// let the user authorize (user will be redirected)
|
278 |
$response = $dropbox->oAuthAuthorize(backwpup_admin_url('admin.php').'?page=backwpupeditjob&jobid='.$jobvalues['jobid'].'&dropboxauth=AccessToken&_wpnonce='.wp_create_nonce('edit-job'));
|
279 |
+
// save oauth_token_secret
|
280 |
set_transient('backwpup_dropboxrequest',array('oAuthRequestToken'=>$response['oauth_token'],'oAuthRequestTokenSecret' => $response['oauth_token_secret']),600);
|
281 |
//forward to auth page
|
282 |
wp_redirect($response['authurl']);
|
283 |
+
}
|
284 |
+
|
285 |
$_POST['jobid']=$jobvalues['jobid'];
|
286 |
$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>';
|
287 |
}
|
288 |
|
|
|
|
|
|
|
289 |
//load java
|
290 |
wp_enqueue_script('common');
|
291 |
wp_enqueue_script('wp-lists');
|
292 |
wp_enqueue_script('postbox');
|
293 |
|
294 |
+
//add columns
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
295 |
add_screen_option('layout_columns', array('max' => 2, 'default' => 2));
|
296 |
|
297 |
//add Help
|
298 |
+
backwpup_contextual_help();
|
pages/page_backwpupeditjob.php
CHANGED
@@ -1,12 +1,34 @@
|
|
1 |
<?PHP
|
2 |
-
if (!defined('ABSPATH'))
|
3 |
die();
|
4 |
|
5 |
global $wpdb,$screen_layout_columns;
|
6 |
|
|
|
|
|
7 |
//may be needed to ensure that a special box is always available
|
8 |
add_meta_box('backwpup_jobedit_save', __('Job Type','backwpup'), 'backwpup_jobedit_metabox_save', $current_screen->id, 'side', 'high');
|
9 |
add_meta_box('backwpup_jobedit_schedule', __('Job Schedule','backwpup'), 'backwpup_jobedit_metabox_schedule', $current_screen->id, 'side', 'core');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
//get and check job id
|
12 |
if (isset($_REQUEST['jobid']) and !empty($_REQUEST['jobid'])) {
|
@@ -17,11 +39,10 @@ if (isset($_REQUEST['jobid']) and !empty($_REQUEST['jobid'])) {
|
|
17 |
}
|
18 |
//set extra vars
|
19 |
$todo=explode('+',$jobvalue['type']);
|
20 |
-
$dests=explode(',',strtoupper(BACKWPUP_DESTS));
|
21 |
?>
|
22 |
<div class="wrap columns-<?php echo (int) $screen_layout_columns ? (int) $screen_layout_columns : 'auto'; ?>">
|
23 |
-
<?php
|
24 |
-
screen_icon();
|
25 |
echo "<h2>".esc_html( __('BackWPup Job Settings', 'backwpup'))." <a href=\"".wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupeditjob', 'edit-job')."\" class=\"add-new-h2\">".esc_html__('Add New','backwpup')."</a></h2>";
|
26 |
?>
|
27 |
|
@@ -60,12 +81,12 @@ echo "<h2>".esc_html( __('BackWPup Job Settings', 'backwpup'))." <a href=\"
|
|
60 |
<?php } else { //for wp version older 3.4?>
|
61 |
<div id="poststuff" class="metabox-holder<?php echo 2 == $screen_layout_columns ? ' has-right-sidebar' : ''; ?>">
|
62 |
<div id="side-info-column" class="inner-sidebar">
|
63 |
-
<?php do_meta_boxes($current_screen->id, 'side', $jobvalue); ?>
|
64 |
</div>
|
65 |
-
|
66 |
<div id="post-body">
|
67 |
-
<div id="post-body-content">
|
68 |
-
|
69 |
<div id="titlediv">
|
70 |
<div id="titlewrap">
|
71 |
<label class="hide-if-no-js" style="visibility:hidden" id="title-prompt-text" for="title"><?PHP _e('Enter Job name here','backwpup'); ?></label>
|
@@ -188,8 +209,8 @@ echo "<h2>".esc_html( __('BackWPup Job Settings', 'backwpup'))." <a href=\"
|
|
188 |
<input name="fileexclude" id="fileexclude" type="text" value="<?PHP echo $jobvalue['fileexclude'];?>" class="large-text" /><br />
|
189 |
</div>
|
190 |
</div>
|
191 |
-
|
192 |
-
|
193 |
<?php do_meta_boxes( $current_screen->id, 'normal', $jobvalue ); ?>
|
194 |
|
195 |
<?php do_meta_boxes( $current_screen->id, 'advanced', $jobvalue ); ?>
|
1 |
<?PHP
|
2 |
+
if (!defined('ABSPATH'))
|
3 |
die();
|
4 |
|
5 |
global $wpdb,$screen_layout_columns;
|
6 |
|
7 |
+
$dests=explode(',',strtoupper(BACKWPUP_DESTS));
|
8 |
+
|
9 |
//may be needed to ensure that a special box is always available
|
10 |
add_meta_box('backwpup_jobedit_save', __('Job Type','backwpup'), 'backwpup_jobedit_metabox_save', $current_screen->id, 'side', 'high');
|
11 |
add_meta_box('backwpup_jobedit_schedule', __('Job Schedule','backwpup'), 'backwpup_jobedit_metabox_schedule', $current_screen->id, 'side', 'core');
|
12 |
+
//all other
|
13 |
+
add_meta_box('backwpup_jobedit_backupfile', __('Backup File','backwpup'), 'backwpup_jobedit_metabox_backupfile', $current_screen->id, 'side', 'default');
|
14 |
+
add_meta_box('backwpup_jobedit_sendlog', __('Send log','backwpup'), 'backwpup_jobedit_metabox_sendlog', $current_screen->id, 'side', 'default');
|
15 |
+
add_meta_box('backwpup_jobedit_destfolder', __('Backup to Folder','backwpup'), 'backwpup_jobedit_metabox_destfolder', $current_screen->id, 'advanced', 'core');
|
16 |
+
add_meta_box('backwpup_jobedit_destmail', __('Backup to E-Mail','backwpup'), 'backwpup_jobedit_metabox_destmail', $current_screen->id, 'advanced', 'core');
|
17 |
+
if (in_array('FTP',$dests))
|
18 |
+
add_meta_box('backwpup_jobedit_destftp', __('Backup to FTP Server','backwpup'), 'backwpup_jobedit_metabox_destftp', $current_screen->id, 'advanced', 'default');
|
19 |
+
if (in_array('DROPBOX',$dests))
|
20 |
+
add_meta_box('backwpup_jobedit_destdropbox', __('Backup to Dropbox','backwpup'), 'backwpup_jobedit_metabox_destdropbox', $current_screen->id, 'advanced', 'default');
|
21 |
+
if (in_array('SUGARSYNC',$dests))
|
22 |
+
add_meta_box('backwpup_jobedit_destsugarsync', __('Backup to SugarSync','backwpup'), 'backwpup_jobedit_metabox_destsugarsync', $current_screen->id, 'advanced', 'default');
|
23 |
+
if (in_array('S3',$dests))
|
24 |
+
add_meta_box('backwpup_jobedit_dests3', __('Backup to Amazon S3','backwpup'), 'backwpup_jobedit_metabox_dests3', $current_screen->id, 'advanced', 'default');
|
25 |
+
if (in_array('GSTORAGE',$dests))
|
26 |
+
add_meta_box('backwpup_jobedit_destgstorage', __('Backup to Google storage','backwpup'), 'backwpup_jobedit_metabox_destgstorage', $current_screen->id, 'advanced', 'default');
|
27 |
+
if (in_array('MSAZURE',$dests))
|
28 |
+
add_meta_box('backwpup_jobedit_destazure', __('Backup to Micosoft Azure (Blob)','backwpup'), 'backwpup_jobedit_metabox_destazure', $current_screen->id, 'advanced', 'default');
|
29 |
+
if (in_array('RSC',$dests))
|
30 |
+
add_meta_box('backwpup_jobedit_destrsc', __('Backup to Rackspace Cloud','backwpup'), 'backwpup_jobedit_metabox_destrsc', $current_screen->id, 'advanced', 'default');
|
31 |
+
|
32 |
|
33 |
//get and check job id
|
34 |
if (isset($_REQUEST['jobid']) and !empty($_REQUEST['jobid'])) {
|
39 |
}
|
40 |
//set extra vars
|
41 |
$todo=explode('+',$jobvalue['type']);
|
|
|
42 |
?>
|
43 |
<div class="wrap columns-<?php echo (int) $screen_layout_columns ? (int) $screen_layout_columns : 'auto'; ?>">
|
44 |
+
<?php
|
45 |
+
screen_icon();
|
46 |
echo "<h2>".esc_html( __('BackWPup Job Settings', 'backwpup'))." <a href=\"".wp_nonce_url(backwpup_admin_url('admin.php').'?page=backwpupeditjob', 'edit-job')."\" class=\"add-new-h2\">".esc_html__('Add New','backwpup')."</a></h2>";
|
47 |
?>
|
48 |
|
81 |
<?php } else { //for wp version older 3.4?>
|
82 |
<div id="poststuff" class="metabox-holder<?php echo 2 == $screen_layout_columns ? ' has-right-sidebar' : ''; ?>">
|
83 |
<div id="side-info-column" class="inner-sidebar">
|
84 |
+
<?php do_meta_boxes($current_screen->id, 'side', $jobvalue); ?>
|
85 |
</div>
|
86 |
+
|
87 |
<div id="post-body">
|
88 |
+
<div id="post-body-content">
|
89 |
+
|
90 |
<div id="titlediv">
|
91 |
<div id="titlewrap">
|
92 |
<label class="hide-if-no-js" style="visibility:hidden" id="title-prompt-text" for="title"><?PHP _e('Enter Job name here','backwpup'); ?></label>
|
209 |
<input name="fileexclude" id="fileexclude" type="text" value="<?PHP echo $jobvalue['fileexclude'];?>" class="large-text" /><br />
|
210 |
</div>
|
211 |
</div>
|
212 |
+
|
213 |
+
|
214 |
<?php do_meta_boxes( $current_screen->id, 'normal', $jobvalue ); ?>
|
215 |
|
216 |
<?php do_meta_boxes( $current_screen->id, 'advanced', $jobvalue ); ?>
|
readme.txt
CHANGED
@@ -1,12 +1,11 @@
|
|
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, database, file, ftp, xml, time, upload, multisite, cloud, dropbox, storage, amazon
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 3.4
|
7 |
-
Stable tag: 2.1.
|
8 |
-
License:
|
9 |
-
License URI: http://www.gnu.org/licenses/gpl-
|
10 |
|
11 |
WordPress Backup and more...
|
12 |
|
@@ -43,15 +42,7 @@ Do backups and more for your WordPress Blog.
|
|
43 |
3. Activate the Plugin through the 'Plugins' menu in WordPress
|
44 |
|
45 |
== Frequently Asked Questions ==
|
46 |
-
= EN =
|
47 |
-
* FAQ: http://backwpup.com/faq
|
48 |
-
* Manual: http://backwpup.com/manual
|
49 |
-
* Support: http://backwpup.com/forums
|
50 |
|
51 |
-
= DE =
|
52 |
-
* FAQ: http://backwpup.de/faq
|
53 |
-
* Manual: http://backwpup.de/manual
|
54 |
-
* Support: http://backwpup.de/forums
|
55 |
|
56 |
== Screenshots ==
|
57 |
1. Job Page
|
@@ -60,6 +51,16 @@ Do backups and more for your WordPress Blog.
|
|
60 |
4. Backups Manage Page
|
61 |
|
62 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
= 2.1.15 =
|
64 |
* Fixed FTP folder bug
|
65 |
* Dropbox chunking will done in memory not in temp
|
1 |
=== BackWPup ===
|
2 |
+
Contributors: danielhuesken, inpsyde, Bueltge, nullbyte
|
|
|
3 |
Tags: backup, database, file, ftp, xml, time, upload, multisite, cloud, dropbox, storage, amazon
|
4 |
Requires at least: 3.1
|
5 |
+
Tested up to: 3.4.2
|
6 |
+
Stable tag: 2.1.16
|
7 |
+
License: GPLv3
|
8 |
+
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
10 |
WordPress Backup and more...
|
11 |
|
42 |
3. Activate the Plugin through the 'Plugins' menu in WordPress
|
43 |
|
44 |
== Frequently Asked Questions ==
|
|
|
|
|
|
|
|
|
45 |
|
|
|
|
|
|
|
|
|
46 |
|
47 |
== Screenshots ==
|
48 |
1. Job Page
|
51 |
4. Backups Manage Page
|
52 |
|
53 |
== Changelog ==
|
54 |
+
= 2.1.16 =
|
55 |
+
* Dropbox chunking will done in temp again.
|
56 |
+
* uses stream for compression
|
57 |
+
* Metaboxes can't disabled by the screen options
|
58 |
+
* Set mail charset
|
59 |
+
* Handling for Dropbox 503 errors
|
60 |
+
* removed oauth bypass Google Analytics by Yoast
|
61 |
+
* updatet AWS lib to 1.5.15
|
62 |
+
* bug fixes
|
63 |
+
|
64 |
= 2.1.15 =
|
65 |
* Fixed FTP folder bug
|
66 |
* Dropbox chunking will done in memory not in temp
|