BackupPC-users

Re: [BackupPC-users] Advice on creating duplicate backup server

2008-12-08 06:25:11
Subject: Re: [BackupPC-users] Advice on creating duplicate backup server
From: "Nils Breunese (Lemonbit)" <nils AT lemonbit DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 8 Dec 2008 12:23:40 +0100
Stuart Luscombe wrote:

>
> I’ve got the OS (CentOS) installed on the new server and have  
> installed BackupPC v3.1.0, but I’m having problems working out how  
> to sync the pool with the main backup server. I managed to rsync the  
> cpool folder without any real bother, but the pool folder is the  
> problem, if I try an rsync it eventually dies with an ‘out of  
> memory’ error (the server has 8GB), and a cp –a didn’t seem to work  
> either, as the server filled up, assumedly as it’s not copying the  
> hard links correctly?
>
> So my query here really is am I going the right way about this? If  
> not, what’s the best method to take so that say once a day the  
> duplicate server gets updated.

Check the archives for a *lot* of posts on this subject. The general  
conclusion is that copying or rsyncing big pools just doesn't work  
because of the large number of hardlinks used by BackupPC. Using rsync  
3.x instead of 2.x seems to need a lot less memory, but it just ends  
at some point. A lot of people run into this when they want to migrate  
their pool to another machine or bigger hard drive. In that case the  
usual advice is to use dd to copy the partition and then grow the  
filesystem once it's copied over.

dd'ing your complete pool every day isn't going to work either I  
guess. Instead of trying to sync the pool, can't you just run a second  
BackupPC server that also backs up your machines?

Nils Breunese.
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/