=== WP Database Backup ===
Contributors: walkeprashant
Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=387BZU5UNQ4LA	
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Database backup,db backup, backup,database, WordPress Database Backup, WP db backup,wp database backup,wp backup,wordpress backup, mysql backup,automatically database backup,website backup,website database backup,restore database backup,Store database backup on dropbox,backup on google drive,backup on amazon s3,ftp,email notification.
Requires at least: 3.1+
Tested up to: 4.9.1
Stable tag: trunk

Create & Restore Database Backup easily on single click. Manual or automated backups (backup to Dropbox,Google drive,Amazon s3,FTP,Email).

== Description ==

= Pro Version =
<a target="_blank" href="http://www.wpallbackup.com">http://wpallbackup.com/</a>

WP Database Backup plugin helps you to create Database Backup and Restore Database Backup easily on single click.Manual or Automated Database Backups And also store database backup on safe place- Dropbox,FTP,Email,Google drive, Amazon S3

= Features =
<ul>
<li>Create Database Backup
WP Database Backup plugin helps you to create Database Backup easily on single click.</li>

<li>Autobackup
Backup automatically on a repeating <strong>schedule</strong></li>

<li>Download backup file direct from your WordPress dashboard</li>

<li>Easy To Install(Very easy to use)
WP Database Backup is super easy to install. </li>

<li>Simple to configure(very less configuration), less than a minute.</li>

<li>Restore Database Backup
WP Database Backup plugin helps you to Restore Database Backup easily on single click.</li>
<li>Multiple storage destinations</li>
<li>Store database backup on safe place- <strong> Dropbox,Google drive,Amazon s3,FTP,Email</strong></li>
<li>Reporting- Sends emailed backups and backup reports to any email addresses</li>
<li><strong>Exclude Table</strong></li>
<li>Database backup list pagination</li>
<li>Search backup from list(Date/ Database Size)</li>
<li>Sort backup list (Date/ Database Size)</li>
<li>Save database backup file in zip format on local server And Send database backup file to destination in zip format</li>
<li>Documentation</li>
</ul>

= Few of the Key Features =

<ul>
<li>Database Backup easily on single click.</li>
<li>Autobackup.</li>
<li>Restore Database Backup easily on single click.</li>
<li>Store database backup on safe place- Dropbox,Google drive,Amazon s3,FTP,Email.</li>
<li>Pagination.</li>
<li>Search and sort database backup feature.</li>
<li>Documentation</li>
</ul>

= Get Pro 'WP All Backup' Plugin =
* http://wpallbackup.com/

<p>WP All Backup will backup and restore your entire site at will, complete with FTP &amp; S3 integration</p>
<h2><strong>Pro Features</strong></h2>
<ul>
<li class="col-md-3"><strong>Complete Backup</strong></li>
<li>Create Database Backup easily on single click. </li>
<li><strong>Autobackup </strong>Backup automatically on a repeating schedule</li> 
<li>Backup Listing : Pagination.</li>
<li>Manual backup</li> 
<li>Multisite compatible</li> 
<li>Backup entire site</li>
<li>Exclude specific folders and files</li> 
<li>Downloadable log files</li> 
<li>Simple one-click <strong>restore</strong></li> 
<li>Set number of backups to store</li>
<li>Automatically remove oldest backup</li>
<li>Multiple storage destinations</li>
<li><strong>FTP integration</strong></li>
<li><strong>Dropbox integration</strong></li> 
<li><strong>Google drive integration</strong></li> 
<li><strong>Amazon s3 integration</strong></li> 
<li><strong>Email Notification</strong></li>
<li>Reporting- Sends emailed backups and backup reports to any email addresses</li>
<li>ZipArchive</li>
<li>Backup zip labeled with the site name(Help when backing up multiple sites).</li>
<li>Select Backup Type: Only Database,Only Files, Complete Backup</li>
<li>Inline Help</li>
<li>Search backup from list(Date/Size)</li>
<li>Sort backup list (Date/Size)</li>
<li>Easy To Install(Very easy to use)</li>
<li>Simple to configure(very less configuration).</li>
<li>PclZip</li>
<li><strong>Clone Site</strong></li>
<li><strong>Move Site</strong></li>
<li>Change Backup folder name</li>
<li>Uses zip and mysqldump for faster back ups if they are available.</li>
<li>Exclude Tables from your back ups.</li>
<li>System Check (i.e backup folder permission, execution time etc)</li>
<li>Disk space checkup(memory available).</li>
<li><strong>Support</strong></li>
<li>Updates</li>
<li>And More....</li>
</ul>

= Pro Version =
* <a target="_blank" href="http://wpallbackup.com/">http://wpallbackup.com/</a>

= Documentation =
* <a target="_blank" href="http://wpallbackup.com/documentation">http://wpallbackup.com/documentation</a>

= Support =
* <a target="_blank" href="http://wpallbackup.com/support">http://wpallbackup.com/support/</a>

== Installation ==
1. Download the plugin file, unzip and place it in your wp-content/plugins/ folder. You can alternatively upload it via the WordPress plugin backend.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. WP Database Backup menu will appear in Dashboard->Tool->WP-DB-Backup. Click on it & get started to use.

= Refer bellow link for more information =

* http://wpallbackup.com/documentation

[youtube https://www.youtube.com/watch?v=st8L90lTDwU]

== Screenshots ==

1. screenshot-1.png
2. screenshot-2.png
3. screenshot-3.png
4. screenshot-4.png

== Changelog ==

= 1.0.0 = 
*Plugin Created

= 2.0 = 
* Restore Database Backup on singe click
* Change look and feel

= 2.1 = 
* Store Database Backup FTP,Dropbox,Email
* Email Notification
* fixed bug: Warning: Illegal offset type in /wp-admin/includes/template.php
* Fixed bug: Warning: Illegal string offset 'enable_autobackups

= 2.1.1 = 
* Fixed bug: Conflict issue with Disqus Comments System, NextGen Gallery etc.

= 2.1.2 = 
* Fixed Dropbox issue ( it saves me a "backup" that weight 0KB.)

= 2.1.3 = 
* Fixed Vulnerability

= 2.2 = 
* Added new Feature
* Database backup list pagination
* Search backup (Date/ Database Size)
* Sort backup list (Date/ Database Size)

= 2.3 = 
* Added new tab- Database information.
* Include random number in the file name(Improve security).
* Added .htaccess file in db-backup directory for prevent database dump listing(Improve security).

= 2.4 = 
* Added Hourly Auto Database Backup Frequency
* Added Advance Feature Tab.

= 3.0 = 
* Added log message.
* Send database backup to destination in zip format.
* Download database backup file in zip format.
* Resoled Database information tab issue.

= 3.1 = 
<br>Added Support and Documantation link in help section.
<br>Resolved .htasses file issue(remove create .htasses file code).

= 3.2 = 
* Added Setting Tab.
* Added Feature:Minimum number of Local Database Backups(Setting Tab).
* Added Feature:Enable Error Log(Setting Tab).
* Resolved Error: Undefined index: page 
* Changes in Email Notification template.

= 3.3 = 
<br>New Feature : Save database backup file in zip format on local server.

= 3.4 = 
* Improve security(CSRF protection): Validate that the contents of the form request came from the current site and not somewhere else.

= 3.5 = 
* Backup zip labeled with the site name(Help when backing up multiple sites).
* Changes in Email Notification template.

= 3.6 = 
* Exclude Tables.
* Add drop down button for Quick setting view, Update notifications

= 3.7 =
* Removed PHP warnings
* For more info visit : http://www.wpseeds.com/blog/release-new-version-3-7-wp-database-backup/

= 3.8 = 
* 03-12-2015
* Added Twice Daily Auto Database Backup Frequency
* Resolved bug :Warning: Cannot modify header information(FTP)

= 3.9 = 
* 06-03-2016
* Uses mysqldump for faster back ups if they are available.

= 3.9.1 = 
<br>19-03-2016
<br>Resolved issue : The website is built under a directory i.e. www.xyz.com/demo

= 3.9.2 = 
* 14-04-2016
* Compatible wordpress version 4.5 : Depricated function : mysql_real_escape_string. use _real_escape insted mysql_real_escape_string
* Resolved issue : PHP Strict Standards:  mktime(). use the time() function instead mktime().

= 3.9.3 = 
* 24-04-2016
* Added New Tab : System Check (i.e backup folder permission, execution time etc)

= 3.9.4 = 
* 28-04-2016
* Added : Disk space checkup(memory available). 

= 4.0 = 
* 04-05-2016
* Resolved : time out error. 
* Resolved : undefined function ftp_connect error.
* Changed  : look and feel.

= 4.1 = 
* 20-06-2016
* Added New Feature : Google drive integration.
* Changes in email notification template
* Add new Tab : Subscribe

= 4.2 = 
* 24-06-2016
* Added New Feature : Amazon s3 integration.
* Fixed Vulnerability : prevent direct download

= 4.3 = 
* 07-07-2016
* Fixed Amazon s3 collapse tab issue
* Added documentation links in Help tab

= 4.3.1 = 
* 01-08-2016
* Fixed CSRF and XSS vuln issue 

= 4.3.2 = 
* 02-08-2016
* resolved urgent bug

= 4.3.3 = 
* 04-08-2016
* Fixed CSRF and XSS vuln issue (suggestion by Chen Ruiqi)

= 4.3.4 = 
* 09-09-2016
* Add Option Clear all old/temp database backup files (resolve isssue for low disk space):

= 4.3.5 = 
* 20-10-2016
* Add Option Enable/Disable destination.

= 4.3.6 = 
* 21-10-2016
* Fixed CSRF vulnerabilities issue (suggestion by Tristan)

= 4.3.7 = 
* 06-12-2016
* Changed label Minimum Local Backups to Maximum Local Backups in Setting Tab

= 4.3.8 = 
* 01-06-2017
* Changed icon 

= 4.4 = 
* 02-08-2017
* Added Setting : Remove local backup 
* If Checked then it will remove local backup. 

= 4.4.1 = 
* 29-08-2017
* If Class ZipArchive Not Present then create zip using PclZip

= 4.4.2 = 
* 20-09-2017
* Fixed UI log popover display issue

= 4.5 =
* 27-09-2017
* Migrated to Dropbox API V2
* Dropbox API v1 shutdown - 28-09-2017

= 4.5.1 =
* 28-09-2017
* Fixed issue : Update caused fatal error: Can’t return function value Dropbox_upload.php

= 4.5.2 =
* 26-10-2017
* Changed : Email(Destination) subject for identify domains.

= 4.5.3 =
* 08-01-2018
* Changed documentation/help url

= 4.5.4 =
* 08-01-2018
* Fixed uergent bug ticket #2680

= 4.5.5 =
* 08-03-2018
* Add Setting -Enable/Disable .htaccess File In Storage Directory

= 4.5.6 =
* 23-03-2018
* Added : display destination icon in backup list
* UI Changes

= 4.6 =
* 16-05-2018
* Lightweight - Remove unwanted file
* UI Changes

== Frequently Asked Questions ==

 Q-How to  create database Backup?
 <br>Follow the steps listed below to Create Database Backup

 <br>Create Backup:
  <br>1) Click on Create New Database Backup
  <br>2) Download Database Backup file.

 Q-How to restore database backup?
  <br>Restore Backup:
  <br>Click on Restore Database Backup
  <br>OR
  <br>1)Login to phpMyAdmin
  <br>2)Click Databases and select the database that you will be importing your data into.
  <br>3)Across the top of the screen will be a row of tabs. Click the Import tab.
  <br>4)On the next screen will be a location of text file box, and next to that a button named Browse.
  <br>5)Click Browse. Locate the backup file stored on your computer.
  <br>6)Click the Go button

 Q-Always get an empty (0 bits) backup file?
 <br>Ans-This is generally caused by an access denied problem.
 <br>You don't have permission to write in the wp-content/uploads.
 <br>Please check if you have the read write permission on the folder.

Q.On Click Create New Database Backup it goes to blank page.
<br>Ans: if the site is very large, it takes time to create the database backup. And if the server execution time is set to low value, you get go to blank page.
There may be chance your server max execution time is 30 second. Please check debug log file.
You will need to ask your hosting services to increase the execution time and the plugin will work fine for large data.
You can also try to increase execution time. Please make below changes – Add below line

php.ini

max_execution_time = 180 ;

Also Please make sure that you have write permission to Backup folder and also check your log file.

 Q.want more features?
 <br>If you want more feature then
 Drop Mail :walke.prashant28@gmail.com
 Pro Features : http://wpallbackup.com/

* http://wpallbackup.com/documentation

== Upgrade Notice ==
* Lightweight - Remove unwanted file

== Official Site ==
* http://www.wpseeds.com/documentation/docs/wp-database-backup
* http://www.wpseeds.com/wp-database-backup/
* http://www.wpseeds.com/product/wp-all-backup/
* http://wpallbackup.com/
* http://walkeprashant.wordpress.com/wp-database-backup/
* http://walkeprashant.in
* walke.prashant28@gmail.com