When she came home over Thanksgiving break, I decided to set up backuppc to also back up her local files when she was at home. Using backuppc it's nicely transparent to everyone involved. For me it's one central server that backs up all of our PC's and just one place I need to manage storage (I just added a 3TB drive to the mirror array). Should be pretty simple, since it's all linux underneath.
Essentially the process was:
- Exchange public SSH keys between the two machines (MacBookPro and backuppc server) and enabled SSH on the MacBook. Took me almost as much time to figure how to fire up a terminal session. http://gerwick.ucsd.edu/backuppc_manual/backuppc_mac_home.html
- Secure SSH to not allow password logins and changed port that SSH runs under for some obscurity.
- Change the network name on the Macbook Pro from "Allisons-MacBook-Pro.local" to be properly passed to my network (less than 15 characters) "Allisons-Mac.local". Apparently there are some issues on OS X passing on long names to DNS servers. http://techtips.salon.com/change-apple-mac-computer-name-537.html
- Used ping to test connectivity from the backuppc server to her MacBook:
- SSH into the Macintosh from the backuppc server as the backuppc user, just to test the connection (accept the fingerprint) and make sure no password is required to login.
- Setup the new host (Allisons-Mac.local) on the backuppc server:
- Made the host backup method rsync.
- Changed the default script to backup only the /Users directory.
- Modified the script backuppc uses to use the new SSH port and the user name that it runs under (not sure if this is needed).
- Started the full backup and things seem to be working fine.
ssh allisontrebacz@Allisons-Mac.local -p 8080