BackupPC-users

Re: [BackupPC-users] Syntax for excluding .gvfs

2010-05-09 22:20:09
Subject: Re: [BackupPC-users] Syntax for excluding .gvfs
From: Steve Blackwell <zephod AT cfl.rr DOT com>
To: Luis Paulo <luis.barbas AT gmail DOT com>
Date: Sun, 9 May 2010 22:17:52 -0400
On Sat, 8 May 2010 23:26:40 +0100
Luis Paulo <luis.barbas AT gmail DOT com> wrote:

> On Sat, May 8, 2010 at 7:49 PM, Steve Blackwell <zephod AT cfl.rr DOT com>
> wrote:
> > On Sat, 8 May 2010 17:35:47 +0100
> >[..]
> > Contents of file /media/disk/pc/steve/XferLOG.bad.z, modified
> > 2010-05-08 14:41:36
> >
> > Running: /usr/bin/sudo /bin/tar -c -v -f - -C /home/steve --totals
> > --newer=2010-05-06 00:00:09 . incr backup started back to 2010-05-06
> > 00:00:09 (backup #284) for directory /home/steve Xfer PIDs are now
> > 30316,30315 /bin/tar: ./.gvfs: Cannot stat: Permission denied
> > ...
> > rest of the transfer log.
> >[...]
> 
> Well, something is not right

I won't disagree with you there!

> You should have an --exclude=./.gvfs on your Running: line
> as in (for /proc)
> Running: /usr/bin/env LC_ALL=C sudo /bin/tar -c -v -f - -C / --totals
> --newer=2010-05-07 04:00:03 --exclude=./proc/* ...

As I understand it, the variable $fileList is created based on the
includes and excludes or more specifically based on BackupFilesOnly or
BackupFilesExclude.

TarFullArgs is set to $fileList and 
TarIncrArgs is set to --newer=$incrDate $fileList 

and so you won't see a --exclude switch in the log. 

Someone, please correct me if I'm wrong.

Steve

------------------------------------------------------------------------------

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