Transfers of small updates to large files are optimized using a compression protocol similar to rsync. It is careful with network bandwidth, and runs well over slow links such as PPP connections. Unison works between any pair of machines connected to the internet, communicating over either a direct socket link or tunneling over an encrypted ssh connection.Unlike a distributed filesystem, Unison is a user-level program: there is no need to modify the kernel or to have superuser privileges on either host.Conflicting updates are detected and displayed. Updates that do not conflict are propagated automatically. Unlike simple mirroring or backup utilities, Unison can deal with updates to both replicas of a distributed directory structure.Moreover, Unison works across platforms, allowing you to synchronize a Windows laptop with a Unix server, for example. Unison runs on both Windows and many flavors of Unix (Solaris, Linux, OS X, etc.) systems.However, there are several points where it differs: Unison shares a number of features with tools such as configuration management packages ( CVS, PRCS, Subversion, BitKeeper, etc.), distributed filesystems ( Coda, etc.), uni-directional mirroring utilities ( rsync, etc.), and other synchronizers ( Intellisync, Reconcile, etc). It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. Unison is a file-synchronization tool for OSX, Unix, and Windows. Now, when using the new icon, grsync won’t be bothering you any more with the settings, It’ll immediately execute the “backup” session.Note: The Unison project is now hosted on GitHub (here's a link). Now to make it even easier, you could drag the grsync icon from the Applications menu to the GNOME Panel, and change it’s Properties: The first should will probably take some time. Now you should be ready to test the backup setup, just click Execute. program related settings), go to the “Advanced options” tab: Next up, install grsync on the local machine (localhost) and create a new session called (for example) “backup”.ĭestination: if you don’t want to backup all your dotfiles (i.e. With the second command you should fill in the correct user password, however with the third command, SSH shouldn’t ask you for the user password, and just login automatically, because we just put the (passwordless) ssh keys into place. With the first command you need to leave the key password empty. In this tutorial I’ll be using public key cryptography with ssh to enable automatic logins.įirst you need to login into your backup server, and create a (remote) user useradd remoteuserĪfter that’s done, you’ll need ssh-copy-id -i. However, these is an easy solution for Linux, if you own a machine offsite with a decent Internet connection, preferably colocation. However, these very often involve using proprietary software, which most of the time is only available for the Windows platform. These days large firms (for example like our Dutch telecom company called KPN) are offering a plethora of backups solution, usually nicely priced.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |