Fix issues with the backup shell scripts

Environment variables must be exported from the environment.sh file,
and the backup script was missing a couple of newline escapes.

Also added a "backup successful" banner at the end of the output to
provide a reliable pattern for email filters / alerting systems to
monitor.