BackupPC-users

Re: [BackupPC-users] HowTo backup __TOPDIR__?

2009-08-06 16:22:16
Subject: Re: [BackupPC-users] HowTo backup __TOPDIR__?
From: Matthias Meyer <matthias.meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 06 Aug 2009 22:19:12 +0200
Thomas Birnthaler wrote:

>> What is the best way to "syncronize" __TOPDIR__ to another location?
>> As I found in many messages, rsync isn't possible because of
>> expensive memory usage for the hardlinks.
> Since version 3.0.0 (protocol 3 on both ends) rsync uses an
> "incremental" mode to generate and compare the file lists on both sides.
> So memory usage decreased a lot, because just a small part of the list
> is in memory all the time. But the massive hardlink usage of BackupPC
> causes very slow copying of the whole structure, because link creation
> on any filesystem seems to be a very expensive task (locks?) ...
> 

So it seems possible to make the initial remote backup by dd and after this
a daily rsync?
Because on a daily basis are (hopefully) not tons of new hardlinks which
have to be created on the remote side.

>> In my opinion dd or cp -a isn't possible too because they would copy
>> all the data. That would consume to much time if I syncronize the
>> locations on a daily basis.
> Any other tool has the same time consumption if it keeps hardlinks
> ("cp" e.g. does that with option "-l").
> 
> A somehow "lazy" solution would be to just copy the "pool"-Files (hashes
> as file names) by "rsync" and create a "tar" archive of the "pc"
> directory.

I would believe that creating of the tar archive and copying it to the other
location will consume nearly the same time, space and bandwidth as dd or
cp. Isn't it?

> The time consuming process of link creation is then deferred 
> to the restore case (which may never be needed).
> 
> Thomas

br
Matthias
-- 
Don't Panic


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>