Code Monkey home page Code Monkey logo

simple-mysql-backup's Introduction

Simple-mySQL-backup

Simple mySQL backup script what exports databases on a separate files.

Simple mySQL backup tool is written on BASH and allows user to make a backup in a separate file for each database.

Usage

The script can be used as single time backup solution or can be used in cronjob.

  • TODO - add cronjob usage section

Instalation / running

Running the script is quite easy. First of all we need to take the project to any directory on our server (I choose /opt)

git clone https://github.com/NedkoHristov/Simple-mySQL-backup/ /opt/Simple-mySQL-backup

Open the file mysql_backup.sh with your favorite editor and fill-up next data: USER="your-mysql-username" PASSWORD="your-mysql-password" DIR="dump-directory"

Note - $DIR should follows to directory with appropriate read/write permissions.

In next versions:

  • Log support (0.2);
  • cronjob configurator via terminal GUI (0.3);
  • Full parametrization of the script (0.4)
  • GUI(ish) configuration of the Simple mySQL backup tool (1.0);

simple-mysql-backup's People

Contributors

nedkohristov 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.