Re: [Bacula-users] bsmtp problem.

2014-03-21 Thread Juraj Sakala
Try netstat -nlp | grep 25 If you get no output, you have not running SMTP server. That's only problem. Try to start the server. I think fedora has postfix as default SMTP server, so service postfix start may help. Maybe some postfix configuration will be needed. On 03/21/2014 12:24 PM, Gary R. Sc

Re: [Bacula-users] "Run After Job" character substitutions

2013-12-21 Thread Juraj Sakala
h ok, that is a bit more work, but should be easy enough. Thanks for the > suggestion! > > Jay > > > On Fri, Dec 20, 2013 at 11:53 AM, Juraj Sakala wrote: > >> Hi, >> >> There is no Elapsed time substitution string in the bacula. But don't >> worr

Re: [Bacula-users] "Run After Job" character substitutions

2013-12-20 Thread Juraj Sakala
Hi, There is no Elapsed time substitution string in the bacula. But don't worry. You can run a script after backup that pulls the information about jobid from the bacula database and parses it. So you can use all these information you need to process. In the RunAfterJob you call a script with the

Re: [Bacula-users] automatically truncating volumes on manual purge

2013-12-12 Thread Juraj Sakala
Simple answer. Bacula doesn't automatically truncate volumes. But you can do truncate automatically by script, that can be started after backup job for example. On 12/12/2013 09:08 AM, Silver Salonen wrote: > Hi. > > First of all, I'm using Bacula 5.2.6 on Debian. > > I'm trying to get ActionOnP

Re: [Bacula-users] Client side scripts

2013-12-12 Thread Juraj Sakala
Of course it can. But the script have to be on the client. In the Job resource you specify script path, that is on the client side. Example from job resource RunScript { RunsWhen = Before FailJobOnError = Yes RunsOnClient = Yes Command = "/usr/lib/bacula/script.sh" } The path

Re: [Bacula-users] Encryption on v6 Enterprise Windows Clients

2013-12-11 Thread Juraj Sakala
> Pete > > On 12/09/2013 10:50 PM, Juraj Sakala wrote: >> Try to use double backslash >> >> PKI Keypair = "C:\\keys\\it2.pem"# Public and Private Keys >> PKI Master Key = "C:\\keys\\master.cert"# ONLY the Public Key >> &

Re: [Bacula-users] Encryption on v6 Enterprise Windows Clients

2013-12-09 Thread Juraj Sakala
Try to use double backslash PKI Keypair = "C:\\keys\\it2.pem"# Public and Private Keys PKI Master Key = "C:\\keys\\master.cert"# ONLY the Public Key and check permissions on these two files On 12/09/2013 09:54 PM, Pete Howell wrote: > We utilize v5.2.5 on all of our Unix server and

[Bacula-users] Fwd: Re: Failed to Connect to Storage daemon File

2013-12-08 Thread Juraj Sakala
Original Message Subject: Re: [Bacula-users] Failed to Connect to Storage daemon File Date: Mon, 09 Dec 2013 08:51:05 +0100 From: Juraj Sakala To: Prout, Richard Alun CC: Drew, John (HPSD, Bristol) , Saw, Philip , Grimwood, Malcolm , Pang, Peter (OEM - Bristol UK) Hi

Re: [Bacula-users] Failed to Connect to Storage daemon File

2013-12-04 Thread Juraj Sakala
Are you able to resolve micd3.gbr.hp.com-sd to IP. For example wit nslookup? Replace the name with IP address, restart director and storage daemon. Is the storage daemon running? Is there any interesting logs in log file? On 12/04/2013 05:22 PM, Prout, Richard Alun wrote: > Hi, > > > > I am

Re: [Bacula-users] Version compatibility

2013-11-25 Thread Juraj Sakala
I think it is not very good choice. You can upgrade your bacula-dir to 5.2.13 from http://repos.fedorapeople.org/repos/slaanesh/bacula/ repo. On 11/25/2013 06:07 PM, Hiren Joshi wrote: > Hi, > > I have a director on centos 5 running version 2.0.3-10.el5. > I have a number of fd on centos 5 runn

Re: [Bacula-users] Delete inc/dif backups which has no Full parent backup

2013-11-25 Thread Juraj Sakala
Hi, I have the same issue. There is no way I think, only custom script can help. It can be good feature request for bacula developers. BTW, you must not delete job by id's. It is sufficient to purge volumes. When purge take place all associated job id's are removed from database automatically. Th

Re: [Bacula-users] FW: Client last backup time report

2013-11-18 Thread Juraj Sakala
I do similar stats with this script. Script searches for clients those have no successful backup for last 5 days: #!/bin/bash CURDATE=`date +%s` # DELTA is 5 days DELTA=432000 CHECKDATE=$((CURDATE-DELTA)) CHECKDATE2=`date -d @$CHECKDATE "+%Y-%m-%d %H:%M:%S"` ### Read client list via bcopnsole /us

Re: [Bacula-users] Bacula Volume Retention

2013-11-14 Thread Juraj Sakala
Default volume retention period is one year. So you must explicitly define volume retention in pool resource (I think). Volume is not purget until it is needed. So it will be marked as used until bacula needs to write to the volume On 11/14/2013 03:13 PM, Teun Ouwehand [Nextpertise] wrote: > We us

Re: [Bacula-users] Bacula Volume Retention

2013-11-14 Thread Juraj Sakala
You can change retention period with update command. At next backup bacula automatically purges one volume (oldest), recycles the volume and then the volume will be ready to use. Bacula will write to the volume without problem Or you can purge volumes and then truncate so volumes will not use space

Re: [Bacula-users] Backup of many small files

2013-11-04 Thread Juraj Sakala
illi > > Am 04.11.2013 10:57, schrieb Juraj Sakala: >> Do you have more specific information? For example output from >> unsuccessful job? >> >> On 11/04/2013 10:45 AM, Willi Fehler wrote: >>> Hi Bacula-Users, >>> >>> we want to backup our central

Re: [Bacula-users] Backup of many small files

2013-11-04 Thread Juraj Sakala
Do you have more specific information? For example output from unsuccessful job? On 11/04/2013 10:45 AM, Willi Fehler wrote: > Hi Bacula-Users, > > we want to backup our central nas-server. > > disk-usage: 885G > ca. 10 millionen small files > > In the past the old it-colleges tried to use Bacu

Re: [Bacula-users] find job-id' to a volume

2013-10-28 Thread Juraj Sakala
Or you can use webacula. Check at http://webacula.sourceforge.net/ On 10/28/2013 07:55 AM, Ralf Brinkmann wrote: > Am 27.10.2013 17:40, schrieb Ralf Brinkmann: >> Claudia Koch schrieb: >>> I have a Volume-Name and I need the Job-ID's from the Jobs, they have >>> write to the Volume. >>> >>> How ca

Re: [Bacula-users] find job-id' to a volume

2013-10-27 Thread Juraj Sakala
/share/doc/bacula-director-5.2.13/sample-query.sql (path may be diffrent depending on version and system etc.). Just copy this file to /etc/bacula/query.sql and restart bacula-dir. Then run bconsole and type query. You can of course define your own SQL statements for querying your catalog. Juraj