Il 24/04/2020 02:53, Craig Barratt via BackupPC-users ha scritto:
The attrib file contains the meta data (mtime, permissions etc) for all the files in that directory, including the md5 digest of the contents of each file.

You can use BackupPC_attribPrint to print the contents of the attrib file, which will show the meta data for each file.

Craig


Thank you Craig.

I'm sorry I can't still figure out the right way to get to the file.

If I issue:

sudo -u backuppc /usr/share/BackupPC/bin/BackupPC_attribPrint attrib_c5cda251876d069be82cd87feef573be |head -n 15

the first file's metadata returned is:

Attrib digest is c5cda251876d069be82cd87feef573be
$VAR1 = {
  '0001E9891510415CBBFA53F685D8FF2C.Zip' => {
    'compress' => 3,
    'digest' => '4b544ad7b8992fbbc0fafe34ae6ab5d5',
    'gid' => 0,
    'inode' => 9,
    'mode' => 484,
    'mtime' => 1320069331,
    'name' => '0001E9891510415CBBFA53F685D8FF2C.Zip',
    'nlinks' => 0,
    'size' => 101121,
    'type' => 0,
    'uid' => 0
  },

How to retrieve the actual path of that file in the cpool tree?
I cannot use the digest to walk down the cpool tree. Octects lead to non existent path. Using the inode to find the file is cumbersome and requires the use of low level fs tools.

I'm referring to V4

Thank you

Raf


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to