Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 12th May 2008, 05:48
mister.koz mister.koz is offline
Junior Member
Join Date: Mar 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using rdiff-backup on debian etch


I look after 14 linux servers across 3 networks (ipsec joined)

I need to backup all of the data (and hopefully software) on these systems to one of the servers in our main office and then create a replica on one of the other servers.

My problem is that i don't completely understand the metadata of any backup software like this so i don't know if i can simply backup a system to one location and then from that location to the other.

Does rdiff-backup store the metadata in the destination? in this case i would suggest that backup to one server using unison or similar to syncronise the backed up data, thus maintaining the metadata. I haven't tested this yet.

Also, for our scalix server we intend to move the data to an extended partition and do snapshot backups of that drive.... sounds all well and good but i have NO idea how to do this

Any suggestions would be greatly appreciated.

ps All of our servers are debian etch or xandros and we run our financial on suse (soon to be etch)
Reply With Quote
Sponsored Links
Old 12th May 2008, 13:33
geek.de.nz geek.de.nz is offline
Join Date: Feb 2006
Posts: 65
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to geek.de.nz Send a message via MSN to geek.de.nz
Cool Backup with rsync

Hi, I'm not an expert on rdiff-backup but i know how the rdiff algorithm works. In a nutshell it's very efficient and requires very little transfer of data across a link (just hash checksums) and ensures that the files are the same in the destination as in the source.

I always used dirvish for backups with rsync which is very good. You might want to have a look into that as well. I assume rdiff-backup also uses rsync and if it does then you are quite safe in backing up one server to another and then rsynching the result to a third server. The files will be the same, also meta data. rsync works pretty much like the scp or rcp command with a few extras for excluding files and specifying the protocol like over ssh. It only transfers the differences.

Having a quick look at rdiff-backup shows me that it stores the differences in meta data files as you said. Doing another rdiff-backup of that would be overkill as meta data would then be saved redundantly. As I said, you can just mirror the rdiff-backup with rsync and be on the safe side. rdiff-backup is probably slightly more space efficient than dirvish but dirvish is also a bit more transparent because you can just copy the backed up files and space consumption is minimized because only changed files are stored twice which makes the normal cp/scp/rsync commands work. Files that stay the same are stored as hard links which is essentially the same file with two or more links to it.

Hope I could tell you something new. Sorry have been away from Linux servers for a while. Into Software Development now.
Always mention at least your distribution/version! You can add it in your signature if you don't want to always type it. ;-)

Ubuntu 5.10 with custom kernel (2.6.16-suspend2),
Debian Sarge 3.1 and Etch

Please submit your ISP or Webhost to (free)
Reply With Quote
Old 13th May 2008, 00:11
mister.koz mister.koz is offline
Junior Member
Join Date: Mar 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Awesome thanks mate, yeah backups of backup metadata is not a cool thing and overly in-efficient.

I will give this a go with a couple of our smaller servers and report back here.

Thank you.
Wannabe Penguin farmer

Debian etch * 9
Debian * 2
Suse * 1
Xandros * 1
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting On PXE And On A Customized Debian System sebastienp HOWTO-Related Questions 7 30th July 2009 22:13
Ispconfig + awstats on debian etch Dennis Installation/Configuration 1 19th April 2008 23:57
Perfect setup Debian Etch ISPConfig - DNS Server kdclaver Installation/Configuration 16 28th December 2007 02:39
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 01:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42

All times are GMT +2. The time now is 21:41.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.