定制 antihero/mount-last-db-bundle 二次开发

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

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

antihero/mount-last-db-bundle

最新稳定版本:0.8

Composer 安装命令:

composer require antihero/mount-last-db-bundle

包简介

Symfony bundle to mount last .gz sql dump from remote SMB/SFTP server. Commands to dump or mount current DB, and to copy current DB to test DB.

README 文档

README

Symfony bundle to:

  • mount last .gz sql dump from remote FTPS server and execute it. Optional schema drop (doctrine: schema: drop --force) and migration execution (d:m:m)
  • dump or mount local database

    Install

composer require antihero/mount-last-db-bundle

Config

mount_last_db:
    dest_dir: _dump (relative to project root)
    file_filter: lhyo_ocf
    srv_uri: 192.168.0.92
    srv_path: backups
    srv_user: USER
    srv_pwd: '%env(AH_SRV_PWD)%'
    srv_share: mysql_backups (only for smb)
    srv_workgroup: workgroup (only for smb)
    db_host: '%env(DB_HOST)%'
    db_port: '%env(DB_PORT)%'
    db_user: '%env(DB_USERNAME)%'
    db_pwd: '%env(DB_PASSWORD)%'
php bin/console debug:config mount_last_db

Usage

php bin/console ah:mount-last-db
php bin/console ah:mount-db
php bin/console ah:dump-db

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-25