=== Jeet Sanwal Migration ===
Contributors: jeetsanwal
Author: Jeet Sanwal
Author URI: https://jeetsanwal.in
Tags: backup, restore, migration, download, site backup
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.0.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create a backup. Restore a backup. Download your copy. A free WordPress tool with saved backup history and no paid tier.

== Description ==

Three jobs, one small place to do them:

* Create a backup of supported site tables and wp-content files in one .jeet archive.
* Restore a saved backup from the newest-first list, or upload a supported backup to restore.
* Download an administrator-protected copy, with byte-range support for interrupted downloads.

Keep several restore points in the list. Backups are not automatically deleted. A Delete button is available when you intentionally want to free space.

Backups and restores run in saved steps. Chunked uploads retry temporary failures. A saved task can be continued after a browser interruption; only one backup or restore runs at a time. There is no account, license key, paid extension, advertising, automatic upload destination, or required public credit.

Made by Jeet Sanwal. Full source and GPL license are included. The interface and documentation use US English.

== Installation ==

1. Back up the current site independently and test on staging.
2. In WordPress, open Plugins > Add New > Upload Plugin and select the individual plugin ZIP.
3. Install and activate Jeet Sanwal Migration.
4. Open Jeet Sanwal Migration > Backups to create, download, or restore a saved backup. Open Restore to upload a backup.
5. Protect backup storage as described in INSTALL.md. A dedicated directory outside the public web folder is recommended.

The plugin installation ZIP is not a site backup. Newly created site backups use .jeet.

== Frequently Asked Questions ==

= What does a backup contain? =

Supported tables matching this site's table prefix, plus themes, normal plugins, uploads and other eligible wp-content files. WordPress core, wp-config.php, server configuration, files outside wp-content, symbolic links, cache folders, other backup folders, and server-specific drop-ins are excluded. The current migration plugin is kept in place during restore. Existing destination files absent from a backup are not automatically removed: this is an overwrite restore, not a disk mirror.

= What are the requirements? =

A single-site WordPress installation, PHP 7.4 or later on a 64-bit runtime, mysqli, and MySQL or MariaDB. SQLite and multisite are not supported. Tables need a primary key or a non-null unique key for safe retry matching. Custom views, triggers, foreign-key schemas, remote table engines and unsupported SQL are refused with an error instead of being silently omitted. Individual rows/statements must fit available PHP memory and the database packet limit. Temporary names leave up to 43 characters for a table suffix.

= Are there backup size limits? =

There is no paid size unlock or fixed archive-size cap added by the plugin. Available disk space, PHP memory, database packet sizes, server permissions, request limits and the browser still apply. Chunked work does not make hosting resources unlimited. Enough space is needed for the archive, temporary database, and files being replaced. A changed or unreadable source file stops backup creation rather than publishing a zero-filled copy.

= Can I keep using the site during backup or restore? =

Use a quiet source site for backup and a maintenance window or staging site for restore. This is not a transactionally consistent live filesystem/database snapshot. Restore validates archive headers, imports temporary tables, writes files, then switches database tables. Individual files are staged before replacement; the entire website change is not one transaction. There is no automatic full-site rollback. Keep an independent recovery copy and hosting access before restoring.

= Where are backups stored? =

A configured JEET_MIG_STORAGE_DIR can point to a dedicated directory outside wp-content and outside the public web folder. Without it, new storage uses an unpredictable vault under wp-content/jeet-migration-backups. Existing legacy storage is preserved rather than moved or deleted automatically. Apache .htaccess and IIS web.config deny rules are included. Nginx needs a server deny rule or private storage configuration. Unpredictable names are an extra precaution, not a substitute for server access controls. Backups contain sensitive database data and are not encrypted.

= Which restore files are accepted? =

Native .jeet backups and compatible uncompressed, unencrypted .wpress files with a supported single-site database. Encrypted/compressed variants, unsupported SQL, corrupt or truncated data are refused. This does not imply support for every third-party archive version or extension. Header checks are structural validation, not a cryptographic guarantee of the contents. Restore only files you trust: site backups can contain executable plugins and themes.

= What happens to my login? =

Restore attempts to preserve the administrator performing the restore and its current session. The numeric user ID may change. Source users and permissions are otherwise restored from the database. Keep independent hosting access in case an extension or server issue prevents WordPress from loading.

= How do updates work? =

Finish any active backup or restore before updating. Use Plugins > Add New > Upload Plugin to upload a newer ZIP and replace the installed version. The Update URI identifies this original distribution; no automatic updater is included. Deactivation/uninstall does not erase saved backups. Store a copy elsewhere before removing the plugin or cleaning storage manually.

== Privacy ==

With optional installation reports off, no analytics, telemetry, remote backup service, signup, or license checks. Files and database data stay on the server until an administrator downloads them. WordPress's normal login/session behavior still applies. Store backups securely and remove old copies intentionally.

== Optional installation reports ==

Installation reports are optional and OFF by default. Installing, activating, or using this product does not submit a report. Administrators can choose consent separately for each product under Settings > Jeet Sanwal Reports. All product features remain available with reporting off.

After explicit consent, the client sends the website URL, a random installation ID, product/WordPress/PHP versions, reported state, and an observed activation timestamp when available to https://jeetsanwal.in/api/v1/plugin-reports. While that product is active and consent remains enabled, a daily WordPress cron check-in can update its last-known status. WP-Cron depends on site traffic and hosting; it is not a continuous monitor.

Pause stops future reports without deleting records already shared. Forget requests deletion of the remote installation entry and history, retrying deletion if delivery fails. Records automatically expire after 90 days without a check-in. The plugin does not send page content, files, database exports, administrator email addresses, or raw IP addresses. Server rate limiting keeps a keyed IP hash for up to 24 hours; ordinary hosting access logs are governed separately by the privacy policy.

Review the fields and consent before enabling reporting. Read https://jeetsanwal.in/privacy for the reporting endpoint, retention, and deletion details. Reporting does not authorize remote control, automatic updates, or access to the website.

== Changelog ==

= 2.0.2 =
* Updated the product display name to Jeet Sanwal Migration and retained the Jeet Sanwal author website.
* Added voluntary installation/status reports with per-product consent OFF by default, pause/forget controls, and documented fields and retention.
* Preserved existing identifiers, stored data, permissions, and earlier release history.


= 2.0.1 =
* Hardened backup creation against changed, missing, unreadable or truncated source files; removed zero-filled success paths.
* Added resumable directory scanning, checked output writes and safer backup finalization.
* Restricted SQL operations to per-job temporary tables, preserved default/generated column behavior and checked duplicate-row retries.
* Added full archive header preflight, safer destination/link checks and per-file staging before replacement.
* Hardened job locks, fresh checkpoints, authenticated continuation, upload retry receipts and archive deletion coordination.
* Added private storage configuration and unpredictable new storage names while preserving existing legacy backups.
* Clarified the three main actions, hosting requirements, format boundaries and manual updates.

= 2.0.0 =
* Initial supplied version with native .jeet archives, chunked uploads, saved backup history, download and restore.

== License ==

Copyright 2026 Jeet Sanwal. Licensed under GPL-2.0-or-later. See LICENSE for the full text.
