Skip to content

adbarbosa/MySQLBackupTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQLBackupTool

PHP script to backup several databases in one server.

How to install

  1. First clone the repository using
git clone https://github.com/adbarbosa/MySQLBackupTool.git
  1. Enter folder MySQLBackupTool and create a copy of file config.default.json with new name config.json
cd MySQLBackupTool
cp config.default.json config.json
  1. Edit the new file config.json to reflect your username, password, host for acessing MySQL server and alter batabase name to backup

  2. change permissions to execute the file main.php:

sudo chmod +x main.php
  1. To make a backup of the databases simply run the following command inside folder MySQLBackupTool:
./main.php

About

PHP script to backup several databases in one server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages