BackupPC-users

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

2011-01-18 02:57:13
Subject: Re: [BackupPC-users] backuppc ignores value of BackupFilesOnly; archives entire /
From: Daniel Mueller <daniel.mueller AT awema DOT ch>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 18 Jan 2011 08:36:11 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 18.01.2011 08:10, schrieb itismike:
> I've used the GUI to specify that only files in my home folder are backed up 
> (excluding the ~/.Private folder since that contains only encrypted files.) 
> This results in the following entry in the client-specific *.pl file:
> 
> $Conf{BackupFilesOnly} = {
>   '/home/michael/' => [
>     ''
>   ]
> };
> $Conf{BackupFilesExclude} = {
>   '/home/michael/.Private/' => [
>     ''
>   ]
> };
> 
> However, it is backing up everything from my root directory:
> 
> It's also backing up everything in my ~/.Private directory. This doesn't seem 
> to be expected behavior. Any ideas what's up?

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk01QusACgkQ9cNB6SmxvVp5ggCcCcqrG7kJOOAgATg6QN0MqzQi
T/QAoIrL/J/QmrJoGx0+mDKVRCOVoLKx
=SUq5
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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/