BackupPC-users

[BackupPC-users] rsync exclude syntax

2009-01-15 07:58:59
Subject: [BackupPC-users] rsync exclude syntax
From: Jean-Michel Beuken <jean-michel.beuken AT uclouvain DOT be>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 15 Jan 2009 13:56:19 +0100
Hello,

I'm used the ssh/rsync transfert method and I want to exclude some files 
from backup.

here is the used setting  :

$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/
Xfer PIDs are now 13956
Got remote protocol 29
Negotiated protocol version 28
Sent exclude: /Users/garant/Library/Preferences/ByHost/*00224126372e.plist
Xfer PIDs are now 13956,13981
[ 59526 lignes sautées ]
Remote[1]: rsync: send_files failed to open 
"/Users/garant/Library/Preferences/ByHost/.GlobalPreferences.00224126372e.plist":
 
Permission denied (13)
Remote[1]: rsync: send_files failed to open 
"/Users/garant/Library/Preferences/ByHost/com.apple.HIToolbox.00224126372e.plist":
 
Permission denied (13)
Done: 39638 files, 5166531373 bytes
Executing DumpPostUserCmd: /usr/local/BackupPC/bin/BackupNotify_succes 
Michele.Garant AT uclouvain DOT be 1 130.104.58.195 incr 550.385 130.104.58.195
---------------- log -----------------

there is a syntax problem in the BackupFilesExclude or it's a feature ?

I want to exclude all  files with known restricted acces  because I 
analyze the error file to detect the real problems of acces to warn the 
users of these problems

thank in advance for your suggestions
 
jmb



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