Time Machine backup to Linux via Netatalk

So, when I got the upgrade from Tiger to Leopard on my MacBook Pro, I was looking for a good backup solution. I’ve used rsync in the past, but when I saw that Apple had a new Time Machine backup tool, I was curious to give it a shot. The catch is you basically needed an external USB or Firewire drive, until they recently came out with the Time Capsule. Anyway, tonight I got the itch to really see if I could make Time Machine work without buying extra hardware. I mean, seriously, I’ve got a good hunk of mirrored disk sitting on my home server; that seems like a good place to do backups.
Some googling found me this link to a blogger who’d done it!
I’ll make my own version of this post, since I had a few differences from the original I where I found the info.

First, netatalk is the Apple File Protocol server for Linux. My home server is running Ubuntu Linux 7.10 Gutsy Gibbon release. The default Debian/Ubuntu netatalk package doesn’t cut it, though, as it isn’t compiled against ssl, and Leopard has more stringent security requirements than its predecessors, so we have to custom compile a more secure version of netatalk. (Yes, you could reduce the security requirements, but I’d rather not.)

  1. Follow the instructions in this ubuntu forum post to compile and install netatalk. After, run “echo “netatalk hold” | sudo dpkg –set-selections” to ensure that your package is not auto-upgraded (thus breaking your install).
  2. Edit the netatalk configuration to include your backup storage location. The file /etc/netatalk/AppleVolumes.default is where the file server paths are configured. The last line of the default config grants access to home directories and looks like: (~/ “Home Directory”). You’ll need to add a line specifying where you are storing your backups; mine looks like: (/backup/time_machine/ “Time Machine”). Note: I removed the “Home Directory” line, as in general I’m happier using CIFS(Samba) to access my network shares.
  3. Modify avahi/zeroconf to advertise AFP so that Mac Bonjour will see the fileserver. I followed these directions exactly.
  4. Each Mac user needing access to the server has to have a corresponding user on the server, and each user needs a .passwd file in their home directory. Follow these instructions for Ubuntu only as it explains the creation of the .passwd file. Note: This is not needed, as far as I can tell, so I wouldn’t do it. I don’t like the idea of having my password in plaintext on my server.
  5. Create a file named “.com.apple.timemachine.supported” at the root of the intended shared backup volume. (Discussed here in more detail.)
  6. On your Mac, open a Terminal window and type: “defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1”
I rebooted, but it might not be necessary. After a bit of time, my server showed up under the “Shared” section in Finder’s left column navigation window. I did have to type in my username and password to get it to work, which can be saved in the keychain.
I added my other common shared folders (which I’d previously been accessing via Samba/CIFS). Now I’m backing up with Time Machine AND using my shared files via AFP. My Mac is happy, and I am too.
(see next post for explanation of strikeouts, but note, I don’t recommend you do the struck out actions.)

viagra for men acyclovir medication what does azithromycin treat wholesale cialis what bacteria does ciprofloxacin kill cialis coupons from manufacturer cost of viagra generic levitra vardenafil 20mg viagra 100mg viagra cost finasteride 5mg side effects azithromycin three times a week viagra uk ciprofloxacin 500mg cialis samples viagra activate what is lexapro used for azithromycin for strep throat viagra from canada viagra price buy cialis side effects of cialis erectile dysfunction cialis what is ciprofloxacin cialis coupon print ciprofloxacin drops zovirax dosage ciprofloxacin side effects in women viagra wiki acyclovir cream side effects of acyclovir finasteride long term effects what is cipro usually prescribed for cialis savings card cialis prices viagra soft lexapro reviews cialis canadian pharmacy lexapro for anxiety online viagra azithromycine eg 500 mg bijsluiter levitra coupons azithromycin eye drops azithromycin 500 mg cealis cialis coupons 2017 generic cialis finasteride 1mg finasteride for hair loss cialis generic tadalafil azithromycin tablet tamoxifen and weight gain what is azithromycin for ciprofloxacin spc cialis medication viagra for sale uk cialis trial acyclovir 400 mg viagra vs cialis vs levitra cialis 20mg generic cialis at walmart levitra generic when will cialis go generic acyclovir 800 mg for shingles levitra 20 mg precio farmacia cialis price side effects of lexapro 10 mg cialis samples overnight viagra natural levitra 20mg discount viagra lexapro generic name viagra tesco finasteride dosage azithromycin class sophia viagra escitalopram 10 mg viagra without a doctor prescription cialis vs viagra tamoxifen cost cialis generic cipro and tendonitis viagra vs cialis vs levitra what is cipro viagra tablets tamoxifen lawsuits viagra side effects cipro side effects post finasteride syndrome levitra 20 mg von bayer cialis daily what is finasteride used for generic lexapro generic for lexapro cipro dosage how much does cialis cost how to use viagra viagra for women generic for cialis cialis or viagra viagra on line no prec sex viagra for women side effects of viagra escitalopram side effects cialis 5 mg side effects of ciprofloxacin cialis website what is tamoxifen cialis patent expiration date extended buy levitra cipro dangers lexapro withdrawal viagra alternatives finasteride efectos secundarios azithromycin z pak common side effects of ciprofloxacin 500 mg thuoc azithromycin ciprofloxacin side effects after age 60 how does viagra work ciprofloxacin hydrochloride ophthalmic lexapro withdrawal symptoms how to get off lexapro levitra coupon free viagra viagra samples viagra without a doctor prescription usa zovirax cream azithromycin for uti ciprofloxacin dose side effects of azithromycin female viagra ciprofloxacin 500mg tablets levitra prices cipro drug class viagra vs cialis azithromycin 500mg cialis pills for sale ciprofloxacin side effects lexapro overdose finasteride 5 mg tab side effects of tamoxifen cialis side effects how to take cialis acyclovir for cold sores cheap viagra ciprofloxacin for dogs lexapro and weight loss lexapro and weight gain cialis discount vardenafil 20mg azithromycin side effects price cialis zithromax z-pak viagra pills finasteride reviews buy viagra viagra coupon finasteride 5mg tab cialis from canada azithromycin tablets finasteride effets secondaires lexapro side effects in men cialis free trial buying viagra viagra coupons zovirax pills tamoxifen therapy buy generic viagra what is cialis ciprofloxacin 500 mg cheap levitra zithromax dosage azithromycin vs erythromycin viagra substitute ciprofloxacin bnf cialis reviews ciprofloxacin hcl 500 mg tab stopping lexapro what is cipro used for liquid cialis acyclovir dosing viagra alternative cialis patent expiration 2017 levitra 10 mg prezzo what is tamoxifen used for cyalis cialis tadalafil ciprofloxacin ophthalmic solution acyclovir side effects lexapro side effects what is lexapro cialis sample viagra for sale lexapro 20mg buy levitra online viagra ohne rezept auf rechnung viagra ohne rezept aus deutschland cialis 10 mg what does ciprofloxacin treat is azithromycin cilias how does cialis work cialis pills viagra effects canadian viagra lexapro vs zoloft cialis coupon wellbutrin and lexapro ciprofloxacin nebenwirkungen cipro antibiotic cialis 20mg directions zovirax for cold sores how does acyclovir work cialis 5mg daily ciprofloxacin used for viagra prices azithromycin 500 erfahrungen equipe argentine viagra zoloft vs lexapro side effects of lexapro in women ciprofloxacin 500 mg for urinary tract infection escitalopram oxalate viagra canada ciprofloxacin coverage cialis pricing levitra 20mg cost per pill buy cialis online levitra prezzo in farmacia cialis canada acyclovir ointment azithromycin 250 mg acyclovir vs valacyclovir levitra bayer 20mg meilleur prix acyclovir 800mg ciprofloxacin class finasteride vs dutasteride azithromycin drug class ciprofloxacin drug class finasteride side effects lexapro 10mg finasteride 5 mg ciprofloxacin 250mg what infections does ciprofloxacin treat viagra kaufen what is acyclovir used for does lexapro cause weight gain viagra 100 mg first few days on lexapro viagra online cialis for daily use lexapro dosages levitra vs viagra for hardness lexapro medication antibiotic ciprofloxacin azithromycin 250 mg treatment azithromycin 250mg tablets 6 pack acyclovir ciprofloxacin 500mg antibiotics acyclovir 800 mg order viagra tamoxifen nebenwirkungen celexa vs lexapro tamoxifen ciprofloxacin women viagra lexapro coupons lexapro benefits for women canada cialis generic levitra azithromycin viagra medicine levitra cialis for women levitra 20 mg viagra on line cipro for uti acyclovir 200mg tamoxifen and foods to avoid lexapro dosing what does finasteride do what is viagra lexapro and weight gain in women lexapro 5mg finasteride medication cialis dosage strengths what is finasteride ciprofloxacin hcl cialis 5mg viagra tablet over the counter viagra natural viagra viagra nebenwirkungen lexapro para que sirve tamoxifen citrate azithromycine cheap cialis azithromycin without a doctor’s prescription finasteride permanent side effects zithromax antibiotic azithromycin uses cialis otc viagra 50mg how does lexapro work cialis cheap azithromycin and alcohol what does ciprofloxacin 500mg treat azithromycin pediatric dosing buy generic levitra cialis testimonials effects of stopping finasteride levitra vs viagra finasteride results is tamoxifen chemotherapy viagra wikipedia lexapro side effects in women acyclovir dosage finasteride tablets viagra costs viagra vs cialis lowest cialis prices generic viagra 200 cialis coupon viagra dosage acyclovir 400mg cialis vs viagra viagra generico lexapro vs wellbutrin how long for lexapro to work viagra 100 cialas cipro 500 ciprofloxacin hcl 500 mg cialis on line lexapro 10 mg cipro antibiotics ciprofloxacin dosierung viagra pillen kruidvat viagra single packs tamoxifen bijwerkingen tamoxifen langzeitfolgen azithromycin 250mg cialis 30 day sample acyclovir ointment 5 finasteride side effects in men canadian cialis viagra sex ciprofloxacin dosage cialis alternative cialis professional cialis without a doctor’s prescription zithromax is ciprofloxacin a penicillin pfizer viagra cialis for sale azithromycin liquid escitalopram nebenwirkungen how long does viagra last azithromycin 500 propecia side effects what does viagra do escitalopram 10mg azithromycin 250 acyclovir for shingles discount cialis levitra dosage finasteride cialis coupon 20 mg viagra sans ordonnance levitra rezeptfrei deutschland finasteride 5mg lexapro bula levitra online cialis for men how to wean off lexapro side effects of azithromycin 250 mg cost of cialis is azithromycin penicillin viagra cialis azithromycin dosage cialis effects what is lexapro for finasteride 5mg side effects mayo clinic cialis dosage recommendations ciprofloxacin 500mg antibiotics side effects zovirax ointment escitalopram 10 mg para que sirve finasteride and enlarged prostate azithromycin medscape acyclovir dose withdrawal from lexapro ciprofloxacin 500 mg tabletten azithromycine 250 mg side effects of ciprofloxacin 500 mg utilisation viagra cipro side effects in elderly azithromycin pregnancy category side effects lexapro ciprofloxacin eye drops herbal viagra finasteride hair loss lexapro dosage vardenafil vs viagra cipro cialis side effects of finasteride viagra 100mg tablets retail price tamoxifen side effects buy viagra online levitra without a doctor prescription cialis voucher is lexapro a controlled substance azithromycin pregnancy cialis pharmacy prices 9 levitra at walmart what is escitalopram viamedic cialis escitalopram 20 mg canada viagra what is ciprofloxacin prescribed for what is azithromycin used for cialis online revatio vs viagra pfizer viagra coupons from pfizer generic viagra 100mg online cialis lexapro side effects men viagra en ligne livraison 24h generic cialis tadalafil azithromycin coverage viagra generic cialis cost ciprofloxacin hcl 500 mg side effects acyclovir dosage for cold sores lexapro weight gain azithromycin cost how long for azithromycin to take effect escitalopram finasteride for women what is azithromycin nolvadex what is ciprofloxacin used for cialis 30 day trial coupon levitra 20 mg cost walmart best price viagra what is acyclovir for lexapro generic cialis patent expiration side effects of finasteride 5mg cipro uses viagra receptfritt what works better than viagra cialis copay card cialis coupons printable cialis dosage viagra ciprofloxacin 500 levitra vs viagra how to wean off lexapro without withdrawals viagra bestellen tamoxifen side effects in women over 55 ciprofloxacin hydrochloride cialis coupons free cialis where to buy viagra effects of stopping lexapro suddenly daily cialis zovirax side effects of lexapro escitalopram effets secondaires azithromycin 5 day dose pack cialis generic availability acyclovir 800 mg 5 times a day azithromycin for pneumonia lexapro weaning off lexapro tamoxifen side effects in women cialis for bph propecia ciprofloxacin uses tamoxifen interaction viagra pill lexapro vs celexa what is acyclovir lexapro manufacturer website tamoxifen and bone pain levitra erfahrungen zithromax 500 mg ciprofloxacin 250 mg cialis 20 mg lexapro and wellbutrin combination therapy

5 thoughts on “Time Machine backup to Linux via Netatalk

Leave a Reply

Your email address will not be published. Required fields are marked *