Home Blog CV Projects Patterns Notes Book Colophon Search

Rsync Backups and Hardlinking

29 May, 2007

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.

Copyright James Gardner 1996-2020 All Rights Reserved. Admin.