=== Arb Backup & Migrate Pro ===
Contributors: arbdigital
Tags: backup, restore, migration, clone, database backup, scheduled backup, duplicator
Requires at least: 5.6
Tested up to: 6.7
Requires PHP: 7.2
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Quick, reliable, next-level WordPress backup, restore and migration. No upload limit, memory-safe streaming, serialization-safe domain migration, daily auto-backups with retention.

== Description ==

**Arb Backup & Migrate Pro** bundles your entire WordPress site — files and database — into one portable `.arbpkg` archive, and restores it anywhere with one click.

Built to go past where zip-based backup plugins fail:

* **No upload size limit** — files transfer in chunks, bypassing `upload_max_filesize` and `post_max_size`.
* **Memory-safe streaming archive** — the custom `.arbpkg` format streams files of any size a block at a time, so multi-gigabyte sites finish without exhausting memory.
* **Serialization-safe search & replace** — migrate to a new domain without breaking serialized widget/theme/plugin data.
* **Timeout-proof engine** — backup and restore run as a resumable state machine, advanced one safe chunk per AJAX tick.
* **Drag & drop import** — drop a `.arbpkg` from another site to migrate it in.
* **Daily automatic backups** — schedule hourly / twice-daily / daily / weekly full backups via WP-Cron.
* **Retention / auto-cleanup** — keep only the last N days of backups; older archives are deleted automatically (with a safety floor so you never lose everything).
* **Web-protected storage** — archives live behind `.htaccess` / `web.config` deny rules and are served only through an authenticated, nonce-checked download endpoint.

== Installation ==

1. Upload the `arb-backup-migrate` folder to `/wp-content/plugins/`, or install the ZIP via Plugins → Add New → Upload.
2. Activate the plugin.
3. Go to **Arb Backup** in the admin menu.
4. Create a backup, or open **Schedule** to enable daily automatic backups with retention.

== Frequently Asked Questions ==

= Is there a file size limit? =
No. Uploads are chunked and the archive format is streamed, so size is bounded only by your disk space.

= Will migrating to a new domain break my site? =
No. Restore applies a serialization-safe search & replace, rewriting the old URL and path (including inside serialized data) to the destination.

= Where are backups stored? =
In `wp-content/uploads/arb-backups`, protected from direct web access.

= Does it keep only 2 days of backups? =
Set **Retention → Keep backups for** to `2` on the Schedule tab. After each backup, archives older than two days are deleted automatically. A safety floor always keeps at least your newest backup.

= Will uninstalling delete my backups? =
No — unless you explicitly enable "delete on uninstall" in Settings.

== Changelog ==

= 1.2.0 =
* Added: cloud storage — Amazon S3 (SigV4 + multipart), Dropbox and Google Drive (OAuth connect), automatic after every backup and on demand.
* Added: incremental backups — fast change-only backups chained on a full base, with chain-aware restore and chain-protected retention.
* Added: multisite-aware restore — network domain rewriting (wp_blogs/wp_site) and a type-mismatch safety note.

= 1.1.0 =
* Added: AES-256 backup encryption (streaming, resumable) with password.
* Added: one-click backup integrity verification (no restore needed).
* Added: off-site copies over FTP / FTPS / SFTP, automatic and manual.
* Added: email notifications for scheduled backups (success/failure).
* Added: WP-CLI commands — `wp arb-backup create|list|verify|restore|delete`.

= 1.0.0 =
* Initial release: streaming `.arbpkg` backups, chunked upload/import, one-click restore, serialization-safe migration, daily scheduled backups, retention/auto-cleanup, protected storage.
