I am trying to add Windows 10 clients to my BackupPC server, and I'm not able to get the SMB exclusion list to work. Does anyone have a working setup with Windows 7 and 10, that uses smbclient with an exclusion list?
I started with Slackware 13.37, BackupPC 3.3.0, and SMBClient 3.5.22. Windows 10 wouldn't connect to SMBClient, so I updated to samba to 4.6.16. smbclient started connecting at that point, but BackupPC was getting no backups. After a lot of digging, we found a github bug report: https://github.com/backuppc/backuppc/issues/252 Removing the 'r' flag didn't make any noticeable change to the backups so we tried removing the exclusion list completely. That did work, except now we were backing up everything. We tried updating BackupPC to 4.3.0, and got the exact same issues. I tried installing Slackware 14.2 and starting from scratch. The problem was different, but very similar. The exclude list is being passed to smbclient, but it looks like it's just being ignored as the entire Windows 10 system is getting backed up. I then tried Debian 9.8 with BackupPC 3.3.1 installed from apt and Samba 4.5.16. In Windows 10, the entire system is still being backed up. Windows 7 is excluding some things of the list, but it's also excluding some things that aren't supposed to be excluded, C:\Users for instance. And that's where I'm stuck. I'm pretty sure the problem is due to smbclient. I found a Samba bug report that says a significant change was made to the tar features of smbclient with version 4.2, but it doesn't explain what was changed. Any suggestions would be greatly appreciated. _______________________________________________ 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/