Hi all!
(might this be better posted in the devel mailing list? I am not a
developer...)
The last couple of days we are discussing a lot regarding storing/
removing backups. Looks like my first attempt with my script was
completely wrong.
So I am trying to understand the structure BackuPC 4.x uses for storing
backups.
I read the documentation about the Storage Layout
<https://backuppc.github.io/backuppc/BackupPC.html#Storage-layout> as
well as the email from Craig
<https://backuppc-devel.narkive.com/zQcbEg0j/backuppc-4-0-features-pool-structure>regarding
the new structure in the BackuPC-devel mailing list. Additionally the
explanation about the attrib-files
<https://backuppc-devel.narkive.com/XaCxJ1mK/backuppc-4-0-features-attribute-file-and-backup-storage#post1>
under pc/.
Unfortunately I am still not getting the structure with the attrib-files.
I generated a structure for testing purposes where file1 and file0 are
identical by md5sum but not hard-linked. See the following checksums:
root@backuppc42:/srv/ftp# find . -type f -name "file?" -exec md5sum {} \;
f762c20d89a24aa296b9d51013df4e81 ./bupc_test0/file0
f762c20d89a24aa296b9d51013df4e81 ./bupc_test1/file1
a47751d3361edc30fb065f90553a7712 ./bupc_test1/file2
3320c7f45da4c47a1cc8636a978d9307 ./bupc_test2/file3
Now I started a full backup through the GUI of BackupPC 4.4.0.
I can easily find the files named by their md5sum in the pool/ structure.
But checking the pc/backuppc42/406/ directory I only see an attrib_ file
in each folder where I can not get any reference to the pool/ file:
root@backuppc42:/var/lib/backuppc/pc/backuppc42/406/f%2f/fmnt# find .
-type f
./fbupc_test0/attrib_b1aa31037e2082b67bbf0c25d35a3c89
./fbupc_test1/attrib_947d99fbf150167b4eda4f682f671576
./fbupc_test2/attrib_02d32134ac15bdf5d9ce3f2af6ac0a91
./attrib_0670a64a66087490c217999cc729ae5c
Of course they are all zero bytes in size.
How do I get a connection between the two files in detail? I guess it is
omehow calculated with xor or something similar. But still: how do I get
the connection between the pc/host/ directories to the files in pool/?
Possibly something to do with the refCnt/poolCnt.0.?? files?
Thanks a lot for explanation.
/Christian
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/