BackupPC-users

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

2010-05-12 09:17:38
Subject: Re: [BackupPC-users] Syntax for excluding .gvfs
From: Steve Blackwell <zephod AT cfl.rr DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 12 May 2010 09:16:00 -0400
On Thu, 6 May 2010 17:38:46 -0400
Steve Blackwell <zephod AT cfl.rr DOT com> wrote:

> I'm running F11 and I keep getting an error on my backups. I've
> tracked this down to a file, .gvfs, in users home directories. From
> the log file:
> 
> /bin/tar: ./.gvfs: Cannot stat: Permission denied
> 
> I use the web interface to edit the configuration but I cannot find
> the correct syntax to exclude these files. The TarShareName is / and
> I've tried the following for BackupFilesExclude
> 
> .gvfs
> *.gvfs
> /home/*/.gvfs
> 
> none of which work. How have others overcome this? And, yes, I do have
> the Override box checked.
> 
> Thanks,
> Steve

I still don't have a solution for this and because of it all my backups
fail. Now I think my HD may be on its way out becaus of errors I'm
seeing in logwatch:
 /dev/sdb :
    Prefailure: Seek_Error_Rate (7) changed to 
      200, 100, 200, 100, 

I did learn that you can't use an unquoted * in the exclude list.

Really need help and for those who did not read the original thread I'm
using 

BackupPC-3.1.0-9.fc11.noarch

and my <computer>.pl file looks like this:

$Conf{TarClientCmd} = '/usr/bin/sudo $tarPath -c -v -f - -C $shareName
--totals'; 
$Conf{TarFullArgs} = '$fileList';
$Conf{TarClientRestoreCmd} = '/usr/bin/sudo $tarPath -x -p
--numeric-owner --same-owner -v -f - -C $shareName';
$Conf{TarClientPath} = '/bin/tar'; 
$Conf{BackupFilesExclude} = {
  '/' => [
    '/proc',
    '/sys',
    '/tmp',
    '/media',
    '/selinux',
    '/misc',
    '/home/"*"/.gvfs'
  ]
};
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
$Conf{TarShareName} = [
  '/'
];
$Conf{BlackoutPeriods} = [
  {
    'hourEnd' => '23.5',
    'weekDays' => [
      '0',
      '1',
      '2',
      '3',
      '4',
      '5',
      '6'
    ],
    'hourBegin' => '8.5'
  }
];

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