#!/bin/sh

# This script backs up some important stuff

echo `date` "| Backing up Documents..." | tee -a logfile
rsync -aAXH --delete --stats src dest | tee -a logfile
echo $'\n'`date` "| Done!" | tee -a logfile

echo "----------" | tee -a logfile

# Do as many times as needed with dest, src, logfile etc replaced with proper locations

echo $'\n'"--------------------------------------------------" | tee -a logfile