Link to home
Create AccountLog in
Avatar of frankEQS
frankEQS

asked on

BackupPC no files dumped for share E$

I want to use backupPC to backup folders in Windows server, for testing i start with C:\etc and E:\etc

But i get error. i have shared both folders, and they should be reachable for the backupuser. im just wondering what could be wrong.

Here is the errorlog i receive when i try to start a full backup.

Running: /usr/bin/smbclient \\\\kunde02\\C\$ -U backupPC -E -d 1 -c tarmode\ full -Tc - etc
full backup started for share C$
Xfer PIDs are now 9968,9967
[ skipped 14 lines ]
tarExtract: Done: 0 errors, 6 filesExist, 22978 sizeExist, 8786 sizeExistComp, 6 filesTotal, 22978 sizeTotal
Running: /usr/bin/smbclient \\\\kunde02\\E\$ -U backupPC -E -d 1 -c tarmode\ full -Tc - etc
full backup started for share E$
Xfer PIDs are now 9972,9971
[ skipped 2 lines ]
NT_STATUS_NO_SUCH_FILE listing \etc
[ skipped 2 lines ]
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share E$)
Backup aborted (No files dumped for share E$)
Saving this as a partial backup, replacing the prior one (got 6 and 0 files versus 0)

attached is the config file for my host.
$Conf{SmbShareName} = [
  'C$',
  'E$'
];
$Conf{SmbShareUserName} = '********';
$Conf{SmbSharePasswd} = '*********';

$Conf{BackupFilesOnly} = {
  'E$' => [
    '/etc'
  ],
  'C$' => [
    '/etc'
  ]
};

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Rodney Barnhardt
Rodney Barnhardt
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of frankEQS
frankEQS

ASKER

Since i wont be back to work before monday i wouldnt be able to test this before then.

But yes, the permissions are the same for E$ and C$ and i have also tried with a admin user that also has access.

Seems like only E$ is the problem, C$ backups just fine.
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
My solution is the answer for the error, but i wouldnt have found the error without other post from rbarnhardt.