Bookmark and Share

Using rdiff-backup to back up Redmine files/

I recently set up the awesome Redmine project management application. Setting up backups is of course important, and while backing up the database is pretty easy (using mysqldump, as described in Redmine’s own installation instructions), backing up the attachments (files directory) can be done better than the suggested rsync. Namely, using rdiff-backup.

The difference between rsync and rdiff-backup is that while the former is a simple mirror, the latter keeps the history. So if something is accidentally deleted, it can be restored. Usage couldn’t be simpler:

rdiff-backup path/to/redmine/files path/to/backup/files

Put that to crontab, and that’s it!

Last modified: 2010-09-10 08:48 +0300

blog comments powered by Disqus