WARNING: This page is archived and not updated. Please bear in mind any information may be incorrect and any code may not work. Use at your own risk.
James Gardner: Home > Blog > 2007 > Rsync Backups and Hardlinking

Rsync Backups and Hardlinking

Posted:2007-05-29 09:55
Tags:Debian

I've been looking for a good way to back up files on a remote server. Two solutions I've found are as follows:

The first link describes an approach for creating incremental backups by using hardlinks to files on the same server (hardlinks don't take up any extra space) and then rsyncing the copies to another server. I suppose you could do the same thing by creating a diff of the backed-up directory and storing it on Amazon S3.

The second link describes how to setup a cron job to rsync files securely to a remote server over SSH without using any passwords by setting up an SSH key.

Combining these two approaches should result in a very flexible backup solution.

(view source)

James Gardner: Home > Blog > 2007 > Rsync Backups and Hardlinking