Major rewrite of backup script

Based on: https://github.com/andreafabrizi/Dropbox-Uploader/wiki/Simple-backup-script
Add timestamp to log file