Simple Backup SHELL script
#!/bin/bash #typically the first line of the bash scripts
BTIME=`date +%d-%b-%y` #current date
SOURCE=/home/path-to-data/ #the folder we want to backup
DESTINATION=/home/my-backups/backup-$BTIME.tar.gz #create a backup file using the current date in it's name
tar -cpzf $DESTINATION $SOURCE #creating the backup