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

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-23-2006, 09:23 AM
audun audun is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
how to automount a drive before backup starts

hi!

I have a problem with SuperDuper!
I have a SMB drive "backup" that I want to backup to. This drive will only be mounted when backup is going on, and then unmount it after backup is done.

I have applescripts to do the mount/umount of the drive.
And SuperDuper! has the feature to run scripts before and after a copy starts.

The problem with SuperDuper! is that it does not run the script before it start the backup, it runs the script somewhere after it has tried to mount the sparseimage.

Could you dnanian please change it so it runs the script before the whole backup prosedure, or add a feature that will do this? Please

I can't find any good solution to solve this.

audun
Reply With Quote
  #2  
Old 08-23-2006, 10:24 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
The intention of the before/after scripts are to act before and after the copying, so you can do things to the volume/image after it's mounted and before we exit.

If you'd like to do things before, and the action is scheduled, you can edit the script inside the scheduled settings package (in Library/Application Support/SuperDuper!/Scheduled Copies -- just Control-click and choose "Show Package Contents"). We've put before-and-after-the-whole-operation entries in there for you. You can then simply disable and re-enabled the schedule inside SD! itself and we'll recompile the script for you.
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 08-25-2006, 03:39 AM
egilDOTnet egilDOTnet is offline
Registered User
 
Join Date: Jun 2006
Posts: 5
I have the exact same request as Audun brought up.

Maybe I am just blind or plain stupid, but I cannot for the life of me find those entries or anything similar in the script. The only thing i find that come close are the beforeRunningCopy and afterRunningCopy scripts, but those are clearly executed after volume is (or should be) mounted.

Also, it would be a bit easier if you just supplied similar script entry dialogs for scripts running before mounting as you have done for scripts running after mounting.

-e
Reply With Quote
  #4  
Old 08-25-2006, 09:26 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
Those scripts are run before SuperDuper! even starts, so you can mount (or do whatever else you'd like) there. The "after" and "error" ones are run after SuperDuper! has finished.
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 08-26-2006, 10:18 AM
audun audun is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
Quote:
Originally Posted by dnanian View Post
The intention of the before/after scripts are to act before and after the copying, so you can do things to the volume/image after it's mounted and before we exit.

If you'd like to do things before, and the action is scheduled, you can edit the script inside the scheduled settings package (in Library/Application Support/SuperDuper!/Scheduled Copies -- just Control-click and choose "Show Package Contents"). We've put before-and-after-the-whole-operation entries in there for you. You can then simply disable and re-enabled the schedule inside SD! itself and we'll recompile the script for you.
Thanks!

This worked great
Reply With Quote
  #6  
Old 08-26-2006, 10:27 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
Great -- glad to hear it.
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 08-26-2006, 11:07 AM
tonymontanawc tonymontanawc is offline
Registered User
 
Join Date: Aug 2006
Posts: 2
thanks for the info.
Reply With Quote
  #8  
Old 09-04-2006, 08:03 AM
kerasmus kerasmus is offline
Registered User
 
Join Date: Sep 2006
Posts: 4
Scripts

Quote:
... I have a SMB drive "backup" that I want to backup to. This drive will only be mounted when backup is going on, and then unmount it after backup is done. I have applescripts to do the mount/umount of the drive. And SuperDuper! has the feature to run scripts before and after a copy starts. ...
I am in the same boat, except that I don't have any prepared scripts, and I don't know much of anything about scripting. I can learn what I need to, but I was hoping someone could point me toward information that will help me create this simple script to mount a network drive (via Ethernet) before smart backup (to a disk image) and unmount it afterwords.
Reply With Quote
  #9  
Old 09-04-2006, 09:14 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
SuperDuper! will automatically mount a network drive without having to do anything. It'll then mount the image, back up to it and unmount it. The only thing it won't do is unmount the network drive -- but usually that's OK...
__________________
--Dave Nanian
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Long Hang While Copying BackerUpper General 4 06-12-2006 08:26 AM
Hard drive size needed for backup? Hoosier_1701 General 8 05-20-2006 07:49 AM
How to verify a Scheduled Backup? tuqqer General 3 12-06-2005 06:50 PM
Partitioning Backup hard drive??? Lee General 13 11-30-2005 10:32 AM
automatic initiation of backup when I plugin/mount my external Firefox drive? mykmelez General 3 07-11-2005 03:00 PM


All times are GMT -4. The time now is 08:32 AM.


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