Using Automator to start Time Machine backup then eject?

I've been fooling around with Automator because I want to create an application so when I mount my Time Machine disk and I run the application, the Time Machine backup with start and once it's finished it will automatically eject the volume.
I used the following shell script to begin the TM backup:
/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper &
I used the following Applescript to eject the volumes:
tell application "Finder"
          eject (every disk)
end tell
The problem is, when I save it as an application and I run it, I can see TM backup starts but it immediately ejects the disk. What can I add so it will eject the disk AFTER the TM backup has completed?
I have a MBP (late 2011) with OS X 10.7.4

Two comments:
1) Try removing the ampersand ("&") from the end of that command.  The ampersand causes the command to continue in the background while the script continues to the next step.  You want the script to wait until that command is complete.
2) You posted your question in a section for Apple's Time Capsule Wi-Fi router.  Presumably you want support for the Time Machine backup hardware.  Such a question should be posted in the section for the OS X version you're running.

Similar Messages

  • I want to use two separate Lion Time Machine backups and use them to create two separate profiles on one new computer

    This is something I need to do temporarily but I must do it. 
    I have an iMac 27 (end of year 2009) I5.  It has 1 TB internal and I want to replace it with a 2 TB internal.
    I have time machine backups on an external hard drive that has been connected via Firewire. 
    I have another iMac (my son's)Imac 24 Intel Core 2 Duo that has it's own separate Time machine backup to it's own separate firewire connected external drive.  Both machines are completely up to date with the latest version of Lion and all other necessary software updates.
    When the internal hardrive is replaced - I want to use my latest time machine backup to create one profile on the imac and then use my son's latest time machine back up for a second profile.  The end goal being to have everything from my current set up ie: apps, documents, itunes, etc existing in one profile and everything in my son's current set up existing in the other profile.   We can both be administrators for the time being as well.  I should note even though we both have some of the same apps, we both also have other apps that the other does not.
    My profile will be using about 900 gigs of total space.
    My son's profile will be using about 250 gigs of total space.
    This is temporary until the new iMac is released.  Then I will want to transfer my profile to that leaving my son's intact on the iMac 27 I5.
    I realize that during the temporary period that Time Machine will be making backups of this entire two profile setup, which I am now understanding as I write this will create a new issue for me when I want to transfer only my profile to the new computer as well.  But one bridge to cross at a time, I guess.
    I need to do this because we must bring his current computer to my father - as his iMac G5 is inoperable.  We have been doing this round robin hand me down in our family since IMac DV special edition :-)
    Any insight on this would be greatly appreciated.  And any other suggestions as well.
    Thanks very much.

    Hey Shootist000,  Thanks for the replies.  First off, I am actually okay if we both have each other applications so I am not concerned about that. It is still unclear from what you have said as to whether I can in fact, use these two separte time machine backup to create two separate profiles on the new hard drive.  If that in fact can be done, then - will it create two copies of the apps we both have in the ROOT of the drive as well as placing all the ones we each have separately?
    And reading your second reply, makes me think that maybe the partition is the way to go to begin with and then down the road - after I am in the new iMac, I could reformat the iMac 27 with only one partion and restore my son's latest back prior to the reformat thus giving him full access to the 2 TB of the drive.
    If this is still making sense, does this mean :
    replace the 1TB with a 2TB - but have it partitione - 1.5 TB & 500 GB.
    Install(Restore using Time Machine) my latest back up prior to the  1.5 partition
    Install (Restore using Time Machine) my son's latest back up prior to the 500 gig partition
    Lastly, in order for us both to be using the partioned computer - I am assuming Switch user can no longer be used - so would we need to restart and select our respective partions in order to use the computer?   And if so, how would we each be able to be using time machine to back up - two separte external hard drives - with each one dedicated to only one partition? Or ? 
    Thanks so much.
    Ironically, I am only trying to do this so that I don't need to manually install all his apps, setting, games, blah blah for this temporary period.  :-)

  • I have created a new partition on the Mac HD for Lion as I would like to dual boot. Do I need to install Snow Leopard on that partition before installing Lion? If so, can I use one of my Time Machine backups to do this?

    I have created a new partition on the Mac HD for Lion as I would like to dual boot. Do I need to install Snow Leopard on that partition before installing Lion? If so, can I use one of my Time Machine backups to do this?

    zoominnana wrote:
    Can I set up 2 different time capsule backups? one for the lion partition and one for the snow leopard partition?
    No, you can't partition a Time Capsule's internal HD.  Both partitions will back up to the same sparse bundle. keeping the backups for each partition separate.
    Time Machine will not take the two OSX partitions as two different computers, but for best results, exclude the Snow Leopard drive from backups on the Lion partition, and exclude the Lion partition from backups on the Snow Leopard partition.
    There may be some files on the Lion partition that Time Machine on Snow Leopard won't like, among other things.  See #10 in  Time Machine - Frequently Asked Questions for details.

  • I have a Seagate Freeagent 1TB external drive that ejects it's self in the middle of the time machine backup, then disappears and can't be found unless I turn it off and back on again

    I have a Seagate Freeagent 1TB external drive that ejects it's self in the middle of the time machine backup, then disappears and can't be found unless I turn it off and back on again. Any ideas?

    Hmmm.. sorry to jump in but...
    I Wish I had seen this before I got mine.
    Mine has been doing this auto eject stuff too.
    I think I just plugged it in and TM let me select it but is it possible
    I should have reformatted it with DU first, like with all the WD drive problems ?
    Is it too late for that ?
    Or just try to return it or get rid of it ?
    TIA

  • Can the time capsule be used as both a time machine backup and NAS storage

    Can the time capsule be used as both a time machine backup and NAS storage?   I want to use the drive as external, wireless storage for all of my files so all my PCs, MACs and iOS devices can access the files.  Plus, I want to use the drive for backing up my iMac via time machine.  Can the time capsule device be used for both these purposes simultaneously?  If not, are the other suggestions on how I can do this?

    Can the time capsule device be used for both these purposes simultaneously? 
    It can, but is really not recommended. Sooner or later there will be a fight for space on the drive between Time Machine and the other files.
    If you have plenty of free space on the drive, you can do this......but.....have you thought about how you will back up the "other" files that are stored on the Time Capsule?

  • Can two macs use same disk for Time Machine backup with Airport Extreme?

    Hi
    I use a Western Digital disk as a wireless Time Machine backup connected to the USB port on my Airport Extreme and it works great. My question is: can my girlfriend use that same disk for Time Machine backup from HER computer too? (I don't mind formatting the disk if needed.)
    If she can't, is it then possible to connect a USB hub and have two disks hooked up to the Airport Extreme?
    Thanks for helping. I am constantly in awe of all the help people like you give people like me. Thanks!!!
    Jakob

    I've gone through the manual setup and the assisted setup and can't seem to get my MacBook to use the Time Machine. Any thoughts or help would be greatly appreciated.
    Well, as the Jolly Giant points out....+this type of configuration is not supported by Apple+, so it's difficult, if not impossible, to provide a fix for something that Apple says that you cannot do. Reference these Apple Support documents regarding this topic:
    http://support.apple.com/kb/HT2038
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/15139.html
    Your situation is not unlike other users who try this and find that one computer may backup...(usually for a limited time before corruption issues start to creep in)...but another computer cannot backup. Count me as one of those users who thought that because things seemed to work that I had somehow "beat the system".
    I started getting the corruption error messages after 4-5 weeks of successful backups, so I figured that it did not make sense to continue to try to get a second computer to backup (yes, I too could not setup a second Mac to backup).
    Sorry, I could not get a second machine to backup, so can't tell you how to accomplish that goal. If you want to continue to try backing up this way, you might want to also think about a second backup strategy...just in case backups become corrupted on the WD drive.
    Maybe if Apple says you cannot do this, they just may be right?
    Message was edited by: Bob Timmons

  • Use disk image as time machine backup volume

    I have a large RAID array attached directly to my Mac via firewire (so it is not a NAS). Can I create a disk image file within that larger array, then mount that image as a disk, then use that as my Time Machine target? I see lots of discussion of doing this for NAS, but I cannot get TM to recognize a mounted disk image file as a TM backup volume. FYI, the reason for this is that I want to create a sparse image that limits the amount of space that TM will take, without eating up my entire RAID array, which is huge. Also, by tricking it into thinking it is another volume, TM will still let me back up other stuff on the RAID array to TM.

    Thank you,
    It's interesting to me that it will work if mounted as an SMB volume (at least according to many other posts). While I agree with you that it won't work, as I have verified that, I wonder if it could work if enabled (similar to the ability to enable unsupported network volumes).
    A follow-on question: I would really like to have TM back up FROM a mounted network share to my TM database. I have a network SMB share with a lot of my data on it. I currently have to rsync it to an external drive in order to get TM to back it up. TM is set to ignore network volumes volumes. Interestingly, the SMB shares appear to get mounted on /Volumes instead of /Network, but that is aside, as both directories are set to be ignored by default. Anyhow, is there a way to turn that feature off and allow certain network shares to be backed up (and similarly blocked from back-up in the same manner that I do everything else)? Again, lots of posts out there about backing up TO a network share, but none tell me how to back up from a mounted network share to TM.

  • Use TC 2TB for Time Machine Backup and Storage simultaneously?

    Hi
    I am planning to buy a TC 2TB.
    I would like to know if the TC can be used as a Time Machine backup device and for storage simultaneously?
    for example:
    Can I use 1TB for Time Machine backups and 1TB for storage.
    Please let me know if this is possible?
    Thank you

    I tried for ages to seek a relatively easy way to do this.. i.e. partition it, it's a huge pain! You can, but i'm pretty savvy and got bored and confused! What I did do was switch the TM back-ups to manual so they don't end up filling the disk. Trust me it's the easiest and best option!

  • HT3275 start time machine backup immediately

    How to start a time machine backup immediately ?

    Click on the Time Machine "clock" icon at the top of the Mac's screen
    Click Backup Now
    Otherwise, backups will occur automatically each hour.

  • Using Ipod Classic for Time Machine backup

    If I use my Ipod Classic (60GB) as Time Machine Backup will it converted to a storage device only loosing my music and videos?.

    you can't use an ipod as a TM disk.
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/11421.html

  • Trying to install Mountain Lion on macbook. It keeps telling me that I'm using my HD for time machine backups and won't install. Any known fixes for this?

    I have tried everything I know (which is not a whole lot) to circumvent this issue, but I can't get the install process to understand my HD is not my time machine backup.

    Hello:
    Go to system preferences>time machine and move the slider to off.
    Barry

  • Does Migration Assistant use the most recent time machine backup?

    About to transfer my old macbook pro harddrive to my new imac..and when im in migration assistant it allows me to select ALL applications (not individual ones unfortuantely) to transfer from my time machine backup...curious, does it transfer all apps I have ever had on all my backups? - there is probably 20 different backups. I have cleared a ton of useless apps off my MBP and did a fresh backup hoping those would be the only ones to get transfered?
    Thanks

    Only one version is transferred, the last saved one.

  • I am setting up a time machine backup to a external Hard drive.  I want to backup by Mac book Pro running OSX 10.8.5. I would like to Partition the disk and use one partition for Time machine backups and the other for my Lightroom backups. How to do this?

    I want to create a two partition disk. One partition for time machine, the other for Lightroom backup. Currently Time Machine is using the entire drive and it is doing the intial encryption and is about 29% complete after two days.  I've decided that I want to turn encryption off and partition the disk. So I do I start over?

    With the external drive attached, open Finder>Applications>Utilities>Disk Utility.  Select the external drive from the list in the left side panel of the DU window.  In the main window panel, click Partition in the buttons top center of that panel.
    Select the number of partitions you want and adjust their sizes.
    For the first partition, click to highlight the partition, then select the format, Mac OS Extended (Journaled) and then the partition table as GUID [both of those are the defaults].  Click Apply and it will ask to confirm and erase and format that partion...oh, give the partition a name, like Backup. 
    Then repeat those steps for the second partition..and remember to name it...something like Lightroom.
    Close Disk Utilitty and you are ready to send TM to the one partition, and do your backup of Lightroom to the second partition.

  • Can use old macbook for Time Machine Backup?

    Have an old macbook running snow leopard.  Can I use it for Time Machine Back-up for my current macbook pro?

    Boot your old into Target Disk mode, then plug a FireWire cable from your old to your pro.  Presto!  Your old's internal HD will appear in your pro's Finder as a disk on your pro.  Time machine running on your pro can use it for backup.  Time machine won't disturb its contents, except to add a potentially huge folder there, which will grow to fill the disk with copies of your backups. (Backing up, then) partitioning (and then restoring from backup) your old's internal hard drive will keep your pro's Time Machine from consuming all free space.

  • Local Time Machine backup then move to Airport?

    Can you do a local time machine setup of a new drive, then move it to your Airport?
    I heard it does it differently on the Airport so you should just initialize it from the Airport.
    Wanted to ask here before I start a long backup

    I did an initial local USB local backup then moved it to my AirPort and Time Machine sees it just fine and backs up without any errors.

Maybe you are looking for

  • Open as "Smart Object" from ACR to PS questions.

    I have 2 questions associated with opening from ACR as a Smart Object in Photoshop. I'm using CS4. 1. Is there a way to retrieve the original filename (complete with path) using a script or a setting somewhere to do this? I'm currently using Bridge T

  • Problem in NSU 1.2.20en

    hello all, hereby, I am newbie in nokia software updater. I am user of nokia n70. here some information about my phone : Nokia N70-1 V 2.0536.0.2 12-09-05 RM-84 code : 0524118 the problem is, my nsu hang at starting application, I tried to wait almos

  • Import REAL48 (binary) into an external application

    Hello, I need to import binary REAL48 data into an external C++ program. What is the best way of doing this ? In case of having to write a conversion - What is the layout of the bits involved ? Best Regards, Moke

  • How to set default browser for SM_CRM (like Firefox)?

    Hey guys, as in the company environment, IE version is too old for CRM Web UI - performance problem and it can't be changed soon, I'd like to ask how to use SM_CRM (with single sign-on) to open the browser window in Firefox? Firefox is already set as

  • What is the recommendations on rendering ?

    I've just really gotten going on using AE, and i got frustrated pretty quickly. Mostly with render times, and overall performance. I had a GeForce GTX 560 Ti and while it did ok, if I rendered anything that i used a heavy plugin, like Particular, it