rbackup is a lightweight, rsync-powered backup utility that creates time-stamped backups.
It can save backups to your local filesystem (probably an attached USB device) or to a remote host.
Backups are saved in time-stamped directories. Backups are cheap on storage, because hard-links are used for files that haven't changed between backups.
Backup home to disk:
rbackup ~/ /media/backups/mybox
Backup home to remote host:
rbackup ~/ [email protected]:backups
Your target directory (~/
in the examples above) may contain an .rbackup
directory. Here are some sample config files useful for ~/
:
.rbackup/exclude
# By default, ignore all those top-level hidden files in $HOME
/.*
# Ignore backup files by vim and gedit
**/*.swp
**/*~
# Ignore those Ruby gems and npm modules I installed for development
/devel/**/vendor/bundle
/devel/**/node_modules
# If I downloaded it once, I can download it again
/Downloads
.rbackup/include
# I just want these hidden files
/.vimrc
Just use cron. If you're going to cron remote backups, you'll need to set up an SSH key.