Try to run the script, and remove the part that backs up the Archive Logs. That will give you a working backup.