On 3/9/23 07:57, David Heap wrote:

Hi,

I’m seeing an issue where the uid/gid of two files inside the backup are incorrectly root instead of the correct owner (openldap in this case).

Files on the server:

-rw------- 1 openldap openldap 10485759 Apr  8  2022 log.0000000004

-rw------- 1 openldap openldap 10485759 Sep 21 14:16 log.0000000005

-rw------- 1 openldap openldap 10485759 |Feb 22 10:50 |log.0000000006

-rw------- 1 openldap openldap 8192 Apr 19  2022 memberUid.bdb


Files in the backup (output of BackupPC_ls):

-rw-------   105/107   10485759 2022-04-08 08:38:34  /srv/ldap/<servername>/log.0000000004 (d363e1e6aa3efc35e027e45f2279aa3f) -rw-------       0/0   10485759 2022-09-21 14:16:55  /srv/ldap/<servername>/log.0000000005 (c4f72b8befc18f3ba2dce596572529cf) -rw-------       0/0   10485759 2023-02-22 10:50:42  /srv/ldap/<servername>/log.0000000006 (c42c092af72eb67324424c609be769ba) -rw-------   105/107       8192 2022-04-19 14:03:41  /srv/ldap/<servername>/memberUid.bdb (73a58e4133305486ea3db35b05431534)

All the other files in the folder have the correct owner/group. The file ownership isn’t changing on the server at the time of backup.

I’ve tried removing these files from all the backups and running a full nightly to (hopefully) clean out something that’s cached wrong in the pool, but they came back again the next night with the same issue. Any ideas?


Yes, those are links to the same size thus same content as the file at the top. The only way to check if things are correct is to do a test restore to different location and check the ownership of those restored files. There are "attrib" files located elsewhere that keep track of the ownership and source of the file information. When you manually delete files from the pool you corrupt the backuppc data base which could lead to future inaccuracies in backups and restores.

You should read the "How it works" in the backuppc documentation.

Deduplication is one of the main premises of backuppc.
_______________________________________________
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/

Reply via email to