PHPackages                             aksoyhlc/databasebackup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. aksoyhlc/databasebackup

ActiveLibrary[Database &amp; ORM](/categories/database)

aksoyhlc/databasebackup
=======================

Advanced backup system for MySQL and MariaDB databases. This package allows you to easily backup, list, download, delete, and upload databases to FTP without using `mysqldump`.

v1.1.0(1mo ago)213GPL-3.0-or-laterPHPPHP &gt;=7.4

Since May 29Pushed 1mo agoCompare

[ Source](https://github.com/Aksoyhlc/databasebackup)[ Packagist](https://packagist.org/packages/aksoyhlc/databasebackup)[ RSS](/packages/aksoyhlc-databasebackup/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

Database Backup
===============

[](#database-backup)

Backup system for MySQL and MariaDB databases. Create, list, download, delete, and upload backups to FTP without `mysqldump`.

Why Use This Package
--------------------

[](#why-use-this-package)

### Safe and Reliable

[](#safe-and-reliable)

- No shell\_exec or exec required (mysqldump needs these)
- PHP-based, no system command execution
- Works under hosting provider restrictions

### Use Cases

[](#use-cases)

- Shared hosting without mysqldump access
- VPS and cloud servers
- Automated backup systems
- Web-based backup interfaces

### Key Features

[](#key-features)

- No mysqldump dependency
- Full database backup without shell commands
- Selective backup (exclude tables, structure-only, data-only)
- Optional compression and FTP upload
- Debug logging and progress tracking

### Security

[](#security)

- No system command execution risk
- Compatible with hosting security rules
- SSL/TLS for FTP connections

Features
--------

[](#features)

- Full database backup (tables, views, triggers, stored procedures)
- Exclude specific tables or backup only structure or data
- Gzip compression
- Auto-cleanup by count or age
- FTP/FTPS upload (automatic or manual)
- Progress callback
- Logging

Installation
------------

[](#installation)

```
composer require aksoyhlc/databasebackup
```

Basic Usage
-----------

[](#basic-usage)

```
