PHPackages                             tradesy/innobackupex - 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. tradesy/innobackupex

ActivePhp

tradesy/innobackupex
====================

Wrapper for innobackupex incremental backup/restore with ability to store backups on various repository (AWS S3, Google)

v1.1(9y ago)0101MITPHPPHP &gt;=5.3.0

Since Nov 8Pushed 9y ago2 watchersCompare

[ Source](https://github.com/mm0/innobackupex)[ Packagist](https://packagist.org/packages/tradesy/innobackupex)[ RSS](/packages/tradesy-innobackupex/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

Innobackupex
============

[](#innobackupex)

---

Innobackupex is a perl utility created by Percona for creating and restoring filesystem backups for MySQL

This is a PHP Wrapper for Innobackupex that allows us to use Object-Oriented design to Backup/Restore MySQL servers and automates the archival of backups onto cloud storage solutions such as AWS S3 and Google Cloud Storage.

This package is created as a PSR-0 namespaced library that is installable via PHP Composer.

Very little configuration is required to use this library.

Requirements
------------

[](#requirements)

- PHP 5+
- PHP Composer
- (Optional) AWS CLI
- (Optional) GCS CLI
- MySQL Server with enough free disk space to create a backup
- (Optional) SSH Access to the MySQL Server
- (Required for SSH) libssh2-php
- php5-curl (required for guzzle)
- python-mysqldb # necessary for ansible mysql module

Methodology
-----------

[](#methodology)

This library is useable in several different ways. The simplest method requires PHP and this library to be downloaded onto the MySQL Server itself.

Alternatively, we are able to use the PHP\_SSH2 Library in order to run this library remotely against any server with mysql and ssh access.

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

[](#installation)

Include this repository within your composer.json package of your library

Run `composer install`

If you want to test using Vagrant, be sure to install Ansible dependencies:

`ansible-galaxy install -v -r ansible/requirements.yml -p ansible/roles`

Configuration
-------------

[](#configuration)

### MySQL Configuration

[](#mysql-configuration)

```
