Is the following in the correct format?

$Conf{SmbShareName} = [
  'audio'
];
$Conf{SmbSharePasswd} = 'Password1';
$Conf{SmbShareUserName} = 'backuppc';
$Conf{XferMethod} = 'smb';
$Conf{BackupFilesOnly} = {

'audio' => [ '\\Archive'],

'audio' => [ '\\IT-Downloads'],

'audio' => [ '\\NI Sample Libraries'],

'audio' => [ '\\Impulse Responses'],

'audio' => [ '\\Backup'],

'audio' => [ '\\User Guides Installs'],

'audio' => [ '\\SoundsDatabase'];

}


________________________________
From: Michael Stowe <michael.st...@member.mensa.org>
Sent: 09 January 2018 17:34
To: Marc Gilliatt
Cc: Developers discussion
Subject: Re: [BackupPC-devel] SMB Windows share not backing up - 
NT_STATUS_ACCESS_DENIED listing \System Volume Information\SRM\*



On Jan 9, 2018, at 8:01 AM, Marc Gilliatt 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> wrote:

Sorry, my mistake. That was the overall config file I posted, and I apologise 
again, I should've just posted the section regarding smb, I've put the includes 
in the host's config file.

$Conf{SmbShareName} = [
  'audio'
];
$Conf{SmbSharePasswd} = 'Password1';
$Conf{SmbShareUserName} = 'backuppc';
$Conf{XferMethod} = 'smb';
$Conf{BackupFilesOnly} = {
  '\\Archive' => [
    ''
  ],
  '\\IT-Downloads' => [
    ''
  ],
  '\\NI Sample Libraries' => [
    ''
  ],
  '\\Impulse Responses' => [
    ''
  ],
  '\\Backup' => [
    ''
  ],
  '\\User Guides Installs' => [
    ''
  ],
  '\\SoundsDatabase' => [
    ''
  ]
};

________________________________

Ah ha!

The way the BackupFilesOnly section is written, it says, “for the share called 
\Archive, backup only these files: ‘’, and so on for shares named “\IT 
Downloads” etc.

As there are no entries matching the share ‘audio’ it will fall back to other 
rules.

Try
$Conf{BackupFilesOnly} = {
‘audio’ => [ ‘\\Archive’ ] };

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to