Re: [BackupPC-users] Tricks for Win 10 SMB Backup?
On 07/30/2018 02:24 PM, Tim Evans wrote: On 07/30/2018 01:44 AM, Craig Barratt wrote: What is the value of $Conf{SmbClientFullCmd} and what is the smb command that is being run (see the XferLOG file)? $Conf{SmbClientFullCmd} = '$smbClientPath $host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -Tc$X_option - $fileList'; XferLOG file /raptor/pc-backups//pc/new-pelican/XferLOG.0.z created 2018-07-30 14:11:20 Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx = (FillCycle = 0, noFillCnt = ) Running: /usr/bin/smbclient new-pelican\\C\$ -U backup -E -d 1 -c tarmode\ full -Tc - full backup started for share C$ Xfer PIDs are now 31549,31548 tarExtract: /usr/share/BackupPC/bin/BackupPC_tarExtract: got Full = 1 tarExtract: /usr/share/BackupPC/bin/BackupPC_tarExtract starting... (XferLogLevel = 1) XferErr tree connect failed: NT_STATUS_ACCESS_DENIED XferErr tree connect failed: NT_STATUS_ACCESS_DENIED The C drive share on the PC is manually accessible: # smbclient //new-pelican/c -Ubackup%XXX Try "help" to get a list of possible commands. smb: \> Same password used for the user 'backup.' Can 'get' files here. Adding the dollar sign (i.e., referencing the default 'c$' share) to the above: smbclient //new-pelican/c\$ -Ubackup%XXX tree connect failed: NT_STATUS_ACCESS_DENIED OK, I believe I have resolved this. (YMMV). In Windows 10, sharing "C:" is apparently not the same as sharing "C$". The administrative shares (e.g., "C$) aren't shareable/remotely accessible by default. Registry edit required: reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f Once this key was added, and the PC rebooted, C$ is seen remotely as a share, and BackupPC appears to be happy. -- Tim Evans |5 Chestnut Court 443-394-3864|Owings Mills, MD 21117 -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ 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/
Re: [BackupPC-users] Tricks for Win 10 SMB Backup?
On 2018-07-30 11:24, Tim Evans wrote: On 07/30/2018 01:44 AM, Craig Barratt wrote: What is the value of $Conf{SmbClientFullCmd} and what is the smb command that is being run (see the XferLOG file)? $Conf{SmbClientFullCmd} = '$smbClientPath $host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -Tc$X_option - $fileList'; XferLOG file /raptor/pc-backups//pc/new-pelican/XferLOG.0.z created 2018-07-30 14:11:20 Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx = (FillCycle = 0, noFillCnt = ) Running: /usr/bin/smbclient new-pelican\\C\$ -U backup -E -d 1 -c tarmode\ full -Tc - full backup started for share C$ Xfer PIDs are now 31549,31548 tarExtract: /usr/share/BackupPC/bin/BackupPC_tarExtract: got Full = 1 tarExtract: /usr/share/BackupPC/bin/BackupPC_tarExtract starting... (XferLogLevel = 1) XferErr tree connect failed: NT_STATUS_ACCESS_DENIED XferErr tree connect failed: NT_STATUS_ACCESS_DENIED The C drive share on the PC is manually accessible: # smbclient //new-pelican/c -Ubackup%XXX Try "help" to get a list of possible commands. smb: \> Same password used for the user 'backup.' Can 'get' files here. Adding the dollar sign (i.e., referencing the default 'c$' share) to the above: smbclient //new-pelican/c\$ -Ubackup%XXX tree connect failed: NT_STATUS_ACCESS_DENIED This is normal for Administrative Shares since approximately Vista. Did you override the Administrative Shares policy that disables remote access to Administrative Shares? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ 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/
Re: [BackupPC-users] Tricks for Win 10 SMB Backup?
On 07/30/2018 01:44 AM, Craig Barratt wrote: What is the value of $Conf{SmbClientFullCmd} and what is the smb command that is being run (see the XferLOG file)? $Conf{SmbClientFullCmd} = '$smbClientPath $host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -Tc$X_option - $fileList'; XferLOG file /raptor/pc-backups//pc/new-pelican/XferLOG.0.z created 2018-07-30 14:11:20 Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx = (FillCycle = 0, noFillCnt = ) Running: /usr/bin/smbclient new-pelican\\C\$ -U backup -E -d 1 -c tarmode\ full -Tc - full backup started for share C$ Xfer PIDs are now 31549,31548 tarExtract: /usr/share/BackupPC/bin/BackupPC_tarExtract: got Full = 1 tarExtract: /usr/share/BackupPC/bin/BackupPC_tarExtract starting... (XferLogLevel = 1) XferErr tree connect failed: NT_STATUS_ACCESS_DENIED XferErr tree connect failed: NT_STATUS_ACCESS_DENIED The C drive share on the PC is manually accessible: # smbclient //new-pelican/c -Ubackup%XXX Try "help" to get a list of possible commands. smb: \> Same password used for the user 'backup.' Can 'get' files here. Adding the dollar sign (i.e., referencing the default 'c$' share) to the above: smbclient //new-pelican/c\$ -Ubackup%XXX tree connect failed: NT_STATUS_ACCESS_DENIED -- Tim Evans | 5 Chestnut Court | Owings Mills, MD 21117 | 443-394-3864 -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ 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/
Re: [BackupPC-users] Tricks for Win 10 SMB Backup?
What is the value of $Conf{SmbClientFullCmd} and what is the smb command that is being run (see the XferLOG file)? Craig On Sun, Jul 29, 2018 at 12:22 PM Tim Evans wrote: > Unable to connect to a new Windows 10 client via SMB for backup. > Command-line testing with 'smbclient' works ok: > > $ smbclient -L new-pelican -Ubackup%xxx > > Sharename Type Comment > - --- > ADMIN$ Disk Remote Admin > C Disk > C$ Disk Default share > E Disk > E$ Disk Default share > IPC$ IPC Remote IPC > Users Disk > SMB1 disabled -- no workgroup available > > Note the last line of the output above ("SMB1 disabled..."). > > I can login with 'smbclient' and interactively display files in the > shares. BackupPC, however, won't connect. > > 2018-07-27 15:07:03 Backup failed on new-pelican (No files dumped for > share C$) > > Googling the SMB1 reference leads to suggestions to add the following to > smb.conf: > > client min protocol = SMB2 > client max protocol = SMB3 > > I added this and restarted Samba. This doesn't resolve the issue. Other > suggestions? > > Thanks. > -- > Tim Evans |5 Chestnut Court > 443-394-3864|Owings Mills, MD 21117 > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > 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/ > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ 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/