Time Machine: How to backup to unsupported volumes

by Volker Weber

This is almost too easy:

timemachinesetup1

timemachinesetup2

No, you don't have to type it from the screenshot:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Comments

Looks like an interesting hack, thank you for that.

Just one question; is this supposed to work also on a WiFi network?

Pieter Lansbergen, 2007-11-09 18:54

Well, as you know by now, it works great, even over WiFi-shared Tiger-based iMac... ;-)

This is real useful, thanks again.

Pieter Lansbergen, 2007-11-09 19:45

An external drive hooked to an Airport Extreme seems like an ideal companion to a laptop with Time Machine.

Then again, writing to a drive hooked to the Airport Extreme corrupts my data. A large file has some bits flipped when it's written over wireless. Latest 10.4, latest firmware, I am not amused.

Timo Stamm, 2007-11-09 20:07

OT - that is a significant amount of music...

John Keys, 2007-11-09 23:08

Please excuse my ignorance since I don't use Leopard yet, but I don't quite get the term "unsupported volume". IMHO it depends on the target volume's filesystem and its support in the kernel's OS wether it's supported/read/writable or not. Within this logic writing to an unsupported volume is impossible - or what criteria has Apple to call something supported?

Philipp Sury, 2007-11-10 00:00

Thank you, thank you and thank you again...!

;-)

---* Bill

Bill Buchan, 2007-11-10 00:32

@Phillipp: TMShowUnsupportedNetworkVolumes.

Timo Stamm, 2007-11-10 03:29

That's cool to know, but if TM is your only means of backing up then it's probably a bad idea to run it in such an unsupported way. There is usually a reason why stuff is disabled/hidden. At least, give it a good workout and then try to actually perform a full system restore. Backups are useless if the restore doesn't work. And you won't know until you try.

Thomas Gumz, 2007-11-10 03:54

@Phillipp: Oops - missed that you know apple coined it. Sorry. Time for some coffee :)

Timo Stamm, 2007-11-10 04:35

Doesnt work as well as I expected. Seems that TM uses the ethernet mac address to name the sparseimage that it stores on the network volume. This breaks things if you want to sync stuff to airport disk from different network connections i.e. USB, wifi or ethernet.

My initial sync is 118G, i had hoped to do the first sync via USB then subsequent syncs via wifi. No dice.

Andy Mell, 2007-11-10 05:15

Andy, Time Machine seems to use the MAC address of the primary interface for backing up to a network share but that doesn't break things as long as you use a real network connection to create the first backup. I just tested this using a time machine backup I created using the Gigabit interface, then disconnected the cable and tried to use the backup over a wireless connection. That went without problems.
The thing is that Time Machine will use a different on disk format if the target volume is a local disk and that's why you can't (easily) make the initial backup to a USB drive and then move the drive to a server and access the backed up data over the network.
The only way this *might* work is to fill the drive via USB/Firewird connection and then put it into a server that's capable of presenting the drive as an iSCSI target. You'd then need the iSCSI client driver to access the drive. As an iSCSI drive to Mac OS X looks like a local drive, this *should* work. Unfortunately I don't currently own a USB drive enclosure so I can't test this.

Stefan Rubner, 2007-11-10 09:11

Yeah, I suppose you can do that. Assuming, of course, that you don't mind potentially losing some or all of your data.

See: More AirPort Extreme AirDisk Issues

Michael Long, 2007-11-10 12:48

Michael, a ReadyNAS is not an Airdisk.

Volker Weber, 2007-11-10 12:53

Timo, thanks for trying to help me, but I still don't get it. Reading the answers I understand that I obviously failed to see that the filesystem doesn't really matter as we are solely talking about networked shares. However, this moves my failure to understand the term "unsupported" just to a different area since it's impossible to backup to a target protocol your own machine doesn't understand. And why would Apple mark shares as unsupported if the server is talking a protocoll OS X understands?

Philipp Sury, 2007-11-10 15:34

Might be a bit OT: But I am using a NFS to backup my data by TimeMachine w/o modifying the com.apple.systempreferences.plist - I just mount an image from there... :-)

Martin Kautz, 2007-11-10 16:06

Philipp, your problem is easily solved once you understand that there's a difference between Mac OS X and Time Machine. While the former is an operating system that not only knows about networked shares but also supports them, the latter, however, is just an application that *can* rely on the functions provided by the OS to talk to the network shares. But the sole fact that it is possible for Time Machine to use functions provided by the operating system doesn't mean that this functionality *has to be supported* by Time Machine.
It just boils down to this: Somewhere along the lines of development, Apple came up with some code that *would* allow Time Machine to use network shares as backup targets. But unfortunately Apple had to learn that this code could cause some major problems (most likely with AirDisks but maybe also because the on disk format *used by Time Machine* is completely different between backups on local disks and network drives) and thus they decided to disable the code (and mark it as unsupported) instead of completely removing it. And because they didn't remove it the more daring users are now able to *enable* it again (on their own risk) using the command stated above.

Stefan Rubner, 2007-11-10 16:43

Specifically, [...] Apple disabled the ability to back up to a network share using Time Machine. "They made the right decision; it's not stable."

Apple Time Machine slammed (Techworld.com)

Martin Switaiski, 2007-11-11 02:33

Stefan, thank you very much. Now I understand. =)

Philipp Sury, 2007-11-12 11:36

Hi Volker,

ich bin selbst am Überlegen ob ich mir ein "RND4425" zulegen soll.
Ein K.O.-Kriterium ist für mich die AFP-Unterstützung. Laut Datenblatt ist diese vorhanden, doch leider kann ich nirgens mehr darüber finden. Hast Du Probleme beim Zugriff via AFP,
oder kannst ggf. manchmal Dateien nicht löschen?
(Hast Du ggf. mal "Helios File System Test" laufen lassen?)
Darüberhinaus interessiert mich der iTunes-Server, was für ein "Server" steckt dahinter?
(firefly etc...?)

Danke für Deine Mühe,

Stefan

Stefan Dreger, 2007-11-12 12:39

Gehört zwar eigentlich nicht hier her, aber: AFP hab' ich nicht getestet, da hier entweder NFS oder SMB/CIFS zum Einsatz kommt, der iTunes-Server ist FireFly, ja.

Stefan Rubner, 2007-11-12 12:43

Slightly OT: what´s the impact of engadget mentioning this entry on the traffic profile?

Armin Auth, 2007-11-12 18:05

The impact is not significant. About one percent of my traffic yesterday was coming in from Engadget. Today it is much less.

Volker Weber, 2007-11-12 18:31

@Timo - This could be your problem - the method might produce backups which are corrupted if backing up by WLAN, according to Hardmac:

Indeed, when receiving data to be saved, the wireless station sends confirmation message to the computer. So, if writing data fails, Time machine will ignore it. Apple will need to work on the Airport 802.11n firmware before being able to activate this feature. The solution might be part of the future Mac OS X 10.5.1 update.

John Keys, 2007-11-13 14:06

Vowe,

sorry for this pedestrian question, but i have a macbook (now running leopard) and a pc (running xp). I have even managed to put them in a network (i choose folders to be shared in each machine by the other)

I want to use time machine and my newly purchased iomega 500GB to back-up both the mac HD and at least the shred folder of the pc (ideally the whole HD of the PC).

I have done the regulat back-up with TM, but the shared folder of the PC appears in gray (and inaccessible) in that 'universe like back-up surfing screeen'

question 1: can i really do what i want? how?
question 2: can i do that but hooking the iomega to the PC instead of hooking it to the mac (since one is portale and the other is fixed)?
question 3: if the above does not work, can i partition the iomega and do a copy of the pc in one part and still use TM on the other?

PS - i tried the script above in terminal, and now can 'see' the PC's HD as a potential back-up place, but after that asked TM to 'back-up now' and the PC's HD is still gray in the "universe screen ...'

Leonardo Letelier, 2007-11-29 11:55

What is the answer to the last question? I have a tablet pc and an Intel iMAC. I want to use the iMAC as the primary computer, but I take the PC on the road to clients and have downloaded the client's data to the pc. I would like to save pc files on the iMAC and have TM backup the MAC and PC files. I also want to access the pc files (which are Word and Excel documents primarily) with the MAC.

Any suggestions?

Ellis Koch, 2007-12-07 22:13

How do you undo this hack, once it's been done?

Jennifer Mon, 2007-12-12 00:37

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 0

Volker Weber, 2007-12-12 00:41

How would I backup to a certain folder on the unsupported volume? I'm connected to a server and I don't have privileges to backup to the main server but I have to choose a certain folder within the server (if that makes sense).

Any suggestions besides trying to contact MIS?

Thanks,

Matt Sawmiller, 2007-12-18 15:15

This worked fine for me until it filled-up the drive and the TM backups started failing. Seems TM can not delete the older information making room for new backups. Anyone have a suggestion?

Kirk White, 2007-12-20 08:11

Hi Guys,

great hack!
Here is my problem: I have a TeraStation attached to my local network with one big share and several folders. I would like to use it also with TM.
Now the question is: If I tell TM to use that share, there is no way of specifying a target folder. What will happen with the data that is already on the TeraStation? Is there a way of specifying a folder?
The total capacity of the TeraStation running in RAID5 is about 700GB. It would be stupid if I could not use it for anything else once I start using TM, wouldn't it?

Klaus Kampen, 2008-02-05 20:40

ok, I found out how it works. As mentioned before, TM generates a folder named after the computer plus something that could be the MAC-Address and places it in the first folder it finds in the share. That's it. Nothing seems to be deleted. I will try out a few backups and restores and see how this behaves. I'll let you know if something comes up.

Cheers,

/Klaus

Klaus Kampen, 2008-02-05 21:03

What if I want to back up to a 1G USB Key. There is just one 200MB folder I want to back up, but time machine wont let me back up to it. Its formatted OSX Extended and so on and i did the hack given above in termainal

Conor Sullivan, 2008-02-12 13:51

Conor, why do you need Time Machine for a 200MB folder? Seems like overkill to me. Just drag n drop the files onto your USB stick (takes seconds), or just burn a CD.

Jim Tonge, 2008-03-06 01:25

I've been successfully running Time Machine onto my QNAP NAS box using this hack to enable an SMB share as a destination. I've had no problems since I set it up in January. I've written a blog entry about my setup and my experiences.

There's two issues that have come up in that time:

The disk space issue: you need to be careful when Time Machine fills the disk or you can lose all but one of your backups.
10.5.2 made it harder to set up new Time Machine backups. It's not as simple as turning on this default any more...


I've covered both of these issues, and ways to work round them in my follow-up entry today.

Cheers,

Adam

Adam Cohen-Rose, 2008-03-09 00:22

To undo this use

defaults delete com.apple.systempreferences TMShowUnsupportedNetworkVolumes

Good luck...

Andy Max, 2008-04-21 02:23

Hi,
Nice trick. But I couldn't figure out how to use it with my existing backups. Then found the how-to here:
http://rolf.haynberg.de/?p=83

Regards

Peter Keller, 2008-08-02 10:07

does this means I can have a ext3 formated harddrive on my linux server, available trough a samba share to my Mac. And TimeMachine could backup to it this way?

Mathieu Jobin, 2008-08-20 21:21


This doesn't work for me (running OSX 10.5.6). I get this message...

Time Machine Error
The backup disk image could not be created.

Any ideas?

Lennart Svensson, 2009-02-06 16:10

I get the same problem as well:

Time Machine Error
The backup disk image could not be created.

Trent Collins, 2009-02-18 12:21

Same problem here. The backup disk image could not be created.
Not working. Any help?

Thomas Gapen, 2009-08-17 20:20

I use storage connected via Firewire to a Mac mini as my Time Machine repository. That is actually a supported network volume. It works cleanly - I just wish I could a) adjust the syncing times of Time Machine, and b) have more control over some space usage, rollover of data, etc.

That said, I also rsync important things (like iPhoto and iTunes libraries) to online storage elsewhere.

Kevan Emmott, 2009-08-17 21:18

I'm running OS 10.6.2 and trying to use Time Machine to backup to a folder on our office server. I used the code you provided in Terminal and TM can now see the volume from the server I want it to use. The problem now is I'm getting an error message that says, "Time Machine could not complete the backup. The backup disk is not available." I can drag and drop any file from my computer into the desired location and it works. TM can't seem to backup to the volume. Do you have any idea's as to why? Thanks for your help! Lance

Lance Bradley, 2009-11-16 22:47

After the last OS update, this does not appear to work anymore. The 2 machines I updated can no longer back up; the one machine I did not update continues to back up with no problems.

Trejkaz X, 2010-04-25 14:45

Same here after a while. I had to recreate the bundle image on the network drive, because Mac OS X was complaining about inconsistencies and gave me two options: #1 recreate now, #2 wait one day and ask again.
What an easy choice... Here is a knowledge base article about that issue.

Karsten Lehmann, 2010-04-25 15:32

Recent comments

Robert Dahl on Ello to get comments, faves and reposts at 12:38
Thomas Baschetti on Ello to get comments, faves and reposts at 12:16
Ralph Hammann on Nutellamesser at 12:00
Ralph Hammann on Ello to get comments, faves and reposts at 11:58
Roland Dressler on Waage at 11:57
Benjamin Nickel on Ello to get comments, faves and reposts at 11:55
Nina Wittich on Nutellamesser at 11:51
Daniel Haferkorn on Nutellamesser at 11:49
Volker Weber on Ello to get comments, faves and reposts at 11:27
Matthias Lorz on Ello to get comments, faves and reposts at 11:25
Volker Weber on More steps, more sleep at 10:44
Ingo Seifert on More steps, more sleep at 10:41
Volker Weber on Ello at 14:28
Benjamin Rohrschneider on Ello at 14:27
Benjamin Rohrschneider on Ello at 14:25
Volker Weber on Ello at 12:18
Oliver Barner on Ello at 11:29
Volker Weber on Ello at 09:51
Detlev Buschkamp on Waage at 08:40
Sascha Westphal on Ello at 23:53
Armin Grewe on GoPro Accessories at 22:17
Carl tyler on GoPro Accessories at 20:45
Jochen Schug on Ello at 18:50
Jochen Schug on GoPro Accessories at 18:48
rainer kraemer on Ello at 18:36

Ceci n'est pas un blog

vowe.net is a personal website published by Volker Weber a.k.a. vowe. I am an author, consultant and systems architect based in Darmstadt, Germany.

rss Click here to subscribe

Hello

About me
Contact
Publications
Certificates
Amazon Wish List
Frequently Asked Questions
Follow @vowe on Twitter

Local time is 13:11

visitors.gif

Tip jar

Archives

As most of my articles roll off the front page rather quickly, I am making an archive of previous posts available here. You can also use the handy search box at the top of the page if you are looking for something particular.

Last 30 days
More archives

Mobile tag for this page

© 1992-2014 Volker Weber.
All Rights Reserved.

Impressum