Encountering unset variables is common when scripting. Often your script needs to ask questions about values before using ...
It also saves a log in the same location as the backup file, including: Logging the start and end time plus how long the backup took. Logging every file that was ...