Thread: cron questions
View Single Post
  #1  
Old 07-04-2005, 03:39 PM
snoopy67 snoopy67 is offline
Registered User
 
Join Date: Jul 2005
Location: Germany
Posts: 16
cron questions

I'm using superduper on a laptop (for just a few days now ;-) ).

Now i've got a few questions that migt not pertain to superduper itself, but are, i hope, somewhat related.

I would like to automate the backup procedure using cron.
I read about how it's done in principle in the manual.

Question now is:

1. What happens if the laptop is in sleep mode when the cron job should get started?
Does it wake up the computer? (which, in this case, would be the desired behavior)
How can i make the backup script wait long enough to allow the external disk to spin up?

2. What happens if the external disk is not there? (for instance, when the laptop is on the road)
How can i gracefully handle this situation?

3. Occasionally, i might want to unmount the external disk. Can i make superduper, or the cron job, automatically mount the external disk?
(and still handle the situation gracefully when the external disk is not there)

I would appreciate any suggestions and insights.
TIA,
Gabriel.

PS:
I am able to write medium-sized shell scripts.
My external disk is a lacie 250GB firewire.
My laptp is a powerbook G4.
I'm planning to partition the FW disk into 3 partitions to do sort of rotating incremental backups of the user data.
Reply With Quote