BackupPC-users

Re: [BackupPC-users] BackupFilesExclude and BackupFilesOnly Not Working

2009-04-20 11:20:34
Subject: Re: [BackupPC-users] BackupFilesExclude and BackupFilesOnly Not Working
From: John Aranibar <cholotron AT hotmail DOT com>
To: <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 20 Apr 2009 09:14:31 -0600
I must be doing something wrong here, because, [BackupFilesOnly] still not working.
It backups up the entire C: Drive.
 
What I found interesting is that on another server running ubuntu 7.10 also and backuppc everything works fine.

The only diference is that on the server that works I am running Windows 2003 Server not the Small Business Server.
 
There is another diference with win2003 SBS if you use "Administrator" it doest work, you must use "administrator" that is how you get the "...No files dumped for share ......."
 
Anyways I would apreciate if you guys can help me. Backup ups are very important.
Here is my john.pl file.
 
Thank you all!!!!
 
##Backup MS Outlook only
##---------------------------------------------------------
$Conf{SmbShareName} = [
  'C$'
];
$Conf{BackupFilesOnly} = {
  'C$' => ['\\Documents and Settings\\Administrator.SCORE\\Local Settings\\Application Data\\Microsoft\\Outlook]
};
##Connection Settings
##---------------------------------------------------------
$Conf{SmbShareUserName} = 'score//administrator';
$Conf{SmbSharePasswd} = 'mypass';
$Conf{XferMethod} = 'smb';
 
##-----> END <--------
 
 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>Once again the 'c' should be 'C$'.
>>Unfortunately smbclient doesn't allow you to use both
>>$Conf{BackupFilesOnly} and $Conf{BackupFilesExclude}. One choice
>>is to change the share to be just the directory tree you want to
>>back up and leave $Conf{BackupFilesOnly} empty.
>>Using wildcards in $Conf{BackupFilesExclude} with smbclient is ok,
>>but you need to use '\' instead of '/':
>>$Conf{BackupFilesExclude} = {
>>'C$' => ['\\Program Files\\*', '\\WINDOWS\\*'],
>>'C$' => ['\\Documents and Settings\\*'],
>>};
>>(If you are entering this via the CGI interface you only need
>>to enter a single '\'.)
>>Craig



Tell the whole story with photos, right from your Messenger window. Learn how!
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>