Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Mac Applications / July 2008



Tip: Looking for answers? Try searching our database.

TM trouble with shutdown

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
salgud - 18 Jul 2008 15:36 GMT
I'm having problems with TM when I automatically shut down my iMac. When I
reboot, TM fails to be able to recover and automatically start backing up.
I have to turn off TM, turn off the menulet display, eject the external
drive, then restart it and reset it all. Does anyone know of a fix, maybe
using Automator or Applescript? The drive is a Maxtor One Touch 120Gb.
Heli - 18 Jul 2008 19:54 GMT
> I'm having problems with TM when I automatically shut down my iMac. When I
> reboot, TM fails to be able to recover and automatically start backing up.
> I have to turn off TM, turn off the menulet display, eject the external
> drive, then restart it and reset it all. Does anyone know of a fix, maybe
> using Automator or Applescript? The drive is a Maxtor One Touch 120Gb.

You will have to eject the TM drive always. The newer iMacs' firewire
outlets remain powered even when the computer is shut down. So you
always have to eject the attached external drives.
I suppose they did that to keep iPods powered at all time.
salgud - 18 Jul 2008 20:00 GMT
>> I'm having problems with TM when I automatically shut down my iMac. When I
>> reboot, TM fails to be able to recover and automatically start backing up.
[quoted text clipped - 6 lines]
> always have to eject the attached external drives.
> I suppose they did that to keep iPods powered at all time.

Thanks for your reply. Is there a way to eject the drive automatically?
Heli - 18 Jul 2008 20:44 GMT
> >> I'm having problems with TM when I automatically shut down my iMac. When I
> >> reboot, TM fails to be able to recover and automatically start backing up.
[quoted text clipped - 8 lines]
>
> Thanks for your reply. Is there a way to eject the drive automatically?

I don't think so. I preferred the previous arrangement, where drives
were automatically ejected at computer shut down.
Whenever I want to backup I turn the drive on, then eject and turn off.
I try to back up once each day. But this way, it saves power and my
external drive will last longer.
Lewis - 18 Jul 2008 23:47 GMT
>> >> I'm having problems with TM when I automatically shut down my iMac. When I
>> >> reboot, TM fails to be able to recover and automatically start backing up.
[quoted text clipped - 8 lines]
>>
>> Thanks for your reply. Is there a way to eject the drive automatically?

> I don't think so.

Does the eject command support firewire drives, or is it just for
opticals?

There must be some way to unmount a drive from the command line, so a
simple script that fires off with a little help from launch agent or
cron:

Here's an osascript solution.  The first part checks to see if you are
logged in.

#!/bin/sh

osascript \
 -e "set myname to system attribute \"USER\"" \
 -e "set shellscpt to \"ps acuU \" & myname & \" | grep -v grep | grep loginwindow | grep -v grep | awk '{print $11}' "\
 -e "set myLogin to do shell script \"echo\" & space & (quoted form of shellscpt) & space & \"| /bin/bash\" " \
 -e "if myLogin = \"loginwindow\" then "\
 -e <whatever command will dismount the drive>
 -e "end if"
 
I use a script much like this to change my random signature form Mail.app
every minute.

> Whenever I want to backup I turn the drive on, then eject and turn off.
> I try to back up once each day. But this way, it saves power and my
> external drive will last longer.

You're drive iwll last longest if it is always on.  Turning it off to
'save' the drive is foolish because turning in on and off actually
stresses the drive.

Signature

SUSURRATION: It's a hushed noise. But it hints of plots and secrets
    and people turning to one another i surprise. It's the noise,
    in fact, made just after the sword i withdrawn from the stone
    and just before the cheering starts.

Heli - 19 Jul 2008 08:31 GMT
> >> >> I'm having problems with TM when I automatically shut down my iMac.
> >> >> When I
[quoted text clipped - 16 lines]
> Does the eject command support firewire drives, or is it just for
> opticals?

Of course it supports firewire drives.

> There must be some way to unmount a drive from the command line, so a
> simple script that fires off with a little help from launch agent or
[quoted text clipped - 17 lines]
> I use a script much like this to change my random signature form Mail.app
> every minute.

Why use a command line if you can simply click on the drive and choose
'eject'? And it will still keep your drive running, as it still has
power.

> > Whenever I want to backup I turn the drive on, then eject and turn off.
> > I try to back up once each day. But this way, it saves power and my
[quoted text clipped - 3 lines]
> 'save' the drive is foolish because turning in on and off actually
> stresses the drive.

Nonsense. If a drive is running and, not to forget, the fan will be
running all the time 24 hours a day if you don't live in Alaska, a
drive will break down much earlier. Turning the drive on once each day
is the best thing to give your drive a long life. In the case of TM and
drive constantly on, your drive will spin up regularly to back up, then
stop in slow mode (the fan will continue running at all times).
Elemental physics. The myth of turning on and off stressing the drive
only holds true when you do this every hour or so, not when you turn it
on once a day.
salgud - 21 Jul 2008 15:18 GMT
>>> >> I'm having problems with TM when I automatically shut down my iMac. When I
>>> >> reboot, TM fails to be able to recover and automatically start backing up.
[quoted text clipped - 41 lines]
> 'save' the drive is foolish because turning in on and off actually
> stresses the drive.

Thanks for your reply.
Question: What is an "osascript" and what would I do with it? Where would I
find the command to eject  adrive?
Jolly Roger - 21 Jul 2008 15:25 GMT
> Question: What is an "osascript" and what would I do with it? Where would I
> find the command to eject  adrive?

Enter this command in a terminal window:
   
    man osascript

As you will read in the manual, the commands you feed to osascript are
standard AppleScript commands. So do a Google search for "AppleScript
eject".  ; )

Signature

Send responses to the relevant news group rather than to me, as
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR

J.J. O'Shea - 21 Jul 2008 15:50 GMT
>> Question: What is an "osascript" and what would I do with it? Where would I
>> find the command to eject  adrive?
[quoted text clipped - 6 lines]
> standard AppleScript commands. So do a Google search for "AppleScript
> eject".  ; )

You're asking him to Join The Herd. He'll never do that...

Signature

email to oshea dot j dot j at gmail dot com.

Jolly Roger - 21 Jul 2008 16:03 GMT
> You're asking him to Join The Herd. He'll never do that...

Moo.

Signature

Send responses to the relevant news group rather than to me, as
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR

J.J. O'Shea - 21 Jul 2008 16:19 GMT
>> You're asking him to Join The Herd. He'll never do that...
>
> Moo.

Personally I go for elephant trumpeting. Ten-twenty per herd, at up to six  
tonnes each... Dis _that_ herd and you'll regret it.

Signature

email to oshea dot j dot j at gmail dot com.

Jolly Roger - 21 Jul 2008 16:35 GMT
> >> You're asking him to Join The Herd. He'll never do that...
> >
> > Moo.
>
> Personally I go for elephant trumpeting. Ten-twenty per herd, at up to six  
> tonnes each... Dis _that_ herd and you'll regret it.

Okay but how would you express that in plain text?

Signature

Send responses to the relevant news group rather than to me, as
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR

J.J. O'Shea - 21 Jul 2008 16:37 GMT
>>>> You're asking him to Join The Herd. He'll never do that...
>>>
[quoted text clipped - 4 lines]
>
> Okay but how would you express that in plain text?

Uuu-rah. Like a Marine, only with more intelligence.

Signature

email to oshea dot j dot j at gmail dot com.

salgud - 21 Jul 2008 18:20 GMT
>> Question: What is an "osascript" and what would I do with it? Where would I
>> find the command to eject  adrive?
[quoted text clipped - 6 lines]
> standard AppleScript commands. So do a Google search for "AppleScript
> eject".  ; )

Thanks, JR. I'll give it a try.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.