Skip to content

Instantly share code, notes, and snippets.

View neuni's full-sized avatar

Tobias K. neuni

  • vidiventi GmbH
  • Hamburg, Germany
View GitHub Profile
@neuni
neuni / backup.php
Last active August 29, 2015 13:58
MySQL full / incremental backup script using innobackupex
<?php
/*
* Backup script to create full and incremental backups using innobackupex
*
* Creates a full backup once a day and periodically incremental backups using innobackupex by Percona
*
* Install: create backup folder, change mysql username/password and add a crontab calling "php -f /PATH_TO_SCRIPT/backup.php" every hour
*
* ---
* Warning: