Backup local directories to a remote server leveraging rdiff-backup.
This gem provides an executable script, rdbackup, that allows to backup local directories to a remote server. The actual backup operation is ensured by rdiff-backup. The backup configuration is provided by a YAML file.
Example backup configuration:
server: &backup_server
hostname: backup-server
directory: /var/lib/backup
backup:
- directory: /var/lib/dir1
server: *backup_server
- directory: /var/lib/dir2
server: *backup_server
Start a backup according to a given configuration file.
$ rdbackup go path/to/config.yml
Start a backup considering default configuration ($HOME/.rdbackup.conf otherwise /etc/rdbackup.conf)
$ rdbackup go
rdiff-backup shall be installed on current host and remote host. Running as root should the preferable option In order to backup system files.
$ gem install rdbackup
Copyright (c) 2012 Christophe Arguel
See {file:LICENSE.txt} for details.