定制 acrnogor/data-transfer-bundle 二次开发

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

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

acrnogor/data-transfer-bundle

Composer 安装命令:

composer require acrnogor/data-transfer-bundle

包简介

Console Commands to easily transfer live data (database + files) to another environment

README 文档

README

This is a bundle to provide easy transfer of server data (database + files) to the client. It can be used in plain symfony projects or for ezpublish >= 5.x

INSTALLATION

1. Composer

Install the dependency via composer.

composer require acrnogor/data-transfer-bundle

2. Configuration

Import configuration into main config (app/config/config.yml). Add the following line

imports:
    - {resource: @DataTransferBundle/Resources/config/parameters.yml}

into your config.yml

3. Register Bundle

Add the bundle in app/AppKernel.php

$bundles[] = new Acrnogor\DataTransferBundle\DataTransferBundle();

4. Configuration

  • Adapt configuration (parameters.yml + parameters.yml.dist) to your project's needs (Server, Path, siteaccess, ...)
  • make sure you or your docker-container have properly setup ssh key and that is on 'authorized_keys' on the server

Configuration

See Resources/config/parameters.yml for details

Usage

To transfer database+files from the remote server to your develop environment simply call.

php app/console data-transfer:fetch

NOTE: The bundle must be already deployed on the remote side in order to work.

To limit the transfer to database or files only, use

php app/console data-transfer:fetch --db-only

or

php app/console data-transfer:fetch --files-only

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固