BackupPC-users

Re: [BackupPC-users] rsync exclude syntax

2009-01-15 18:02:51
Subject: Re: [BackupPC-users] rsync exclude syntax
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: Jean-Michel Beuken <jean-michel.beuken AT uclouvain DOT be>
Date: Thu, 15 Jan 2009 13:56:21 -0800
Jean-Michel writes:

> $Conf{BackupFilesExclude} = [
> '/Users/garant/Library/Preferences/ByHost/*00224126372e.plist' ];
> 
> notice the  wildcard '*' in the file list...
> 
> but it seems that BackupPC_dump  stats the file  BEFORE to exclude the
> file from backup because there is a "failed to open" message...
> 
> ---------------- log -----------------
> incr backup started back to 2009-01-12 10:05:19 (backup #30) for
> directory /Users/garant
> Running: /usr/bin/ssh -q -x -l garant 130.104.58.195 /usr/bin/rsync
> --server --sender --numeric-ids --perms --owner --group --devices
> --links --times --block-size=2048 --recursive . /Users/garant/

Excludes are relative to the share name, which is /Users/garant
in this case.  So you should use this:

$Conf{BackupFilesExclude} = [
    '/Library/Preferences/ByHost/*00224126372e.plist' ];

Craig

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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>