HOWTO backup with find and tar

Linux command line black with white letters

Short and simple way to backup an entire directory and a mysql database. Log some informations and send an email when the job is done. This bash script was write to be executed on OSX Yosemite, but with some minor changes it should run on almost any X driven system. If you need compression just add -z (gzip) to tar command, and name your tarball [FILENAME].tar.gz


Continue reading