Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Sign in to follow this  
tanderson001

Automated Time Machine backup to Windows Share (SMB)

3 posts in this topic

Recommended Posts

Hi, so after losing some files recently I started looking into setting up Time Machine on a couple of laptops, so that they back up to an SMB share on a low power Windows 7 Embedded box I have.

 

After reading various articles on the internet and an old guide on this forum for Snow Leopard (http://www.insanelymac.com/forum/topic/184462-guide-106-snow-leopard-time-machine-backup-to-network-share/) I have been able to get backups working via these steps:

 

Created sparsebundle called “Backup” for my machine, moved it across to the Windows share the backup will go to.

Changed the setting to allow Time Machine backups to unsupported devices.

Opened and mounted the sparsebundle via SMB in Finder

Run tmutil to set Time Machine to backup to this mounted sparsebundle, eg. /Volumes/Backup

 

The problem I have is that unless I manually mount the sparsebundle, Time Machine just says it will backup when the backup device is next connected, is there a way of getting Time Machine to automatically mount the sparsebundle whenever it wants to make a backup, and then unmounting it when finished?

 

As an attempted work around I created an AppleScript app to run the process of mounting the sparsebundle on logon, which appeared to work, but whenever my machine goes to sleep the backup share is disconnected. It isn’t a massive problem for me, but my partner doesn’t shut their laptop down much (just closes lid), so this would lead to backups not being taken on this machine often.

 

I also saw that in some guides it says to name the sparsebundle machinename_macaddress, but no explanation as to why this has to be done, is this something that could help me?

 

Do you have any other advice or things to try to get this automated?

 

Thanks

Share this post


Link to post
Share on other sites

Well one possible solution would be to use TimeMachineEditor.app to set you backups for certain times. You could then use automator along without your Apple Script to have it run at the same times as well, but a few minutes before.

Share this post


Link to post
Share on other sites

FYI: On my unit (10.8.2) the network shares (a D-Link NAS configured with afp protocol) are reconnected whenever the machine back from sleep.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.



×