about photos bookshelf portfolio blog home
Begin main content

TimeMachine takes you back to a time before teh Internet

So I easily got an Amazon S3 storage bucket mounted under Leopard, but it turns out Time Machine doesn't support network mounts.

Well it's not that it can't, it actually does - but it won't show you any disks that it doesn't think are local (eg. disks served by Airport Express apparently work fine), so Apple evidently have decided that my net connection isn't fast enough for backups so I'm best off not even trying :(

So let's start hacking :) The TimeMachine preference pane binary has the following methods:

@interface AppleTMPref (Private)
- (BOOL)_isSupportedNetworkMountPoint:(id)fp8;

@interface AppleTMSettings : NSObject
{
    ...
}
- (BOOL)isNetworkBackup;

@interface TMBonjourBrowser : NSObject
{
    NSNetServiceBrowser *_browser;
    NSMutableArray *_netServices;
    NSImage *_serverImage;
}

- (id)init;
- (void)dealloc;
- (id)_dictionaryFromAirPortDiskData:(id)fp8;
- (BOOL)_isLocalNetService:(id)fp8;
- (id)_volumesFromNetService:(id)fp8;
- (id)bonjourDisks;
- (void)netServiceBrowser:(id)fp8 didFindService:(id)fp12 moreComing:(BOOL)fp16;
- (void)netServiceBrowser:(id)fp8 didRemoveService:(id)fp12 moreComing:(BOOL)fp16;
- (void)netServiceDidResolveAddress:(id)fp8;
- (void)netService:(id)fp8 didNotResolve:(id)fp12;

@end

@interface SnapshotUtilities : NSObject
{
}

+ (BOOL)mountPointIsNetworkVolume:(id)fp8;
Time to crack out F-Script...

08:30 PM, 28 Oct 2007 by Mark Aufflick Permalink

wouldn't do that if I were you..

There's "not fast enough" and then there's "can cause corruption". For time machine to work properly, they need to know enough about the disk to know the semantics of some file operations. Running Time Machine against a non-supported drive may appear to work, but the backup could become corrupted.

by Unregistered Visitor on 11/01/07

yes but

i would agree if TimeMachine didn't support any network disks, but if it will work on a "local" network disk (just as possible to drop out as a remote network drive, especially over wireless) then it must already handle that situation. It should then work just as reliably (although slower) over a higher latency connection.

by Mark Aufflick on 11/01/07

Add comment