=== OneEuroLabs Site Migration & Backup ===
Contributors: oneeurolabs
Tags: migration, backup, restore, database, clone
Donate link: https://oneeurolabs.com/donate/
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 1.1.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Migrate and backup your WordPress site with one click. Supports .wpmig and .wpress files. 

== Description ==

**OneEuroLabs Site Migration & Backup** is a free, fully functional WordPress backup and migration plugin. Migrate your site to a new server, create encrypted backups, and restore with one click — no limits.

💛 All revenue from our Pro version goes entirely to **einEUROhilft e.V.**, a registered German non-profit. Buy software and do good.

= What you can do =

* **Create backups** of your entire WordPress site — database, plugins, themes and uploads in a single `.wpmig` file
* **Restore** from `.wpmig` backups with automatic URL replacement (serialized data safe)
* **Import** `.wpress` files from All-in-One WP Migration
* **Encrypt** backups with AES-256 — streaming 64 KB chunks, no memory limit
* **Migrate without WordPress** — download the Standalone Importer and run it directly on the target server before WordPress is installed

= Features =

* ✅ One-click full-site backup (.wpmig format)
* ✅ AES-256 encryption (optional passphrase)
* ✅ Import .wpress files (All-in-One WP Migration compatible)
* ✅ Automatic URL and serialized data replacement
* ✅ Memory-efficient streaming (no PHP memory limit issues)
* ✅ Standalone PHP importer (no WordPress needed on target)
* ✅ Backup directory protected from public access (.htaccess)
* ✅ Mobile-optimized admin UI

= .wpmig Format =

Open ZIP-based format containing:

* `manifest.json` – site metadata and version info
* `database.sql` – full database dump
* `files/` – wp-content (themes, plugins, uploads)

= Pro Version =

The [Pro version](https://oneeurolabs.com/wpmigrate-pro/) (hosted on our website, not on WordPress.org) adds:

* ☁️ Cloud backup: Dropbox, Google Drive, OneDrive
* ⏰ Scheduled automatic backups
* 🌐 Multisite migration support
* 🔍 Selective migration (choose content types)
* 🗄️ SQLite database support
* 🖥 WP-CLI support
* 🔄 Advanced search & replace

= About oneEUROhelps labs =

We are [einEUROhilft e.V.](https://eineurohilft.de/), a registered non-profit based in Düsseldorf, Germany. All income from our software goes directly to our charitable projects — no profit, no shareholders.

= External Services =

This plugin does **not** connect to any external services during normal operation. Backups are created and stored locally on your server.

The Standalone Importer (an optional download) runs independently on your target server without any external connections.


== Installation ==

1. Upload the plugin via Plugins → Add New → Upload
2. Activate the plugin
3. Go to WPMigrate → Backup & Export to create your first backup

== Frequently Asked Questions ==

= What is the .wpmig format? =
A ZIP-based archive containing your database, media, themes and plugins with a JSON manifest. It can be opened with any ZIP tool.

= Can I import .wpress files? =
Yes. WPMigrate supports importing files from All-in-One WP Migration.

= Does it handle serialized data during URL replacement? =
Yes. The URL replacer correctly recalculates PHP serialized string lengths to prevent database corruption.

= What is the standalone importer? =
standalone-importer.php can be uploaded to a fresh server without WordPress installed and used to restore a backup via browser. It requires PHP 7.4+.

= Is encryption supported? =
Yes, optional AES-256-CBC encryption using OpenSSL. The passphrase is required for restoration.

== Privacy Policy ==

WPMigrate does not collect any user data or send data to external servers. All backup files are stored locally on your server. The plugin does not contact any external services.

== Changelog ==

= 1.1.0 =
* Fix: Standalone importer CSS output no longer contains literal style tags
* Fix: Improved ZIP path traversal protection using manual path normalization
* Fix: Plugin URI updated
* Fix: Removed 512 MB backup size limit (fully functional free version)


= 1.0.0 =
* Initial release
* .wpmig ZIP-based format with optional AES-256 encryption
* .wpress import (All-in-One WP Migration compatibility)
* Serialized data-safe URL replacement
* Standalone PHP 5.3 importer
* Admin UI with drag & drop

== Upgrade Notice ==

= 1.0.0 =
Initial release.
