Saturday, April 12, 2014

Configuring Apple Time Machine backup on Windows / RASPBMC

 

This part 1 of the post will deal with the configuration of the time machine backup on windows 7 machine.

Steps involved -

1. Create image file on MAC OSX 10 + i.e. Maverick

Disk Utility -> New Image -> Save As: <filename> -> Mac OS Extended (Journaled) -> Image Format -> Sparse bundle disk image

I named it as TM

2. Then unmount the sparse bundle: by right click on the desktop or command

umount <path-to-sparse-bundle>



3. Now we will go the the Windows Machine and create a folder. I created a temp folder on Windows machine C Drive.


4. Connect the folder on MAC by right click on the finder and provided the IP followed by user name and password.


5. On MAC -Once the system is connected, i navigated to the temp folder and dragged it to the favourites for easy navigation.


6. Copied the TM sparse bundle file to temp folder


7. Then resize the file created in step 1.


hdiutil resize -size 100G /Volumes/users/multimedia/temp/TM.sparsebundle



NOTE: The resizing will not affect the actual size of the file as of now. It will only tell how much file can be expanded. In other words how large backup can be taken. For me i have a estimated backup of 40 GB so i configured the file as as 100 GB.


8. Now double click on the TM sparse bundle file from temp folder so that it gets mounted.


9. Once mounted i renamed it TM which was originally mounted as New Volume


10. Now I have a new path to take the backup i.e.


/Volumes/TM


11. Configure the backup on Time Machine on this new volume via below command.


sudo tmutil setdestination /Volumes/TM

Supply the password when asked for and done. Go to the Time Machine icon on top bar and choose backup now.


When you start Time Machine, it will create a Backups directory within the sparse bundle for your backups.


12. Add the sparse bundle to login item so that it gets connected automatically next time i login backup runs smoothly.


system preferences –> Users & Groups –> on the account you will login –> login item tab –> Click on small “+” to add the TM.sparsebundle file from the temp folder under favourite folders.  


For me it is working like a breeze.


Next time we will HACK raspberry pi for this.


-Cheerz