Skip to content

alexivashchenko/php-mysql-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-mysql-backup

Description

Simple PHP class to create regular MySQL database backups.

What it does:

  1. Create MySQL database backup.
  2. Remove old MySQL database backups.

The output is the set of sql.gzip files.

Installation

Composer

From the Command line:

composer require alexivashchenko/php-mysql-backup:dev-master

In composer.json:

{
	"require": {
		"alexivashchenko/php-mysql-backup": "dev-master"
	}
}

Usage

  1. Create config.php file, set up right VENDOR_PATH and $Config.
  2. Create CRON job to run run-backup.php file.

About

Simple PHP class to create regular MySQL database backups

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages