Re: [BackupPC-users] backuppc ignores value of BackupFilesOnly; archives entire /
2011-01-18 12:35:10
On 1/18/2011 11:13 AM, itismike wrote:
> Interesting. I was wondering why the GUI shifted the fields to the right when
> I entered a directory name. So you're saying the syntax should look like
> this?:
> $Conf{BackupFilesOnly} = {
> '/' => [
> '/home/michael/'
> ]
> };
>
> I don't need to mess with RsyncShareName, right?
> That being said, if entering my directory in the CGI leads to it containing
> an illegal value (sharename="/home/michael") wouldn't I expect it to throw an
> error rather than ignore the entry and backup everything? Or does BackupPC
> use some type of fail-safe mode where an error in config.pl just defaults to:
> "This guy is nuts! BACK IT ALL UP!!!" :)
I see another message shows what you did wrong in the GUI. The
sharename is the 'key' and after you add it, you get a space to add the
associated paths. Still, it doesn't make any sense to start at '/' and
make the client walk the entire directory tree looking for matches if
you know you don't want anything above that directory included. The
right fix is to start at the point where you want a backup, then exclude
anything you don't want.
--
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/
|
|
|