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
Requires
- crodas/sql-parser: ^0.1.3
This package is auto-updated.
Last update: 2024-10-12 19:17:37 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
- Expose a single binary (phar?)