=== Database Optimizer & Site Migration – Clone & Restore, Backup & Cache Cleaner ===
Contributors: kucukay01
Tags: site migration, database optimizer, backup, restore, database cleanup
Requires at least: 6.2
Tested up to: 7.0
Stable tag: 1.2.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

WordPress database optimizer & site migration, one-click backup and restore. Cache cleaner included for a leaner, healthier WordPress site.

== Description ==

**Jetvault** is the ultimate WordPress tool for **site migration**, **database optimization**, and secure **site backups**. Whether you are migrating a WordPress site to a new host, need an instant **clone & restore** solution, or want to perform a deep **database cleanup**, Jetvault makes it effortless and fast.

**Key Features:**
*   **Seamless WordPress Site Migration:** Move your site to a new domain or server effortlessly. Our migration engine automatically replaces URLs and handles serialized data.
*   **Professional Database Optimizer:** Run `OPTIMIZE TABLE` and safely remove post revisions, auto-drafts, spam comments, and expired transients to speed up your website.
*   **One-Click WordPress Backup & Restore:** Create full site backups (files + database) with a single click. Restore your WordPress site instantly if things go wrong.
*   **Clone & Restore Capability:** Safely clone your WordPress site for testing or roll back to a stable previous version in seconds.
*   **Cache & Log Cleaner:** Remove accumulated cache files, debug logs, and temporary upgrade files to free up disk space and reduce backup sizes.
*   **Orphaned Data Removal:** Clean up orphaned post meta, comment meta, user meta, and unused term relationships to reduce database bloat.
*   **Automated Scheduled Backups:** Schedule backups and cleanups to run automatically (hourly, daily, weekly, or monthly) for total peace of mind.
*   **Smart Backup Filters:** Exclude cache, logs, and inactive plugins/themes to keep your backup and migration archives lean.

== Flawless WordPress Site Migration ==

Moving your site to a new domain or hosting provider? Jetvault makes **WordPress site migration** incredibly simple. The restore engine automatically detects the old site URL from the backup and replaces it with your current domain — including inside complex serialized PHP data. No need for risky, manual search-replace tools. Just backup, upload, and migrate.

== Advanced Database Optimizer & Cleanup ==

Over time, WordPress databases accumulate unnecessary data that slows down queries and increases loading times. Jetvault's **database optimizer** and **database cleanup** tools safely remove junk data and execute table optimization in one click, keeping your database highly responsive and fast.

== Reliable WordPress Backup, Clone & Restore ==

Data loss is a nightmare. Jetvault creates complete **WordPress backups** — packaging your database and `wp-content` files into a single `.jetvault` archive. Our custom streaming engine works flawlessly even on low-memory shared hosting. When you need to recover, the **one-click restore** extracts your backup, clones your site back to life, and automatically repairs permalink structures.

== Automated Maintenance & Cache Cleaner ==

Set it and forget it. Schedule automatic backups and pair them with our built-in **cache cleaner** and database optimizer. Running a cleanup before each backup ensures your archives stay as small as possible. Jetvault automatically rotates old files, keeping only the 3 most recent backups to save server disk space.

== Installation ==

1. Upload the `jetvault-backup-optimizer` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in your admin dashboard.
3. Access the settings via the 'Jetvault' menu in your admin dashboard.

== Frequently Asked Questions ==

= Is this plugin free? =
Yes, all core features are completely free.

= Where are my backups stored? =
Backups are stored in your `wp-content/uploads/jetvault-backups/` directory, protected by `.htaccess` to prevent direct access.

= Does it work on shared hosting? =
Yes. Jetvault uses a custom streaming archive engine that processes files in chunks, avoiding memory limit issues common on shared hosting.

= Can I use it to migrate my site to a new domain? =
Yes. The restore process automatically replaces the old site URL with the new one, including inside serialized data stored in the database.

= How many backups are kept? =
Jetvault automatically keeps the 3 most recent backups and deletes older ones to save disk space.

== Screenshots ==

1. The main dashboard showing database health and automated maintenance plan.
2. The Backup management screen for creating and restoring backups.
3. Activity logs tracking your site's maintenance history.

== Changelog ==

= 1.2.0 =
* Enhancement: Version updated to 1.2.0 and general optimizations applied.

= 1.1.9 =
* Enhancement: General performance improvements and version update.

= 1.1.8 =
* Feature: Added dynamic "Processing" animation to the restore process to prevent the "stuck at 0%" misconception.
* Feature: Embedded `wp_usermeta` and `wp_termmeta` scanning capabilities into the "Orphaned metadata" process in database optimization. This cleans up unnecessary registered user/setting remnants.
* Enhancement: Tested and confirmed full compatibility with WordPress 7.0.
* Enhancement: UI appearances of the admin panel and Smart Backup header converted to a premium card layout.
* Fix: The "Clean database before backup" checkbox is now checked by default.

= 1.1.7 =
* SEO: Brought forward the "Site Migration" keyword in the title to rank higher in the WordPress plugin directory.

= 1.1.6 =
* Enhancement: Improved UX by removing unnecessary browser confirmation dialogs in the "Clear Logs" action.
* Fix: Resolved the issue of jumping to the "Dashboard" tab when the page refreshes after log deletion; it now stays on the same tab.
* Enhancement: Updated title and readme configurations for full compliance with WordPress plugin directory guidelines.

= 1.1.5 =
* SEO: Title and short description updated, database optimizer highlighted.
* Enhancement: Admin menu icon updated with a custom SVG.

= 1.1.4 =
* Enhancement: Admin menu icon updated with a custom SVG.

= 1.1.3 =
* SEO: Title and short description made SEO compatible.
* SEO: Search visibility increased by adding "Restore" and "Database" keywords.
* Enhancement: Full compliance achieved with WordPress.org repository standards.


= 1.1.2 =
* Enhancement: Version update and critical bug fixes made.
* SEO: New SEO compatible title and short description (150 chars) added.
* SEO: Search engine optimization provided for the "Site Migration" keyword.
* Enhancement: Stability and general performance improvements made.

= 1.1.1 =
* Minor updates and stability improvements.

= 1.1.0 =
* Optimized SEO title and short description for better search visibility.
* Minor UI/UX improvements.
* Version bump for latest WordPress compatibility.

= 1.0.0 =
* Initial release with Jetvault branding and optimizations.
