=== JustNow Backups & Migration ===
Contributors: basiccreative
Tags: backup, migration, search replace, database cleanup, restore
Requires at least: 5.9
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 3.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Back up and restore your site with no size limit, run serialize-safe search and replace, and clean up the database. Turkish and English UI.

== Description ==

JustNow Backups puts the everyday maintenance tools of a WordPress site in one place. Every long task runs in small, resumable steps, so it works on shared hosting without hitting PHP time limits.

= Backup and restore =

* Database, media, plugins, themes, WordPress core and wp-config.php in a single .zip package.
* Choose what goes into the package; optionally include only active plugins and the active theme.
* Safe restore: the database is first imported into shadow tables and swapped into place in one step only if everything succeeds. If anything fails, your live site is not touched.
* The previous live tables are kept (prefixed `jnb_`) so you can go back manually.
* Protected storage folder with an unguessable name; downloads are available only to administrators.

= Serialize-safe search and replace =

* Simulation first: see exactly how many cells in which tables would change, then apply to the tables you pick.
* Serialized PHP data and JSON are updated without breaking string lengths.
* Every applied change is logged with its old value.

= Database cleanup =

* Delete old post revisions (keep the newest N per post).
* Empty the trash and remove auto-drafts older than 7 days.
* Runs in small batches using WordPress core functions, so related meta, terms and comments are cleaned up too.

= Turkish and English =

The whole interface is available in Turkish and English, with a TR | EN switch on every screen.

= Free edition limits =

* No backup size limit and no row limit for search and replace.
* One package in storage at a time.
* Backups can be restored only on the site they were taken from.

= JustNow Backups Pro (separate plugin) =

[JustNow Backups Pro](https://burasimerkez.com/justnow) is a separate, paid add-on plugin. It is not required to use this plugin. It adds migration to another site with automatic address/path/table-prefix adaptation, package import, exclusion rules, serialize repair, operation history with undo, regex and case-insensitive search, extra cleanup tasks, and removes the one-package storage limit. Optional Scheduler and Remote Storage (S3, Dropbox, Google Drive) add-ons are also available.

== External services ==

This plugin does **not** connect to any external service unless you explicitly agree.

On first use, an information box asks whether you want to share installation information. **Nothing is sent unless you click "Share".** If you agree, the plugin sends the following to the developer's server at `burasimerkez.com` once on consent and then once a day, and once more if the plugin is deactivated:

* the site's domain (home URL),
* the plugin, WordPress and PHP versions,
* the site language,
* whether the Pro add-on is active.

No email addresses, user data or site content are ever sent. The information is used to know which versions are in use and to provide support. You can withdraw consent at any time on the "Pro & info" tab; the server record is then deleted.

* Service provider: BasicCreative — https://burasimerkez.com/justnow
* Privacy policy: https://burasimerkez.com/justnow/gizlilik/

== Installation ==

1. In the WordPress admin go to Plugins → Add New, search for "JustNow Backups", then install and activate it.
2. Open the **JustNow Backups** menu.
3. Take your first backup on the **Backup & Migration** tab and download the package to your computer.

Documentation: https://burasimerkez.com/justnow/belgeler/en/

== Frequently Asked Questions ==

= Does it work on shared hosting? =

Yes. Backup, restore, search-replace and cleanup all run in short steps, so they are not stopped by PHP time limits. You need about as much free disk space as the size of your site.

= Where are backups stored? =

In a protected folder inside `wp-content` with an unguessable name. Apache and IIS access is blocked; for Nginx add the deny rule shown on the Backup & Migration tab. Downloads go through an authenticated admin link.

= Are my backups deleted if I uninstall the plugin? =

No. Uninstalling removes the plugin's own settings and log tables, but backup packages are kept. Delete the `wp-content/jn-backups-…` folder manually if you no longer need them.

= Will search and replace break serialized data? =

No. Serialized strings are rewritten with correct lengths and JSON-escaped forms (such as `https:\/\/`) are handled automatically. Always run a simulation first and keep a backup.

= Can I move my site to another domain? =

Restoring a backup of the same site is included. Moving a package to a different site with automatic address adaptation is part of the separate JustNow Backups Pro plugin.

= Does the plugin slow down my site? =

No. The plugin loads only in the admin area; it adds nothing to the pages your visitors see.

== Screenshots ==

1. Backup & Migration: packages and new backup.
2. Search & Replace with simulation results.
3. Database cleanup.
4. Restore options with the confirmation step.

== Changelog ==

= 3.0.0 =
* First release on WordPress.org.
* Pro features moved to the separate JustNow Backups Pro plugin; this plugin contains no license checks or locked code.
* Installation information is now strictly opt-in: nothing is sent without explicit consent.
* Updates are delivered through WordPress.org.
* No backup size limit and no search-and-replace row limit in the free plugin.

== Upgrade Notice ==

= 3.0.0 =
Pro features now live in the separate JustNow Backups Pro plugin. If you have a Pro license, install JustNow Backups Pro before or right after updating; your license and settings are kept.
