=== Webdeyeral Backup Manager ===
Contributors: webdeyeral
Tags: backup, migration, restore, clone, duplicate
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.3.14
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Full-site backup to one file, one-click restore and site migration with automatic URL and path replacement.

== Description ==

Webdeyeral Backup Manager backs up your whole site (database and wp-content) into a single `.wdyb` file. You can keep the file on your server or download it. The same file restores the site or moves it to another domain.

= Features =

* Backs up the database and the whole wp-content folder into one .wdyb file.
* Optional AES-256 password encryption and GZip compression.
* Export options: exclude spam comments, revisions, the database, selected tables, media, themes, inactive themes, must-use plugins, plugins, inactive plugins, cache files and selected files/folders.
* Import from a file (chunked upload) or from a backup stored on the server.
* Migration: the old site address, server paths and table prefix are replaced automatically; serialized data stays valid.
* Large sites are processed in short steps, so PHP time limits are not hit.
* Shows the free disk space on the server and whether a backup fits.
* E-mail notifications.
* WP-CLI commands: `wp wdyb backup`, `wp wdyb restore`, `wp wdyb list`.
* English and Turkish.

= This plugin and WP Backup Manager Pro =

This plugin creates backups of any size and imports backups up to 500 MB. WP Backup Manager Pro, a separate paid add-on, removes the import limit and adds automatic (hourly, daily, weekly or monthly) backups and Google Drive: back up to Drive, import from Drive and send automatic backups to Drive. Pro is sold at https://webdeyeral.com/urunler/backup-manager-pro/ and is not needed for anything this plugin does.

= Where backups are stored =

Local backups, logs and temporary files are kept in `wp-content/wdyb-storage/`. The folder is protected from direct web access with `.htaccess`, `web.config` and `index.php` files. On Nginx servers, add a rule that denies access to this folder.

== External services ==

= Feedback form (e-mail) =

The "Send feedback" box on the plugin screens sends your message by e-mail to bilgi@webdeyeral.net, only when you click "Send" and tick the consent box. It is sent with this site's own mail setup (wp_mail(), so an installed SMTP plugin is used). Sent data: your message, the e-mail address you enter, the site address and the WordPress, PHP and plugin versions. Privacy Policy: https://webdeyeral.com/gizlilik-politikamiz/

= Webdeyeral product list (webdeyeral.com) =

The "Webdeyeral Plugins" box under the plugin screens shows Webdeyeral's released and upcoming plugins from a list that ships with the plugin. No request is made to show it.

* Opt in to the current list: add_filter( 'webdeyeral_urunler_remote', '__return_true' );
* Then the plugin reads https://webdeyeral.com/wp-json/webdeyeral/v1/urunler at most twice a day when an administrator opens a plugin screen. It is a plain GET request with no site data in it (as with any web request, webdeyeral.com sees your server's IP address and WordPress's standard user agent).
* Privacy Policy: https://webdeyeral.com/gizlilik-politikamiz/

No other data leaves your site. The plugin does not connect to Google; Google Drive is only in WP Backup Manager Pro.

== Installation ==

1. Install the plugin from Plugins → Add New (search for "Webdeyeral Backup Manager"), or upload the zip in Plugins → Add New → Upload Plugin.
2. Activate it.
3. Open Webdeyeral → WP Backup Manager to create your first backup.

== Frequently Asked Questions ==

= Can I move my site to a new domain? =

Yes. Create a backup on the old site, install the plugin on the new site and import the file. The old address, server paths and table prefix are replaced automatically.

= Is there a size limit? =

Backups have no size limit. The free version imports backups up to 500 MB; to import a larger backup, exclude media or other content when you create it, or use WP Backup Manager Pro, which has no import limit. Files are uploaded to your server in small chunks, so the PHP upload limit does not apply, and long jobs run in short steps, so the PHP time limit does not apply either. Free disk space on the server is still needed: the Back Up and Import screens show how much is free and warn when a backup or import would not fit.

= Where are Google Drive and automatic backups? =

Google Drive and automatic (scheduled) backups are part of WP Backup Manager Pro, a separate add-on. Your existing backups are not touched.

= I forgot the backup password. =

An encrypted backup cannot be restored without its password. There is no way to recover it.

= Is the backup file kept after an import? =

No. When an import (restore) finishes successfully, the backup file that was used is removed from the server. If the import fails, the file is kept so you can try again.

= Does uninstalling the plugin delete my backups? =

No. Uninstalling removes the plugin settings. Backup files in `wp-content/wdyb-storage/` are kept; delete them yourself if you do not need them.

== Screenshots ==

1. Back up screen with the advanced options and server disk space.
2. Import screen: restore from a file or a backup on the server.
3. Backups stored on the server.
4. Settings.

== Changelog ==

= 2.3.14 =
* When a backup or restore (import) finishes, the result dialog now shows how long it took together with the average speed (Mbit/s).

= 2.3.13 =
* New Webdeyeral menu in the left admin menu: all installed Webdeyeral plugins are listed in one menu, in alphabetical order and with icons, instead of under Tools, Appearance, Media or WooCommerce. Pro and Agency licenses show a green Pro / Agency pill next to the name. The menu also has All Products (all our products, installed or not) and Settings (hide the Webdeyeral shortcut in the toolbar). Old page addresses redirect to the new place.

= 2.3.12 =
* Fix: When the server answers with a web page instead of the plugin's response (a parked or expired domain, a firewall, maintenance mode), a readable error is shown instead of raw CSS/HTML.
* The progress bar now moves smoothly while the archive is created, the database is exported or imported and files are restored, instead of jumping every few seconds.
* A large green thumbs-up icon now appears in the dialog when a backup or restore finishes.

= 2.3.11 =
* The Agency feedback form was renewed: a topic choice (Bug Report, Suggestion, Question), three guided fields for bugs (What did you do, What did you expect, What happened), the related screen picked automatically and an optional screenshot. An optional "Add Technical Details" box adds versions, server limits, the active theme and plugins, the settings without secrets and this plugin's last error lines; "What will be sent?" shows the full text before sending. Passwords, keys, the full license key, customer data and IP addresses are never sent. The consent text now states the purpose, the retention period and links to the Privacy Policy.

= 2.3.10 =
* The Agency Feedback menu item moved to the bottom of the side menu, below the divider line together with License and About Us (it used to sit inside the Automation and Settings group).

= 2.3.9 =
* New panel layout: text size buttons, plan badge and License button in the top bar; full-width screens with two card columns on wide screens.
* Settings search in the grouped side menu, with green dots for features that are on.
* Sticky save bar on Settings and Schedule: saves without reloading, shows a "Saved" message and warns about unsaved changes.
* New About Us screen; the products panel under every screen became a one-line link (Pro can hide it).
* Agency feedback form moved to its own menu item.
* Tools → WP Backup Manager opens the screen you used last.

= 2.3.8 =
* All screens now use the Webdeyeral design language: cards with header strips, 36 px fields, tidier buttons, dark check boxes and segmented controls, and pink main actions. Advanced Options are grouped into Security, Database and Files boxes; settings fields sit in two columns.
* Fix: the Turkish translation is now loaded on WordPress versions older than 6.5 too.

= 2.3.7 =
* The plugin now lives under Tools → WP Backup Manager instead of its own item in the left admin menu. Its other pages open from the plugin's side menu and the Webdeyeral toolbar menu; old page addresses keep working.

= 2.3.6 =
* Removed the "Do not export inactive themes" option. With a child theme it could leave the parent theme out of the backup; all themes are now always included.

= 2.3.5 =
* The feedback form is now shown only while an Agency license is active; its title badge now says Agency.

= 2.3.4 =
* Backups no longer have a size limit in the free version. Importing is still limited to 500 MB; WP Backup Manager Pro removes that limit.

= 2.3.3 =
* The "View Product" links in the Webdeyeral Plugins panel are now yellow, so they are easier to read.

= 2.3.2 =
* New admin layout: the sections are now in a vertical menu on the left, each with its icon and name, and the chosen section opens on the right. The menu and the product bar on top stay in place while the page scrolls, and License is always the last item. Section boxes get a soft shadow on hover.

= 2.3.1 =
* A green Pro badge next to the feedback form title shows that the form is part of Pro.

= 2.3.0 =
* The feedback form is now shown only while a Pro license is active, with a new description.
* When several Webdeyeral plugins are installed, the Webdeyeral Plugins panel always uses the newest copy, so an outdated plugin can no longer bring back the old look.

= 2.2.9 =
* The Webdeyeral Plugins panel has a new look: dark background, two columns, each product with its image, name, description and product link. Images are hidden on phones.

= 2.2.8 =
* The WP Backup Manager toolbar link moved, in blue, under the shared pink "Webdeyeral" menu together with the other Webdeyeral plugins.
* The Webdeyeral Plugins panel lists all four products, WP Disable Helper included.

= 2.2.7 =
* Deleting the plugin no longer removes your settings while WP Backup Manager Pro or another copy of this plugin is still installed.

= 2.2.6 =
* The notice on the Plugins screen now says "the free version of this plugin" instead of "the earlier copy".

= 2.2.5 =
* The "earlier copy was turned off" message now appears only on the Plugins screen and this plugin's own pages, and can be closed with "Hide this message".

= 2.2.4 =
* New: "wdyb_tabs" filter and "wdyb_page_{page}" action, so add-ons can add their own tab and page in the plugin's layout.

= 2.2.3 =
* The message about the turned-off earlier copy is now translated into Turkish.

= 2.2.2 =
* The admin menu and toolbar item are now called "Backup Manager", so the menu fits on one line.

= 2.2.1 =
* The Webdeyeral Plugins box lists only released plugins.

= 2.2.0 =
* First release on WordPress.org, under the name Webdeyeral Backup Manager and the folder "webdeyeral-backup-manager". Updates now come from WordPress.org.
* New: the advanced backup options (password, compression, exclusions) are now included for everyone.
* A copy installed earlier from webdeyeral.com in the "wp-backup-manager" folder is turned off automatically; settings, backups and the schedule are kept.
* The Webdeyeral Plugins box uses the list that ships with the plugin and makes no outside request by default.

= 2.1.2 =
* New: "Get Pro" link on the Plugins screen while Pro is not active.

= 2.1.1 =
* WordPress.org may one day have an unrelated plugin in the same folder. The plugin now tells WordPress (Update URI) that it does not come from WordPress.org and ignores any WordPress.org update offered for its folder, so it is never replaced by another plugin.

= 2.1.0 =
* The plugin now lives in the "wp-backup-manager" folder (before: "webdeyeral-backup-manager"). When you install it next to the old copy, the old copy is turned off and your settings, backups and schedule are kept. You can then delete the old copy from the Plugins screen.
* Notices of other plugins and the theme are no longer shown on the plugin's own pages.

= 2.0.2 =
* The "Visit plugin site" link on the Plugins page opens the WP Backup Manager product page in the Webdeyeral store.

= 2.0.1 =
* The plugin is now called WP Backup Manager (Pro: WP Backup Manager Pro). Settings and backups are not changed.
* Webdeyeral Plugins box: 112 Hızır Acil is now called WP Emergency Kit.
* On narrow screens the top menu tabs move to a second row instead of running under the Google Drive button.

= 2.0.0 =
* The plugin now comes in two editions. The free version keeps backups, import and migration on the server, for backups up to 500 MB.
* Google Drive and automatic (scheduled) backups moved to WP Backup Manager Pro, which also removes the size limit. The free version no longer connects to Google or to the Webdeyeral connection bridge.
* Webdeyeral Plugins box: Login URL Changer and Custom Login Page are now one plugin, Custom Login Page.
* The Back Up and Import screens show the size limit and stop a backup or upload that is over it.
* Advanced options (password, compression, exclusions) are part of WP Backup Manager Pro. The free version shows them but backs up everything with the default settings.
* Backups and imports stop while an update of this plugin (or of WP Backup Manager Pro) is waiting, until it is installed.

= 1.16.1 =
* Webdeyeral Plugins box: comments, updates, notices and classic editor plugins are now one plugin, Disabler. The 112 Hızır Acil link opens its product page.

= 1.16.0 =
* The "Upcoming Plugins" box became "Webdeyeral Plugins": released products and upcoming plugins with new descriptions. The list is kept up to date from webdeyeral.com.

= 1.15.1 =
* The Google Drive site folder name no longer starts with "www.". Backups in an old "www." folder are moved to the new one.

= 1.15.0 =
* The Export and Import screens show the free disk space on the server and an estimate of the backup size.
* Backups and imports do not start when there is not enough free space.
* Removed the "Find & replace in the database" export option (the site address and paths are still replaced automatically on import).

= 1.13.0 =
* When an import (restore) is complete, the backup file that was used is removed from the server.

= 1.12.0 =
* Google Drive access level is chosen with cards: "Domain only access" and "Full Google Drive access".
* New "Coming soon" panel with upcoming Webdeyeral plugins.
* New feedback form; messages are sent by e-mail through the site's own mail setup (SMTP plugin if installed).

= 1.11.0 =
* Prepared for the WordPress.org plugin directory: the connection bridge server code is no longer part of the plugin (it runs separately on webdeyeral.com).
* Security and coding-standard improvements: nonce checks, output escaping, translator comments.

= 1.10.1 =
* Header tabs show icons only (name on hover).

= 1.10.0 =
* New "Changelog" screen (opened from the version number in the header, which shows "New" after an update).
* Author name corrected to "Webdeyeral".

= 1.9.0 =
* New "Visible backups" setting (also offered on the connect screen): show every site's Drive backups or only this site's.

= 1.7.0 =
* Restore now mirrors wp-content: files that are not in the backup are removed (only in the areas the backup covered).

= 1.6.0 =
* Google Drive always connects with one click.
* A Drive token Google rejects is forgotten automatically, so the Connect button shows again.
* Post-migration clean-up on the first page load: permalinks/.htaccess, Elementor CSS, cache plugins, transients, object cache.
* Migration also replaces the www / non-www variant of the old address.

= 1.4.0 =
* Folder or list view for Google Drive sites.

= 1.2.0 =
* Each site's Drive backups go into their own subfolder ("WordPress Backups/example.com").

= 1.0.0 =
* First release.

== Upgrade Notice ==

= 2.0.0 =
Google Drive and automatic backups moved to WP Backup Manager Pro. Install Pro to keep using them.


= 1.16.0 =
Renewed Webdeyeral Plugins box with released and upcoming plugins.

= 1.15.0 =
Shows free disk space and stops a backup or import that would not fit.

= 1.13.0 =
The backup file used for an import is now removed from the server after a successful restore.

= 1.12.0 =
New Google Drive access level cards, feedback form and "Coming soon" panel. Google Drive stays connected.
