Skip to main content

Ralsina.Me — Roberto Alsina's website

Personal Backups with rdiff-backup

Here's a lit­tle ar­ti­cle about back­ing up your own per­son­al da­ta safe­ly.

I wrote it be­cause it seems this kind of so­lu­tions are not very well known.

While not a re­al, se­ri­ous back­up strat­e­gy, it's pret­ty safe, as long as the sys­tem still lives, you can re­cov­er your da­ta.

Georg Bauer / 2006-04-03 06:28:

Oh, it's not only for personal data. I use it for backing up my server to another machine over the network. :-)

Roberto Alsina / 2006-04-03 06:29:

Well, I meant it more about my lame shell scripts ;-)



The only problems I see with rdiff-backup are:



* by the way it stores stuff (mirror+reverse diffs) the latest backup is always big, and you can´t spread it over media like traditonal backups



* It lacks policy automation facilities, which you need to do by hand.



It´s more an archiving tool than a backup tool, really.



But it´s a really cool archiving tool :-)

Tomun / 2006-04-03 06:34:

You'll want to escape those dots when grepping.



if echo "$folder" | grep ..



should probably be



if echo "$folder" | grep \.\.


Roberto Alsina / 2006-04-03 06:35:

Tomun, you're completely right.



In fact, the script I actually use has them escaped! I wonder how I forgot it on the article :-P



I'll correct it in a minute.

Jesus P / 2006-04-03 06:37:

Hey I wanted to have just more scripts or examples or ideas of how to use the rdiff-backup. I want very deep into it , it's easy, and effective.



Thanks,

Jesus

Roberto Alsina / 2006-04-03 06:37:

Jesus, I am not sure I understand what you mean. Can you explain a little?

an anonymous coward / 2006-04-03 15:22:

Please check some information in the field of... Thanks!!!


Contents © 2000-2020 Roberto Alsina