Back-ups OS X to Linux

Joined
Jan 13, 2007
Messages
4,773
Reaction score
166
Points
63
Location
Central New York
Your Mac's Specs
15in i7 MacBook Pro, 8GB RAM, 120GB SSD, 500GB HD
I'm thinking of using an PC running linux as a backup server. Any ideas how I would do it. I know it would be network attached, but other than that, I have no clue on what I would need to do. It would have enough space to completely backup my 250GB HD in my iMac, and I'd like for it to do incremental backups every night.

I'm hoping someone else has done something like this on here, and can give me some tips and pointers.
 
Joined
Oct 7, 2005
Messages
346
Reaction score
14
Points
18
Location
Seattle
Your Mac's Specs
MBP CD 1.83/2ghz/7200 100g + Mini 2ghz C2D 2gb + Mini 1.42ghz G4 + PM 7200/120 + Newton OMP
Enable the NFS server on the linux box and mount the remote volume on your Mac. Then you can back up onto the remote volume over the network.

Alternately, you can enable Appletalk on the Linux box and mount it as an AFS share. Or, enable Samba on the Linux box and mount it as a Windows share.
 
Joined
Apr 29, 2006
Messages
4,576
Reaction score
378
Points
83
Location
St. Somewhere
Your Mac's Specs
Mac Studio, M1 Max, 32 GB RAM, 2 TB SSD
Flag on the play! NFS between Mac and Linux just doesn't work. I tried and tried and tried and never could get it to go. Google the topic. You will find that this is a celebrated issue. There are LOTs of programs out there for your Mac that will tell you that they will configure your Mac to make this work, but it just doesn't. Stay away.

Instead, you may need to view this another way. Instead of the Mac mounting the Linux box and pushing the files for a backup, what if your Linux box mounted the Mac file system and pulled the files for the backup? Then you could use a cron job on the Linux side to automate this.

The secret sauce is the sshfs, a user space file system (need FUSE to be loaded - usually a simple kernel module you can modprobe) that works on top of ssh. Happily, your Mac come with and ssh server, so you are set. This is what I do, and freely pull files off my Mac and onto my Linux system.

If you are running KDE, you can even bypass sshfs, if you want to do things manually. Start up Konqueror, switch it to two pane mode, and open one of the panes on your Linux file system. For the other, go the address line and type in:

fish://ip-address-of-your-mac

This oddly named approach invokes a built in SSH file system capability and will prompt you for your Mac userid and password. Once entered and accepted, the Konqueror pane will be viewing your Mac file system. Drag and drop to your hearts content!
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top