Re: [Bacula-users] Tape Library with Multiple LTO types

2022-10-03 Thread Gary R. Schmidt
On 04/10/2022 08:26, Andrew via Bacula-users wrote: I am a bacula newb, but have it working with file backup storage. I recently acquired a tape library with a LTO-5 drive. Along with this came 10 brand new LTO-4 tapes. When I purchase more media, I would like to purchase LTO-5 since there is

[Bacula-users] Tape Library with Multiple LTO types

2022-10-03 Thread Andrew via Bacula-users
I am a bacula newb, but have it working with file backup storage. I recently acquired a tape library with a LTO-5 drive. Along with this came 10 brand new LTO-4 tapes. When I purchase more media, I would like to purchase LTO-5 since there is not much of a cost difference. How do I setup bacula

Re: [Bacula-users] wilddir not working for exclusion but is for inclusion

2022-10-03 Thread Dave
I actually need that inclusion match, each subdirectory of CUSTOMER_DATA (starting with a, starting with b, etc) gets its own job due to the massive size of each. From: Eduardo Antonio Adami Sent: Monday, October 3, 2022 2:07 PM To: Dave Cc: bacula-users@lists.sourceforge.net Subject: Re:

Re: [Bacula-users] wilddir not working for exclusion but is for inclusion

2022-10-03 Thread Eduardo Antonio Adami
Yeah, you need delete the line /mnt/CUSTOMER_DATA/i* I did a test inside my test machine, please see the my example: FileSet { Name = "CD-i" Include { Options { signature = MD5 Exclude = yes WildDir = "*/\.cache" WildDir = "/home/adami/CUSTOMER_DATA/i*/temp"

Re: [Bacula-users] wilddir not working for exclusion but is for inclusion

2022-10-03 Thread Dave
Awesome, that makes a lot of sense and I'll give it a shot. -Original Message- From: Martin Simmons Sent: Monday, October 3, 2022 1:52 PM To: Dave Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] wilddir not working for exclusion but is for inclusion Bacula uses on

Re: [Bacula-users] wilddir not working for exclusion but is for inclusion

2022-10-03 Thread Martin Simmons
Bacula uses on the first Options clause that matches (in the order they are written) to decide whether to include or exclude something. If no clauses match, then the item is backed up using the options (e.g. Compression) from the final clause. The problem with your clauses is that directories

Re: [Bacula-users] wilddir not working for exclusion but is for inclusion

2022-10-03 Thread Dave
Thanks for the response, but I want to include the /mnt/CUSTOMER_DATA/i* and exclude the /mnt/CUSTOMER_DATA/*/temp. Wouldn’t your exclude both? From: Eduardo Antonio Adami Sent: Monday, October 3, 2022 12:35 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] wilddir

Re: [Bacula-users] wilddir not working for exclusion but is for inclusion

2022-10-03 Thread Eduardo Antonio Adami
Hi Dave, you can try to use only one option block! FileSet { Name = "CD-i" Include { Options { signature = SHA1 Compression = GZIP9 exclude = yes wilddir = "/mnt/CUSTOMER_DATA/i*" wildfile = "*.rar" wildfile = "*.zip" wilddir =

[Bacula-users] wilddir not working for exclusion but is for inclusion

2022-10-03 Thread Dave
I'm running Bacula 9.0.6 and cannot seem to get a wilddir exclusion to work. My fileset is: FileSet { Name = "CD-i" Include { Options { signature = SHA1 Compression = GZIP9 wilddir = "/mnt/CUSTOMER_DATA/i*" } Options { RegexDir = ".*"