All,
I have an arch linux server backing up two Windows 10 clients via rsync. In
the main config.pl file, I have excluded via $Conf{BackupFilesExclude} several
subdirectories and files (listed below). However, they don't seem to be being
excluded by backuppc. I don't have any per-pc excludes as all of the
subdirectories and files to be exlcuded are common on both machines. Is there
something about the exclude syntax that I am misunderstanding? On each machine
the share to be backed up $Conf{RsyncShareName} is "/mnt/c/Users/". Below I
have listed the $Conf{BackupFilesExclude} entries. I have also listed a
snippet of the error messages that I am getting. There are thousands of the
error messages. Sometimes the error mesage is "Permission denied" and
sometimes it is "Invalid argument". However, those directories and files that
backuppc is trying to access are supposed to be being excluded to begin with.
Any assistance would be greatly appreciated. Thank you,
Akibu
$Conf{BackupFilesExclude} = {
'*' => [
'/OneDrive/*',
'/desktop.ini',
'/$RECYCLE.BIN',
'/DumpStack.log',
'/DumpStack.log.tmp',
'/System Volume Information',
'/AppData/*',
'/Application Data',
'/.bzvol',
'/.ssh',
'/.docker',
'/.VirtualBox',
'/.swt',
'/NTUser*'
]
};
[cid:74645df8-ef57-41cb-bc9f-d68777ae3653]
snippet of error messages below:
rsync: send_files failed to open
"/mnt/c/Users/rocky/AppData/Local/Microsoft/Windows/UsrClass.dat.LOG2":
Permission denied (13)
rsync: send_files failed to open
"/mnt/c/Users/rocky/AppData/Local/Microsoft/Windows/WebCacheLock.dat":
Permission denied (13)
rsync: send_files failed to open
"/mnt/c/Users/rocky/AppData/Local/Microsoft/Windows/WebCache/V01.log":
Permission denied (13)
rsync: send_files failed to open
"/mnt/c/Users/rocky/AppData/Local/Microsoft/Windows/WebCache/V01tmp.log":
Permission denied (13)
rsync: send_files failed to open
"/mnt/c/Users/rocky/AppData/Local/Microsoft/Windows/WebCache/WebCacheV01.dat":
Permission denied (13)
rsync: send_files failed to open
"/mnt/c/Users/rocky/OneDrive/Documents/Corsair_SSD_120G_Contents/Users/rocky_CORSAIR_SSD_120G/AppData/Local/Microsoft/Windows/Notifications/wpnidm/3191fe4c.jpg":
Invalid argument (22)
rsync: send_files failed to open
"/mnt/c/Users/rocky/OneDrive/Documents/Corsair_SSD_120G_Contents/Users/rocky_CORSAIR_SSD_120G/AppData/Local/Microsoft/Windows/Notifications/wpnidm/31a625f5.jpg":
Invalid argument (22)
rsync: send_files failed to open
"/mnt/c/Users/rocky/OneDrive/Documents/Corsair_SSD_120G_Contents/Users/rocky_CORSAIR_SSD_120G/AppData/Local/Microsoft/Windows/Notifications/wpnidm/32d1b55c.jpg":
Invalid argument (22)
rsync: send_files failed to open
"/mnt/c/Users/rocky/OneDrive/Documents/Corsair_SSD_120G_Contents/Users/rocky_CORSAIR_SSD_120G/AppData/Local/Microsoft/Windows/Notifications/wpnidm/3efdab29.jpg":
Invalid argument (22)
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/