Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mac2013orlater

macrumors member
Original poster
Feb 2, 2014
98
2
Backups made here are stored on external drive (USB 3.0) and in sparse bundle on network shares. External drive formatting uses CoreStorage technology.

Backup health condition is essential for their reliability. Also used hardware must be in good health condition.

I try to automate the backup process in shell script (as API for automator unfortunately poor, zero or single Disk Utility API, no diskutil API, no API to export mailboxes to files, and so on). Automated backup process should include following step: check data and underlying storage integrity, conduct backup, check again data and underlying storage integrity, unmount.

So diskutil, hdiutil and tmutil appears to be building blocks for application in this mission.

It is however unclear in how many steps integrity check should carried out - will be sufficient enough, then what operation needs to be conducted in every step. Integrity-check of network share storage is out of scope here. For all suggestions thanks a lot in advance.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.