BackupPC-users

Re: [BackupPC-users] Yet another filesystem thread

2011-06-30 08:59:04
Subject: Re: [BackupPC-users] Yet another filesystem thread
From: Richard Shaw <hobbes1069 AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 30 Jun 2011 07:56:59 -0500
On Thu, Jun 30, 2011 at 5:54 AM, C. Ronoz <chronoz AT eproxy DOT nl> wrote:
> I found out that BackupPC is ignoring my Excludes though, while I have a 15GB 
> /pub partition.
> This could explain why the run takes longer, but it should still finish 
> within an hour?
> Rsnapshot runs were always lightning fast, network is 1gbit.
>
> $Conf{BackupFilesOnly} = {};
> $Conf{BackupFilesExclude} = {'/proc', '/blaat', '/pub', '/tmp'};

You have to setup the excludes to match the transfer method you're
using. In the case of rsync I believe they must be relative to the
backup root.

Here's a snippet from my config. Since I mainly backup home
directories I exclude stuff like cache and other folder that don't
need to be backed up.

$Conf{BackupFilesExclude} = {
  '*' => [
    '.cache',
    '.thumbnails',
    '.gvfs',
    '.xsession-errors',
    '.recently-used.xbel',
    '.recent-applications.xbel',
    '.Private',
    '.mozilla'
  ]
};

Notice there are no '/' on the front of my excludes. Until I setup
things like this my excludes didn't work.

Richard

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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/