On Tue, 22 Dec 2009 16:08:18 +0100, Ward Poelmans wrote:

> You should take a look at rsnapshot ( http://rsnapshot.org/ ). I use
> it and it works perfectly. But it's written in perl and not bash, i'm
> afraid.

That misses the point. This isn't really about making backups, it's about
learning to write shell scripts. Backing up is just the project that Dale
has chosen for this first effort, at least that's how I read it.

Having said that, you need an underlying program to perform the backups,
and the main choices are tar and rsync. Rsync has all the advantages
already mentioned, but it does need a lot of space and needs the
filesystem to be used for backups to support all the metadata of the
source. Tar handles both of these issues, but incremental backups are
more complicated to make and restore. On the other hand, you do get
history, while rsync only has the most recent copy of the file. If you
found the file was corrupt just after an rsync backup, touch!

I really like BackupPC, but that's totally irrelevant to the original
question.


-- 
Neil Bothwick

We all know what comes after 'X', said Tom, wisely.

Attachment: signature.asc
Description: PGP signature

Reply via email to