You are here: Backup » rsback

rsback - backup file trees in rotating archives using rsync

rsback makes rotating backups using the common rsync program and some standard file utilities on Unix-based backup hosts. Its purpose is to mirror certain file trees from a remote host or from the local system and to store them as rotating archives in backup repositories on the local backup host. The file structure, permissions, ownerships and time stamps of the mirrored data are the same as in the original sources.


rsback is a kind of front end to rsync written in Perl which allows a system administrator to configure and execute backups of different file trees located on remote hosts or on the local system (e.g tasks for hourly, daily, weekly, monthly, ... backups).


If rsback is executed at regular intervals (preferably scheduled by cron jobs), it maintains rotating backup archives. To restore files from the backup repository no special restore procedure is necessary. To recover files or directories, you just copy them from the archive tree back to the original location or wherever you want to place them.


The combination of rsync's powerful capabilities and the extensive use of hard links for copying archives within the local file system results in a fast and disk space saving backup technique.

More about rsback

Last Changes

Version 0.6.4 (2008-01-10)

  • Minor bug fix: rsback logs 'rsync error ignored' in case of rsync errors, despite the exit code of the result was not in the list of ignore_rsync_errors. The error handling was correct, but the word 'ignored' was wrong.
  • Archives won't be rotated if the temporary backup set doesn't exist after the rsync job. This can happen if certain rsnync exit codes have been ignored before (parameter 'ingnore_rsync_errors'). Rotation in such cases can result in loss of archives, otherwise.
  • Backup date/time of fresh archive are logged now during rotation.
  • History file will be rebuild if entries are missing.

Related Links

Your feedback is welcome!

If you hit a bug or if you have suggestions to improve this tool, give me a note.

Good luck!


Hans-Jürgen Beie