=== Lazy Backup ===
Contributors: amzil000ayoub
Tags: backup, database, file manager, folders
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Lazy Backup is a WordPress plugin for one-click database backups and file access from the admin dashboard.

=== Description ===

Lazy Backup is a lazy WordPress plugin for database and file management. It allows you to view database info, back up your database with one click, and read files directly from the admin dashboard.

=== How it works ===

Lazy Backup simplifies database and file management for WordPress administrators. Here's a breakdown of its core functionality:

= Database Information Overview =
- The plugin retrieves and displays essential database metrics, such as database size, table count, MySQL version, and more.
- All data is presented in a clean, horizontal table layout for easy readability.

= Database Backup =
- With a single click on the "Download DB" button, the plugin generates a SQL dump of your entire database.
- The dump file is downloaded directly to your device, ensuring you always have a backup on hand.

= File Manager =
- The built-in File Manager allows you to browse your WordPress files and directories directly from the admin dashboard.
- You can view file contents with syntax highlighting for code files.

= Database Tables List =
- The plugin lists all database tables in an interactive, searchable table.
- Key details like row count, data size, index size, engine, and collation are displayed for each table.


=== Frequently Asked Questions ===

=  Can I view my website's files with this plugin? =
Yes! Lazy Backup includes a File Manager that lets you browse directories, view file contents directly from the WordPress admin area. It supports syntax highlighting for code files.

= Does Lazy Backup support automatic backups? =
Not yet. Lazy Backup focuses on manual backups for now, giving you full control over when and how backups are created. Automatic backup scheduling may be added in future updates.


=== Changelog ===

* 1.0.0
Initial release.


=== Development ===

The unminified JavaScript and CSS source code used in this plugin is included in the */assets* directory.
Build tools (like Webpack/Vite/etc.) are not required to use the plugin, but developers may refer to the uncompressed versions for reference or contribution.

**Tools:**
https://github.com/DataTables/DataTables
https://github.com/nathancahill/split
https://github.com/codemirror


=== Installation ===

= Installation from within WordPress =

1. Visit **Plugins > Add New Plugin**.
2. Search for **Lazy Backup**.
3. Install and activate the **Lazy Backup** plugin.
= Or Manual installation =

1. Upload the entire `lazy-backup` folder to the `/wp-content/plugins/` directory.
2. Visit **Plugins**.
3. Activate **Lazy Backup** plugin.

== Screenshots ==
1. file manager
2. database download page