Bacula-users

Re: [Bacula-users] Backup Folders using "Wild" and "RegExDir"

2011-08-02 06:35:29
Subject: Re: [Bacula-users] Backup Folders using "Wild" and "RegExDir"
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 2 Aug 2011 11:33:12 +0100
>>>>> On Mon, 25 Jul 2011 17:37:24 +0200, Richard Marnau said:
> 
> Hi all,
>  
> I'm trying to backup "Desktop" and "Documents" from all users on a client.
> Bacula manual is a good point to start / Page 172 does have an example to 
> backup only pictures folders from Windows Clients.
> Unfortunaly all backups and settings I tried did not include any of the files 
> or folders (or to much of them).
>  
> Directorys to backup:
> C:/Dokumente und Einstellungen/*/Desktop/*
> C:/Dokumente und Einstellungen/*/Eigene Dateien/*
>  
> --
> My FileSet:
>  
> FileSet {
>   Name = "ClientWindows"
>   Include {
>  
>   File = "C:/Dokumente und Einstellungen"
>  
>      Options {
>       signature = MD5
>       compression = GZIP
>       IgnoreCase = yes
>  
>       #Alle Benutzerverzeichnise mit einbeziehen.
>       RegExDir="^C:/Dokumente und Einstellungen/[^/]+$"
>  
>       #Alle Benutzer Desktop Verzeichnise und Unterverzeichnise
>       Wild = "C:/Dokumente und Einstellungen/*/Desktop/*"
>  
>       #Alle Benutzer Eigene Dateien und Unterverzeichnise
>       Wild = "C:/Dokumente und Einstellungen/*/Eigene Dateien/*"
>     }
>      Options {
>         Exclude = yes
>         IgnoreCase = yes
>         Wild= "C:/Dokumente und Einstellungen/*"
>     }
>   }
> }
>  
> Where is my mistake and why ?

I think you need to add the Desktop and Eigene Dateien directories themselves.

I.e. add this to the first options clause like in the manual:

WildDir = "C:/Dokumente und Einstellungen/*/Desktop"
WildDir = "C:/Dokumente und Einstellungen/*/Eigene Dateien"

__Martin

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

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