BackupPC-users

Re: [BackupPC-users] backuppc ignores value of BackupFilesOnly; archives entire /

2011-01-18 08:58:49
Subject: Re: [BackupPC-users] backuppc ignores value of BackupFilesOnly; archives entire /
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 18 Jan 2011 07:56:44 -0600
On 1/18/11 7:29 AM, itismike wrote:
> ----
> You probably still have set
> $Conf{RsyncShareName} = ['/'];
>
> What you want instead is
> $Conf{RsyncShareName} = ['/home/michael/'];
> $Conf{BackupFilesExclude} = {'/home/michael' =>  ['.Private']};
>
> That's just a guess as I ran into something similiar...
>
> Regards
> Daniel
> ----
>
> Thanks Daniel, I can give that a try. Is the GUI really so non-intuitive that 
> the target files need to be defined twice? I thought $Conf{RsyncShareName} 
> defined the name of the primary share fs itself, and $Conf{BackupFilesOnly} 
> would define the specific directories or files to backup, since the 
> documentation is clear as day on this:
>
> $Conf{BackupFilesOnly} = undef;
>      List of directories or files to backup. If this is defined, only these 
> directories or files will be backed up.

Normally you would only use the sharenames as the starting points of what you 
want to back up and it defaults to including everything.  It doesn't make much 
sense to tell the client to walk the whole directory tree when you only want a 
specific directory.  But the way it is used depends somewhat on the xfer 
method. 
  If you use rsyncd (or smb), it has to match a module configured on the 
client, 
while it can be any directory with rsync or tar.  Also, I think some of the 
xfer 
methods can't handle both include and exclude lists.

-- 
    Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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/