Download the PHP package aksoyhlc/databasebackup without Composer

On this page you can find all versions of the php package aksoyhlc/databasebackup. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package databasebackup

Database Backup

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

Why Use This Package

Safe and Reliable

Use Cases

Key Features

Security

Features

Installation

Basic Usage

Advanced Usage

Performance

DatabaseBackup uses streaming architecture and unbuffered queries to handle databases of any size with minimal resource usage. No mysqldump dependency required.

Benchmarks (1,050,000 records, 7 tables)

Mode File Size Duration
Uncompressed 1.33 GB 17.0 s
Gzip compressed 314 MB 57.5 s

Benchmark (Employees DB: 3,920,015 records, 6 tables + 2 views)

Mode File Size Duration
Gzip compressed 33.7 MB 46.6 s

vs mysqldump (1,050,000 records)

Tool File Size Duration
DatabaseBackup (stream) 1.33 GB 17.0 s
mysqldump 1.30 GB 11.8 s
DatabaseBackup (gzip) 314 MB 57.5 s
mysqldump + gzip (pipe) 314 MB 31.1 s

Key Performance Features

Special Characters

UTF-8 characters, emoji, JSON, BLOB, backslash, and multi-line text are preserved during backup and restore.

Tested with: ๐Ÿ˜€๐Ÿ”ฅ๐ŸŽ‰๐Ÿ’ฏโœ…, ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ, JSON, BLOB, multi-line text, O'Brien, C:\Users\path, null values.

Log Messages

Connection Tests

Configuration Parameters

Database Configuration ($dbConfig)

Parameter Description Default
host Database server address 'localhost'
dbname Database name -
user Database username -
pass Database password -
charset Database character set 'utf8mb4'
port Database server port number 3306

General Configuration Options ($options)

Cache Settings

Parameter Description Default
cacheTime Cache duration (seconds) 3600

Backup File Cleanup Settings

Parameter Description Default
maxBackupCount Maximum number of backups to keep 10
maxBackupAgeDays Maximum backup age to keep (days) 365

Content Filtering Settings

Parameter Description Default
excludedTables Array of table names to exclude from backup []
tableModes Table backup modes ('full', 'structure_only', 'data_only') []

Backup Format Settings

Parameter Description Default
compressOutput Compress the backup file? (gzip) false
removeDefiners Remove SQL DEFINER statements? true
batchSize Number of rows per INSERT statement 100

Progress Tracking

Parameter Description Default
progressCallback Progress status notification function function($status, $current, $total) null

FTP Configuration (ftpConfig)

Parameter Description Default
enabled Is FTP backup active? false
host FTP server address ''
username FTP username ''
password FTP password ''
port FTP port number 21
path Remote directory path '/'
ssl Use SSL? false
passive Use passive mode? true

Requirements

License

This project is open-sourced software licensed under the GPL license


All versions of databasebackup with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-pdo Version *
ext-pdo_mysql Version *
ext-json Version *
ext-ftp Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aksoyhlc/databasebackup contains the following files

Loading the files please wait ...