New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

sincco/mysqlbkp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sincco/mysqlbkp

Create and restore MySQL backups

Source
Packagist
Version
1.0
Version published
Total downloads
16
Maintainers
1
Created
Source

MySQLBkp

[![Latest version][ico-version]][link-packagist]

Crea y restaura backups desde MySQL, para facilitar las tareaas de respaldo de tu sistema

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!

  • ivan miranda

Keywords

mysql

FAQs

Package last updated on 02 Jul 2018

Related posts