Get Time Machine Last Backup Date using Command Line
The Time Machine backup policy for each client is enforced using Workgroup Manager and we have removed the backup of almost all system and applications, and have set only the /Users folder to be backed up (We use deployment technologies such as Radmind and Deploy Studio to effectively backup the system and apps)
At present, this is working really well and seems to be fairly low maintenance and nothing much seems to really go wrong.
The only problem is that how do I know if a computer stops backing up for some reason?
Ideally, I'd like some kind of script which is triggered perhaps daily using launchd, which checks each client Mac and requests the date and time of the last Time Machine backup and emails the result to me.
But as an interim solution, if I could push out a unix command using Apple Remote Desktop to each computer that would suffice as at least I could see at a glance if something went wrong. Currently, I have to remote control each computer, log in if necessary, and click the Time Machine menu.
Any suggestions anyone?
Various, Mac OS X (10.5.8)