crodas/db-backup

There is no license information available for the latest version (v0.1.0) of this package.

Incremental Database dump tool

v0.1.0 2016-03-05 15:13 UTC

This package is auto-updated.

Last update: 2024-12-12 19:44:01 UTC


README

Easiest incremental backup tools for (My?)SQL databases.

Install

You need composer in order to install crodas/DbBackup.

composer require crodas/db-backup

Now you need to use it.

require __DIR__ . '/vendor/autoload.php';

$backup = new crodas\DbBackup("mysql://root@localhost/foo", __DIR__ . '/backup-dir/');
$backup->dump(); // Create a new backup

TODO

  1. Expose a single binary (phar?)