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 09-30-2009, 04:52 PM
RobLewis RobLewis is offline
Registered User
 
Join Date: Jul 2005
Posts: 30
Feature Idea: disable Time Machine during backups

I don't know if this is even possible, but it seems like it would be good if SD could temporarily suspend Time Machine backups while it was imaging a drive. I know you already suspend Spotlight indexing; this is sort of the same idea.
Reply With Quote
  #2  
Old 09-30-2009, 05:23 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
There's no supported way of doing that, Rob.
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 09-30-2009, 08:17 PM
tuni tuni is offline
Registered User
 
Join Date: Apr 2008
Posts: 117
Rob,
I turn Time Machine switch (system Preferences) to "off" prior to running SD. I know Dave said its not necessary,however, I don't see the harm in it and don't want to copy TM backups to my SD external drive. Takes too darn much space.
Reply With Quote
  #4  
Old 10-04-2009, 01:13 PM
MacCetera MacCetera is offline
Registered User
 
Join Date: Aug 2009
Location: Hartland, WI
Posts: 19
Scripts to stop and start time machine backups

Quote:
Originally Posted by RobLewis View Post
I don't know if this is even possible, but it seems like it would be good if SD could temporarily suspend Time Machine backups while it was imaging a drive. I know you already suspend Spotlight indexing; this is sort of the same idea.
I clone my 1TB TM drive nightly to another 1TB drive. I've got two shell scripts that I set in SD to run as pre and post backup scripts:

The first I named tm_disable.sh which contains only this line of code:
Code:
defaults write /Library/Preferences/com.apple.TimeMachine "AutoBackup" -boolean no
...and the other is tm_enable.sh with this line:
Code:
defaults write /Library/Preferences/com.apple.TimeMachine "AutoBackup" -boolean yes
It works with 10.5 and 10.6... I put the scripts in a directory on my source TM volume - and they get backed up too

-- Marc

Last edited by MacCetera; 10-04-2009 at 01:14 PM. Reason: grammer check :)
Reply With Quote
  #5  
Old 12-08-2009, 12:47 PM
KevinP KevinP is offline
Registered User
 
Join Date: Dec 2009
Posts: 2
Disable Time Machine -- Not just a matter of optimization

Rob's original feature suggestion seems to be based on optimization -- preventing Time Machine and SuperDuper! fighting over resources, but I have discovered what seems to me a more important reason to consider this suggestion.

I occasionally boot from my SuperDuper! copy to make sure it's all right (hopefully everyone does this). The last time I did I was called away for a couple of hours. When I got back I found that Time Machine was complaining that it couldn't complete a backup. In my absence it had tried to make a Time Machine backup of my backup system on the same Time Machine drive I normally use. As there wasn't sufficient space for a complete second system on that disk, it started systematically deleting my old Time Machine backups, giving up only when there was only one left! Many month's worth of incremental Time Machine backups were deleted. As far as I can see, exactly the same thing could happen when using SuperDuper's Sandbox features.

Dave is right to note that there is no supported way to control Time Machine but Marc's idea of turning off Time machine through its preference file would at least ensure that any backup system had Time Machine initially disabled. Though this can be done by the user as Marc has done, I believe it is something that SuperDuper! should do by itself.
Reply With Quote
  #6  
Old 12-08-2009, 01:29 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
If you tell Time Machine to not delete backups without notifying you, I don't think this particular situation can occur, Kevin (and that's the default, and fully supported by Time Machine).

We're really careful about only using supported interfaces in SuperDuper. Messing about with TM's undocumented preferences is just not something I'm willing to do.
__________________
--Dave Nanian
Reply With Quote
  #7  
Old 12-08-2009, 05:05 PM
KevinP KevinP is offline
Registered User
 
Join Date: Dec 2009
Posts: 2
Unfortunately Dave, this is no longer true.

In Leopard, TM used to offer to warn before deleting backups. In Snow Leopard they changed this to: "Notify after old backups are deleted" (my emphasis). There are messages about this change all over the place.

Now I know it's not really your job to fix all the problems that Apple's created but, as a user, just checking the box as you suggested is not really an option any more.

By the way, I see that there's another thread started by Rob that more closely matches this topic (though your response was the same).
Reply With Quote
  #8  
Old 12-08-2009, 05:11 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
Well, that's a silly change, but out of my control, of course.

When Apple documents a method of controlling Time Machine, I'll consider supporting it. Until that time, the script commands above (which are not supported by me) will work for users this may impact... but it's generally unnecessary as a means of controlling I/O, as you indicated.
__________________
--Dave Nanian
Reply With Quote
Reply

Tags
spotlight, time machine


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
Feature Idea: disable Time Machine on clone RobLewis General 1 08-19-2009 10:52 AM
Needed: Time Machine and SuperDuper guidance kapalama General 7 08-13-2009 07:55 AM
Time Machine Refusing To Make Incremental Backups jmspool General 2 04-21-2009 12:45 PM
Scheduled SmartUpdate with Time Machine arthurlewis General 5 04-10-2009 04:30 PM
Error 18 in Time Machine.... iith096 General 4 10-20-2008 03:57 PM


All times are GMT -4. The time now is 07:25 PM.


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