Re: [BackupPC-users] How to BackupFilesExclude to exclude locked files on Windows XP
2008-05-18 16:59:37
Am Sonntag 18 Mai 2008 schrieb Kurt Jasper:
> 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
>
Try to specify like this or use the GUI (specify "c" as Key and than all
your exclusions behind this key):
$Conf{BackupFilesExclude} = {
'c' => [
'\\WINDOWS\\*.log',
'\\RECYCLE*',
'pagefile.sys',
'hiberfil.sys '
]
};
br
Matthias
--
Don't Panic
-------------------------------------------------------------------------
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/
|
|
|