Version Description
- 01/22/2013 =
- Easier Dropbox setup (we are now an official production app)
- New button to delete all existing settings
- Admin console now displays rolling status updates
- Feature: choose how many files and databases to retain separately
- Fixed bug with checking access token on Google Drive restore
- Fixed bug producing copious warnings in PHP log
- Fixed bug in automated restoration processes
- Possibly fixed settings saving bug in RTL installations
- Fix erroneous display of max_execution_time warning
- Better logging when running a DB debug session
- Better detection/handling of overlapping/concurrent runs
Download this release
Release Info
Developer | DavidAnderson |
Plugin | UpdraftPlus WordPress Backup Plugin |
Version | 1.2.46 |
Comparing to | |
See all releases |
Code changes from version 1.2.45 to 1.2.46
- readme.txt +3 -2
- updraftplus.php +13 -4
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: David Anderson
|
|
3 |
Tags: backup, restore, database, cloud, amazon, s3, dropbox, google drive, gdrive, ftp, cloud, updraft, back up
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 3.5
|
6 |
-
Stable tag: 1.2.
|
7 |
Donate link: http://david.dw-perspective.org.uk/donate
|
8 |
License: GPLv3 or later
|
9 |
|
@@ -132,7 +132,7 @@ Thanks for asking - yes, I have. Check out my profile page - http://profiles.wor
|
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
-
= 1.2.
|
136 |
* Easier Dropbox setup (we are now an official production app)
|
137 |
* New button to delete all existing settings
|
138 |
* Admin console now displays rolling status updates
|
@@ -143,6 +143,7 @@ Thanks for asking - yes, I have. Check out my profile page - http://profiles.wor
|
|
143 |
* Possibly fixed settings saving bug in RTL installations
|
144 |
* Fix erroneous display of max_execution_time warning
|
145 |
* Better logging when running a DB debug session
|
|
|
146 |
|
147 |
= 1.2.31 - 01/15/2013 =
|
148 |
* Fixed bug with Dropbox deletions
|
3 |
Tags: backup, restore, database, cloud, amazon, s3, dropbox, google drive, gdrive, ftp, cloud, updraft, back up
|
4 |
Requires at least: 3.2
|
5 |
Tested up to: 3.5
|
6 |
+
Stable tag: 1.2.46
|
7 |
Donate link: http://david.dw-perspective.org.uk/donate
|
8 |
License: GPLv3 or later
|
9 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 1.2.46 - 01/22/2013 =
|
136 |
* Easier Dropbox setup (we are now an official production app)
|
137 |
* New button to delete all existing settings
|
138 |
* Admin console now displays rolling status updates
|
143 |
* Possibly fixed settings saving bug in RTL installations
|
144 |
* Fix erroneous display of max_execution_time warning
|
145 |
* Better logging when running a DB debug session
|
146 |
+
* Better detection/handling of overlapping/concurrent runs
|
147 |
|
148 |
= 1.2.31 - 01/15/2013 =
|
149 |
* Fixed bug with Dropbox deletions
|
updraftplus.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: UpdraftPlus - Backup/Restore
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/updraftplus
|
5 |
Description: Backup and restore: your content and database can be automatically backed up to Amazon S3, Dropbox, Google Drive, FTP or email, on separate schedules.
|
6 |
Author: David Anderson.
|
7 |
-
Version: 1.2.
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
10 |
Author URI: http://wordshell.net
|
@@ -68,7 +68,7 @@ define('UPDRAFT_DEFAULT_OTHERS_EXCLUDE','upgrade,cache,updraft,index.php');
|
|
68 |
|
69 |
class UpdraftPlus {
|
70 |
|
71 |
-
var $version = '1.2.
|
72 |
|
73 |
// Choices will be shown in the admin menu in the order used here
|
74 |
var $backup_methods = array (
|
@@ -724,7 +724,15 @@ class UpdraftPlus {
|
|
724 |
}
|
725 |
|
726 |
// Temporary file, to be able to detect actual completion (upon which, it is renamed)
|
727 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
728 |
|
729 |
$microtime_start = microtime(true);
|
730 |
# The paths in the zip should then begin with '$whichone', having removed WP_CONTENT_DIR from the front
|
@@ -878,7 +886,8 @@ class UpdraftPlus {
|
|
878 |
$this->dbhandle_isgz = false;
|
879 |
}
|
880 |
if(!$this->dbhandle) {
|
881 |
-
|
|
|
882 |
}
|
883 |
}
|
884 |
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/updraftplus
|
5 |
Description: Backup and restore: your content and database can be automatically backed up to Amazon S3, Dropbox, Google Drive, FTP or email, on separate schedules.
|
6 |
Author: David Anderson.
|
7 |
+
Version: 1.2.46
|
8 |
Donate link: http://david.dw-perspective.org.uk/donate
|
9 |
License: GPLv3 or later
|
10 |
Author URI: http://wordshell.net
|
68 |
|
69 |
class UpdraftPlus {
|
70 |
|
71 |
+
var $version = '1.2.46';
|
72 |
|
73 |
// Choices will be shown in the admin menu in the order used here
|
74 |
var $backup_methods = array (
|
724 |
}
|
725 |
|
726 |
// Temporary file, to be able to detect actual completion (upon which, it is renamed)
|
727 |
+
|
728 |
+
// Firstly, make sure that the temporary file is not already being written to - which can happen if a resumption takes place whilst an old run is still active
|
729 |
+
$zip_name = $full_path.'.tmp';
|
730 |
+
if (file_exists($zip_name) && (int)filemtime($zip_name)>100 && filemtime($zip_name)-time()<20) {
|
731 |
+
$this->log("TERMINATE: the temporary file $zip_name already exists, and was modified within the last 20 seconds. This likely means that another UpdraftPlus run is still at work; so we will exit.");
|
732 |
+
die;
|
733 |
+
}
|
734 |
+
|
735 |
+
$zip_object = new PclZip($zip_name);
|
736 |
|
737 |
$microtime_start = microtime(true);
|
738 |
# The paths in the zip should then begin with '$whichone', having removed WP_CONTENT_DIR from the front
|
886 |
$this->dbhandle_isgz = false;
|
887 |
}
|
888 |
if(!$this->dbhandle) {
|
889 |
+
$this->log("ERROR: $file: Could not open the backup file for writing");
|
890 |
+
$this->error("$file: Could not open the backup file for writing");
|
891 |
}
|
892 |
}
|
893 |
|