[Guide] 10.6 (Snow Leopard) Time Machine backup to network share |
[Guide] 10.6 (Snow Leopard) Time Machine backup to network share |
|
sunkid
InsanelyMac Protégé
|
![]() |
Sep 6 2009, 04:03 AM Post #1
|
|
The upgrade to Snow Leopard breaks 10.5.x time machine backups configured with AFP shares on non-mac based network volumes as per these instructions, for example. After some trial and error, I was able to find out that the secrect lies with a hidden property list file that specifies the hardware UUID for the machine to be backed up. The following are some simple instructions to set up a new backup volume from scratch. They may work for upgrading a Leopard TM disk to SL, but I have not been able to verify this. Attached are a shell script that will do all the work for you and a property list file in case you want to try it yourself.
1. SETUP If your time machine is already configured to backup to a networked AFP share, move on to the next step. Otherwise, follow the setup procedure in the link above. 2. SIMPLE PROCEDURE Run the attached shell script with command line arguments specifying the maximum size for your backup image and the shared directory you want to backup to (the second argument is optional). Example: CODE sh ./makeImage.sh 600 /Volumes/backup This will create a time machine ready disk image named with your computer's name with a maximum size of 600GB and copy it to /Volumes/backup. The image "file" (it's a directory, really) will contain the property list file that SL's TM needs. If you don't specify the backup volume, you will need to do the coying yourself: CODE cp -pfr <computer name>.sparsebundle /Volumes/backup/<computer name>.sparsebundle You may or may not have to execute the script and the copy command as root. I have not tried it out both ways and only done it as root. 3. "MANUAL" PROCEDURE a. Create a disk image named with the name of your machine's computer name (not sure that this is crucial; you can find it in System Preferences -> Sharing). This example is for a 500GB (max size) image for a machine named snowy: CODE hdiutil create -size 500G -fs HFS+J -volname 'Time Machine Backups' -type SPARSEBUNDLE snowy.sparsebundle b. Edit the attached com.apple.TimeMachine.MachineID.plist file and copy your machine's hardware UUID in the correct place. You can find your hardware UUID in the System Profiler c. Copy the modified com.apple.TimeMachine.MachineID.plist file into your disk image directory: CODE cp com.apple.TimeMachine.MachineID.plist snowy.sparsebundle/ d. Copy your disk image file to your mounted backup volume. This example assumes an AFP share with the name backups: CODE cp -pfr snowy.sparsebundle /Volumes/backups/snowy.sparsebundle Please let me know if you run into any issues. The attached script works for me but it may not work for you. I make no guarantees whatsoever!! NOTE: remove the '.txt' extension from the attached files. UPDATE 9/6/9: Fixed shell script to handle computer names with spaces. UPDATE 9/24/9: We made it onto macosxhints.com
Attached File(s)
makeImage.sh.txt ( 1.83K )
Number of downloads: 2605
com.apple.TimeMachine.MachineID.plist.txt ( 258bytes )
Number of downloads: 2269 |
sunkid [Guide] 10.6 (Snow Leopard) Time Machine backup to network share Sep 6 2009, 04:03 AM
Brett Whinnen Thank you! That was the missing key for me. I ... Sep 7 2009, 08:37 AM
pitt1717 not sure how some of you guys find this stuff. but... Sep 7 2009, 04:57 PM
MacBenni QUOTE (pitt1717 @ Sep 7 2009, 05:57 PM) n... Jan 6 2010, 06:53 AM
skabob11 I haven't been able to get this to work. It mo... Sep 7 2009, 05:21 PM
sunkid QUOTE (skabob11 @ Sep 7 2009, 10:21 AM) I... Sep 7 2009, 08:47 PM
robbtheknob QUOTE (skabob11 @ Sep 7 2009, 05:21 PM) I... Sep 8 2009, 04:11 AM
skabob11 I'm uploading my logs from watching backupd in... Sep 8 2009, 01:19 PM
sunkid QUOTE (skabob11 @ Sep 8 2009, 06:19 AM) [... Sep 8 2009, 01:24 PM
skabob11 QUOTE (sunkid @ Sep 8 2009, 09:24 AM) Tha... Sep 8 2009, 01:41 PM
sunkid QUOTE (skabob11 @ Sep 8 2009, 06:41 AM) W... Sep 8 2009, 02:14 PM
skabob11 QUOTE (sunkid @ Sep 8 2009, 10:14 AM) Sno... Sep 8 2009, 02:44 PM
GrandPoohBear I just installed Snow Leopard today and it broke t... Sep 9 2009, 05:07 AM
sunkid @GrandPoohBear: how large is the maximum size of y... Sep 9 2009, 04:14 PM
GrandPoohBear @sunkid - I believe it's a 150 GB image for wh... Sep 10 2009, 05:21 AM
GrandPoohBear Tried resizing the sparsebundle: still bad.
But... Sep 10 2009, 07:24 AM
cchi Seems you also need a fully numeric SMB password... Sep 11 2009, 07:29 PM
glyphon QUOTE (skabob11 @ Sep 8 2009, 08:19 AM) a... Sep 13 2009, 04:33 AM
skabob11 QUOTE (glyphon @ Sep 13 2009, 12:33 AM) i... Sep 13 2009, 03:16 PM
sunkid I also get the second, shadow-mount of my AFP shar... Sep 13 2009, 03:56 PM
skabob11 QUOTE (sunkid @ Sep 13 2009, 11:56 AM) I ... Sep 13 2009, 08:48 PM
Deadend12 Fabulous Script Mate... worked for me like a charm... Sep 21 2009, 11:56 PM
bm28 This might be a long shot but could someone give m... Sep 14 2009, 03:26 PM
sunkid QUOTE (bm28 @ Sep 14 2009, 08:26 AM) This... Sep 14 2009, 04:16 PM
bm28 I was already able to to pick the folders (Downloa... Sep 14 2009, 08:33 PM
sunkid QUOTE (bm28 @ Sep 14 2009, 01:33 PM) I wa... Sep 14 2009, 08:36 PM
bm28 Hi
I'm using 10.6.
(What protocol do you use ... Sep 14 2009, 09:15 PM
PCMacUser QUOTE (bm28 @ Sep 14 2009, 10:15 PM) I... Sep 19 2009, 02:37 AM
skabob11 Success!
It can be confirmed that this method... Sep 15 2009, 12:32 PM
zoob One extra step if you do not have a UUID. I use C... Sep 18 2009, 11:38 PM
sejanus Sunkid, thanks a million for this! It was driv... Sep 19 2009, 01:22 PM
ShadowZephyr I figured it out to get this to work on Home Serve... Sep 21 2009, 11:28 PM
sejanus shadow - you don't need to make the drive on t... Sep 21 2009, 11:33 PM
chapaev bracho toralba It works, THX Sep 22 2009, 12:34 AM
rsvirani You should add:
defaults write com.apple.systempr... Sep 22 2009, 06:41 PM
Lagavulin WOW!
Thanks!!!
10.6.1 and D Link... Sep 23 2009, 03:38 AM
methylparabex Alright guys, I'm completely stumped. I've... Sep 29 2009, 12:43 AM
sunkid QUOTE (methylparabex @ Sep 28 2009, 05:43... Sep 29 2009, 03:01 AM
methylparabex Sunkid,
Honestly I thought that you were just blo... Sep 29 2009, 07:20 PM
sunkid QUOTE (methylparabex @ Sep 29 2009, 12:20... Sep 29 2009, 07:31 PM
iCeline The hint with the UUID in the "com.apple.Time... Oct 12 2009, 06:14 AM
David Frisby Another happy backer-upper here!!!
Upg... Oct 13 2009, 10:13 PM
itjstagame Me too, I searched for hours with many suggestions... Oct 14 2009, 03:26 PM
waj Thanks, Sunkid! Last night, I had almost give... Oct 14 2009, 04:35 PM
stainlaw Thanks very much, it worked like a charm Oct 17 2009, 06:16 PM
HueponiK THANK.YOU! Oct 17 2009, 09:11 PM
gilesrowland Thanks so much for this. Fingers crossed working n... Oct 18 2009, 01:52 PM
stinus The guide did the trick for me!!!
Tha... Oct 18 2009, 08:45 PM
Leithe Anyone know how and if I can reach my old backup b... Oct 22 2009, 10:58 AM
John Biesi I would like to thank everyone for the article and... Oct 22 2009, 11:09 PM
dopey423 can someone please help me? i have done the manual... Oct 23 2009, 02:55 AM
sunkid QUOTE (dopey423 @ Oct 22 2009, 07:55 PM) ... Oct 23 2009, 03:00 AM
dopey423 i have tried the "show package contents... Oct 23 2009, 03:21 AM
rbonon Hello,
Not being able to use the sparsebundle cr... Oct 24 2009, 02:01 AM
sunkid QUOTE (rbonon @ Oct 23 2009, 07:01 PM) ... Oct 24 2009, 02:10 AM
wuduguojie THANK! My nas is working! use smb,Importa... Oct 24 2009, 03:58 PM
hagfish Can someone tell me if this is normal? Got everyt... Oct 24 2009, 06:05 PM
Bradavarious Thanks for the plist tip. Worked a treat with my A... Oct 24 2009, 10:49 PM
slybas Thanx that did the trick , there are a lot of not... Oct 25 2009, 11:10 PM
bm28 Although the file name i created is called 'bm... Oct 26 2009, 04:07 PM
themage HI- First of all thanks a lot for the instruction ... Oct 29 2009, 03:29 PM
tyyim Thanks so much for the guide! The script work... Oct 30 2009, 10:30 AM
justin2007 Thanks, the plist file worked for me. All I had t... Nov 1 2009, 05:20 AM
ElectroLund Thanks, the script works really well on my iMac an... Nov 2 2009, 04:08 AM
ElectroLund QUOTE (ElectroLund @ Nov 1 2009, 10:08 PM... Nov 2 2009, 02:44 PM
bozilla This is great!
Thanks for the guide. Looks l... Nov 9 2009, 05:33 PM
shoko sunkid
thank you so much. my MBP started being ba... Nov 12 2009, 06:27 PM
mfilimonov Thank you very much!
After my second external... Nov 13 2009, 10:28 PM
static416 Seems to be sort of working for me. The backup wil... Nov 15 2009, 03:03 AM
static416 QUOTE (static416 @ Nov 14 2009, 10:03 PM)... Nov 17 2009, 09:21 PM
jamgill Very nice.
After getting this to work on a 10.6 S... Nov 15 2009, 07:52 PM
mr_yellow Hi Guys,
I've been doing some digging trying ... Nov 16 2009, 04:10 AM
Sean Ferigan Just wanted to share my experiences with Time Mach... Nov 18 2009, 08:42 AM
hdavie Hi all,
Looking through the posts, it seems peopl... Nov 20 2009, 09:09 AM
Sean Ferigan QUOTE (hdavie @ Nov 20 2009, 09:09 AM) Hi... Nov 23 2009, 01:50 PM
modche I love u! It works now with the skript you at... Nov 25 2009, 09:21 AM
bm28 Some bittersweet news folks.
After all this effor... Nov 26 2009, 08:18 AM
sunkid QUOTE (bm28 @ Nov 26 2009, 12:18 AM) Some... Nov 26 2009, 03:33 PM
bm28 QUOTE (sunkid @ Nov 26 2009, 03:33 PM) Th... Nov 26 2009, 10:31 PM
RUok0101 I am having the exact same issue hdavie listed abo... Nov 28 2009, 07:49 AM
redrum24 Just want to add that the following configuration ... Nov 28 2009, 05:47 PM
redrum24 Update:
Same configuration as above.
Disabled pe... Nov 28 2009, 06:52 PM
Luc Lalonde This worked great for me! (Snow Leopard + Ti... Dec 2 2009, 04:41 PM
TinFoil Soon as I add "defaults write com.apple.syste... Dec 28 2009, 02:01 AM
Kaneda_ch Hi,
Just wanted to report that after trying (unsu... Dec 28 2009, 09:27 AM
drummer425 QUOTE (sunkid @ Sep 6 2009, 05:03 AM) [sn... Jan 6 2010, 10:36 PM
jjaayy73 Yea, Thanks very much for your contribution. Also... Jan 8 2010, 07:29 AM
hondaman Hello, I'm hoping someone can help me.
I... Jan 9 2010, 09:06 PM
SnapperNZ Thanks for this - just backing up now. DNS-323 NA... Jan 11 2010, 07:02 PM
billyg I've got this working on one laptop but when I... Jan 13 2010, 09:43 AM
Ah Ngau Thanks very much for sharing this! It works p... Jan 14 2010, 01:20 PM
Stefan Zemlicka You are my hero Jan 15 2010, 11:22 AM
cafegeo I thought I had this down, but I constantly see th... Jan 20 2010, 01:52 AM
melastudio My disk mounts and unmounts after few seconds...
I... Jan 30 2010, 12:21 PM
Kaneda13 I've got my image up and working, but Time Mac... Jan 30 2010, 11:58 PM ![]() |
|
Lo-Fi Version | Time is now: 9th February 2010 - 02:49 PM |