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

script to wake up the HD before the backup time scheduled ? or phone call to my HD to wake it up
erwin wrote on :

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

Kyle Jones replied on :

erwin kadoudal_kerleano@redacted.invalid 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.

erwin replied on :

In article 10oipo5fn7pjldb@redacted.invalid, Kyle Jones kyle_jones@redacted.invalid wrote:

erwin kadoudal_kerleano@redacted.invalid 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 ?

Kyle Jones replied on :

erwin kadoudal_kerleano@redacted.invalid 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.

kadoudal replied on :

On 2004-11-07 10:11:38 +0100, kyle_jones@redacted.invalid (Kyle Jones) said:

erwin kadoudal_kerleano@redacted.invalid 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