On Thursday 26 November 2009 12:21:49 boulate wrote:
> Hi all !
>
> First, please excuse me for my bad English, i'll try to do my best.
>
> I just have a problem with backuppc. I have to backup a server using SMB
> protocol, and everything work well.
>
> The problem is that I have to exclude a directory of the backup. I read the
> documentation and try to configure le folder to exclude from the web
> interface, but it doesn't work.
>
> So i tried to edit the /etc/backuppc/myhost.pl, and now it look like that :
>
> $Conf{SmbShareName} = [
> 'commun'
> ];
> $Conf{SmbSharePasswd} = 'password';
> $Conf{SmbShareUserName} = 'administrator';
> $Conf{BackupFilesExclude} = {
> 'commun' => ['/Commun/Informatique/Folder_to_exclude/',
> '/Commun/Informatique/Second_folder_to_exclude/'],
> };
>
>
> I tried with a "*" after the "Folder_to_exclude/" and I still have the same
> problem.
>
> What did I'm doing wrong ?
>
> I looked at the documentation, and search on internet, and I still can't
> solve this problem ... help !
>
Here is an example of excluding a Windows directory from a backup.
#$Conf{SmbShareName} = 'C$';
$Conf{SmbShareName} = 'D$';
$Conf{SmbShareUserName} = 'LRC-FILESRV\admin';
$Conf{SmbSharePasswd} = '******';
$Conf{BackupFilesExclude} = {
'D$' => ['\.metadata','\System Volume Information', '\RECYCLER']
};
You have to use back rather than forward slashes!!
Hope this helps
Tony
--
Dept. of Comp. Sci.
University of Limerick.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|