Added compression and file permission preservation when copying backup log to backup folder.
Refactored the backup server connection details to a single variable.