Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-08-2009, 11:35 PM
Sophie Sophie is offline
Registered User
 
Join Date: Apr 2009
Posts: 22
How to automatically shut-down VMWare before SD backup?

Is there a simple way to do this? My VMWare is already configured to save state before quitting. All I want is a way for SuperDuper to ask VMWare to quit (and wait for the quit) before it runs its backup.

Separately, I am getting an "must be unlocked" error when my scheduled SD job tries to run. If I run it manually I have to type in credentials. How do I set up the scheduled job to not require manual intervention?

Thanks!
Reply With Quote
  #2  
Old 06-09-2009, 04:42 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Well, you could try to use a before-copy shell script to do it. You'd want to run an Applescript that would send a "quit" event to VMWare. The script would look something like

Code:
#!/bin/sh
osascript /path/to/the/applescript
Where the AppleScript was something like:

Code:
tell application "VMWare" to quit
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 06-09-2009, 01:54 PM
sjk's Avatar
sjk sjk is offline
Registered User
 
Join Date: May 2004
Location: Eugene
Posts: 252
Or embed the AppleScript directly in the shell script:

Code:
#!/bin/sh

osascript -e 'tell application "VMWare" to quit'
… unless there's some reason why that won't work.
Reply With Quote
  #4  
Old 06-09-2009, 02:12 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Nope, that should work as well, but I was replying on my phone and couldn't remember the "-e".
__________________
--Dave Nanian
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cancel shut down during backup krumeich General 3 12-17-2008 08:38 AM
Automated Backup Scheme with History midget2000x General 5 08-31-2008 01:11 AM
Server drive won't mount after backup rhennosy General 1 11-09-2007 03:49 PM
(Zero-length) File caused SuperDuper to abort backup alancfrancis General 7 08-31-2005 10:42 AM
Shut down after backup bradleyjames General 1 07-09-2005 04:52 PM


All times are GMT -4. The time now is 10:56 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.