Is there a simple command line way to determine if bacula is not currently
running any jobs?
I want to write a script to perform some other backups of the bacula database,
but want to make sure it's not currently running.
I was thinking something like:
# echo status director |bconsole
(and
interface where the
report is displayed after the desired date is selected via the interface.
Regards,
Joseph Spenner
__
If life gives you lemons, keep them-- because hey.. free lemons.
♥ Sticker fixer: http://microflush.org/stuff
From: Bill Arlofski waa-bac...@revpol.com
To: bacula-users@lists.sourceforge.net
Sent: Monday, April 29, 2013 2:34 PM
Subject: Re: [Bacula-users] Automated reports
You might want to look at webacula. Some of the pages available was very
nicely done and appear to be exactly what you are
Davide:
I needed 1 extra step to make this work on my Linux Mint (Ubuntu/Debian)
system:
# apt-get install libapache2-mod-php5
Otherwise, my apache didn't know what to do with .php, and would offer them for
download.
Thanks!
Regards,
Joseph Spenner
In case anyone finds this useful, I wrote this to quickly show all the FileSets:
-
#!/usr/bin/perl
@fileSetCommand=`echo show fileset | bconsole |grep FileSet`;
foreach $line (@fileSetCommand) {
$line =~ m/\=(.*)/;
$fileSet=$1;
push (@fileSets, $fileSet);
}
From: r.schuitema...@kpn.com r.schuitema...@kpn.com
To: bacula-users@lists.sourceforge.net
Sent: Wednesday, October 17, 2012 8:24 AM
Subject: [Bacula-users] Restricting who can restore data from which system to
where
Hello All,
I’ve set up a bacula
From: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] uthra.r@nasa.gov
To: bacula-users@lists.sourceforge.net bacula-users@lists.sourceforge.net
Sent: Thursday, August 9, 2012 12:08 PM
Subject: [Bacula-users] BAT and qt vesrion
I tried to compile
On Jul 14, 2012, at 5:38 PM, Steve Thompson s...@vgersoft.com wrote:
Bacula 5.0.2, CentOS 5.8.
I have this in my job definitions:
Full Max Run Time = 29d
but still they are terminated after 6 days:
14-Jul 20:27 cbe-dir JobId 39969: Fatal error: Network error with FD
during
From: Benjamin Blakely blak...@krellinst.org
To: bacula-users@lists.sourceforge.net
Sent: Tuesday, April 10, 2012 1:56 PM
Subject: [Bacula-users] Batch restore
Hello,
I am trying to do batch restores with commands such as the following:
restore
On Fri, Mar 16, 2012 at 8:51 AM, Mingus Dew shon.steph...@gmail.com wrote:
Dear All,
I realize its kind of a strong subject line, but I seriously
haven't gotten the windows FD to run on any platform in a very long
time. It installs, the config looks
From: Konstantin Khomoutov flatw...@users.sourceforge.net
To: Rushdhi Mohamed zmrush...@gmail.com
Cc: bacula-users bacula-users@lists.sourceforge.net
Sent: Wednesday, March 7, 2012 4:37 AM
Subject: Re: [Bacula-users] How to send a bulk mail for backup success
I'm currently using disks as media, with 21 total in my pool.
I had some network/config issues, and my volumes have gotten out of order. For
example, the order is 1,2,6,7,8. with 3,4,5 set to expire much later,
therefore not getting used until later.
I'd like to force #3 to be used once 2
@lists.sourceforge.net
Sent: Wednesday, October 26, 2011 5:36 PM
Subject: Re: [Bacula-users] full recovery of a specific directory using a
specific date/time?
Choose 6 option.
Navigate on directory tree, mark directory to restore and type done.
Kleber
2011/10/26 Joseph Spenner joseph85
My goal is to recover an entire directory and files within it from a certain
date. However, when I try to perform the recover, I'm only able to recover the
directory itself. Here are my steps:
*restore
8: Enter a list of files to restore before a specified time
Select item: (1-13): 8
From: John Drescher dresche...@gmail.com
To: Joseph Spenner joseph85...@yahoo.com
Cc: bacula-users bacula-users@lists.sourceforge.net
Sent: Monday, September 26, 2011 11:31 AM
Subject: Re: [Bacula-users] Bacula hangs waiting on a client
2011/9/26 Joseph Spenner
From: Ben Walton bwal...@artsci.utoronto.ca
Excerpts from Joseph Spenner's message of Fri Sep 23 16:55:32 -0400 2011:
Storage {
Name = bacula-va-sd
SDPort = 9103 # Director's port
WorkingDirectory = /opt/bacula/bin/working
Pid Directory = /opt/bacula/bin/working
From: John Drescher dresche...@gmail.com
To: Joseph Spenner joseph85...@yahoo.com
Cc: bacula-users bacula-users@lists.sourceforge.net
Sent: Monday, September 26, 2011 11:31 AM
Subject: Re: [Bacula-users] Bacula hangs waiting on a client
2011/9/26 Joseph Spenner
I'm running bacula 5.0.2 on openSUSE 11.2, backing up several linux, sun, and 1
Windows system.
Sometimes, the backups are not proceeding. If I run bat, I can see Waiting on
client in Job Status for a particular client, and none of the other jobs in
the list will run until I cancel that hung
--- On Fri, 7/15/11, Steve Costaras stev...@chaven.com wrote:
From: Steve Costaras stev...@chaven.com
Subject: Re: [Bacula-users] Reliable Backups without Tapes?
To: Paul Mather p...@gromit.dlib.vt.edu
Cc: Ken Mandelberg k...@mathcs.emory.edu, bacula-users@lists.sourceforge.net
Date: Friday, July
--- On Fri, 2/25/11, Randy Katz rk...@simplicityhosting.com wrote:
From: Randy Katz rk...@simplicityhosting.com
Subject: [Bacula-users] Automated Disk Backup Question - I still don't
understand!
To: bacula-users@lists.sourceforge.net
Date: Friday, February 25, 2011, 8:00 PM
Hi,
This is
--- On Wed, 2/2/11, John Drescher dresche...@gmail.com wrote:
From: John Drescher dresche...@gmail.com
Subject: Re: [Bacula-users] setting up a disk based backup system.
To: Kenneth Johansson kenn...@southpole.se
Cc: bacula-users@lists.sourceforge.net
Date: Wednesday, February 2, 2011, 8:34
--- On Mon, 1/24/11, Rubik Andrey tirnota...@gmail.com wrote:
And can't run bconsole as non-superuser user (from which
user I should
run bconsole?):
user $ bconsole
bconsole: command not found
Become root and run bconsole, then 'messages'. There is a wealth of
information in
Does bacula store the File = /path/to/backup (as described in the
bacula-dir.conf FileSet sections) in the database anywhere?
If so, which tables would I find it? I spun through them and couldn't find
anything.
Thanks!
--- On Mon, 1/3/11, Jari Fredriksson ja...@iki.fi wrote:
How did you do it?
Sorry, this does not directly help: I use OpenVPN
instead of ssh.
I would agree with this solution as well, the
difference in overhead is
very negligible, and it's pretty slick setup
Our LAN (where
I'm curious how many people use the bacula-web and/or bweb applications. I
spent the better part of the morning trying to get bacula-web working but it
appears to be failing in PHP land somewhere.
I then tried bweb, which was also in the gui tar file, and got that working in
a matter of
--- On Fri, 11/26/10, Win Htin win.h...@gmail.com wrote:
Hi folks,
I am running Bacula version 2.2.6 and am wondering how I
can restore
all files/sub-directories under a given directory since I
do not know
exactly what files/sub-directories are under that
directory. The only
options I
In the Configuring the Director document, there's an entry regarding backups
every 10 minutes, as follows:
Schedule {
Name = TenMinutes
Run = Level=Full hourly at 0:05
Run = Level=Full hourly at 0:15
Run = Level=Full hourly at 0:25
Run = Level=Full hourly at 0:35
Run = Level=Full
I have a file backup solution with 21 files. After the 21st, it will start
over at 1. But what would happen if bacula doesn't find file_01? If it finds
it, it will write over the top and wipe out what was previously stored. But if
it's not present at all, will bacula return an error? Or
--- On Wed, 6/2/10, John Drescher dresche...@gmail.com wrote:
From: John Drescher dresche...@gmail.com
Subject: Re: [Bacula-users] Nagios Plugins
To: Joseph Spenner joseph85...@yahoo.com, bacula-users
Bacula-users@lists.sourceforge.net
Date: Wednesday, June 2, 2010, 9:29 AM
Is there any
--- On Wed, 6/2/10, John Drescher dresche...@gmail.com wrote:
Do any of the nagios plugins support
alerting if bacula is waiting for media?
John:
Something like this?
http://wiki.bacula.org/doku.php?id=nagios_active_checks
--- On Wed, 5/26/10, Phil Stracchino ala...@metrocast.net wrote:
The volumes look fine. If it still uses multiple
volumes, I don't think
it's a media problem.
Ok, last night worked great. Thanks for the help!
I'm curious about something though. Here's the report from last night via
--- On Tue, 5/25/10, Phil Stracchino ala...@metrocast.net wrote:
Which section would I place the Maximum Concurrent
Jobs = 20 in the bacula-dir.conf ?
In both the Director resource and all applicable Storage
resources.
Last night still used multiple volumes, so I decided to wipe the
--- On Wed, 5/26/10, Joseph Spenner joseph85...@yahoo.com wrote:
Last night still used multiple volumes, so I decided to
wipe the volumes and the database, and let bacula start
over. I created my new 21 volumes, but as I recall, I
need to do something to the volumes (mark them in some
: Tuesday, May 25, 2010, 8:49 AM
On 05/25/10 10:37, Joseph Spenner
wrote:
The last few nights, bacula is using multiple volumes
again. I had this problem once before and thought I
fixed it. But apparently not. Here are my
settings:
# Default pool definition
Pool {
Name = Default
If life gives you lemons, keep them-- because hey.. free lemons.
--- On Tue, 5/25/10, John Drescher dresche...@gmail.com wrote:
From: John Drescher dresche...@gmail.com
Subject: Re: [Bacula-users] bacula using volume for each job every night
To: Joseph Spenner joseph85...@yahoo.com
Cc
--- On Tue, 5/25/10, Phil Stracchino ala...@metrocast.net wrote:
From: Phil Stracchino ala...@metrocast.net
Subject: Re: [Bacula-users] bacula using volume for each job every night
To: bacula-users@lists.sourceforge.net
Date: Tuesday, May 25, 2010, 9:16 AM
On 05/25/10 11:06, Joseph Spenner
--- On Tue, 5/25/10, Phil Stracchino ala...@metrocast.net wrote:
From: Phil Stracchino ala...@metrocast.net
Subject: Re: [Bacula-users] bacula using volume for each job every night
To: bacula-users@lists.sourceforge.net
Date: Tuesday, May 25, 2010, 8:52 AM
On 05/25/10 10:37, Joseph Spenner
: Tuesday, May 25, 2010, 10:22 AM
On 05/25/10 12:04, Joseph Spenner
wrote:
I see how to update all volumes from pool:
http://img707.imageshack.us/img707/3972/updateallvolumesfrompoo.png
But not sure how to Update the Pool from the
Resource. How is this done?
If you enter
--- On Tue, 5/25/10, Phil Stracchino ala...@metrocast.net wrote:
The 'Storage' section of bacula-dir.conf does not call out
individual
devices, just storage daemons. You should have the
Storage device
concurrency set both in bacula-sd.conf and bacula-dir.conf,
but, for the
sake of
--- On Mon, 5/24/10, Brian Debelius bdebel...@intelesyscorp.com wrote:
http://www.theregister.co.uk/2010/05/24/hitach_maxell_perp_tape/
Hitachi Maxell has demonstrated a 50TB capacity LTO-class
tape using
perpendicular magnetic recording technology. This is
400 per cent more
than the
--- On Wed, 4/14/10, Phil Stracchino ala...@metrocast.net wrote:
Once purged, you can either let Bacula recycle them itself,
or you can
use the Update Volume command to manually change the volume
status to
Recycle. This is a particularly straightforward
operation if you are
using BAT,
--- On Thu, 5/20/10, John Drescher dresche...@gmail.com wrote:
I thought I fixed this, but apparently not. How
should the Volume Status be set in order to cycle through
volumes and start over after the last one is used? When
the above failure occurred, all my Volume Status's were
Used.
--- On Mon, 5/17/10, Phil Stracchino ala...@metrocast.net wrote:
As previously mentioned, staggering backups on your clients
is fairly
easy. A six-day backup cycle is *unusual*, because it
doesn't fit
neatly into either weekly or monthly schedules, and because
we don't
have an ideal
--- On Tue, 5/18/10, Joseph Spenner joseph85...@yahoo.com wrote:
Ok, I do have a spare disk in my system I can use for the
7th day. So, let's change the schedule such that I
have 3 sets of 7 disks, for a total of 21 disks.
Perhaps this will simplify the scheduling. I still
wish to have
I have bacula running with hard drive media (no tapes). There are 3 sets of 6
SATA disks with easily removable shuttles-- 1 set of 6 will always be kept off
site.
My goal is to have the schedule such that there is always a FULL backup of
every host on each set of disks. I'm not very clear of
--- On Mon, 5/17/10, John Drescher dresche...@gmail.com wrote:
How would I configure such that it runs a full backup
every 6 runs?
Make the full backup weekly in the schedule instead of
monthly.
By default, how many incrementals does it run before a
full backup is run?
This is set
--- On Mon, 5/17/10, Phil Stracchino ala...@metrocast.net wrote:
AMANDA has a totally different approach to backup
scheduling than
Bacula. And I'll come right out and say that AMANDA's
approach makes my
brain hurt. It's sort of like having a checkbook that
promises it'll be
balanced
--- On Thu, 5/13/10, Frandin, Dave dave.fran...@nv.doe.gov wrote:
Error and SD termination status
Waiting on FD,
and Termination *** Backup Error ***
I'm relatively new to bacula as well, and I saw this same thing happen when I
forgot to build/initialize the mysql database, and/or mysql
I'm currently using Bacula 5.0.2 on Linux. It's working great with 3 Linux
clients (CentOS and Suse). However, to make things interesting I decided to
try adding a Windows client.
The bacula-fd.exe -t bacula-fd.conf test passes on the Windows client.
However, I did notice if I try to run it
--- On Fri, 5/14/10, Ben Pfitzner crack...@gmail.com wrote:
Hi Joseph,
I had a similar Problem a couple of hours ago. See:
http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTinaPZe-zie5oyw2HO03wwN6sJwHE1hd7TpGiQIO%40mail.gmail.comforum_name=bacula-users
What solved it for me
--- On Tue, 5/11/10, John Drescher dresche...@gmail.com wrote:
3) If I use bconsole I can specify a single file to
recover and it is VERY fast. But there doesn't seem to be
a way to specify an entire directory. Or am I not looking
in the right place?
You run restore and mark the
--- On Tue, 5/11/10, John Drescher dresche...@gmail.com wrote:
I first must let bat (I think?) load the WHOLE index before
I get a list of what is possible to select. This is what
appears to take hours. Or is this possible faster in
bconsole?
I do not really use bat, nor have I
I'm currently using bacula with file as media (no tape).
Things appear to be working great, but in BAT when I view the media I see the
Volume Usage of one of my files/volumes at 583.92% (a mouseover of the usage
bars in the Vol Usage column). My current file/media layout should be 18
volumes
--- On Wed, 5/5/10, Stefan Muenkner stefan.muenk...@uks.eu wrote:
--- On Tue, 5/4/10, Joseph Spenner joseph85...@yahoo.com
wrote:
The suspense was killing me, so I went ahead and
modified the scripts from the source installation to work
here. I now have a mysql 'bacula' database
I have the following RPMs:
bacula-bat-5.0.2-1.su112.x86_64.rpm
bacula-client-5.0.2-1.su112.x86_64.rpm
bacula-libs-5.0.2-1.su112.x86_64.rpm
bacula-mysql-5.0.2-1.su112.x86_64.rpm
From what Phil said, I know:
bacula-bat-5.0.2-1.su112.x86_64.rpm
The BAT graphical console only, database independent
--- On Tue, 5/4/10, Phil Stracchino ala...@metrocast.net wrote:
I have mysql running on my Suse 11.2 64bit
system. How does mysql get populated with the bacula
database/tables? When I compiled from source earlier,
I found I needed to manually run some scripts:
# create_bacula_database
--- On Tue, 5/4/10, Joseph Spenner joseph85...@yahoo.com wrote:
From: Joseph Spenner joseph85...@yahoo.com
Subject: Re: [Bacula-users] Installing with RPMs
To: bacula-users@lists.sourceforge.net
Date: Tuesday, May 4, 2010, 11:29 AM
--- On Tue, 5/4/10, Phil Stracchino
ala...@metrocast.net
--- On Wed, 4/28/10, Phil Stracchino ala...@metrocast.net wrote:
From: Phil Stracchino ala...@metrocast.net
Subject: Re: [Bacula-users] BAT?
To: bacula-users@lists.sourceforge.net
Date: Wednesday, April 28, 2010, 7:15 PM
On 04/28/10 19:25, Joseph Spenner
wrote:
I think I'm going to start
--- On Thu, 4/29/10, Phil Stracchino ala...@metrocast.net wrote:
From: Phil Stracchino ala...@metrocast.net
Subject: Re: [Bacula-users] BAT?
To: bacula-users@lists.sourceforge.net
Date: Thursday, April 29, 2010, 12:02 PM
On 04/29/10 13:26, Joseph Spenner
wrote:
Is the bacula-bat RPM
--- On Wed, 4/28/10, Matija Nalis mnalis+bac...@carnet.hr wrote:
From: Matija Nalis mnalis+bac...@carnet.hr
Subject: Re: [Bacula-users] BAT?
To: Joseph Spenner joseph85...@yahoo.com
Cc: bacula-users@lists.sourceforge.net
Date: Wednesday, April 28, 2010, 8:48 AM
On Tue, Apr 27, 2010 at 10:06
This may be so obvious that I can't find it.. but where do I find BAT?
I'm compiling from source, and thought it would be in bacula-gui. But this
appears to be mostly for web applications. I've been using bconsole for
everything, but from what I read and saw in screenshots BAT looks a bit
--- On Thu, 4/22/10, John Drescher dresche...@gmail.com wrote:
From: John Drescher dresche...@gmail.com
Subject: Re: [Bacula-users] Using removable SATA disks as media
To: Joseph Spenner joseph85...@yahoo.com
Cc: bacula-users@lists.sourceforge.net
Date: Thursday, April 22, 2010, 4:04 PM
--- On Thu, 4/22/10, Phil Stracchino ala...@metrocast.net wrote:
From: Phil Stracchino ala...@metrocast.net
Subject: Re: [Bacula-users] Using removable SATA disks as media
To: bacula-users@lists.sourceforge.net
Date: Thursday, April 22, 2010, 4:02 PM
On 04/22/10 17:47, Joseph Spenner
wrote
--- On Wed, 4/21/10, Phil Stracchino ala...@metrocast.net wrote:
From: Phil Stracchino ala...@metrocast.net
Subject: Re: [Bacula-users] Using removable SATA disks as media
To: bacula-users@lists.sourceforge.net
Date: Wednesday, April 21, 2010, 5:53 PM
On 04/21/10 19:42, John Drescher
--- On Mon, 4/12/10, Phil Stracchino ala...@metrocast.net wrote:
File Retention = 1 days
Job Retention = 6 months
}
===
Is the client specific File Retention causing my
problem?
Yes, that's exactly the problem.
I'm also a bit confused (obviously) with:
File Retention
--- On Mon, 4/12/10, Phil Stracchino ala...@metrocast.net wrote:
File Retention = 1 days
Job Retention = 6 months
}
===
Is the client specific File Retention causing my
problem?
Yes, that's exactly the problem.
I'm also a bit confused (obviously) with:
File Retention
--- On Wed, 4/14/10, John Drescher dresche...@gmail.com wrote:
Can you post the output of list media
John
John:
Here's the results of list media
===
*list media
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
Pool: Default
No results to list.
Pool: File
--- On Wed, 4/14/10, Phil Stracchino ala...@metrocast.net wrote:
Did you Update the pools from the resources, and the
volumes from the pools?
What do the 'List Volumes' and 'Show Pools' commands
return?
Phil:
Sorry. I did not do that. So, I just now did the update the pools. As
--- On Wed, 4/14/10, John Drescher dresche...@gmail.com wrote:
You need to execute the two update commands that Phil asked
you about.
update
Ok, I ran the commands. I'll see what happens tonight. Anything else I should
run to verify?
Thanks!
--- On Wed, 4/14/10, John Drescher dresche...@gmail.com wrote:
Post the output of list media pool=File
John
John:
Here are results:
===
*list media pool=File
If life gives you lemons, keep them-- because hey.. free lemons.
--- On Wed, 4/14/10, Phil Stracchino ala...@metrocast.net wrote:
Joseph,
That looks much better. Now your volumes have the
correct nine days
retention time for your desired ten-day cycle, instead of
zero, so your
jobs
--- On Wed, 4/14/10, John Drescher dresche...@gmail.com wrote:
OK, my next backup ran and it used the next volume.
Success!
However.. it appended. Here's what my volumes look
like now:
*list volumes
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
Pool:
--- On Tue, 4/13/10, Mark Coolen mark.coo...@gmail.com wrote:
I'm a TSA at a large school board. The server is at my main school, but because
of new policies that came in when we switched over to Active Directory from
Novell I don't have login rights to the fileserver anymore. This means that
--- On Tue, 4/13/10, Mark Coolen mark.coo...@gmail.com wrote:
From: Mark Coolen mark.coo...@gmail.com
Subject: Re: [Bacula-users] Fwd: bacula won't backup files with apostrophes
To: Joseph Spenner joseph85...@yahoo.com
Cc: bacula-users@lists.sourceforge.net
Date: Tuesday, April 13, 2010, 8:38 AM
--- On Mon, 4/12/10, Phil Stracchino ala...@metrocast.net wrote:
Did you fix the retention period yet? If it's
immediately reusing the
first volume, it probably means your retention is too
short. If you're
trying to use these volumes in daily rotation, then the
volume use
duration
--- On Fri, 4/9/10, Phil Stracchino ala...@metrocast.net wrote:
From: Phil Stracchino ala...@metrocast.net
Subject: Re: [Bacula-users] Using removable SATA disks as media
To: bacula-users@lists.sourceforge.net
Date: Friday, April 9, 2010, 12:47 PM
On 04/09/10 11:57, Joseph Spenner
wrote
--- On Thu, 4/8/10, Phil Stracchino ala...@metrocast.net wrote:
On 04/08/10 14:05, Joseph Spenner
wrote:
But when the backup runs at the default time, it uses
a different disk_ file for each system being backed up
on the same day. So, in 1 day, client 1 will use
disk_0001 and client
I'm working on running bacula-5.0.1 in a configuration where my removable media
are 1.5TB SATA disks with shuttles. My system:
SuperMicro chasis with 8 removable SATA disks
QUAD core 2.66GHz CPU
CentOS 5.4, 64bit
8G memory
My goal is to have 6 of the 8 disks rotated in/out, with 2 more 'sets
78 matches
Mail list logo