rsync backup on a local pc
#!/bin/bash echo "Starting Daily rsync backup on `date`" for FSYS in /home/username/rsync do /usr/bin/rsync -aE --delete $FSYS /home/username/rsync_bck if [ $? != 0 ]; then echo " ==> Error during rsync of $FSYS" else echo "rsync of $FSYS OK on `date`" fi done echo "Finished Daily rsync backup at `date`"