Easy rsync solution with file manager (thunar or nautilus or…)

backupfile-managerrsync

A common tasks I teach new users in UNIX is how to make backups. Since most are not comfortable with the command line (CLI) and I want to have them make backups (more than forcing them to use the CLI), right now I teach them to drag and drop whole directories around.

The problem with that, of course, is that it takes a long time, as all files are copied every time.

I would prefer it if file managers would fire up rsync instead of cp -a when you copy over an existing directory. Is there a plugin for that? Anyone working on such functionality in a file manager already?

Best Answer

For the reasons mentioned in the comments, file managers do usually not use rsync to copy, but above all, a good backup solution should be incremental. Just imagine that one of your students makes an accidental change in a file and then copies it, as he was told to do as soon as possible, over the previous backup (using a file manager or rsync). A graphical (aka easy-to-use) interface for making backups will of course depend on the window manager you are using. There is a good backup solution for linux with Gnome or KDE (QT), called backintime, here: http://backintime.le-web.org/ . It makes incremental backups using rsync and is therefore fast. In addition, backups stay compact while each snapshot appears as a complete copy of the backuped directory (through the use of hardlinks). It requires some configuration effort, which could however be avoided by distributing a default configuration file to your students. The applications main window appears almost like a regular file manager. The actual backup is of course performed by pressing the backup button rather than by copy and paste. Another backup solution based on rsync (for KDE) is called luckybackup (http://luckybackup.sourceforge.net/).