
So I looked around to see if there were any other solutions. And I found one. Unfortunately I do not know how it compares to Time Capsule as I do not have one (yes, some investigation needed here). But it does what I need to do and that is take a regular backup of my system.
In my environment I am using a Buffalo Terastation Live with 1TB of storage. The file system where the backups are stored is a 1TB external USB hard drive connected to the Terastation.
Step by step procedure is listed below:
In my environment I am using a Buffalo Terastation Live with 1TB of storage. The file system where the backups are stored is a 1TB external USB hard drive connected to the Terastation.
Step by step procedure is listed below:
- So first things first. In order for your Mac to store backups on NAS drives, you have to change a system property. Please refer to the following command:
MacBook :~ mactimes$ defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
Restart your system in order for the changes to take effect. Once done, Time Machine will allow your system to use a Network drive (non-standard drives in general) to backup your system. But unfortunately, there is still more to do. The application has difficulties creating the backup file and the work around is to manually create this storage container (known as SparseBundle) for Time Machine. - Turn off Time Machine in order to complete the next steps.
- Run the following command to grab the MAC address from your Network Interface. This is recreated when creating the backup file.
MacBook :~ mactimes$ ifconfig en0 | grep ether
Make a note of the MAC address and remove the colon marks. This and the hostname are required for the naming of the backup file. - Create the "sparesebundle" file on your local file system. We will copy it to the NAS server later.
MacBook :~ mactimes$ hdiutil create -size 300g -fs HFS+J -volname "Backup of MacBook" macbook_001b63b14f57.sparsebundle
created: /Users/mactimes/macbook_001b63b14f57.sparsebundle
note: The "-size" is the max size that you allow the file to grow to. Supply the size which fits your requirements
note: HFS+J is file type, this does not change.
note: -volname is the name you configure for your backup file.
note: output name is[hostname]_[MAC address] .sparesebundle - Move the file to the File Server
MacBook :~ mactimes$ mv macbook_001b63b14f57.sparsebundle /Volumes/usbdisk1/ - Now is the moment of truth. In Time Machine Systme Preferences Panel, select "Change Disk". It will display the volumes you can backup to. It should display the volume you moved the file to. If your share is not listed, ensure that the NAS is mounted. Also, if you haven't rebooted after Step 1, please be sure to reboot then try again.
- Before starting Time Machine, you will want to stop the indexing on your backup file, else your system will become extremely slow. To do this go to "Spotlight" in your System Preferences. In the Privacy tab, add the share where you copied the backup file.
- From here, just turn on Time Machine and let it run. You should get a successful backup although it can take time to complete depending on how much data your hard drives are using.
Now that is it. I have been using this technique to do regular backups and usually let it run over a night during the weekend. So far I have had no issues although I have only recovered one or two files since enabling it.
Just as a note, the technique mentioned above is clearly a hack and not promoted by Apple in any way. I will not be held liable for any data loss especially since I have not fully tested a full recovery myself. This technique worked well for me but I am guessing depending on the hardware used, mileage may vary. If you have any issues, I am more than willing to help for the setup although I cannot guarantee this technique for your environment. Please use at your own risk. If you do have success with this technique, please comment to let others know.
Just as a note, the technique mentioned above is clearly a hack and not promoted by Apple in any way. I will not be held liable for any data loss especially since I have not fully tested a full recovery myself. This technique worked well for me but I am guessing depending on the hardware used, mileage may vary. If you have any issues, I am more than willing to help for the setup although I cannot guarantee this technique for your environment. Please use at your own risk. If you do have success with this technique, please comment to let others know.
Thank you for your article. Regrettably I can't get your solution to work. Whenever I type in "ifconfig en0 grep ether" I get an error message of "bad value". I have a few Windows Vista machines hanging off my Terastation Live server and they work fine. However, with my MacBook using 10.5.7 of the OS get very very slow file copy performance and I can't create the sparsebundle to use TimeMachine. Any help you can give me would be greatly appreciated.
ReplyDeleteAs you might be able to tell I'm a MAC newbie and even the terminal commands are a bit foreign to me.
Thanks, in advance, for your help on both (file copy and Time Machine) issues.
try just "ifconfig en0 | grep ether"
ReplyDeleteAnonymous, thank you for correcting my mistake. You are absolutely correct.
ReplyDeleteI have edited my post with scripting boxes to ensure that none of the special characters are accidently removed. I hope this helps to limit the issues that may arise.
Almost every thing worked well but I still get the error:"The backup disk image could not be mounted".
ReplyDeleteNo matter what I get this error.
I thought it was great when the system changed screens to Time Machine. Freaked me out for a minute. After that I pointed Time Machine to my NAS but it still failed.
ej
Hey EJ,
ReplyDeleteI remember seeing this error when I was first playing around a while back but unfortunately I do not remember at which stage I got this error.
Some things that I can think of which could cause problems.
1) Ensure that you have rebooted the system after running the command in step #1
2) In step #4, make sure that you are using the following format: [hostname]_[mac address].sparsebundle. [hostname] being the name of your Mac.
3) Make sure that in step #4 that you create the file locally and then copy the file to the server.
I hope that one of these suggestions help to resolve your issue.
EJ, I just realized than when I wrote the post, the format required for the naming convention of sparesbundle did not display correctly. I fear I may have used angle brackets which did not display properly in the post. I have updated the post and replaced the angle brackets with square brackets.
ReplyDeleteAgain to clarify, the "hostname" is the name that you set for your mac. You can run the command "hostname" in the terminal to verify your hostname.
I really hope this is the source of your problem and that it prevents issues for others in the future.
Good luck and let us know how it goes.
Newb,
ReplyDeleteTried the following steps with the noted result, any ideas?
1. defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes
2. rebooted my system
3. created the share iMac on my Terastation
4. turned off TimeMachine
5. used System Preferences to get the Mac address of my AirPort adapter
6. ran the command hdiutil create -size 300g -fs HFS+J -volname "Backup of iMac1" iMac1_"The Macaddress from my airport adapter with the colons removed".sparsebundle
7. did your step 6
8. did your step 7
9. did your step 8 except I received a Time Machine Error with the message "The backup disk image could note be created"
Got it to work on the wired connection but not on the wireless, any ideas?
ReplyDeletewrong mac address, use wireless mac address
ReplyDeleteMany thanks Newb - I followed your instructions and it is backing up now (finally). Only another 300GB to go.
ReplyDelete:-)
Thanks Newb it almost woks as described on my LinkStation. Except that the folder on the NAS seems to small. TM stops because it says the Disk is too small and indeed the share appear in TM as 5GB in size whereas it is not mimited in size and there is ample size on the disk.
ReplyDeleteI defined the TM folder on the NAS but can't find were to set the size. Other folders (not for TM) have no other size limit than the disk size. What did I missed?
Matt
I followed all the beautiful instructions and it worked really good. I also use TM editor to do backups once a day. However after 12-14 days (backups) TM stops showing a message "To improve reliability it must create a new backup for you". If I click on "start new backup" the history and everything is deleted and I had to create a new sparse bundle file on NAS in order to have backups again. Then the same story (12-14 backups) repeated. Any ideas how to fix that? Thanks much. Alex
ReplyDeleteAwesome! After months of banging my head against the wall trying to get TM to "create a disk image" with my MacBook Pro and my Buffalo LinkStation LS-Q2, this worked!
ReplyDeleteI haven't done a restore yet but, I'm not worried. We'll see how it goes.
Thanks again!
Guy in SoCal
I've spent several weeks looking through a long list of posts on the topic and with this, I finally got it working! THANK YOU! I was on the verge of looking into an entirely different solution due to the frustration. :)
ReplyDeleteMuch appreciated.
I tried doing this, but usbdisk1 is a random file... not a folder. How can I move the .dmg into usbdisk1 if it's just a file? (If that it correct, anyway...)
ReplyDeleteYour article very well and good, bringing inspiration to many. I hope people visit my website.
ReplyDeleteFriv 11 | K7x |A10 Online |Firv |Yoob 5 .
Subsequently the licenses utilized can be the same as those utilized on the new NAS. furthermore, the additional utilization of the product will be FREE.
ReplyDeleteContinue Reading
Although if you are not an expert in building a NAS, you are better off buying one and avoid incurring more costs due to trial-and-error. data recovery
ReplyDeleteNotwithstanding, this isn't an issue with devoted hosting. Since the customer has the whole server to themselves, they have more control and adaptability. virtual private server hosting north america
ReplyDeleteThe information on the outside gadget would then be able to be shared out to gadgets on your system. Regarding execution this kind of gadget is slower then a devoted or remain solitary server. data recovery
ReplyDeleteSuch separation is essential to encouraging simultaneous control to encourage openness by various clients. https://www.dbdesigner.net/
ReplyDeleteOnline Pharmacy Pills is one of the trusted Online Pharmacy from where you can purchase your medicines at a cheaper price.In our daily life we have to tackle with various types of pain.Also it is always not possible to visit a doctor and consult it with them as we human being are so much busy with our life that we often get time to take care of our health.Pain sometimes becomes so unbearable that we are bound to take painkillers.Pain gives a very unpleasant feeling to our body.Although various types of painkillers are available in the market but among of those Soma pills are the best.Soma pills gives you immediate relief from any type of pain and also it have very mild side effect.
ReplyDelete[url=https://www.onlinepharmacypills.net/product/soma-350-mg/]Soma 350mg online[/url]
Despite the fact that there are numerous organizations that offer data recovery administrations, just the rumored organizations can flaunt powerful data recovery. UK data recovery
ReplyDeleteAttempting to utilize programming to recuperate data from a hard drive with fizzled read/compose heads, for instance, can prompt the heads scratching the platters of the drive and leaving the data unrecoverable.data recovery uk
ReplyDeleteExpert preparing, hard drive inventories and exceptional hardware all accompany an expense. hard drive data recovery
ReplyDeleteSavaliya Oil Maker Machine for Home Usage. This Product is Easy to Use and it produces health oil for your family. There are also some other products of savaliya industry, like coconut oil maker machine, peanut oil maker machine, sesame oil maker machine.
ReplyDeleteUNIVERSAL INSTITUTE OF DESIGN – UID SURAT is providing Best Interior Designing Course in Surat Universal Institute of Design is providing B.Sc, Diploma and Degree College Classes in Interior Desinging Course.
ReplyDeleteTrueline Solution is one of The Best IT Company in Surat, Gujarat, and India. We are leading seo service provider in surat.
ReplyDeleteLaxmi pipe industries is leading Steel Pipe Manufacturer In India. we manufacture and supply various shape pipes like eye shape, grooved pipes etc.
ReplyDeleteShreeja Health Care is leading Manufacturer, exporter, supplier, and Wholesaler of Oil Extraction machine
ReplyDeleteIENERGY NATURAL RESOURCES LIMITED (INRL) is leading Indonesian Coal supplier in india.
ReplyDeletein future databases both organized and https://www.dbdesigner.net unstructured information will need to figure out how to coexist with one another.
ReplyDeleteDespite the fact that there are numerous organizations that offer data recovery administrations, just the presumed organizations can flaunt powerful data recovery. dataclinic
ReplyDeleteAs a rule, it is fundamental for PC client to contact a specialist in RAID information recovery.raid data recovery
ReplyDeletevery good article.thank you for sharing these content.
ReplyDeleteEver since our inception in 2009, we have been on an epic ride and paved our way to becoming the Best IT Company In Surat.
Web Development Company In Surat
Web Designing Company
ReplyDeletevery good article.thank you for sharing these content.
All festival wallpaper
www.allfestivalwallpaper.com
Gujju Fun
www.gujjufun.com
Global surat
www.globalsurat.com
Torrent Counetr Movies
www.torrentcountermovies.com
Torrent Counetr Movies
www.torrentcountermovies.info
Want to buy designer dining set online? Explore our wide range of comfortable desi in different shapes, colors and styles. Shop online now!
ReplyDeleteJalaram Furniture offers huge selection of fabric to leather, classic to modern wide selection of living room sofas to suit your taste and style. Shop now!
ReplyDeleteJalaram Furniture offers a huge selection of high quality modular office furniture in surat, home decor & more in one of the best online furniture stores in Surat.
ReplyDeleteJalaram furniture is the best furniture showroom in gujarat.Shop online now!
ReplyDeleteThis goes past lessening significant distance costs and it is difficult to envision anybody taking care of a significant distance tab nowadays.
ReplyDeletevisit website
online database diagram
ReplyDelete
ReplyDelete!Hi
thank you for this. i love to read and support authors as much as i can. they play such an important role in our society and civilization especially the good ones you offer some great ideas supporting these wonderful people…
http://degitally.com/
online database diagram
ReplyDeleteonline database diagram
ReplyDeleteIndia's leading IT Company: https://www.whitelioninfosystems.com/
ReplyDeleteWe "Shreeja Health Care Products" are leading Manufacturer and Wholesaler of Oil Extraction Machine, Oil Maker Machine, Commercial Oil Press, Mini Oil Ghani Machinery, Filter Press Machine, Oil Ghani Machine etc.
ReplyDeleteWe "Shreeja Health Care Products" are leading Manufacturer and Wholesaler of Oil Extraction Machine, Oil Maker Machine, Commercial Oil Press, Mini Oil Ghani Machinery, Filter Press Machine, Oil Ghani Machine etc.
ReplyDeleteWe Oil Maker Machine By Shreeja Health Care are the leading Manufacturers and Wholesalers of Oil maker machine, Oil extraction machine, Mini oil extraction machine, Oil making machine, Almond oil maker machine, Peanuts oil maker machine, Mini Oil Ghani Machinery and many more.
ReplyDeleteWe Oil Maker Machine By Shreeja Health Care are the leading Manufacturers and Wholesalers of Oil maker machine, Oil extraction machine, Mini oil extraction machine, Oil making machine, Almond oil maker machine, Peanuts oil maker machine, Mini Oil Ghani Machinery and many more.
ReplyDeleteShreeja Oil Maker Machine is offering Cold Press Oil Maker Machine and Oil Maker Machine Manufacturers in India.
ReplyDeleteonline database diagram
ReplyDeleteonline database diagram
ReplyDeleteonline database diagram
ReplyDeleteonline database diagram
ReplyDeleteonline database diagram
ReplyDeleteonline database diagram
ReplyDeleteonline database diagram
ReplyDelete