Basic Backup Script in BASH

[ Thanks to An
Anonymous Reader
for this link. ]

“Everyone should be backing up their data. This just doesn’t go
towards sysadmins, but even people at home who never even think of
it. Just like everything else in I.T., hard drives were built to
fail. If you do not make efficient back ups, you are at your own
mercy when your drive will no longer spin up, meaning all that data
is now gone.

“I try to make as many of my tasks as easy as possible simply by
using Bash scripting. Its the most portable language meaning 99.9%
of the time, you aren’t going to need bash to run the script…and
even if so, most of the code I write can work with other shells as

Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis