BackupPC-users

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

2011-01-18 11:41:08
Subject: [BackupPC-users] backuppc ignores value of BackupFilesOnly; archives entire /
From: itismike <backuppc-forum AT backupcentral DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 18 Jan 2011 11:39:17 -0500
@Les: The 'very wrong' syntax I posted is what was auto-generated when I added 
my target directory ("/home/michael/") using the CGI. But if you're not a fan 
of the web interface, these examples are taken directly from the config.pl file:
Examples:
#    $Conf{BackupFilesOnly} = '/myFiles';
#    $Conf{BackupFilesOnly} = ['/myFiles'];     
# same as first example

All the CGI did was add some whitespace and enclose it in brackets:
$Conf{BackupFilesOnly} = {
'/home/michael/' => [
''
]
}; 

Now if the above code can't be interpreted correctly by BackupPC, then we may 
have stumbled upon the root cause. But I don't think this is the problem or 
others would be finding the same issue.

@Bowie: Thanks for breaking that down, but I don't see how this explains why my 
system is backing up everything starting at /. Your explanation appears to 
match the documentation, so it should be working as I had intended - hence my 
reason for opening this thread.

+----------------------------------------------------------------------
|This was sent by itismike AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral 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/

<Prev in Thread] Current Thread [Next in Thread>