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-05-2012, 06:25 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
How to mountain AFP for backup target?

I can't seem to figure out how to get SuperDuper to automatically mount a remove AFP share for the purpose of doing a smartupdate to a bundle there.

How can we cause superduper to mount the AFP share ahead of time, then umount it after; while doing the smart update not to the entire share, but to a sparse bundle that is saved there?
Reply With Quote
  #2  
Old 06-05-2012, 10:38 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
It'll certainly mount it (note that, on Lion, you may need to copy your Keychain entry from the local to the system keychain), but it won't unmount the share.
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 06-06-2012, 12:00 AM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
Im' on SL, but I can't get it to mount at all. ??
Reply With Quote
  #4  
Old 06-06-2012, 09:06 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
You have your credentials for the mount stored in the keychain?
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 06-06-2012, 02:33 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
well I think so since I don't have to provide any credentials to mount the drive from finder. how would I know for sure?
Reply With Quote
  #6  
Old 06-06-2012, 03:16 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
OK. So, delete the schedule you have. In the main window, reselect the image or bundle in the "Disk Image..." pop-up (even if it's grey), making sure to set the image type properly.

Reschedule for a minute or two from "now".

Quit SD! and wait to see what happens.
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 06-07-2012, 12:19 AM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
well I tried that several times and its not mounting the AFP volume. This is the log:

Code:
| 10:12:57 PM | Info | ......COMMAND => Preparing mbp-dewd-10-6-full
| 10:12:57 PM | Info |       Finished verify/repair permissions on disk0s2 Boot
| 10:12:57 PM | Info | ...ACTION: Mounting mbp-dewd-10-6-full
| 10:12:57 PM | Info | ......COMMAND => Preparing mbp-dewd-10-6-full
| 10:12:59 PM | Info |       hdiutil: create failed - No such file or directory
| 10:12:59 PM | Error | ****FAILED****: result=256 errno=22 (Unknown error: 0)
If I manually mount the AFP volume first, then the backup runs fine.

Is there a way I can add something to the actual scheduled script to make sure the volume will be mounted? I am able to mount the volume from finder without having to supply any credentials, so I guess it must be in the keychain.
Reply With Quote
  #8  
Old 06-07-2012, 08:03 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
We resolve an alias to the image file, and that should automatically mount the network volume (it certainly does here). The mount happens when the settings are loaded, actually, NOT when Copy now is pressed.

You're sure you did this scheduled (where it would actually load settings), and not by simply clicking Copy Now (where the settings are already loaded, and thus wouldn't mount)?
__________________
--Dave Nanian
Reply With Quote
  #9  
Old 06-07-2012, 01:50 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
yes I set the schedule and completely exited SD to make sure that it would do what it was supposed to. It launches SD on the appointed time, loads the settings, but the AFP volume is never mounted. It does the first part of checking perms on the source volume, then fails while trying to find the sparse bundle, since the AFP vol is not mounted
Reply With Quote
  #10  
Old 06-07-2012, 02:17 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
I don't have an answer for you. I don't know why resolving the alias wouldn't mount the volume. But - you can use a small AppleScript application to mount the volume before the schedule fires if you want - just set that up, then schedule an iCal alarm to run the little program just before the schedule is set to go.
__________________
--Dave Nanian
Reply With Quote
  #11  
Old 06-07-2012, 02:22 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
Yea I can do it with launchd, no problem. I just wanted to make sure SD can't do it first. Thanks
Reply With Quote
  #12  
Old 06-07-2012, 03:48 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
one question though, is it possible for me to launch a backup job myself from launchd instead of relying on SD scheduler? Somehow launch SD, load settings, start backup, all from external applescript, so that I can mount the AFP before and unmount after?
Reply With Quote
  #13  
Old 06-07-2012, 04:03 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
You can look at how we're doing backup on mount...
__________________
--Dave Nanian
Reply With Quote
  #14  
Old 06-07-2012, 04:14 PM
Dewdman42 Dewdman42 is offline
Registered User
 
Join Date: Apr 2009
Posts: 62
I don't understand
Reply With Quote
  #15  
Old 06-07-2012, 04:15 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
Schedule a backup on mount and look at what we're doing in launchd...
__________________
--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
SuperDuper 2.6.4 and RAID 0 Target ltf3 General 3 08-12-2011 01:50 PM
Cannot find target disk nicobos General 3 04-03-2009 07:50 AM
Why can't I exclude files on a target? malones General 4 03-22-2009 11:48 AM
How to preserve icon of target volume during smartbackup? mypointofview General 62 12-08-2007 07:18 AM
Possible or not - Define a 'folder' as a 'target drive'? Marc Dolfen General 1 03-05-2006 03:41 PM


All times are GMT -4. The time now is 09:20 PM.


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