6 ms·
Complete Hacker Tutorial to getting Time Machine over NFS to work.
- a904guy 16y agoShows the need for xattr on your NFS mounts, that is not documented in other tutorials I've found.
- xpaulbettsx 16y agoI'm not 100% sure on this, but from what I remember most filesystems now have xattr enabled by default.
- a904guy 16y agoI thought the same. I tested EXT4 on a fresh Ubuntu 10.10 system. My variables wouldn't save till I declared it.
- iuguy 16y agoThat's interesting. But how does the restore work? Is this something that you can run from an install DVD?
- a904guy 16y agoThe restore works just like any other Time Machine restore. In critical data loss when the machine has to be formatted. You will be able to restore the system completely from the Time Machine. Just remount the NFS on the new OS and run to command so Time Machine will see NFS mounts and click Restore. ~@
- __david__ 16y agoWhy use NFS over AFP or SMB? The technique is basically the same but at least AFP and SMB are encrypted...
- a904guy 16y agoI've already implemented AFP via netatalk. I'll do a write up on the process in a bit. Personally I don't much care for SMB... but I've implemented it as well for our Windows boxes to backup over.
- js2 16y agoAFP and SMB are not encrypted AFAIK. Maybe you mean the authentication is not in clear text, but the data transfer is. (NFS doesn't really have authentication unless you use Kerberos, which doesn't pass cleartext credentials either.)
- jws 16y agoFor AFP on anything but OS X, netatalk was missing a flush-to-disk command and failed the last time I surveyed. Various samba versions have been implicated in backups that are corrupt when when you go to read them. There are enough people successfully using samba now for time capsule that I suspect that issue is a thing of the past or restricted to certain NAS devices. Time Machine is a big enough bandwidth user that I presume we are talking LAN, and for many people their LAN is secure enough.
- rw2- 16y agoWow, a real Hacker. He is able to setup NFS on Ubuntu. ;)
- xpaulbettsx 16y agoIs Time Machine actually practical for anyone on HN? It seems as if for anyone who has a non-trivial amount of changing data on their laptop, Time Machine would be completely ineffective over a Wifi network (or even wired) - it would just be constantly transferring data and thrashing disks; on my desktop, I could barely afford even 1 complete backup, yet most of the data being backed up is cache files / stuff I don't care about losing. Am I wrong on this? I've never actually tried to get it set up... does it deal with times where the file share isn't connected?
- a904guy 16y agoIt works out great for me. I work primarily on a Ubuntu Desktop but for my Mac Air, all my files are on other servers, so really I only have locally Xcode and my development tools. I assume everyones situation is different, I wouldn't be attempting to use TimeCode on a couple TB drives of a MacPro tower.
- ugh 16y agoIt’s not really practical for me and I don’t know how it could be practical over wireless LAN but I think it is the perfect backup solution for my parents. I bought a 1TB external drive for them and plugged it into their iMac [0]. It’s just sitting there all the time and they don’t have to worry about it. All their documents are also in their Dropbox folder, but they have too many photos to make that practical for all their data. All of this works without them ever having to do anything, they don’t even have to understand what’s happening. It’s perfect. [0] I actually gifted them my old 250GB external HDD a year ago but it broke a few months ago, so I bought them a new 1TB HDD. The new 1TB drive actually also houses my offsite backup. It’s very infrequently updated (and I don’t use Time Machine, I drag over files I think are important) but better than nothing.
- xpaulbettsx 16y agoThat's what I think too - it's brilliant for non-tech people, and it's straightforward enough that they can do it.
- __david__ 16y ago
- jrockway 16y agoWhy does the title contain "Complete Hacker Tutorial"? Wouldn't "How I got Time Machine over NFS to Work" be a less linkbait-ish title?
- hansef 16y agoDamnit, you beat me to my bitching.
- vl 16y agoWill it automount? I don't see any specific steps to make it automount. SMB shares setup this way don't automount for me. What happens on the public network? Is it still going to try to find the volume by IP address and back up?
- jonhohle 16y agoI do Time Machine over AFP, but a more interesting tutorial would be Time Machine over iSCSI+SSH. In fact, that might make for a fun project next weekend.