Re: [Bacula-users] List all JOBS of every CATALOGS

2013-03-04 Thread Dan Langille
On Mar 4, 2013, at 5:00 PM, stefano scotti wrote: > Hi, > > is it possible to list jobs for every catalogs? > > the command "list jobs" list only the jobs of the catalog selected by > the command "use". Initial guess: no. The Director deals with one Catalog/database at a time. why not script

Re: [Bacula-users] Backup Windows 12??

2013-03-04 Thread James Harper
> Hi all, > I trying to install bacula 5.2.10 on Windows 2012 server machine. > The installation have always several problem on start-up the daemon, but > when all is solved it seems to work. > I use "estimate" and it works fine, but when I tried to make the first > test-job: > Have you definite

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread compdoc
OK, Im wrong about /usr/lib64/bacula/query.sql - this is not where bacula dumps your mysql database. MyCatalog is the file. It creates it, then deletes it. But that file is missing when bacula tries to back it up. /usr/sbin/dbcheck.mysql is missing so name it that, and make sure it is marked e

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread Carlos Perez
No, the machine is for testing purposes at the moment. The file /usr/sbin/dbcheck.mysql (original file was dbcheck only, I added mysql when I started to read some blogs elsewhere). There's another tech who did the original install but he's offline for a couple of months and I need to follow up si

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread compdoc
> Hmmm..the light is finally shinning, if the query isn't executable that explains everything I believe that /usr/lib64/bacula/query.sql is where bacula dumps your mysql database to text before backing it up. It does not need to be executable. Your query.sql is not empty, so that concerns

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread compdoc
>I see, do I need to make that file executable and how? >/usr/lib64/bacula # ll >total 180 >-rwx-- 1 root bacula 938 Jan 15 13:50 bacula-password-setup.sh >-rwxr-xr-x 1 root bacula 486 Jan 15 13:50 bconsole >-rwxr-xr-x 1 root bacula 32449 Jan 15 13:50 bpipe-fd.so >-rw-r--r-- 1 root

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread Carlos Perez
Hmmm..the light is finally shinning, if the query isn't executable that explains everything, my next questions is how do I go about making the file executable. By the way thank you very much for helping out. # Director {# define myself Name = baculaserver-dir DI

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread Carlos Perez
I see, do I need to make that file executable and how? /usr/lib64/bacula # ll total 180 -rwx-- 1 root bacula 938 Jan 15 13:50 bacula-password-setup.sh -rwxr-xr-x 1 root bacula 486 Jan 15 13:50 bconsole -rwxr-xr-x 1 root bacula 32449 Jan 15 13:50 bpipe-fd.so -rw-r--r-- 1 root bacula 341 J

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread compdoc
By the way, open /etc/bacula/bacula-dir.conf What directory is listed for 'QueryFile = "???"' Please don't paste your password. Director {# define myself Name = your-dir DIRport = 9101# where we listen for UA connections QueryFile = "

Re: [Bacula-users] bconsole autocomplete and history feature

2013-03-04 Thread compdoc
> I have installed Bacula v5.2.13 on Debian 6.0.6 x86_64 How did you install? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http:/

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread compdoc
From: Carlos Perez [mailto:carlos.r.pe...@gmail.com] # cat /usr/lib64/bacula/query.sql # # This file contains sample queries that you can possibly use in # your query.sql file. However, please note that these examples # are not supported. They may or may not work -- in fact, they may # work

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread Carlos Perez
* # cat /usr/lib64/bacula/query.sql* # # This file contains sample queries that you can possibly use in # your query.sql file. However, please note that these examples # are not supported. They may or may not work -- in fact, they may # work with one SQL engine and not another. As a consequence,

[Bacula-users] List all JOBS of every CATALOGS

2013-03-04 Thread stefano scotti
Hi, is it possible to list jobs for every catalogs? the command "list jobs" list only the jobs of the catalog selected by the command "use". Thanks. -- Everyone hates slow websites. So do we. Make your web apps faster w

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread compdoc
>hmmmI see your point, apparently the file does exist. This is what I did: > # find / -name 'query.sql' >/usr/lib64/bacula/query.sql >:/usr/lib64/bacula # ls >bacula-password-setup.sh create_bacula_database drop_bacula_database dvd-handler make_catalog_backup

[Bacula-users] bconsole autocomplete and history feature

2013-03-04 Thread Andrei Moraru
Hi, I have installed Bacula v5.2.13 on Debian 6.0.6 x86_64 In a putty session to the VM hosting the Bacula director, I connect to the console of Bacula by using bconsole utility. Unfortunately, I don't have autocomplete option in bconsole (by using TAB key) nor the history of commands entered (b

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread compdoc
Sorry, my mail client keeps sending to your email instead of the bacula-users group: >/usr/sbin/dbcheck.mysql: No such file or directory Where is dbcheck.mysql located? > shell command: run BeforeJob "/usr/lib64/bacula/make_catalog_backup.pl MyCatalog" Does /usr/lib64/ba

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread compdoc
> chgrp bacula /etc/bacula/bacula-dir.conf /etc/bacula/query.sql Try /etc/bacula/scripts/query.sqlor search your drive since sometimes the scripts are located elsewhere... -- Everyone hates slow websites.

[Bacula-users] Bacula: Data deduplication -- Base jobs

2013-03-04 Thread Michael Namaiandeh
Hi all- I would like to configure my Bacula install to use data de-dup. I understand that this is accomplished by setting "Base jobs" but does anyone know where I can find a tutorial on how to implement Base jobs. I saw the explanation here: http://www.bacula.org/5.0.x-manuals/en/main/main/New_

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread Carlos Perez
Thanks for your input, I followed instructions and the only thing different is that I don't see this file: chgrp bacula /etc/bacula/bacula-dir.conf /etc/bacula/query.sql *chgrp bacula /etc/bacula/bacula-dir.conf /etc/bacula/query.sql* *chgrp: cannot access `/etc/bacula/query.sql': No such file

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread Humphrey Bryant
Seems to be a permission issue, i experienced a similar problem last week after upgrading Bacula. The following response from Simone corrected the errors i had backing up my catalog. See below (hope that helps, also check mailing list to see full thread) *On 02/25/2013 03:30 AM, Simone Caronni

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-04 Thread Masopust, Christian
Hi Carlos, part of that questions has been answered several times in the last weeks check the permissions of your bacula-dir.conf. Your bacula-dir runs as user bacula and MUST have enough permissions to read its bacula-dir.conf (and also the query.sql). and regarding the "dbcheck.mysql"...

Re: [Bacula-users] retire an old bacula server

2013-03-04 Thread Phil Stracchino
On 03/04/13 11:34, Jonathan Horne wrote: > Hello, I have an older bacula server that I want to retire in favor or a > newer one I built recently. Is there a good way to get the backup jobs > that are in the on-disk files transferred from the old to the new so > that they are usable for restores la

[Bacula-users] retire an old bacula server

2013-03-04 Thread Jonathan Horne
Hello, I have an older bacula server that I want to retire in favor or a newer one I built recently. Is there a good way to get the backup jobs that are in the on-disk files transferred from the old to the new so that they are usable for restores later? Thanks, jonathan __

Re: [Bacula-users] backing up the backups: filesystem copy or 2nd rotation?

2013-03-04 Thread etannehill
What is your goal of the second copy?What scenarios are you protecting against?What is the failure rate of your NAS device?  (a raid 5 device with hot spare has very minimal risk of data loss to begin with wheras a single hard drive in a SOHO device has much larger risk)No this doesn't point to eit

Re: [Bacula-users] backing up the backups: filesystem copy or 2nd rotation?

2013-03-04 Thread ixloran
Hi, On Mon, Mar 4, 2013, at 07:53 AM, etanneh...@godaddy.com wrote: > What is your goal of the second copy? To have access to at least 1 fully recoverable, ideally very recent, backup in the case that the 'main' backup(s) on the NAS are, for whatever reason, 'bad'. > What scenarios are you prote

[Bacula-users] Backup Windows 12??

2013-03-04 Thread Carlo Filippetto
Hi all, I trying to install bacula 5.2.10 on Windows 2012 server machine. The installation have always several problem on start-up the daemon, but when all is solved it seems to work. I use "estimate" and it works fine, but when I tried to make the first test-job: 04-Mar 16:00 sharepoint-db-fd Job

[Bacula-users] rescheduling jobs and max sched time

2013-03-04 Thread Thomas Lohman
Hi, We have jobs that we want to limit their time either sitting and waiting or running to certain number of hours. In addition, we want these jobs to reschedule on error - essentially, start the job at X time, keep trying to run but after Y hours end no matter what. I've found that if you u

Re: [Bacula-users] Where is win32-5.2.12.exe?

2013-03-04 Thread Uwe Schuerkamp
On Sun, Mar 03, 2013 at 12:52:21PM +0100, Erik P. Olsen wrote: > I've installed bacula 5.2.12 on Fedora 18 and should now proceed installing > the > windows client on a windows 7 system but win32-5.2.12.exe is nowhere to find. > Is > it safe to install win32-5.2.10.exe instead because that can

Re: [Bacula-users] backing up the backups: filesystem copy or 2nd rotation?

2013-03-04 Thread Uwe Schuerkamp
On Sun, Mar 03, 2013 at 10:50:49PM -0800, ixlo...@sent.at wrote: > hello > > i've set up Bacula to back up multiple machines on my LAN. > > i've created a strategy/rotation of full, differential & incremental > backups. > > with all backups going only to hard drive volumes on a single NAS > devi

Re: [Bacula-users] spurious "Intervention needed" messages

2013-03-04 Thread Uwe Schuerkamp
On Mon, Mar 04, 2013 at 09:55:25AM +0100, Tilman Schmidt wrote: > Another one, this time with version 5.2.13. Recycling was actually > necessary this time: > > > I can assure that there was no one in the building Friday night between > 20:06 and 20:11 to change a tape or enter a command to Bacula

Re: [Bacula-users] Job canceling tip

2013-03-04 Thread Konstantin Khomoutov
On Mon, 4 Mar 2013 08:45:05 +0100 Geert Stappers wrote: [...] > Thank you for the tip. I want to share another. > It is about canceling multiple jobs. Execute from shell > >for i in {17..21} ; do echo cancel yes jobid=404${i} | bconsole ; > done > > Five jobs, 40417-40421, will be canceled.

Re: [Bacula-users] spurious "Intervention needed" messages

2013-03-04 Thread Tilman Schmidt
Another one, this time with version 5.2.13. Recycling was actually necessary this time: 01-Mär 20:05 backup-dir JobId 6580: Start Backup JobId 6580, Job=backup.2013-03-01_20.05.00_44 01-Mär 20:06 backup-dir JobId 6580: Using Device "LTO-3" to write. 01-Mär 20:06 bacula-sd JobId 6580: Job backup.20

Re: [Bacula-users] Job canceling tip

2013-03-04 Thread Geert Stappers
Op 2013-03-04 om 02:44 schreef Dan Langille: > I discovered this clever idea this morning. Say you want to cancel a few > jobs. Here's an easy way: > > *cancel > Select Job: > 1: JobId=122926 Job=gelt.2013-03-03_05.55.03_02 > 2: JobId=122927 Job=gelt_freshports_dev.2013-03-03_05.55.03