Flexion.Org
Bad grammar and typos for total strangers
Wiki › Rdiff Backup
Wiki Index All Recent Edit Bottom

Daily Backup

1.   Introduction
1.1   Debian Etch vs. Ubuntu Hardy
1.2   Backup Client(s)
1.3   Backup Server
2.   The Scripts
3.   The Schedule

Introduction

I use rdiff-backup to backup my remote servers to a central backup server every day.

Debian Etch vs. Ubuntu Hardy

The version of rdiff-backup in the Etch repos is 1.1.5 and not compatible with 1.1.15 in the Ubuntu repos. Therefore, I install rdiff-backup for Etch from the Backports repository.

Backup Client(s)

Install rdiff-backup on each of the remote computers you want to backup.

Debian Etch

 aptitude -t etch-backports install rdiff-backup

Ubuntu Hardy

 aptitude install rdiff-backup

Backup Server

Install rdiff-backup on a central server, which has the ability to automatically authenticate and connect via SSH to all the backup clients as 'root'.

Debian Etch

 aptitude -t etch-backports install rdiff-backup

Ubuntu Hardy

 aptitude install rdiff-backup

The Scripts

 nano /usr/local/sbin/daily-backup.sh

Set the permissions.

 chown root:root /usr/local/sbin/daily-backup.sh
 chmod 754 /usr/local/sbin/daily-backup.sh

The Schedule

 ln -s /usr/local/sbin/dailybackup.sh /etc/cron.daily/daily-backup

References

$Id: RdiffBackup,v 1.15 2008/07/26 10:51:48 martin Exp $

Wiki Index All Recent Edit Top
 
Valid XHTML Valid CSS Hacker