From: Bowie B. <Bowie_Bailey@BUC.com> - 2011-11-08 20:31:20
|
On 11/8/2011 11:59 AM, Carl Wilhelm Soderstrom wrote: > On 11/08 12:47 , sudo_root wrote: >> As an example, I would like to backup folder temp on mycomputer1 (I can access the folder with smb://computer1/c$/temp and backuppc can backup the C$ on same computer). >> >> I have tried with C$\temp etc but no dice. > I believe what you're looking for is 'BackupFilesOnly'. > > >From config.pl: > # $Conf{BackupFilesOnly} = { > # 'c' => ['/myFiles', '/important'], # these are for 'c' share > # '*' => ['/myFiles', '/important'], # these are other shares > # }; > > What you'll want for your example is something like: > > $Conf{BackupFilesOnly} = { > 'C$' => ['\temp'], > } > > NOTE that for SMB shares the '\' goes in the opposite direction compared to > an rsync share. (someone please correct me if this is no longer necessary). You can use either one. Samba will translate. Also note that this cannot be combined with BackupFilesExclude. You can only have one or the other when backing up via samba. -- Bowie |