The conversation on this page has been archived and is no longer active.

External FW HD backup failed due to HD sleepin.....

Message #1 - Posted 2004/11/03 - erwin

I try to use Tri-Backup as a backup app, unfortunatly when my external Maxtor 1394 FWHD is sleeping... Tri-Backup don't wake it up and the task is delayed until I wake up manually the HD..... is there any way to change this process ? script to wake up the HD before the backup time scheduled ? or phone call to my HD to wake it up ....

thanks

Erwin

Message #2 - Posted 2004/11/03 - Kyle Jones

erwin wrote:

I try to use Tri-Backup as a backup app, unfortunatly when my external Maxtor 1394 FWHD is sleeping... Tri-Backup don't wake it up and the task is delayed until I wake up manually the HD..... is there any way to change this process ? script to wake up the HD before the backup time scheduled ? or phone call to my HD to wake it up ....

I added a cron job to keep my external drive from spinning down after being aggravated one too many times waiting for the drive to spin up. Any "Open File/Project" dialog box incurs the spin up delay and telling the OS not to put the drive to sleep makes no difference--- the drive spins itself down if it is idle for a few minutes.

# keep external drive from spinning down
*/3 * * * * ls -l /Volumes/workspace > /dev/null 2>&1

My drive's volume name is called "workspace"; change that to whatever your drive's volume name is.

Message #3 - Posted 2004/11/04 - erwin

Previously, Kyle Jones wrote:

erwin wrote:

I try to use Tri-Backup as a backup app, unfortunatly when my external Maxtor 1394 FWHD is sleeping... Tri-Backup don't wake it up and the task is delayed until I wake up manually the HD..... is there any way to change this process ? script to wake up the HD before the backup time scheduled ? or phone call to my HD to wake it up ....

I added a cron job to keep my external drive from spinning down after being aggravated one too many times waiting for the drive to spin up. Any "Open File/Project" dialog box incurs the spin up delay and telling the OS not to put the drive to sleep makes no difference--- the drive spins itself down if it is idle for a few minutes.

# keep external drive from spinning down
*/3 * * * * ls -l /Volumes/workspace > /dev/null 2>&1

My drive's volume name is called "workspace"; change that to whatever your drive's volume name is.

thanks a lot.... I'll use it !! As I use the external HD only for Backup purposes, I believe I can start this cron job at a certain time (before the backup scheduled time) .... not a Unix expert, how can I switch back ... cancel the cron upon startup ?

Message #4 - Posted 2004/11/07 - Kyle Jones

erwin wrote:

thanks a lot.... I'll use it !! As I use the external HD only for Backup purposes, I believe I can start this cron job at a certain time (before the backup scheduled time) .... not a Unix expert, how can I switch back ... cancel the cron upon startup ?

If your backup job always runs at a certain time then have the cron job run once one minute before that time. E.g. if your backups run daily at 8pm, put this in your crontab.

# wake drive at 7:59pm
59 19 * * * ls -l /Volumes/whatever > /dev/null 2>&1

The "ls" command will run once a day at 7:59pm local time.

Message #5 - Posted 2004/11/08 - kadoudal

On 2004-11-07 10:11:38 +0100, kyle_Kyle Jones said:

erwin wrote:

thanks a lot.... I'll use it !! As I use the external HD only for Backup purposes, I believe I can start this cron job at a certain time (before the backup scheduled time) .... not a Unix expert, how can I switch back ... cancel the cron upon startup ?

If your backup job always runs at a certain time then have the cron job run once one minute before that time. E.g. if your backups run daily at 8pm, put this in your crontab.

# wake drive at 7:59pm
59 19 * * * ls -l /Volumes/whatever > /dev/null 2>&1

The "ls" command will run once a day at 7:59pm local time.

thanks

Need Help? Have a Question?

Looking for more help, comments, and answers?

Ask your questions on Ask Different. Ask Different is a community of Apple users ready to help.