PDA

View Full Version : Script to check disk before backup ?


rvmeush
10-13-2011, 08:11 AM
I'm using a scheduled backup to clone my iMac disk, so that I have a copy in case of disaster. But it seems to make sense to check the health of the hard disk before doing a backup to make sure I don't try to clone a faulty system.

Is there a script available to check the health of the disk before attempting to do a backup?

thanks.

dnanian
10-13-2011, 08:16 AM
I don't think anyone has written one, no, but you can use the "before copy" shell script mechanism in Advanced Options to call one that you write...

harryb2448
10-15-2011, 10:45 PM
Do not know of a script but personally run DiskWarrior over the drive before it is cloned to another drive.