DEV Community

alfiosalanitri
alfiosalanitri

Posted on • Updated on

Bash script to backup directories and mysql databases from source file to any location

This script can create a tar archive of all directories listed inside a .txt file and
can exclude others directories from exclude.txt file.

Also it can backup all mysql databases in separated .sql files if backup-mysql script is installed.

The tar archive will be copied to any directory like usb device if there are available free space.

Download from github

Discussion (0)