JRA Posted June 6, 2017 Posted June 6, 2017 (edited) Hello all - title says it all really. Following the horrible wannacrypt business I've turned off SMBv1 on my Windows servers, but now backuppc can't back them up. Adding $smbClientPath \\$host\$shareName $I_option -m SMB2 -U $userName -E -d 1 -c tarmode\ full -Tc$X_option - $fileList to Xfer options doesn't do it (note the -m SMB2 bit in there) and adding min protocol = SMB2 into smb.conf (perhaps somewhat optimistically) doesn't do the job either. Backuppc error logs for the server/s show the following: Executing DumpPreUserCmd: /backups/bin/backup-preexec-control printserver smb Running: /usr/bin/smbclient \\\\printserver\\papercut\$ -m SMB2 -U MYDOMAIN\\Administrator -E -d 1 -c tarmode\ full -Tc - full backup started for share papercut$ Xfer PIDs are now 14181,14180 WARNING: The "syslog" option is deprecated [ skipped 1 lines ] tar:316 tarmode is now full, system, hidden, noreset, quiet [ skipped 14941 lines ] tar:712 Total bytes received: 6151845594 [ skipped 8 lines ] tarExtract: Done: 0 errors, 11864 filesExist, 5538380794 sizeExist, 3143040589 sizeExistComp, 12028 filesTotal, 6151845594 sizeTotal Got fatal error during xfer (No files dumped for share papercut$) Backup aborted (No files dumped for share papercut$) Saving this as a partial backup, replacing the prior one (got 12028 and 0 files versus 0) Executing DumpPreUserCmd: /backups/bin/backup-preexec-control printserver smb Running: /usr/bin/smbclient \\\\printserver\\papercut\$ -m SMB2 -U MYDOMAIN\\Administrator -E -d 1 -c tarmode\ full -Tc - full backup started for share papercut$ Xfer PIDs are now 13153,13152 WARNING: The "syslog" option is deprecated [ skipped 1 lines ] tar:316 tarmode is now full, system, hidden, noreset, quiet [ skipped 14860 lines ] tar:712 Total bytes received: 6157528978 [ skipped 84 lines ] tarExtract: Done: 0 errors, 11988 filesExist, 5678826415 sizeExist, 3267225687 sizeExistComp, 12023 filesTotal, 6157528978 sizeTotal Got fatal error during xfer (No files dumped for share papercut$) Backup aborted (No files dumped for share papercut$) Not saving this as a partial backup since it has fewer files than the prior one (got 12023 and 0 files versus 12028) I'm all out of ideas. Anyone know what to do to make Backuppc use SMB2? Thanks for any and all ideas! Edited June 6, 2017 by JRA
JRA Posted July 28, 2017 Author Posted July 28, 2017 We (finally) got it! Well I didn't someone cleverer than me did... Anyway, the answer is that backuppc isn't fully up to date in the repositories yet, and this update fixes the issue we had with Samba 4.x (back up your config files first etc.) https://github.com/backuppc/backuppc/commit/d7a8403b537ed0068e862abc20065e98209527b7
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now