Giter Club home page Giter Club logo

mysql_tools's Introduction

mysql_tools

  • 备份工具,备份到本地目录
    • 每日定时备份
    • 针对设置的库进行备份
    • 定期清理过期备份
  • 修复工具,mysql 主从异常后修复(测试)

备份工具

修复工具

版本

  • v1.0.4,2017-10-19,更新:修正定时任务部分
  • v1.0.3,2017-08-30,更新:(1)修复文件夹加时分秒后,定时删除历史目录时无法匹配到的问题 (2)每个数据库备份成功或失败都会加上时间戳,以方便后期功能实现
  • v1.0.2,2017-08-24,更新:(1)创建的文件夹名称会精确到时分秒 (2)日志中会输出版本号。
  • v1.0.1,2015-05-14,新增:发布初始版本。

参加步骤

  • 在 GitHub 上 fork 到自己的仓库,然后 clone 到本地,并设置用户信息。
$ git clone https://github.com/BillWang139967/mysql_tools.git
$ cd mysql_tools
$ git config user.name "yourname"
$ git config user.email "your email"
  • 修改代码后提交,并推送到自己的仓库。
$ #do some change on the content
$ git commit -am "Fix issue #1: change helo to hello"
$ git push
  • 在 GitHub 网站上提交 pull request。
  • 定期使用项目仓库内容更新自己仓库内容。
$ git remote add upstream https://github.com/BillWang139967/mysql_tools.git
$ git fetch upstream
$ git checkout master
$ git rebase upstream/master
$ git push -f origin master

mysql_tools's People

Contributors

meetbill avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.