Good day Guys I've been tasked with job to generate just a simple email / report on all our workstations / hosts that take that long to do a full backup, with out the need to log into our backuppc servers.
I've been looking at : /usr/share/backuppc/bin/BackupPC_serverMesg status hosts Here is a snippet of the hash returned: "lastGoodBackupTime" => 1479869428,"endTime" => 1479877202,"activeJob" => 0,"startTime" => 1479877201 What I cant make out is, why is the endTime a second past startTime, where as if I log into backuppc, I see it says the backup too 29 minutes. The other thing I was thinking was grepping the last XferLOG.12345.z log for the start time and then getting the time stamp of the actual XferLOG.12345.z itself and calculate the difference. But my email to you it to ask, if you know of a more elegant solution of : Find all the host(s) that did a full backup last night. And if the duration took +2 hours, email me. If anyone can help it would gratefully be appreciated. Many thanks Regards Brent Clark ------------------------------------------------------------------------------ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
