=== Migvora ===
Contributors: softwarencoder
Tags: backup, migration, restore, clone, move
Requires at least: 5.9
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.11.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Back up your whole site in one click, move it to a new domain or server and restore it in minutes. Domains are replaced automatically.

== Description ==

**Migvora** backs up your entire WordPress site – database, media, themes, plugins and language files – into a single portable `.migvora` file. Import that file on any WordPress site (even a brand-new one) and Migvora puts everything back, replaces the old domain with the new one and refreshes permalinks. No FTP, no phpMyAdmin, no search-replace scripts.

= Why Migvora? =

* **One-click full backup** – database + files, or database only / files only.
* **Smart domain replacement** – `http` → `https`, `www`, sub-folders and a different table prefix are handled automatically. Serialized and JSON data stay intact, and domains inside file names are left alone.
* **Safe by design** – the import goes into temporary tables and is switched live in one atomic step at the very end. A restore point is created first, and "Undo last import" takes you back in one click.
* **Built for big sites** – work runs in small chunks, so it never hits the PHP time limit. Close the tab and it carries on where it stopped.
* **Maintenance mode** – visitors see a clean maintenance page while an import runs.
* **Size and time estimate** before you start, plus folder and table exclusions.
* **Large downloads** – multi-gigabyte backups download reliably (resumable links).
* **System check** – PHP limits, disk space, cron, LiteSpeed and nginx settings on one screen, with one-click fixes.
* **Turkish and English interface** – switch the language right in the plugin header.

= Free version =

Everything in this plugin is free and works without an account or a license: full and partial restore, encrypted (AES-256) backups and imports of any size. Backups are taken manually and kept on your server.

= Migvora Premium =

[Migvora Premium](https://migvora.tr) is a separate add-on plugin, sold outside WordPress.org, for site owners and agencies that need more:

* Direct site-to-site transfer (no download and re-upload)
* Google Drive, Amazon S3 / Cloudflare R2 / S3-compatible storage and FTP/SFTP
* Scheduled backups and automatic backups before updates
* E-mail and Telegram notifications
* Shareable download links

Premium is not required for anything the free version does.

== Installation ==

1. Go to **Plugins → Add New**, search for **Migvora** and click **Install Now**, then **Activate**.
2. Open **Migvora** in the admin menu.
3. **Create Backup** → choose what to include → **Start**. Download the `.migvora` file when it is done.
4. On the new site: install Migvora, go to **Import**, upload the file and follow the steps.

Very large backup files can also be copied into `wp-content/wpsfm-storage/backups/` by FTP/SSH; they then appear on the Import page.

== Frequently Asked Questions ==

= Is there a size limit? =

No. Creating and importing backups has no size limit in Migvora. Only your server's disk space and PHP settings matter; work runs in small chunks, and very large files can be copied into the backups folder by FTP/SSH.

= Why is there a migvora-memory.php file in mu-plugins? =

Migvora versions 2.11.2 to 2.11.4 could add this small file to raise the PHP memory limit of migrated sites. Current versions never add or copy any file to mu-plugins. If the file is still on your site, you can remove it on Migvora → System ("Remove Memory File") or simply delete it. To raise the memory limit, use your hosting panel (php.ini / PHP settings); the System page shows the lines to use.

= Will my site break if an import fails? =

No. The backup is imported into temporary tables and only switched live in a single atomic `RENAME TABLE` at the very end. Any failure before that leaves the site as it was. A restore point is created before every import.

= Does it change links when I move to a new domain? =

Yes. Old addresses (http, https, www, sub-folders) are replaced with the new ones in every table, including serialized and JSON data. Permalinks and `.htaccess` are refreshed after the import.

= Where are backups stored? =

In `wp-content/wpsfm-storage/backups/`, outside the plugin folder, so updating or removing the plugin never deletes them. The folder is protected from direct web access (`.htaccess`, `web.config`, random file names for nginx).

= Why do I have to log in again after an import? =

The database – including users – now comes from the backup. Log in with the username and password of the site the backup was taken from.

= Does it support Multisite? =

Not yet. Single-site installations are fully supported.

= Which servers does it work on? =

Any server with PHP 7.4 or later: cPanel, Plesk, CloudPanel, DirectAdmin, LiteSpeed, nginx and Apache. The System page shows possible problems and fixes most of them in one click.

= Does the free version connect to external services? =

No. The free version does not send any data anywhere; backups stay on your server. It only contains links to migvora.tr (plans and documentation). Premium features that use third-party services (Google Drive, Amazon S3, Telegram, the license server) are part of the separate Migvora Premium plugin and are documented there.

== Screenshots ==

1. Dashboard – backups, schedule and system status at a glance.
2. Create Backup – choose what to include and see the size and time estimate.
3. Import – upload a backup and follow the progress step by step.
4. Backups – download, restore or delete backups.
5. System check – server limits and one-click fixes.

== Changelog ==

= 2.11.5 =
* The optional memory booster was removed: Migvora no longer adds or copies any file to wp-content/mu-plugins. A file left there by versions 2.11.2–2.11.4 can be removed on Migvora → System.
* Removed an unnecessary include of wp-admin/includes/misc.php on the System page.

= 2.11.4 =
* The memory booster (wp-content/mu-plugins/migvora-memory.php) is no longer added automatically after an import. It is a complete file shipped with the plugin (mu-loader/) and is copied only when an administrator clicks "Install Memory Booster" on Migvora → System, after an explanation. It can be removed with one click.

= 2.11.3 =
* Fix: the Logs page used str_contains() (PHP 8 only) and failed on PHP 7.4.
* Settings: only the known, sanitized cloud destination fields are passed to the migvora_save_settings hook (no raw $_POST).

= 2.11.2 =
* Fix: imports stopped at "Domain / path replacement" with "Invalid utf8mb4 character string" on sites with binary columns (for example Wordfence's wffilemods table).
* After an import, if the new server's PHP memory_limit is below 1024M, Migvora adds a small must-use plugin (wp-content/mu-plugins/migvora-memory.php) that raises it, so page builders such as Elementor Pro do not run out of memory on the new host.

= 2.11.1 =
* Partial restore, encrypted backups and imports of any size are now part of the free plugin (no license needed).
* Maintenance page styles are loaded through the WordPress styles API.
* Stricter validation of server variables and the HTTP Range header.
* Removed the unneeded load_plugin_textdomain() call.

= 2.11.0 =
* First release on WordPress.org.
* Full-site backup and restore with automatic domain replacement (serialized-safe).
* Atomic switch with restore point and "Undo last import".
* Chunked engine for large sites, maintenance mode during imports.
* Size and time estimate, folder and table exclusions, system check.
* Turkish and English interface.

== Upgrade Notice ==

= 2.11.5 =
Migvora no longer writes to mu-plugins; the memory booster was removed.

= 2.11.4 =
The memory booster is now installed only on request from Migvora → System (never automatically).

= 2.11.3 =
PHP 7.4 fix for the Logs page and stricter input handling on the Settings page.

= 2.11.2 =
Fixes imports of sites with binary database columns (Wordfence) and raises the PHP memory limit of migrated sites when it is too low.

= 2.11.1 =
Partial restore, encrypted backups and unlimited imports are now free.

= 2.11.0 =
First public release.
