added LOCK_FILE logic to backup_via_rsync