Resolved, thank you to everyone who replied.

> What transport protocol are you using?
> Can you reproduce this when the file is moved elsewhere?

These pointed me in the right direction, thanks - I copied the folder to a new 
location and all the files were backed up as root:root. Having a further look 
around this and other backups it appeared that anything with a ctime after we 
upgraded from BackupPC v3 to v4 a while back wasn't getting the correct 
ownership. Anything with a ctime before the upgrade was fine, even if the 
contents/mtime was updated afterwards.

It looks like the rsync arguments we used on v3 did not include --super for 
some reason, which is required for --owner to work. I think we let BackupPC 
upgrade our config file but we don't have the upgrade logs any longer to 
confirm. It looks like it was never added to the command for v4 so rsync has 
been unable to transfer ownership info for new files. I'm not sure how it 
worked on v3  but I'm just glad it's working now we've added --super into the 
arguments.

Initial full-server restore tests after the upgrade worked fine as all the 
service files existed pre-upgrade and kept the correct ownership. It's taken a 
while for a new file to be involved enough in booting/service startup to flag 
up the issue.

Thanks,
David


________________________________

The Networking People (TNP) Limited. Registered office: Network House, Caton 
Rd, Lancaster, LA1 3PE. Registered in England & Wales with company number: 
07667393

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. If you are not the intended recipient you are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited.


_______________________________________________
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