Re: [Bacula-users] Fileset Difficulties -- help please
2011-04-22 06:14:44
2011/4/21 Hugo Letemplier <hugo.let.35 AT gmail DOT com>:
> Hi
>
> I am having a Mac OSX File server where users home are stored.
> Before having a powerfull mail server that stores all the content of
> my emails, I store all the Microsoft Entourage Mailbox on this file
> server.
> Theses mailbox must be backed up separately from the rest of my
> server. Indeed, mailboxes size can reach some Gigabytes and it's an
> archive format (not a maildir) so at every backup a new big file need
> to be saved.
>
> the path to my mailboxes is :
>
> /FileServer/<Username>/Documents/*****/Office 2004/********/My Database
>
> I have to create 2 filessets. One that includes only the Mail database
> One that contains the rests of the user home directory.
> Also, I have an option section that select some files that must no be
> compressed but it doesn't work:
>
> FileSet {
> Name = "FileServer"
> Include {
> Options {
>
> regexfile='^.*\.(mp3|mp2|m4a|wma|flac|ogg|cda|aac|zip|lzh|rar|7z|gz|jar|bz|bz2|arj|deb|msi|pkg|tgz|ico|tif|gif|jpg|jpeg|png|gif|rpm|avi|vob|mkv|flv|mpg|mpeg|divx|wmv|avi|mp4|mov|qt)'
> exclude = no
> HFSPlus Support = yes
> Signature = MD5
> ACL Support = yes
> }
> Options {
> compression = GZIP3
> HFSPlus Support = yes
> Signature = MD5
> ACL Support = yes
> }
> File = "/FileServer"
> }
> Exclude {
> File = "/FileServer/*/Office 2004"
> File = "/FileServer/*/Identit*s Office 2008/*My Database"
> File = */.DS_Store
> File = */.Spotlight-V100
> File = */.TemporaryItems
> }
> }
>
> FileSet {
> Name = "FileServer-Mailbox"
> Include {
> Options {
> compression = GZIP6
> HFSPlus Support = yes
> Signature = MD5
> ACL Support = yes
> wild = "/FileServer/*/Office 2004/*My Database"
> wild = "/FileServer/*/Identit*s Office 2008/*My Database"
> }
>
> File = "/FileServer"
> }
> Exclude {
> File = */.DS_Store
> File = */.Spotlight-V100
> File = */.TemporaryItems
> }
> }
>
> I have tried many times with regexp and wild but it never did that as I wish.
>
> Have you got an idea ?
>
> Thanks
>
> Hugo
>
Hi
I precise my problem,
I succeeded for the fileset that exclude the Mailboxes I got this :
FileSet {
Name = "FileServer"
Ignore Fileset Changes = yes
Include {
Options {
regexfile=
"^.*\.(mp3|mp2|m4a|wma|flac|ogg|cda|aac|zip|lzh|rar|7z|gz|jar|bz|bz2|arj|deb|msi|pkg|tgz|ico|tif|gif|jpg|jpeg|png|gif|rpm|avi|vob|mkv|flv|mpg|mpeg|divx|wmv|avi|mp4|mov|qt)"
exclude = no
HFSPlus Support = yes
Signature = MD5
ACL Support = yes
xattrsupport = yes
}
Options {
compression = GZIP3
exclude = no
HFSPlus Support = yes
Signature = MD5
ACL Support = yes
xattrsupport = yes
}
Options {
Signature = MD5
ACL Support = yes
HFSPlus Support = yes
xattrsupport = yes
IgnoreCase = yes
regex = "/FileServer/.*/Utilisateurs Office 2004/Identit.*
principale/.*"
regex = "/FileServer/.*/Identit.*s Office
2008/Identit.* principale/.*"
exclude = yes
}
File = "/FileServer"
}
Exclude {
File = */.DS_Store
File = */.Spotlight-V100
File = */.TemporaryItems
}
}
I still got the problem to write the other one. :-(
I am still failing in only including files that match the following
regex
regex = "/FileServer/.*/Utilisateurs Office 2004/Identit.* principale/.*"
regex = "/FileServer/.*/Identit.*s Office 2008/Identit.* principale/.*"
Thank you
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|