Backup and Restore WordPress – WPBackItUp Backup Plugin - Version 1.4.1

Version Description

Setup alert if DB is 0 bytes.

Download this release

Release Info

Developer jcpeden
Plugin Icon 128x128 Backup and Restore WordPress – WPBackItUp Backup Plugin
Version 1.4.1
Comparing to
See all releases

Code changes from version 1.4.0 to 1.4.1

index.php CHANGED
@@ -7,13 +7,13 @@
7
  * @global object $wpdb
8
  *
9
  * @author jcpeden
10
- * @version 1.4.0
11
  */
12
  /*
13
  Plugin Name: WP Backitup
14
  Plugin URI: http://www.wpbackitup.com
15
  Description: Backup your content, settings, themes, plugins and media in just a few simple clicks.
16
- Version: 1.4.0
17
  Author: John Peden
18
  Author URI: http://www.johncpeden.com
19
  License: GPL3
@@ -44,7 +44,7 @@ class WPBackitup {
44
  // Default plugin options
45
  var $defaults = array(
46
  'presstrends' => "enabled",
47
- 'license_key' => "cat",
48
  'status' => "inactive"
49
  );
50
 
7
  * @global object $wpdb
8
  *
9
  * @author jcpeden
10
+ * @version 1.4.1
11
  */
12
  /*
13
  Plugin Name: WP Backitup
14
  Plugin URI: http://www.wpbackitup.com
15
  Description: Backup your content, settings, themes, plugins and media in just a few simple clicks.
16
+ Version: 1.4.1
17
  Author: John Peden
18
  Author URI: http://www.johncpeden.com
19
  License: GPL3
44
  // Default plugin options
45
  var $defaults = array(
46
  'presstrends' => "enabled",
47
+ 'license_key' => "",
48
  'status' => "inactive"
49
  );
50
 
lib/constants.php CHANGED
@@ -5,16 +5,18 @@
5
  * @package WP Backitup
6
  *
7
  * @author jcpeden
8
- * @version 1.4.0
9
  * @since 1.0.1
10
  */
11
 
12
- if( !defined( 'WPBACKITUP_VERSION' ) ) define( 'WPBACKITUP_VERSION', '1.4.0' );
13
 
14
  if( !defined( 'WPBACKITUP_DIRNAME' ) ) define( 'WPBACKITUP_DIRNAME', dirname( dirname( __FILE__ ) ) );
15
 
16
  if( !defined( 'WPBACKITUP_DIR_PATH' ) ) define( 'WPBACKITUP_DIR_PATH', dirname( dirname( dirname( __FILE__ ) ) ) );
17
 
 
 
18
  if( !defined( 'WPBACKITUP_URLPATH' ) ) define( 'WPBACKITUP_URLPATH', WP_PLUGIN_URL . "/" . plugin_basename( WPBACKITUP_DIRNAME ) );
19
 
20
  if( !defined( 'IS_AJAX_REQUEST' ) ) define( 'IS_AJAX_REQUEST', ( !empty( $_SERVER['HTTP_X_REQUESTED_WITH'] ) && strtolower( $_SERVER['HTTP_X_REQUESTED_WITH'] ) == 'xmlhttprequest' ) );
5
  * @package WP Backitup
6
  *
7
  * @author jcpeden
8
+ * @version 1.4.1
9
  * @since 1.0.1
10
  */
11
 
12
+ if( !defined( 'WPBACKITUP_VERSION' ) ) define( 'WPBACKITUP_VERSION', '1.4.1' );
13
 
14
  if( !defined( 'WPBACKITUP_DIRNAME' ) ) define( 'WPBACKITUP_DIRNAME', dirname( dirname( __FILE__ ) ) );
15
 
16
  if( !defined( 'WPBACKITUP_DIR_PATH' ) ) define( 'WPBACKITUP_DIR_PATH', dirname( dirname( dirname( __FILE__ ) ) ) );
17
 
18
+ if( !defined( 'WPBACKITUP_CONTENT_PATH' ) ) define( 'WPBACKITUP_CONTENT_PATH', dirname(dirname(dirname(dirname(__FILE__)))) .'/' );
19
+
20
  if( !defined( 'WPBACKITUP_URLPATH' ) ) define( 'WPBACKITUP_URLPATH', WP_PLUGIN_URL . "/" . plugin_basename( WPBACKITUP_DIRNAME ) );
21
 
22
  if( !defined( 'IS_AJAX_REQUEST' ) ) define( 'IS_AJAX_REQUEST', ( !empty( $_SERVER['HTTP_X_REQUESTED_WITH'] ) && strtolower( $_SERVER['HTTP_X_REQUESTED_WITH'] ) == 'xmlhttprequest' ) );
lib/functions.php CHANGED
@@ -29,14 +29,56 @@ if( !class_exists( 'EDD_SL_Plugin_Updater' ) ) {
29
  // retrieve our license key from the DB
30
  $license_key = trim( $this->get_option( 'license_key' ) );
31
 
32
- // setup the updater
33
- $edd_updater = new EDD_SL_Plugin_Updater( WPBACKITUP_SITE_URL, dirname ( dirname ( __FILE__) ) .'/index.php', array(
34
- 'version' => WPBACKITUP_VERSION, // current version number
35
- 'license' => $license_key, // license key (used get_option above to retrieve from DB)
36
- 'item_name' => WPBACKITUP_ITEM_NAME, // name of this plugin
37
- 'author' => 'John Peden' // author of this plugin
38
- )
39
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
  //load backup function
42
  function backup() {
@@ -120,7 +162,6 @@ if(!function_exists('db_backup')) {
120
 
121
  $handle = fopen($path .'db-backup.sql', 'w+');
122
 
123
-
124
  $path_sql = $path .'/db-backup.sql';
125
  $db_name = DB_NAME;
126
  $db_user = DB_USER;
@@ -134,6 +175,20 @@ if(!function_exists('db_backup')) {
134
  }
135
  }
136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  //Define the create_siteinfo function
138
  if(!function_exists('create_siteinfo')) {
139
  function create_siteinfo($path, $table_prefix) {
29
  // retrieve our license key from the DB
30
  $license_key = trim( $this->get_option( 'license_key' ) );
31
 
32
+ //define dbSize function
33
+ function dbSize($dbname) {
34
+ mysql_select_db($dbname);
35
+ $result = mysql_query("SHOW TABLE STATUS");
36
+ $dbsize = 0;
37
+ while($row = mysql_fetch_array($result)) {
38
+ $dbsize += $row["Data_length"] + $row["Index_length"];
39
+ }
40
+ return $dbsize;
41
+ }
42
+
43
+ //define formatFileSize function
44
+ function formatFileSize($bytes)
45
+ {
46
+ if ($bytes >= 1073741824)
47
+ {
48
+ $bytes = number_format($bytes / 1073741824, 2) . ' GB';
49
+ }
50
+ elseif ($bytes >= 1048576)
51
+ {
52
+ $bytes = number_format($bytes / 1048576, 2) . ' MB';
53
+ }
54
+ elseif ($bytes >= 1024)
55
+ {
56
+ $bytes = number_format($bytes / 1024, 2) . ' KB';
57
+ }
58
+ elseif ($bytes > 1)
59
+ {
60
+ $bytes = $bytes . ' bytes';
61
+ }
62
+ elseif ($bytes == 1)
63
+ {
64
+ $bytes = $bytes . ' byte';
65
+ }
66
+ else
67
+ {
68
+ $bytes = '0 bytes';
69
+ }
70
+
71
+ return $bytes;
72
+ }
73
+
74
+ //define dirSize function
75
+ function dirSize($directory) {
76
+ $size = 0;
77
+ foreach(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($directory)) as $file){
78
+ $size+=$file->getSize();
79
+ }
80
+ return $size;
81
+ }
82
 
83
  //load backup function
84
  function backup() {
162
 
163
  $handle = fopen($path .'db-backup.sql', 'w+');
164
 
 
165
  $path_sql = $path .'/db-backup.sql';
166
  $db_name = DB_NAME;
167
  $db_user = DB_USER;
175
  }
176
  }
177
 
178
+ //define dbDumpFileSize function
179
+ if(!function_exists('dbDumpFileSize')) {
180
+ function dbDumpFileSize($path) {
181
+ if(glob($path . "*.sql")) {
182
+ foreach (glob($path . "*.sql") as $db) {
183
+ $filesize = filesize($db);
184
+ }
185
+ }
186
+ if ($filesize > 1) {
187
+ return true;
188
+ }
189
+ }
190
+ }
191
+
192
  //Define the create_siteinfo function
193
  if(!function_exists('create_siteinfo')) {
194
  function create_siteinfo($path, $table_prefix) {
lib/includes/backup.php CHANGED
@@ -18,7 +18,6 @@ global $WPBackitup;
18
  //Define variables
19
  $backup_project_dirname = get_bloginfo('name') .'-Export-' .date('Y-m-d-Hi');
20
  $backup_project_path = WPBACKITUP_DIRNAME ."/backups/". $backup_project_dirname .'/';
21
- $wp_content_path = dirname(dirname(dirname(dirname(dirname(__FILE__))))) .'/';
22
 
23
  //create log file
24
  $log = WPBACKITUP_DIRNAME ."/logs/status.log";
@@ -53,7 +52,7 @@ if(!is_writeable(WPBACKITUP_DIRNAME ."/backups/")) {
53
  }
54
 
55
  //Backup with copy
56
- if(recursive_copy($wp_content_path, $backup_project_path, $ignore = array( 'cgi-bin','.','..','._',$backup_project_dirname,'backupbuddy_backups','*.zip','cache' ) ) ) {
57
  fwrite($fh, '<div class="backupfiles">1</div>');
58
  } else {
59
  fwrite($fh, '<div class="backupfiles">0</div>');
@@ -71,6 +70,14 @@ if( db_backup($backup_project_path) ) {
71
  die();
72
  }
73
 
 
 
 
 
 
 
 
 
74
  //Create siteinfo in project dir
75
  global $wpdb;
76
 
18
  //Define variables
19
  $backup_project_dirname = get_bloginfo('name') .'-Export-' .date('Y-m-d-Hi');
20
  $backup_project_path = WPBACKITUP_DIRNAME ."/backups/". $backup_project_dirname .'/';
 
21
 
22
  //create log file
23
  $log = WPBACKITUP_DIRNAME ."/logs/status.log";
52
  }
53
 
54
  //Backup with copy
55
+ if(recursive_copy(WPBACKITUP_CONTENT_PATH, $backup_project_path, $ignore = array( 'cgi-bin','.','..','._',$backup_project_dirname,'backupbuddy_backups','*.zip','cache' ) ) ) {
56
  fwrite($fh, '<div class="backupfiles">1</div>');
57
  } else {
58
  fwrite($fh, '<div class="backupfiles">0</div>');
70
  die();
71
  }
72
 
73
+ //Check DB filesize
74
+ if (!dbDumpFileSize($backup_project_path)) {
75
+ fwrite($fh, '<div class="backupdb">0</div>');
76
+ fwrite($fh, '<div class="error114">1</div>');
77
+ recursive_delete($backup_project_path);
78
+ die();
79
+ }
80
+
81
  //Create siteinfo in project dir
82
  global $wpdb;
83
 
logs/status.log CHANGED
@@ -1 +1 @@
1
- <div class="upload">1</div><div class="unzipping">1</div><div class="validation">1</div><div class="restore_point">1</div><div class="database">1</div><div class="wpcontent">1</div><div class="cleanup">1</div><div class="finalinfo">1</div>
1
+ <div class="prerequisites">1</div><div class="backupfiles">1</div><div class="backupdb">1</div><div class="infofile">1</div><div class="zipfile">1</div><div class="cleanup">1</div><div class="finalinfo">1</div>
readme.txt CHANGED
@@ -1,55 +1,31 @@
1
- === WordPress Backitup ===
2
  Contributors: jcpeden
3
  Donate link: http://www.wpbackitup.com
4
- Tags: wordpress backup plugin, backup wordpress, wordpress database backup
5
  Requires at least: 3.4.2
6
  Tested up to: 3.6.0
7
- Stable tag: 1.4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- A Wordpress backup plugin that allows you to backup a Wordpress site (including your Wordpress database) in just one click.
12
 
13
  == Description ==
14
 
15
- = Want to backup Wordpress? =
16
- Wordpress Backitup allows you to backup Wordpress (your entire Wordpress site and database) in just a single click. Wordpress Backitup creates a backup zip of your site&apos;s content and database and allows you to backup your Wordpress site right from the administration dashboard. You no longer need knowledge of FTP, MySQL or PHPMyAdmin.
 
17
 
18
- = How easy is it to backup a Wordpress site? =
19
- It should be easy to backup a Wordpress site, particularly your database but unfortunately unless you are familiar with the FTP, MySQL and/or PHPMyAdmin backing up your Wordpress site and its database can be quite a headache. As a result of it being difficult to backup Wordpress, many site owners just don't bother only to wish they had when their site is hacked or data is lost for some reason. Wordpress Backitup makes it easy to backup your site, just take a look at the video below.
20
 
21
- = Wordpress Backitup makes it easy to backup your Wordpress site and database =
22
- [youtube http://www.youtube.com/watch?v=o3RCzwLARSM]
23
 
24
- = What does Wordpress Backitup actually backup? =
25
- Wordpress Backitup creates a single, zipped backup of your entire site (minus Wordpress itself). This includes:
26
- * The Wordpress database
27
- * Wordpress plugins
28
- * Wordpress uploads
29
- * Wordpress themes
30
- * Anything else in your wp-content directory
31
 
32
- = How does Wordpress Backitup create a backup zip =
33
- Creating a backup of your Wordpress site is easy, straightforward and for most sites very fast. Once Wordpress Backitup has been installed and activated, simply navigate to the Wordpress Backitup administration tab. From there, click the backup button and a number of things will happen in the background:
34
-
35
- 1. Any existing backup zips created using Wordpress Backitup will be purged
36
- 1. The contents of your entire wp-content directory will be copied to the backup directory
37
- 1. A dump of your entire database will be copied to the backup directory
38
- 1. The backup directory will be zipped
39
- 1. A download link will be created and shown to you in the Wordpress Backitup administration window.
40
-
41
- = How can I restore a Wordpress backup created with Wordpress Backitup? =
42
- Need to restore a Wordpress site? Wordpress Backitup is definitely a great asset if you find yourself in this position. Assuming you've created a backup using Wordpress Backitup, you have two choices:
43
-
44
- 1. Restore manually
45
- 1. <a href="http://www.wpbackitup.com/plugins/wp-backitup-pro/" title="Buy a Wordpress Backitup Pro license">Buy a Wordpress Backitup Pro license</a> and use the built-in restore feature.
46
-
47
- = How to manually restore a Wordpress backup created with Wordpress Backitup =
48
- 1. Unzip the backup file
49
- 1. Using FTP, delete the contents of your target wp-content directory
50
- 1. Using FTP, upload the contents of your backup zip to the target site's wp-content directory
51
- 1. Using MySQL/PHPMyAdmin, empty your target site's database
52
- 1. Using MySQL/PHPMyAdmin, import the database dump from your backup zip into your target site.
53
 
54
  == Installation ==
55
 
@@ -57,31 +33,31 @@ Installation of the plugin is straightforward:
57
 
58
  1. Upload the plugin to your plugins directory via FTP or through the Wordpress dashboard.
59
  1. Activate the plugin.
60
- 1. A new menu called 'Wordpress Backitup' will be added to your toolbar.
61
- 1. Click 'Wordpress Backitup' to access the backup/restore interface.
62
 
63
  == Frequently Asked Questions ==
64
 
65
  = Can I manually restore my backup zips? =
66
- Sure! The backup zips generated by Wordpress Backitup contain a database dump and a copy of your wp-content directory. Simply upload your files and import your database.
67
 
68
  = Is there an easier way to restore my backup zips? =
69
- Yes, purchase and download <a href="http://www.wpbackitup.com/wp-backitup-pro/" title="Wordpress Backitup">Wordpress Backitup</a>. Once installed, you'll be able to restore you backup zips without FTP or MySQL.
70
 
71
  = Will the plugin work on shared hosting/sub domains/webhost xxx? =
72
  Yes.
73
 
74
- = Will Wordpress Backitup work on Windows hosting? =
75
  Yes.
76
 
77
  = Are you going to be makinggress bars both for backing up and restoring with this plugin? =
78
- It is likely this will feature in a new version of Wordpress Backitup.
79
 
80
  = Can this plugin back to Amazon S3? =
81
- This will feature in an upcoming version of Wordpress Backitup.
82
 
83
  = Is there an auto back up schedule feature? =
84
- It is likely this will feature in a new version of Wordpress Backitup.
85
 
86
  = Will the plugin work with Wordpres version x.x? =
87
  The plugin works on the latest release of WordPress and is updated to function with all new releases.
@@ -89,22 +65,22 @@ The plugin works on the latest release of WordPress and is updated to function w
89
  = Can this backup one version of WordPress to a different version? =
90
  No. It is absolutely critical that your WordPress versions are exactly the same.
91
 
92
- = Will Wordpress Backitup work on WordPress Multisite? =
93
- Wordpress Backitup cannot yet backup/restore entire networks but it is compatible with WPMS sites.
94
 
95
  = Does the plugin copy the database details as well? =
96
  Yes, a database dump is created with each backup.
97
 
98
  = Can I make a basic WordPress site, with all my desired plugins and settings, make a few pages, setup permalinks, remove all the default junk and load in a basic themplate? =
99
- Yes. Wordpress Backitup can be used to create a good starting point for any and all sites you work on.
100
 
101
- = Does Wordpress Backitup need to be installed? =
102
- Yes. You must install the Wordpress Backitup plugin on the site you wish to backup and the site you wish to restore to. Its just a simple plugin.
103
 
104
- = Does Wordpress Backitup backup plugins settings or just the plugins themselves? =
105
- Wordpress Backitup creates a database dump and a backup of all your themes, plugins and uploads.
106
 
107
- = Do you have any ideas about how large a blog is too big for Wordpress Backitup to handle? =
108
  I`ve tested up to 5 themes, 20 plugins and 100 posts/pages without any issues.
109
 
110
  = Do you do regularly update thisduct to match with WP version updates? =
@@ -117,6 +93,9 @@ Yes.
117
 
118
  == Changelog ==
119
 
 
 
 
120
  = 1.4.0 =
121
  Fixed status reporting for backup/restore process and built-in localization.
122
 
@@ -130,7 +109,7 @@ Major updates to improve plugin performance and stability.
130
  Minor updates to plugin functionality.
131
 
132
  = 1.2.0 =
133
- Brought versioning inline with Wordpress Backitup Lite. Fixed incorrecy message on restore interface. Fixed restorationcess.
134
 
135
  = 1.1.0 =
136
  Backup from mysqldump, restore from mysql command line, restore functionality from uploaded files, file size limit check according to server before uploads, setInterval termination after operation, status update as the task completes using XML.
@@ -160,13 +139,16 @@ Fixed the auto-update engine and license key activation system.
160
  Minor bugs patched for auto-update engine.
161
 
162
  = 1.0.1 =
163
- Wordpress Backitup integrated with licensing and auto-update engine.
164
 
165
  = 1.0.0 =
166
  Initial version of the plugin released.
167
 
168
  == Upgrade Notice ==
169
 
 
 
 
170
  = 1.4.0 =
171
  Recommended upgrade: Fixed status reporting for backup/restore process and built-in localization.
172
 
1
+ === WP Backitup ===
2
  Contributors: jcpeden
3
  Donate link: http://www.wpbackitup.com
4
+ Tags: backup wordpress, database backup, backup database, download database, backup and restore, restoring wordpress, restore wordpress, restore wordpress backup,
5
  Requires at least: 3.4.2
6
  Tested up to: 3.6.0
7
+ Stable tag: 1.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Create a backup zip of your content and settings with a single click that can be used to restore your site quickly and easily.
12
 
13
  == Description ==
14
 
15
+ = The Simple Way to Backup Your Site =
16
+ WP Backitup creates a backup zip of your site&apos;s content and configuration in just a single click,
17
+ right from your Wordpress dashboard. There is no need to FTP into your site and no knowledge of MySQL or PHPMyAdmin is required.
18
 
19
+ You can use your backup zip to restore your site or to clone a site&apos;s content and settings when setting up a new one.
 
20
 
21
+ = Automatically Restore Your Backup Zips =
22
+ Tired of messing around in PHPMyAdmin and with FTP trying to restore you backups? <a href="http://www.wpbackitup.com/wp-backitup-pro/" title="WP Backitup">WP Backitup Pro</a> offers all the features of <a href="http://wordpress.org/extend/plugins/wp-backitup/" title="WP Backitup Lite">WP Backitup</a> but allows you to import your backup zips in seconds, right from the Wordpress Dashboard.
23
 
24
+ = Easy To Install and Use =
25
+ Simply install the plugin directly to Wordpress and browse to the new menu 'WP Backitup'. From there, just follow the on-screen instructions and watch as WP Backitup creates a backup of you site's plugins, themes and uploads as well as you content and settings (including all custom widgets and settings for any additional plugins).
 
 
 
 
 
26
 
27
+ = More questions? =
28
+ Why not head over to the <a href="http://www.wpbackitup.com/" title="WP Backitup">WP Backitup site</a>?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  == Installation ==
31
 
33
 
34
  1. Upload the plugin to your plugins directory via FTP or through the Wordpress dashboard.
35
  1. Activate the plugin.
36
+ 1. A new menu called 'WP Backitup' will be added to your toolbar.
37
+ 1. Click 'WP Backitup' to access the backup/restore interface.
38
 
39
  == Frequently Asked Questions ==
40
 
41
  = Can I manually restore my backup zips? =
42
+ Sure! The backup zips generated by WP Backitup contain a database dump and a copy of your wp-content directory. Simply upload your files and import your database.
43
 
44
  = Is there an easier way to restore my backup zips? =
45
+ Yes, purchase and download <a href="http://www.wpbackitup.com/wp-backitup-pro/" title="WP Backitup">WP Backitup</a>. Once installed, you'll be able to restore you backup zips without FTP or MySQL.
46
 
47
  = Will the plugin work on shared hosting/sub domains/webhost xxx? =
48
  Yes.
49
 
50
+ = Will WP Backitup work on Windows hosting? =
51
  Yes.
52
 
53
  = Are you going to be makinggress bars both for backing up and restoring with this plugin? =
54
+ It is likely this will feature in a new version of WP Backitup.
55
 
56
  = Can this plugin back to Amazon S3? =
57
+ This will feature in an upcoming version of WP Backitup.
58
 
59
  = Is there an auto back up schedule feature? =
60
+ It is likely this will feature in a new version of WP Backitup.
61
 
62
  = Will the plugin work with Wordpres version x.x? =
63
  The plugin works on the latest release of WordPress and is updated to function with all new releases.
65
  = Can this backup one version of WordPress to a different version? =
66
  No. It is absolutely critical that your WordPress versions are exactly the same.
67
 
68
+ = Will WP Backitup work on WordPress Multisite? =
69
+ WP Backitup cannot yet backup/restore entire networks but it is compatible with WPMS sites.
70
 
71
  = Does the plugin copy the database details as well? =
72
  Yes, a database dump is created with each backup.
73
 
74
  = Can I make a basic WordPress site, with all my desired plugins and settings, make a few pages, setup permalinks, remove all the default junk and load in a basic themplate? =
75
+ Yes. WP Backitup can be used to create a good starting point for any and all sites you work on.
76
 
77
+ = Does WP Backitup need to be installed? =
78
+ Yes. You must install the WP Backitup plugin on the site you wish to backup and the site you wish to restore to. Its just a simple plugin.
79
 
80
+ = Does WP Backitup backup plugins settings or just the plugins themselves? =
81
+ WP Backitup creates a database dump and a backup of all your themes, plugins and uploads.
82
 
83
+ = Do you have any ideas about how large a blog is too big for WP Backitup to handle? =
84
  I`ve tested up to 5 themes, 20 plugins and 100 posts/pages without any issues.
85
 
86
  = Do you do regularly update thisduct to match with WP version updates? =
93
 
94
  == Changelog ==
95
 
96
+ = 1.4.1 =
97
+ Setup alert if DB is 0 bytes.
98
+
99
  = 1.4.0 =
100
  Fixed status reporting for backup/restore process and built-in localization.
101
 
109
  Minor updates to plugin functionality.
110
 
111
  = 1.2.0 =
112
+ Brought versioning inline with WP Backitup Lite. Fixed incorrecy message on restore interface. Fixed restorationcess.
113
 
114
  = 1.1.0 =
115
  Backup from mysqldump, restore from mysql command line, restore functionality from uploaded files, file size limit check according to server before uploads, setInterval termination after operation, status update as the task completes using XML.
139
  Minor bugs patched for auto-update engine.
140
 
141
  = 1.0.1 =
142
+ WP Backitup integrated with licensing and auto-update engine.
143
 
144
  = 1.0.0 =
145
  Initial version of the plugin released.
146
 
147
  == Upgrade Notice ==
148
 
149
+ = 1.4.1 =
150
+ Recommended upgrade: Backitup will now alert and halt if your database is 0 bytes on backup.
151
+
152
  = 1.4.0 =
153
  Recommended upgrade: Fixed status reporting for backup/restore process and built-in localization.
154
 
views/options.php CHANGED
@@ -57,6 +57,7 @@
57
  <li class="error102"><span class='status error'><?php _e('Error: Cannot create backup directory. Please check the CHMOD settings of your wp-backitup plugin directory', $namespace ); ?>.</span></li>
58
  <li class="error103"><span class='status error'><?php _e('Error: Unable to backup your files. Please try again', $namespace ); ?>.</span></li>
59
  <li class="error104"><span class='status error'><?php _e('Error: Unable to backup your database. Please try again', $namespace ); ?>.</span></li>
 
60
  <li class="error105"><span class='status error'><?php _e('Error: Unable to create site information file. Please try again', $namespace ); ?>.</span></li>
61
  <li class="error106"><span class='status error'><?php _e('Warning: Unable to cleanup your backup directory', $namespace ); ?>.</span></li>
62
  </ul>
57
  <li class="error102"><span class='status error'><?php _e('Error: Cannot create backup directory. Please check the CHMOD settings of your wp-backitup plugin directory', $namespace ); ?>.</span></li>
58
  <li class="error103"><span class='status error'><?php _e('Error: Unable to backup your files. Please try again', $namespace ); ?>.</span></li>
59
  <li class="error104"><span class='status error'><?php _e('Error: Unable to backup your database. Please try again', $namespace ); ?>.</span></li>
60
+ <li class="error114"><span class='status error'><?php _e('Error: Your database was accesible but a dump could not be created. Please contact support by clicking the link on the right, stating your web host when you submit the form.', $namespace ); ?>.</span></li>
61
  <li class="error105"><span class='status error'><?php _e('Error: Unable to create site information file. Please try again', $namespace ); ?>.</span></li>
62
  <li class="error106"><span class='status error'><?php _e('Warning: Unable to cleanup your backup directory', $namespace ); ?>.</span></li>
63
  </ul>