Pete Geenhuizen wrote at about 06:09:04 -0400 on Wednesday, July 3, 2019:
 > I upgraded BackupPC from V3 to V4 several months ago which went 
 > relatively smoothly.
 > 
 > I have been able to successfully restore system files and presumed that 
 > all was running well.  Yesterday I needed to recover a file from my 
 > home.  When I went to my home to look at the file I got a permission 
 > denied.  Turns out that the restore changed the ownership of my home to 
 > root.  I fixed that and when I looked at the restored file it was 
 > several months old which struck me as odd because I had edited the file 
 > a few days ago.
 > 
 > I then browsed my home directory in BackupPC and found that all the 
 > files in my home were several months old, i.e none had been backed up 
 > since I upgraded to V4
 > 
 > As a test I touched a couple of files in my home and then after the next 
 > backup cycle I looked and verified that indeed none of the files that I 
 > had touched were backed up.  I looked in the rsync.log file and all that 
 > it is backing up are system files.
 > 
 > When I upgraded to V4 other than making changes to config.pl I didn't 
 > alter anything else.
 > 
 > I guess that in V4 the way permissions are treated for home directories 
 > has changed and I need to alter either config.pl and/or rsyncd.conf to 
 > allow BackupPC to backup my home directory.
 > 
 > This is what is in my rsyncd.conf file, slightly obfuscated
 > 
 > uid = 0
 > gid = 0
 > auth users = xxxxxxxxx
 > secrets file = /etc/rsyncd.secrets
 > hosts allow = 192.168.XXX.XXX/24
 > read only = false
 > 
 > [root]
 >          path = /
 > 
 > 
 > in config.pl I have
 > 
 > $Conf{RsyncShareName} = [
 >    'root'
 > ];
 > 
 > Any help would be greatly appreciated.
 > 
 > Thanks
 > 
 > Pete
 > 

Is /home on a different file system from /?


_______________________________________________
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