BackupPC-users

[BackupPC-users] Problems excluding files.

2008-08-04 18:31:51
Subject: [BackupPC-users] Problems excluding files.
From: Steve Blackwell <zephod AT cfl.rr DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 4 Aug 2008 18:31:38 -0400
The documentation for $Conf{TarClientCmd} says

...
Also, you will probably want to add ``/proc'' to
$Conf{BackupFilesExclude}.

The following variables are substituted at run-time:
...
$fileList    specific files to backup or exclude
...

I took this to mean that $fileList takes care of excluding the files in
$Conf{BackupFilesExclude}. 

I have the following in my <host>.pl file:

$Conf{BackupFilesExclude} = {
  'system' => [
    '/proc',
    '/sys',
    '/tmp'
  ],
  'backup' => [
    '/media'
  ]
};

but the log show that it is still trying to backup /sys and /proc.

Contents of file /media/disk/pc/steve/XferLOG.6.z, modified 2008-08-04
01:08:44 (Extracting only Errors)

Running: /usr/bin/sudo /bin/tar -c -v -f - -C / --totals
--newer=2008-07-29 17:06:39 . incr backup started back to 2008-07-29
17:06:39 (backup #2) for directory / Xfer PIDs are now 25863,25862
[ skipped 36677 lines ]
/bin/tar: ./sys/devices/platform/uevent: File shrank by 4096 bytes;
padding with zeros

Id there something wrong with my $Conf{BackupFilesExclude} or do I need
to add --exclude <something> to TarIncrArgs?

Thanks,
Steve

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>