Steve Blackwell wrote: > On Thu, 6 May 2010 17:38:46 -0400 > Steve Blackwell <zep...@cfl.rr.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' > } > ]; >
What version of tar do you have? >From the manual: "Note that GNU tar version >= 1.13.7 is required for the exclude option to work correctly." -- Bowie ------------------------------------------------------------------------------ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/