backup: encapsulated log logic in function, switched to writing message to syslog, switched to use log function, fixed some output redirection, switched to always compare the backup host MAC, regardless of if running in configuration mode