


One of the things about math that I love the most is its uncanny ability to reveal patterns in our everyday lives in nature and the world around us. He also wrote a book about how things get in sync in nature, Sync!

IMO a topological sort would be an even stricter requirement than spanning tree, in that if one node becomes available, you can't sync anything "below" it! Also what does syncing disks "in order" mean when changes can happen at any time? (eg I use unison for maildir).Mathematician Steven Strogatz shares the excitement of discovery and how he’s used math to uncover the synchronization in nature. That node can also provide connectivity to a larger network, which generalizes to a spanning tree. Which implies you need to choose one node from that is the most likely to be available to sync the other two to. Say a remote machine crashes and becomes unavailable, you didn't have the time over 3G, or some other type of ad-hoc craziness which is why you're using distributed syncing in the first place. ? is some event where you cannot sync A-C to directly save A's changes on C, yet you still want to save any changes from B on C. Unison's pairwise syncing cannot distinguish a file that has been deleted from one that has yet to be created (whereas say vector clocks do).Ĭreate file F on A. The problem I'm referring to isn't conflict resolution, but rather spurious re-creation of files that have been deleted. But we don't have a python interpreter (or any interpreter) in our very locked down platform. Restic was easy - you can point it at any SFTP capable host.īorg and rclone, on the other hand, we had to (like unison and rdiff-backup) build and maintain on the server side.Īll of these (save rclone, which is a binary executable) are python scripts. Both of these tools were quite popular and we saw a lot of interest back in 2005 - 2010 but we see very little use or interest in them now.Īll of the interest in backup clients is now in rclone, restic and borg. Shortly afterward we also added rdiff-backup. Unison was the first backup binary that we built into the platform - breaking our original design goal of only offering client agnostic SSH and the tools that would run over that.
#Unison synchronizer software
I've been using it every day for over 10 years and is easily one of the most useful pieces of software I've ever come across." # Do whatever postprocessing you like on your photos. # So ops on dcim/Camera don't take longer with more pics.Ĭd ~/Pictures # Can't unmount until leave mount.įusermount -u ~/mnt/someName # Dismount.

# Copy all pictures that aren't yet on laptop. Sshfs someName:/storage/emulated/0/DCIM ~/mnt/someNameĬp -vn * ~/Pictures/. # I had trouble with termux symlinks, so I went directly to /storage/. # Mount the phone's DCIM directory locally over ssh. Here's part of a script I use to get photos from my phone to my laptop.
#Unison synchronizer install
Install sshfs on your laptop, through your package manager or the manly way from github. IdentityFile /home/you/.ssh/someName_id_rsa HostName 192.168.43.1 # 'ifconfig' in termux for this. User u0_a168 # Whatever username termux gave you.
#Unison synchronizer android
Setup passwordless pub/private keys to log in from laptop to android termux sshd. I haven't tried unison yet, but you can mount android on your laptop wirelessly over ssh.Įnable your android phone's hotspot, and connect your laptop to that hotspot.
