We're doing two things to try to keep the Mac awake. First, as soon as our time-based schedule driver recognizes it's going to have to run copy (this should only take fractions of a second), we hold the Mac awake with "caffeinate":
Code:
/usr/bin/caffeinate -t 180 &> /dev/null &
That should keep the Mac awake for
three minutes, which should be long enough to get going.
Second, when SuperDuper! starts a copy (basically, when it gets to the status window), we hold the Mac awake with a power assertion that says "don't go to sleep".
When you saw this happen, did we go to sleep before three minutes had elapsed?