I have a couple of macs that need to run daily incremental backups to a central FreeNAS that is scheduled to replace a mac mini with external drives.
In the past, Mike's CCC has been the nobrainer solution for this task (highly recommended for anyone looking to push data from a mac to a mac). Unfortunately getting CCC to play nice with FreeNAS seems to be difficult at best.
Attempt #1: Define custom remote backup target
Basically the same setup as with the mac mini, just that the IP points towards the NAS and I skipped the auth pkg install (only works when both machines are macs) and instead made sure to mirror the client users on the NAS and setup authorized_keys for automated rsync via ssh. So far so good ... but it turns out that CCC will only work with user root@target currently. Giving root access to the clients is not desired.
Attempt #2: Make each backup destination available as an AFP volume
Apparently, CCC 3.4.7 is able to automount AFP volumes for scheduled backups. I did have to toggle the service off/on after adding multiple AFP shares for any of them to (continue to) work. Other than that, making an AFP share available via FreeNAS is fairly simple. Unfortunately, CCC will disable some of the most important local source folders (/Users, /Applications ... to name some) when the target is set to the AFP instead of an external drive. What good is that?
Attempt #3: ???
Not sure where to head from here. Setting up a little script via launchd to check NAS availability and rsync using ssh seems to be the least problematic. However I would need to provide the clients with a little GUI to indicate progress and make available a way to stop backups when required, for which I would resort to an AppleScriptObjC app.
In light of my limited experience with both AppleScript and Xcode I'd like to hear if any of you folks have run into similar requirements, how you dealt with it or if you have any suggestions.
Cheers.
In the past, Mike's CCC has been the nobrainer solution for this task (highly recommended for anyone looking to push data from a mac to a mac). Unfortunately getting CCC to play nice with FreeNAS seems to be difficult at best.
Attempt #1: Define custom remote backup target
Basically the same setup as with the mac mini, just that the IP points towards the NAS and I skipped the auth pkg install (only works when both machines are macs) and instead made sure to mirror the client users on the NAS and setup authorized_keys for automated rsync via ssh. So far so good ... but it turns out that CCC will only work with user root@target currently. Giving root access to the clients is not desired.
Attempt #2: Make each backup destination available as an AFP volume
Apparently, CCC 3.4.7 is able to automount AFP volumes for scheduled backups. I did have to toggle the service off/on after adding multiple AFP shares for any of them to (continue to) work. Other than that, making an AFP share available via FreeNAS is fairly simple. Unfortunately, CCC will disable some of the most important local source folders (/Users, /Applications ... to name some) when the target is set to the AFP instead of an external drive. What good is that?
Attempt #3: ???
Not sure where to head from here. Setting up a little script via launchd to check NAS availability and rsync using ssh seems to be the least problematic. However I would need to provide the clients with a little GUI to indicate progress and make available a way to stop backups when required, for which I would resort to an AppleScriptObjC app.
In light of my limited experience with both AppleScript and Xcode I'd like to hear if any of you folks have run into similar requirements, how you dealt with it or if you have any suggestions.
Cheers.