BackupPC-users

[BackupPC-users] How to BackupFilesExclude to exclude locked files on Windows XP

2008-05-18 16:22:31
Subject: [BackupPC-users] How to BackupFilesExclude to exclude locked files on Windows XP
From: Kurt Jasper <kurt.jasper AT googlemail DOT com>
To: BackupPC Users <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 18 May 2008 22:21:48 +0200
Hi,

some of my client-pcs are running win xp/2000.
They get backed up using SSH and rsync and everything seems to work 
fine, except that every backup gives back some XferLOG Errors, because 
it can not copy some locked files:

Remote[1]: rsync: send_files failed to open "/cygdrive/c/Dokumente und 
Einstellungen/Administrator/Lokale 
Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat": Device or 
resource busy (16)
Remote[1]: rsync: send_files failed to open "/cygdrive/c/Dokumente und 
Einstellungen/Administrator/Lokale 
Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat.LOG": 
Device or resource busy (16)
Remote[1]: rsync: send_files failed to open "/cygdrive/c/Dokumente und 
Einstellungen/Administrator/NTUSER.DAT": Device or resource busy (16)
Remote[1]: rsync: send_files failed to open "/cygdrive/c/Dokumente und 
Einstellungen/Administrator/ntuser.dat.LOG": Device or resource busy (16)

So I added the following excludes to the CLIENT.pl file (of course in 
one line):

$Conf{BackupFilesExclude} = [
'/cygdrive/c/*/NTUSER.DAT',
'/cygdrive/c/*/ntuser.dat.LOG',
'/cygdrive/c/*/UsrClass.dat',
'/cygdrive/c/*/UsrClass.dat.LOG'];


Unfortunately these excludes are not working, that leads to the QUESTION:

How can I exclude these files that can be found in every user-directory 
using wildcards?

- Kurt

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/