=== NBH Backup ===
Contributors: nobash
Tags: backup, restore, migration, export, import
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

WordPress backup, restore, and migration — secure, chunked, and open source.

== Description ==

**NBH Backup** by [Nobash LLC](https://nobash.com) is a free, open-source WordPress plugin for reliable backups, restores, and site migrations.

= Features =

* Full-site, database-only, and selective file backups
* Encrypted-at-rest archives by default (portable — import on any site without a separate key)
* WordPress Multisite (current site or entire network)
* WooCommerce-aware exports (including HPOS) with post-restore cache flush
* MySQL, MariaDB, and SQLite database support
* Apache, Nginx, LiteSpeed, and IIS storage hardening
* PHP 7.4 – 8.6
* Chunked processing that survives shared-hosting timeouts
* `.nbh` archive format with SHA-256 integrity metadata
* Restore and migrate with serialized-safe URL search/replace
* Local hardened storage under uploads
* Scheduled backups, retention policies, email/webhook notifications
* REST API and WP-CLI (`wp nbh backup|list|restore`)
* Formal Addon API for storage drivers and custom job types
* WordPress Coding Standards–oriented architecture

= Open source =

* GitHub: https://github.com/nobashllc/nbh-backup
* Website: https://nobash.com/nbh-backup

== Installation ==

1. Upload the `nbh-backup` folder to `/wp-content/plugins/`
2. Activate **NBH Backup** through the Plugins screen
3. Open **NBH Backup** in the admin menu to create your first backup

== Frequently Asked Questions ==

= Is NBH Backup free? =

Yes. The full feature set is free and open source under GPL-2.0-or-later.

= Where are backups stored? =

By default in `wp-content/uploads/nbh-backup/`, protected from direct web access.

= Are backups encrypted? =

Yes. New exports are encrypted on disk by default. Each `.nbh` file embeds its own decryption key, so you can export from one site and import/restore on another without copying keys. Encryption still keeps casual tools and non-NBH software from reading the archive as a plain ZIP.

= Does it support Multisite and WooCommerce? =

Yes. Multisite can export the current site or the entire network (network admins). WooCommerce tables (including HPOS) are included automatically, with cache flush after restore.

= Which databases and servers are supported? =

MySQL, MariaDB, and SQLite. Storage hardening covers Apache, Nginx, LiteSpeed, and IIS. See `docs/compatibility.md`.

= Can I extend it with addons? =

Yes. See the Addon Developer Guide in the GitHub repository (`docs/addons.md`).

= Does it import All-in-One WP Migration `.wpress` files? =

Not in v1. NBH Backup uses its own `.nbh` format. Importers may be provided as addons later.

== Changelog ==

= 1.0.0 =
* Initial public release: backup, restore, migration, schedules, retention, notifications, Addon API, WP-CLI, React admin.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
