Hi everyone,
I've got some trouble setting up backuppc to backup a Windows 10 client
via SMB xfer.
First my system specs:
Debian 8
backuppc 3.3.0-2+deb8 amd64 from the distro repo
# smbclient -V
Version 4.2.14-Debian
Full backups are canceled with the error "No files dumped for share C$"
Examining the XferLOG, smbclient throws an error:
NT_STATUS_INVALID_PARAMETER listing \\Users\username\AppData\
tar:781 do_list failed on Users\username\AppData\ (NT_STATUS_INVALID_PARAMETER)
Running smbclient manually throws the same error trying
ls \\Users\username\AppData\
But it works for:
ls \\Users
The host config looks like:
$Conf{SmbShareName} = [
'C$'
];
$Conf{BackupFilesOnly} = {
'C$' => [
'/Users/username/AppData/',
'/Users/username/Documents/foo.bak',
'/Windows/'
]
};
$Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName
$I_option -U $userName -E -d 1 -m SMB3 -c tarmode\\ full -Tc$X_option -
$fileList';
$Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName
$I_option -U $userName -E -d 1 -m SMB3 -c tarmode\\ full -TcN$X_option
$timeStampFile - $fileList';
$Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName
$I_option -U $userName -E -d 1 -m SMB3 -c tarmode\\ full -Tx -';
$Conf{XferMethod} = 'smb';
As you can see, Backuppc somehow replaces the / with \\ and \ in the
BackupFilesOnly config.
If I'm running smbclient with the path as I configured it, it works fine.
ls /Users/username/AppData/
I also tried configuring the path with backslashes and event doubled
backslashes instead but without success.
How can I tell BackupPC not to replace the forward slashes with backslashes?
Thanks a lot!
--
Mit freundlichen Grüßen / Best regards
i.A. Christopher Diekkamp
Otto Schneider <http://www.otto-schneider.de/>
Otto Schneider GmbH & Co. KG
Raiffeisenstraße 5
D-63303 Dreieich
E-Mail: e...@otto-schneider.de <mailto:e...@otto-schneider.de>
Web: www.otto-schneider.de <http://www.otto-schneider.de/>
Sitz: Dreieich, AG Offenbach: HRA 30667;
p.h.G.: Manfred Schneider Betriebs-GmbH, Sitz: Dreieich,
AG Offenbach: HRB 30451, Geschäftsführer: Hermann Schneider
------------------------------------------------------------------------------
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/