I was backing up a Windows Server 2003 with BackupPC when the hard disk failed. I purchased a new hard drive and reinstalled BackupPC on Ubuntu. The initial setup was simple since I thought that the client was completely configured. I am however facing a problem with incomplete backups. Whenever BackupPC encounters a locked file, that somebody has opened via network share, it throws up an error as follows -
full backup started for share shared
Xfer PIDs are now 8448,8447
[ skipped 2 lines ]
tarExtract: Use of qw(...) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
tarExtract: Use of qw(...) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.
[ skipped 120822 lines ]
NT_STATUS_SHARING_VIOLATION opening remote file \Insitu_experiments\Analyzed_data\GaN_NW_Piezoelectricity\~$CurrentVoltageMagnitudeCalculationsControlTests.xlsx (\Insitu_experiments\Analyzed_data\GaN_NW_Piezoelectricity\)
NT_STATUS_SHARING_VIOLATION listing \Insitu_experiments\Analyzed_data\GaN_NW_Piezoelectricity\*
NT_STATUS_SHARING_VIOLATION listing \Insitu_experiments\Analyzed_data\*
NT_STATUS_SHARING_VIOLATION listing \Insitu_experiments\*
NT_STATUS_SHARING_VIOLATION listing \\*
[ skipped 45 lines ]
tarExtract: Done: 0 errors, 117221 filesExist, 82081189209 sizeExist, 47478098034 sizeExistComp, 117221 filesTotal, 82081189209 sizeTotal
Now I imagine this is expected since the smbclient is incapable of accessing locked files. However the problem is that BackupPC then proceeds to backup about 40 more odd files before aborting the backup completely with the last line being the tarExtract. There are no further errors.
Subsequent incremental backups create the folder structure but don't backup any of the files in the folders that are created. The share I'm trying to backup is approximately 1TB and I have never managed to get a backup that is more than 500GB. I'm not sure what the issue is and I'd appreciate any help.
Thanks.
