=== SitesEngine Site Migration & Backup ===
Contributors: sitesengine
Tags: migration, backup, restore, import, export, clone, website migration, wordpress migration, site transfer
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Migrate, back up, import, and restore WordPress websites with secure .empack packages, guided progress, and direct site-to-site transfer.

== Description ==

**SitesEngine Site Migration & Backup** helps you move WordPress sites safely and quickly.

Create full backup packages, import from file or URL, restore with one click, and perform direct site migration between two websites using a secure destination connection key.

Whether you are moving to a new host, creating a safety snapshot before changes, or cloning a site to staging, this plugin gives you a clean workflow with progress tracking and activity history.

### Core Features

- Create portable `.empack` WordPress backup packages
- Import backups from local file upload or remote URL
- Direct site-to-site migration using destination connection key
- Restore backups from the Backups tab
- Backup details view with included components and status
- Built-in activity history for backup/import/restore actions
- Optional package password protection
- Optional exclusions for database/content components
- Automatic cleanup policy for older backups

### Migration Workflow

1. Build a package on the source website.
2. Transfer by URL + destination key, or download and import on destination.
3. Confirm migration and monitor live progress.
4. Restore and finalize automatically.

### Built for Site Owners and Agencies

- Hosting migrations
- Domain changes
- Staging-to-production and production-to-staging workflows
- Recovery from failed updates
- Pre-deployment safety backups

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install from the WordPress Plugins screen.
2. Activate **SitesEngine Site Migration & Backup**.
3. Open **SE Migration** from the WordPress admin menu.
4. Go to the **Migrate** tab to create your first package.

== Frequently Asked Questions ==

= What is a .empack file? =

`.empack` is the backup package format used by this plugin. It stores your migration package for import and restore workflows.

= Can I migrate directly from one live website to another? =

Yes. Use the **Send Package to Another Website** section with the destination URL and destination connection key.

= Why is direct URL migration disabled on local/dev sites? =

For local/dev environments, direct URL transfer is blocked by design. Use file export/import instead.

= Does this plugin replace the site URL automatically after restore? =

Yes. The restore flow updates destination URLs and finalizes key site settings as part of migration.

= Can I import a password-protected backup? =

Yes. If a package is locked, enter the package password during import.

= Can I exclude parts of the site from backup? =

Yes. You can exclude selected files/directories and database components from package creation.

= Where are backups stored? =

Backups are stored in a dedicated folder under `wp-content` created by the plugin.

= Can I delete old backups automatically? =

Yes. Configure backup cleanup retention in Settings.

= Is this multisite compatible? =

Current release is designed for standard single-site WordPress installs.

== Screenshots ==

1. Migrate tab: build migration package and configure include/exclude options.
2. Direct transfer panel: send package to destination website with connection key.
3. Import tab: import from backup file or backup URL.
4. Backups tab: list backups with restore and details actions.
5. Backup Details modal: see package contents, lock status, and actions.
6. Restore confirmation modal with progress steps.
7. Settings tab: connection key, retention policy, SSL verification, and history limits.
8. History tab: activity log of backup, import, migration, and restore events.

== Changelog ==

= 1.0.1 =
* Initial public release.
* Package-based backup and restore workflow with `.empack` format.
* Import by file and remote URL.
* Direct migration via destination connection key.
* Backup index, details modal, and activity history.
* Security hardening and WordPress.org compliance updates.

== Upgrade Notice ==

= 1.0.1 =
Initial stable release of SitesEngine Site Migration & Backup.
