Jump to content

[Guide] 10.6 (Snow Leopard) Time Machine backup to network share


  • Please log in to reply
171 replies to this topic

#101
deckeda

deckeda

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts

I *think* this is the only post that mentions a Tiger server actually working, as opposed to supposedly working? Can't get it to work here for a 10.4.9 Mac serving a 10.6.2 client. I have SharePoints on the Tiger Mac; even sharing the desired network drive as SMB still shows it connected and mounted via AFP when viewed from the 10.6 client. I have no clue what's going on there but will look into that more.

TM fails trying to "make available" or "preparing" the network disk with an error regarding a −1 copy of the network share. The .tmp sparsebundle mentioned before is also made during this process and then deletes. Before and after, adding the .plist file with UUID as shown in System Profiler produces the same result.


OK, resolved the issue of the network drive mounting with AFP; I had been connecting via a Finder window instead of Cmd-K and entering the smb:// IP address.

Otherwise I still have the same issue as mentioned above.

#102
deckeda

deckeda

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts

OK, resolved the issue of the network drive mounting with AFP; I had been connecting via a Finder window instead of Cmd-K and entering the smb:// IP address.

Otherwise I still have the same issue as mentioned above.


It seems to now be working. The sparsebundle volume appeared on the desktop and is now backing up to it.

I was connecting with smb://IP/username
What I should have done is use smb://IP/sharename

Windows Sharing is turned on too on the 10.4 Mac.

Unlike yesterday, today the 10.4 Mac now appeared "as a PC" (generic PC icon) from the 10.6 Finder window's sidebar SHARED list, in addition to listed as normally (as a shared Mac.) Connecting from the PC icon starting point gave me access to the server from "an SMB point of view," and so the available volume had the 10.4 server's shared SMB name, not the Finder shared name.

In fact that's how I connected at first, i.e. NOT via Cmd-K, inputting "smb:// …" etc. But another 10.6 wouldn't permit that because it never showed up in the sidebar.

Bottom line, use the Connect to Server dialog and smb://IP/sharename or smb://servername/sharename

#103
deckeda

deckeda

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
Notes on what you'll see/what I saw when working properly regarding the "multiple, ghost shares" anomaly mentioned earlier.

1. Prior to running Time Machine and after, nothing additional shows in /Volumes. This is consistent with any unmounted volume—they shouldn't appear as broken aliases there unless /Volumes/private/var/db/volinfo.database is corrupt. A logout usually cleans up the volinfo.database file.

2. While Time Machine is backing up, both sharevolume and sharevolume-1 appear in /Volumes

3. The .tmp sparsebundle mentioned previously won't be generated. That was a symptom of incorrect setup.

4. While waiting to run again, Time Machine's interface (i.e. in System Prefs) shows that it's gonna use sharename-1. Don't worry. Once it runs, it's using sharename now.

#104
jediknight36

jediknight36

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
hey, Im new to the forums. I am having the same issue. Im not quiet sure how to run teh shell script, but I have an SMB NAS that actually has a TimeMachine function on it. I make a folder and told it to become a Time Machine. I set it up, except for the mac address and name. I really want to be able to back both my iMac and Macbook pro on it. Both run 10.6.2, my MBP has backups on an external that I am attempting to move to the server. Im not sure how to fill in teh blanks on the shell script. Terminal is still failry new to me so if someone could PM me with a little more detail. My NAS is a Buffalo Linkstation. Thanks

#105
fredbe1981

fredbe1981

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Hi,
thanks for that very intersting article.
I am new to this community, and I am new again as a Mac user (means I had Mac before, then used PC for a while, and just using a Mac again now ;-)

All commands working just fine, but when trying to copy the sparsebundlefile to my share, I do receive the followings erros :

[codebox]cp -pfr efmac.sparsebundle /efserver/efmac/efmac.sparsebundle
cp: /efserver/efmac/efmac.sparsebundle: No such file or directory
cp: efmac.sparsebundle: unable to copy extended attributes to /efserver/efmac/efmac.sparsebundle: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands: No such file or directory
cp: efmac.sparsebundle/bands: unable to copy extended attributes to /efserver/efmac/efmac.sparsebundle/bands: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/0: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/12a: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/12b: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/12c: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/12d: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/12e: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/12f: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/130: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/131: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/132: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/133: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/134: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/135: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/136: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/137: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/138: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/139: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/13a: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/13b: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/13c: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/13d: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/13e: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/13f: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/19: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/1a: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/1b: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/1c: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/1d: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/1e: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/1f: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/20: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/21: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/22: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/23: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/24: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/25: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/259: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/26: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/27: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/28: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/29: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/2a: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/2b: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/2c: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/2d: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/2e: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/2f: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/30: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/31: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/32: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/33: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/34: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/35: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/36: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/37: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/5004: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/9fef: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/bands/9fff: No such file or directory
cp: utimes: /efserver/efmac/efmac.sparsebundle/bands: No such file or directory
cp: chown: /efserver/efmac/efmac.sparsebundle/bands: No such file or directory
cp: chmod: /efserver/efmac/efmac.sparsebundle/bands: No such file or directory
cp: chflags: /efserver/efmac/efmac.sparsebundle/bands: No such file or directory
cp: efmac.sparsebundle/bands: unable to copy ACL to /efserver/efmac/efmac.sparsebundle/bands: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/com.apple.TimeMachine.MachineID.plist: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/Info.bckup: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/Info.plist: No such file or directory
cp: /efserver/efmac/efmac.sparsebundle/token: No such file or directory
cp: utimes: /efserver/efmac/efmac.sparsebundle: No such file or directory
cp: chown: /efserver/efmac/efmac.sparsebundle: No such file or directory
cp: chmod: /efserver/efmac/efmac.sparsebundle: No such file or directory
cp: chflags: /efserver/efmac/efmac.sparsebundle: No such file or directory
cp: efmac.sparsebundle: unable to copy ACL to /efserver/efmac/efmac.sparsebundle: No such file or directory
[/codebox]

efmac = my mac / also the name of the shared folder
efserver = my Windows Home Server
I named my sparsebundle efmac.sparsebundle

Maybe I did something wrong in the previous step, but I did not receive any errors.
So I try to copy the file efmac.sparsebundle to efserver/efmac/

Tried to perform the copy with my usual account, and also with root account.

Hope it not a newbie question, but help would be appreciated.

Best Regards

#106
jimmyb77

jimmyb77

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
sunkid - you are a star. worked first time. Thanks so much for taking the time to write something so useful that actually works!

#107
t.sjogren

t.sjogren

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Does anybody know if this can be done with a drive without AFP support (i only have SMB support) using this drive: 'Iomega StorCenter ~350GB'

#108
jediknight36

jediknight36

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
I'm still having issues. Can someone please help me out? PM me if you don't want to post here. Thanks.

#109
martinsz

martinsz

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Thanks sunkid !!!
worked like a charm. it took me 2 mins to get it working after hours and hours of looking for a solution...
MBP 17 early 2008
Iomega Home Media Network Drive 1TB.
WiFi

the steps i followed:
- opened keychain manager and deleted all the entries for my nas.
- downloaded the makeImage.sh script
- mounted the nas/backup_dir (nas/backup)
- opened terminal, and logged as root (sudo su, su, etc)
- checked the volume name (/Volumes/backup)
- deleted any file inside
- ran the script with the destination (sh ./makeImage.sh 600 /Volumes/backup)
- when it was done, opened TM settings
- picked the nas/backup as destination drive

voila! when TM started, and it started copying files right away !!

awesome!

thanks!!!

#110
Fridex

Fridex

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
I can't get this working on 10.6.3

I have an external hdd attached to my pc. I want to backup my macbook which is on the same LAN.
I am able to see the mounted share but not to backup to it, it fails everytime.

#111
Jason J. Hill

Jason J. Hill

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
thanks for the guide!!

#112
chupalt

chupalt

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
I was able to get this working using the guide. Unfortunately I installed today's time capsule update and my backup is no longer working. Any ideas how to fix it. I've tried starting all over using the guide with no luck. I think something was changed with the update because the sparsebundle that the time machine attempts to create uses a different naming structure.

#113
causalloop

causalloop

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
Hey guys, I realize this is a bit of a dead thread, but I had the same problem where I couldn't backup following anyone's instructions and I found that my logs were telling me that backupd was crashing and I found this thread on apple's site:

http://discussions.a...t...7&tstart=30

I couldn't even get backups running on a USB drive. I haven't tried the afp or smb backup yet (still at work) but I suspect this needs to be working for you can try the network solutions.

#114
nanwania

nanwania

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Hi complete mac noob here just bought my first macbook pro

i was just wondering can someone explain to me how to run the script and where to put the command line arguments in

my backup volume is a buffalo linkstation pro with the server name avana-hdd and the folder im trying to back up to is called time machine if that helps

thanks
nanwania

#115
Lane Roathe

Lane Roathe

    InsanelyMac Protégé

  • Newbies
  • Pip
  • 1 posts
Thanks for the writeup, got my Time Machine backup under 10.6.3 going right now to my SS4200e NAS SMB share :ninja: Not doing too bad either, averaging 35MB/s.

One thing to note is that during the copy phase of the setup I got a lot of errors:
cp: test: unable to copy extended attributes to /Volumes/Backups/test: Operation not permitted
and
cp: chflags: /Volumes/Backups/test/bands/0: Invalid argument
removing the p option will remove the invalid argument errors since you will no longer be preserving the Mac OS options for the files (owner, access, etc). For the SS4200e this is what you want, as the permissions must be set by the server in order for your user to have access to them.

The extended attributes error can be ignored, as Time Machine luckily is not depending on any of these extended attributes in order to perform it's work.

Thanks again, great to be able to have TM working to my NAS :(

PS: Intel apparently has stopped making the SS4200 devices, anyone looking for an inexpensive (when I got mine they were in the $250-$300 range) and fast NAS, there might be some close out deals around somewhere. Speed wise I tried many NAS devices, and most got 8-12MB/s max, a few got into the 20s. For straight file copies this one does ~30MB/s for lots of small files and 45-50MB/s (sometimes more) for large files.

#116
jamgill

jamgill

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

I was able to get this working using the guide. Unfortunately I installed today's time capsule update and my backup is no longer working. Any ideas how to fix it. I've tried starting all over using the guide with no luck. I think something was changed with the update because the sparsebundle that the time machine attempts to create uses a different naming structure.


I held off on the Time Machine update because I was worried that it would break my backups, and after I applied it today, it did break it.

Any clues as to what the update changed or how to get Time Machine working to my network server again post-update?

Thanks!

#117
jamgill

jamgill

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts

Very nice.

After getting this to work on a 10.6 Snow Leopard machine, all I had to do to get these instructions to work on a 10.5 Leopard machine was add the underscore - ethernet ID to the sparsebundle filename as discussed in this article:

http://www.macosxhin...080420211034137

Thanks x 2,000,000,000.


So, after the Time Machine update, it appears that appending the ethernet ID to the sparsebundle name is no longer necessary.

#118
wintelmac

wintelmac

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts

So, after the Time Machine update, it appears that appending the ethernet ID to the sparsebundle name is no longer necessary.


Seems to do more than that... update to 10.6.4 breaks my Time Machine Backups now can't even backup with new SPARSEBUNDLE disks. :(

#119
csddavies

csddavies

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Great post. I got this working, however it keeps freezing up my Linksys WRT160N. Everytime I get almost a Gig into the copy the router stops working. All my other computers lose connection too. I've got the latest firmware on my Linksys. Argh!

#120
csddavies

csddavies

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
I upgrade to 10.6.4 as well and these instructions are no longer working. Anyone find a solution yet?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy