BackupPC-users

Re: [BackupPC-users] Uneffective rsync transfers?

2014-06-28 04:33:00
Subject: Re: [BackupPC-users] Uneffective rsync transfers?
From: František Starý <frantisek AT stary DOT net>
To: backuppc-users AT lists.sourceforge DOT net
Date: Sat, 28 Jun 2014 10:31:39 +0200
27.6.2014 21:29, Les Mikesell wrote:
> On Fri, Jun 27, 2014 at 12:59 AM, Frantisek Stary <frantisek AT stary DOT 
> net> wrote:
>>> A different possibility would be that the code for building a view of the 
>>> last
>>> backup is not working correctly for you, though I can't even begin to 
>>> imagine
>>> why it wouldn't.
>> I'm sure hardlinks for my testhost are created successfully:
>> root@morgan:~# ls -l /var/lib/backuppc/pc/testhost/0/f%2ftestdir%2f/
>> total 28
>> -rw-r-----  4 backuppc backuppc   48 Jun 22 11:56 attrib
>> -rw-r----- 36 backuppc backuppc 4596 Jun 22 11:56 ftestfile1
>> -rw-r----- 36 backuppc backuppc 4596 Jun 22 11:56 ftestfile2
>> -rw-r----- 36 backuppc backuppc 4596 Jun 22 11:56 ftestfile3
>>
> Every file should show at least 2 links.  One for the name in the pc
> tree where you are looking, and one under cpool where the name is a
> hash of the contents.  But those files show a lot more.  If they
> aren't being linked into the next backup number's tree (like they
> should be), where are they?  And if they are, why can't you see them?
>
The count of hard links is high because all the testfiles have the same 
content and I have more backups and more testhosts. Its a proof the 
pooling works. But the merging of the backups made using rsync xfer 
method not (although using tar xfer method works good). Look at the 
backup number 1. It is a full backup, but contains only the newly added 
file. The backup number 2 contains only a changes against the backup 1. 
And the backup number 3 only changes against the backup 2. The source 
directory has not changed during the backups 1,2,3...

root@morgan:~# ls -l /var/lib/backuppc/pc/testhost/?/f%2ftestdir%2f
/var/lib/backuppc/pc/testhost/0/f%2ftestdir%2f:
celkem 28
-rw-r-----  4 backuppc backuppc   48 čen 22 11:56 attrib
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile1
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile2
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile3

/var/lib/backuppc/pc/testhost/1/f%2ftestdir%2f:
celkem 12
-rw-r-----  3 backuppc backuppc   36 čen 22 12:01 attrib
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile4

/var/lib/backuppc/pc/testhost/2/f%2ftestdir%2f:
celkem 28
-rw-r-----  4 backuppc backuppc   48 čen 22 11:56 attrib
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile1
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile2
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile3

/var/lib/backuppc/pc/testhost/3/f%2ftestdir%2f:
celkem 12
-rw-r-----  3 backuppc backuppc   36 čen 22 12:01 attrib
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile4

/var/lib/backuppc/pc/testhost/4/f%2ftestdir%2f:
celkem 28
-rw-r-----  4 backuppc backuppc   48 čen 22 11:56 attrib
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile1
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile2
-rw-r----- 38 backuppc backuppc 4596 čen 22 11:56 ftestfile3


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
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/