sincco / mysqlbkp
Create and restore MySQL backups
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/sincco/mysqlbkp
Requires
- php: ^5.3.3 || >=7.0
This package is not auto-updated.
Last update: 2025-10-02 01:59:53 UTC
README
MySQLBkp
Crea y restaura backups desde MySQL, para facilitar las tareaas de respaldo de tu sistema
Basado en https://github.com/daniloaz/myphp-backup
Instalación
composer require sincco/mysqlbkp
Uso
Backup
$backupDatabase = new \Sincco\Tools\MySQLBkp('localhost', 'user', 'password', 'dbname', './bkp');
$backupDatabase->backupTables('*');
Restore
$backupDatabase = new \Sincco\Tools\MySQLBkp('localhost', 'user', 'password', 'dbname', './bkp', 'file.sql');
$restoreDatabase->restoreDb();
NOTICE OF LICENSE
This source file is subject to the Open Software License (OSL 3.0) that is available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php
Happy coding!