Re: [Bacula-users] File-based tag to skip a directory

2018-02-13 Thread C M Reinehr

Mike,

In researching this problem myself I discovered this option to tar:

*--exclude-caches*
  Exclude contents of directories containing file*CACHEDIR.TAG*,
  except for the tag file itself.


Details about the cache tagging standard can be found here:

http://www.brynosaurus.com/cachedir/spec.html

I think that this would be a good feature enhancement to Bacula but in 
the interim I devised a workaround by using tar to archive the files and 
directories, using cachedir.tag's & then using Bacula to back up the tar 
archive.


HTH.

Cheers,

CMR

On 02/13/2018 09:00 AM, Heitor Faria wrote:

Hello, Mike,

With some other backup systems, a filename "tag" can be placed in
the directory to initiate a "skip".

For example, with BORG backup - placing the file ".nobackup" in a
directory, and configuring BORG backup with the switch...
--exclude-if-present ./nobackup

/...will tell Borg (on the fly) to skip that directory.

Does Bacula have this feature? I don't see anything in the
resource sections of the manual. 

Please study the WildFile/Regex and Exclude directives from the 
FileSet Options 
sub-resource http://www.bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html.


-- 





*Michael Rightmire*
B.Sci. Molecular Biotechnology
MCSE, MCP+I, HPUXCA, CompTIA, VDE, SIAM, ISCB

*Biocom Software and Biotechnology*

49-721-1320-2562 (DE)

1-408-890-2121 (US)

BiocomSoftware.De

BiocomSoftware.com


Regards,
--
===
Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 
05-001| Bacula Systems Certified Administrator II
• Enterprise Bacula does not charge per backup size and has plugins 
for many applications. In the USA http://bacula.us/enterprise

• Check my Bacula Book at Amazon.com http://bacula.us/book
• Do you need Bacula training? http://bacula.us/video-classes/
• USA +1 (323) 300-5387 | Brazil  +55 (61) 98268-4220 | http://bacula.us
===


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
C M Reinehr
AMS Enterprises, LLC.
323 Bibb St (36104)
PO Box 20
Montgomery AL 36101-0020
334-269-4358 (Voice)
334-262-1706 (Fax)

Linux distribution Debian v8.5, "Jessie"
--
"The inherent vice of capitalism is the unequal sharing of the blessings. The 
inherent blessing of socialism is the equal sharing of misery." -- Winston Churchill



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] web request

2018-02-13 Thread Mike Eggleston
I'm having issues with my corporate firewall (its not being friendly at the 
moment).
Would someone please reply with the list of Bacula features (I hope it's here 
https://www.dokuwiki.org/features).

TIA

Thanks,
Mike

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] File-based tag to skip a directory

2018-02-13 Thread Bill Arlofski
On 02/13/2018 07:21 AM, Mike Rightmire wrote:
> With some other backup systems, a filename "tag" can be placed in the
> directory to initiate a "skip".
> 
> For example, with BORG backup - placing the file ".nobackup" in a directory,
> and configuring BORG backup with the switch...
>--exclude-if-present ./nobackup
> 
> /...will tell Borg (on the fly) to skip that directory.
> 
> Does Bacula have this feature? I don't see anything in the resource sections
> of the manual.

Hi Mike,

yes, there is a FileSet directive/feature called "ExcludeDirContaining", which
you can set to any filename you like... And, as a matter of fact, you can even
specify multiple ones. :)

For example:

8<
[...snip...]
 Include {
Options {
  Compression = LZO
  Signature = MD5
}

File = /etc
File = /var
File = /usr
File = /boot
File = /root
File = /home
File = /proc/config.gz
ExcludeDirContaining = .baculaexcludeme
ExcludeDirContaining = .nobackup
ExcludeDirContaining = DO_NOT_BACKUP_ME
  }
8<


Best regards,

Bill


-- 
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Errors compiling bacula-fd 9.0.6

2018-02-13 Thread Sven Hartge
On 13.02.2018 13:13, jesus moreno wrote:

> I have a Debian squeeze server with bacula-fd 5.0.3. If I try upgrade to
> bacula-fd 9.0.6, the system show the next errors, when i run "make":

openssl in Squeeze is *way* to old for Bacula 9.0.6. You need at least
openssl-1.0.0.

Debian Wheezy is the oldest Debian you will be able to use Bacula 9.0.6
with.

Besides: Debian Squeeze is out of official support for some time now.

Grüße,
Sven.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Errors compiling bacula-fd 9.0.6

2018-02-13 Thread jesus moreno
Hi:

I have a Debian squeeze server with bacula-fd 5.0.3. If I try upgrade to
bacula-fd 9.0.6, the system show the next errors, when i run "make":

Compiling crypto.c
> crypto.c: In function 'ASN1_OCTET_STRING* openssl_cert_keyid(X509*)':
> crypto.c:340: error: invalid conversion from 'const ASN1_STRING*' to
> 'ASN1_STRING*'
> crypto.c:340: error:   initializing argument 1 of 'int
> ASN1_STRING_length(ASN1_STRING*)'
> crypto.c:346: error: invalid conversion from 'const ASN1_STRING*' to
> 'ASN1_STRING*'
> crypto.c:346: error:   initializing argument 1 of 'int
> ASN1_STRING_length(ASN1_STRING*)'
> crypto.c: In function 'int crypto_keypair_load_cert(X509_KEYPAIR*, const
> char*)':
> crypto.c:458: error: 'EVP_PKEY_base_id' was not declared in this scope
> crypto.c:459: error: 'EVP_PKEY_id' was not declared in this scope
> crypto.c: In function 'int crypto_sign_add_signer(SIGNATURE*, DIGEST*,
> X509_KEYPAIR*)':
> crypto.c:870: error: 'EVP_PKEY_base_id' was not declared in this scope
> crypto.c: In function 'CRYPTO_SESSION* crypto_session_new(crypto_cipher_t,
> alist*)':
> crypto.c:1089: error: 'EVP_PKEY_base_id' was not declared in this scope
> crypto.c: In function 'crypto_error_t crypto_session_decode(const
> u_int8_t*, u_int32_t, alist*, CRYPTO_SESSION**)':
> crypto.c:1202: error: 'EVP_PKEY_base_id' was not declared in this scope
> make[1]: *** [crypto.lo] Error 1
> make[1]: se sale del directorio `/datos/opt/bacula-9.0.6/src/lib'
>
>
>   == Error in /datos/opt/bacula-9.0.6/src/lib ==
>
>
> make: *** [all] Error 1
>

I have run:

apt-get update
apt-get install libssl-dev

./configure \
--sbindir=/datos/opt/bacula/bin \
--sysconfdir=/datos/opt/bacula/bin \
--with-pid-dir=/datos/opt/bacula/bin/working \
--with-subsys-dir=/datos/opt/bacula/bin/working \
--enable-client-only \
--with-working-dir=/datos/opt/bacula/bin/working \
--with-dump-email=$USER

I hope any solutions.

Thanks

Jesús Moreno Monteverde
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users