定制 elektro-potkan/backups-job-mysql 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

elektro-potkan/backups-job-mysql

Composer 安装命令:

composer require elektro-potkan/backups-job-mysql

包简介

Backups - MySQL dump Job

README 文档

README

Backup Job for dumping MySQL databases using dg/mysql-dump. This package provides the MySQL job for use with the main elektro-potkan/backups package.

Usage

$db = new mysqli($server, $user, $password, $dbname);
$dump = new MySQLDump($db);

$job = new ElektroPotkan\Backups\Jobs\MySQL($dump);

// register the job ($manager is an instance implementing ElektroPotkan\Backups\IManager)
$manager->addJob('my-db-dump', $job);

Compression

By default, the output backup file will be gzip-compressed. To disable the compression, pass false as second parameter to job constructor.

$job = new ElektroPotkan\Backups\Jobs\MySQL($dump, false);// gzip compression disabled

Author

Elektro-potkan git@elektro-potkan.cz

Info

Versioning

This project uses Semantic Versioning 2.0.0 (semver.org).

Branching

This project uses slightly modified Git-Flow Workflow and Branching Model:

License

You may use this program under the terms of either the BSD Zero Clause License or the GNU General Public License (GPL) version 3 or later.

See file LICENSE.

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: 0BSD
  • 更新时间: 2021-08-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固