Hello,
On 3/23/2006 8:39 AM, Andrus Naulainen wrote:
Hello
I have problem with defining a FileSet. Let's say I want to backup just
one directory for every user in the machine. It's "c:/Documents and
Settings/*/My Documents" where * indicates the user name.
I haven't tried it, but IIRC a line like
File = "c:/Documents and Settings/*/My Documents"
should be the right thing... at least I still have similar lines in my
windows filesets to exclude browser cache etc., but I admit I simply put
them in like they were in the manual and never investigated if they
worked as expected...
As I
understand I have to use Options where Exclude expression is set to
"yes" and exclude all other directories except "My Documents". I thought
that RegexDir = "^c:/Documents and Settings/*/[^(My Documents)]" will
do, but using Regex expression gave me an error message that Regex is
not available in the system.
Regexs won't work with the windows FD, and your RE looks definitely
funny to me anyway.
Any tips, how to solve missing regex problem or maybe I even don't need
it and there are another way to solve my FileSet problem?
Try the simple include with a wildcard - perhaps that's enough to get
what you want.
Version of my bacula director - Version: 1.36.2 (28 February 2005)
And consider upgrading - the current 1.38 version supports windows' VSS
system, allowing correct backups of (almost all) open files.
I modify your configuration:
Include{
- Options{
- RegexDir = "^c:/Documents and Settings/*/[^(My Documents)]"
- Exclude = yes
- }
- File = "c:/Documents and Settings/"
+ File = "c:/Documents and Settings/*/My Documents"
}
Arno
23-Mar 09:26 varund-dir: Start Backup JobId 1811,
Job=andrusJ.2006-03-23_09.26.42
23-Mar 09:26 andrus-fd: andrusJ.2006-03-23_09.26.42 Fatal error: REGEX
^.?*$ compile error. ERR=REGEX not available on this system.
23-Mar 09:26 varund-dir: andrusJ.2006-03-23_09.26.42 Fatal error: Socket
error from Filed on Include command: ERR=No data available
23-Mar 09:26 varund-dir: andrusJ.2006-03-23_09.26.42 Error: Bacula
1.36.2 (28Feb05): 23-Mar-2006 09:26:45
Andrus
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users