Version Description
- 04/01/2013 =
- Bug fix: some backup runs were erroneously being identified as superfluous and cancelled
Download this release
Release Info
Developer | DavidAnderson |
Plugin | UpdraftPlus WordPress Backup Plugin |
Version | 1.1.11 |
Comparing to | |
See all releases |
Code changes from version 1.1.10 to 1.1.11
- readme.txt +7 -3
- updraftplus.php +4 -6
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: David Anderson
|
|
3 |
Tags: backup, restore, database, cloud, amazon, s3, Amazon S3, google drive, google, gdrive, ftp, cloud, updraft, back up
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 3.5
|
6 |
-
Stable tag: 1.1.
|
7 |
Donate link: http://david.dw-perspective.org.uk/donate
|
8 |
License: GPLv3 or later
|
9 |
|
@@ -51,6 +51,10 @@ If you can send a patch, that's even better.
|
|
51 |
|
52 |
Finally, if you post in the WordPress support forum, then make sure you include the word UpdraftPlus in your post; otherwise I will not be automatically notified that you posted.
|
53 |
|
|
|
|
|
|
|
|
|
54 |
= Some of my files have uploaded into my cloud storage, but not others. =
|
55 |
|
56 |
From version 0.9.0, UpdraftPlus features a resumption feature - if you wait 5 minutes and visit a page on your site, then it should re-try not-yet-uploaded files. If that fails, then turn on debugging and paste the debug log (log in via FTP, and look in wp-content/updraft) into the support forum.
|
@@ -107,8 +111,8 @@ Thanks for asking - yes, I have. Check out my profile page - http://profiles.wor
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
-
= 1.1.
|
111 |
-
*
|
112 |
|
113 |
= 1.1.9 - 12/31/2012 =
|
114 |
* Big code re-factoring; cloud access methods now modularised, paving way for easier adding of new methods. Note that Google Drive users may need to re-authenticate - please check that your backups are working.
|
3 |
Tags: backup, restore, database, cloud, amazon, s3, Amazon S3, google drive, google, gdrive, ftp, cloud, updraft, back up
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 3.5
|
6 |
+
Stable tag: 1.1.11
|
7 |
Donate link: http://david.dw-perspective.org.uk/donate
|
8 |
License: GPLv3 or later
|
9 |
|
51 |
|
52 |
Finally, if you post in the WordPress support forum, then make sure you include the word UpdraftPlus in your post; otherwise I will not be automatically notified that you posted.
|
53 |
|
54 |
+
= My enormous website is hosted by a dirt-cheap provider who gives me no resources, and UpdraftPlus runs out of time! Help! Please make UpdraftPlus deal with this situation so that I can save two dollars! =
|
55 |
+
|
56 |
+
UpdraftPlus supports resuming backup runs, so that it does not need to do everything in a single go; but this has limits. If your website is enormous and your web hosting company gives your tiny resources on an over-loaded server, then your solution is to purchase better web hosting, or to hire me professionally. Otherwise, this is not considered a bug. UpdraftPlus is known to successfully back up websites that run into the gigabytes on web servers that are not resource-starved.
|
57 |
+
|
58 |
= Some of my files have uploaded into my cloud storage, but not others. =
|
59 |
|
60 |
From version 0.9.0, UpdraftPlus features a resumption feature - if you wait 5 minutes and visit a page on your site, then it should re-try not-yet-uploaded files. If that fails, then turn on debugging and paste the debug log (log in via FTP, and look in wp-content/updraft) into the support forum.
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
+
= 1.1.11 - 04/01/2013 =
|
115 |
+
* Bug fix: some backup runs were erroneously being identified as superfluous and cancelled
|
116 |
|
117 |
= 1.1.9 - 12/31/2012 =
|
118 |
* Big code re-factoring; cloud access methods now modularised, paving way for easier adding of new methods. Note that Google Drive users may need to re-authenticate - please check that your backups are working.
|
updraftplus.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: UpdraftPlus - Backup/Restore
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/updraftplus
|
5 |
Description: Uploads, themes, plugins, and your DB can be automatically backed up to Amazon S3, Google Drive, FTP, or emailed, on separate schedules.
|
6 |
Author: David Anderson.
|
7 |
-
Version: 1.1.
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
10 |
Author URI: http://wordshell.net
|
@@ -56,7 +56,7 @@ define('UPDRAFT_DEFAULT_OTHERS_EXCLUDE','upgrade,cache,updraft,index.php');
|
|
56 |
|
57 |
class UpdraftPlus {
|
58 |
|
59 |
-
var $version = '1.1.
|
60 |
|
61 |
// Choices will be shown in the admin menu in the order used here
|
62 |
var $backup_methods = array (
|
@@ -69,7 +69,7 @@ class UpdraftPlus {
|
|
69 |
var $dbhandle;
|
70 |
var $errors = array();
|
71 |
var $nonce;
|
72 |
-
var $cronrun_type = "";
|
73 |
var $logfile_name = "";
|
74 |
var $logfile_handle = false;
|
75 |
var $backup_time;
|
@@ -241,7 +241,7 @@ class UpdraftPlus {
|
|
241 |
// Check if another backup job ID is stored in the transient
|
242 |
if ($cur_trans != "" && $cur_trans != $this->nonce) {
|
243 |
// Also check if that job is of the same type as ours, as two cron jobs could legitimately fire at the same time
|
244 |
-
$otherjob_crontype = get_transient("updraftplus_runtype_".$cur_trans
|
245 |
// $this->cronrun_type should be "files", "database" or blank (if we were not run via a cron job)
|
246 |
if ($otherjob_crontype == $this->cronrun_type) {
|
247 |
$this->log("Another backup job ($cur_trans) of the same type ($otherjob_crontype) appears to now be running - terminating our run (apparent race condition)");
|
@@ -271,8 +271,6 @@ class UpdraftPlus {
|
|
271 |
global $wp_version;
|
272 |
$this->log("PHP version: ".phpversion()." WordPress version: ".$wp_version." Updraft version: ".$this->version." Backup files: $backup_files (schedule: ".get_option('updraft_interval','unset').") Backup DB: $backup_database (schedule: ".get_option('updraft_interval_database','unset').")");
|
273 |
|
274 |
-
$this->check_backup_race();
|
275 |
-
|
276 |
# If the files and database schedules are the same, and if this the file one, then we rope in database too.
|
277 |
# On the other hand, if the schedules were the same and this was the database run, then there is nothing to do.
|
278 |
if (get_option('updraft_interval') == get_option('updraft_interval_database') || get_option('updraft_interval_database','xyz') == 'xyz' ) {
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/updraftplus
|
5 |
Description: Uploads, themes, plugins, and your DB can be automatically backed up to Amazon S3, Google Drive, FTP, or emailed, on separate schedules.
|
6 |
Author: David Anderson.
|
7 |
+
Version: 1.1.11
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
10 |
Author URI: http://wordshell.net
|
56 |
|
57 |
class UpdraftPlus {
|
58 |
|
59 |
+
var $version = '1.1.11';
|
60 |
|
61 |
// Choices will be shown in the admin menu in the order used here
|
62 |
var $backup_methods = array (
|
69 |
var $dbhandle;
|
70 |
var $errors = array();
|
71 |
var $nonce;
|
72 |
+
var $cronrun_type = "none";
|
73 |
var $logfile_name = "";
|
74 |
var $logfile_handle = false;
|
75 |
var $backup_time;
|
241 |
// Check if another backup job ID is stored in the transient
|
242 |
if ($cur_trans != "" && $cur_trans != $this->nonce) {
|
243 |
// Also check if that job is of the same type as ours, as two cron jobs could legitimately fire at the same time
|
244 |
+
$otherjob_crontype = get_transient("updraftplus_runtype_".$cur_trans);
|
245 |
// $this->cronrun_type should be "files", "database" or blank (if we were not run via a cron job)
|
246 |
if ($otherjob_crontype == $this->cronrun_type) {
|
247 |
$this->log("Another backup job ($cur_trans) of the same type ($otherjob_crontype) appears to now be running - terminating our run (apparent race condition)");
|
271 |
global $wp_version;
|
272 |
$this->log("PHP version: ".phpversion()." WordPress version: ".$wp_version." Updraft version: ".$this->version." Backup files: $backup_files (schedule: ".get_option('updraft_interval','unset').") Backup DB: $backup_database (schedule: ".get_option('updraft_interval_database','unset').")");
|
273 |
|
|
|
|
|
274 |
# If the files and database schedules are the same, and if this the file one, then we rope in database too.
|
275 |
# On the other hand, if the schedules were the same and this was the database run, then there is nothing to do.
|
276 |
if (get_option('updraft_interval') == get_option('updraft_interval_database') || get_option('updraft_interval_database','xyz') == 'xyz' ) {
|