Re: [Bacula-users] Never Mind - Given up on Bacula

2009-02-13 Thread Mike Holden
ve with a piece of software more complex than a simple text editor? Feel free to throw good money down the drain on an expensive backup program that will be less feature rich and more buggy, and with a company less responsive to bug reports than bacula if you like, but everyone else here knows yo

Re: [Bacula-users] How to properly escape Linux shell commands for ClientRunBeforeJob?

2009-02-16 Thread Mike Holden
o status=1. >> ERR=Child exited with code 1 > > (Client)RunBefore/AfterJob: > sticking commands one after another on one line separated by semicolon > seems not to work propperly. Probably better therefore to write your own shell script to do everything you want, save it somewher

Re: [Bacula-users] Howto Backup Oracle with Bacula

2009-02-28 Thread Mike Holden
4 - Configure Oracle DB in backup mode off. > 5 - Destroy the Snapshot You need to swap items 3 and 4 if you use a snapshot. You need to aim to keep the database in backup mode for as short a time as possible, as performance is impacted during that time. -- Mike Holden http://www.by-ang.c

Re: [Bacula-users] MySQL conf for 8GB

2009-03-18 Thread Mike Holden
Ulrich Leodolter wrote: > PS: RTFM might help too That sounds interesting. Where can I download that from? :-) -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Greetings Cards and Gi

Re: [Bacula-users] MySQL conf for 8GB

2009-03-19 Thread Mike Holden
Ulrich Leodolter wrote: > On Wed, 2009-03-18 at 17:49 +0000, Mike Holden wrote: >> Ulrich Leodolter wrote: >> > PS: RTFM might help too >> >> That sounds interesting. Where can I download that from? >> > > http://mysqltuner.pl > > > Isn't it

Re: [Bacula-users] thannyd earthlink.net

2009-04-06 Thread Mike Holden
till get any bounces back anyway if the victim email addresses fail (unknown email address, quota exceeded etc). A fair percentage of the spam I receive is bounce messages from spam sent "on my behalf" (i.e. spoofed From address) to invalid email addresses. Not a lot I can do about it, unfortun

Re: [Bacula-users] thannyd earthlink.net

2009-04-06 Thread Mike Holden
t need anyone to send me a personal copy of an email they are sending to the list, because I just end up with 2 copies of it. -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items,

Re: [Bacula-users] thannyd earthlink.net

2009-04-07 Thread Mike Holden
and sends a mail they want to see a reply to, then it's up to them to ensure that they have a setup that allows them to see those replies, surely. It's not MY responsibility you ensure that YOU receive my email, it's yours. -- Mike Holden

Re: [Bacula-users] [Bulk] Re: thannyd earthlink.net

2009-04-07 Thread Mike Holden
lieve I have anything further to add on the subject, and I respectfully suggest we all get back to discussing bacula :-) -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Gree

Re: [Bacula-users] Performance with MySQL queries since 3.0.0 (Dir inserting attributes hang)

2009-06-19 Thread Mike Holden
(my day job) that this can often produce far more efficient results. Of course, all options need testing for both speed of execution and resource usage, bearing in mind that data varies from one installation to another, and one size may not fit all! -- M

Re: [Bacula-users] Performance with MySQL queries since 3.0.0 (Dir inserting attributes hang)

2009-06-19 Thread Mike Holden
loop goes round several million times, the cumulative time becomes significant. One general rule of thumb of SQL execution is that bulk processing is almost always faster than processing records individually in a loop. -- Mike Holden --

Re: [Bacula-users] Two questions concerning Bacula (Off Course)

2009-09-07 Thread Mike Holden
ing a Flash Recovery Area (FRA) for Oracle backups, rather than using an external tool, however good Bacula may be at simple file backups! -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Greet

Re: [Bacula-users] Getting some stat errors during backup

2008-11-18 Thread Mike Holden
and check the r and x permissions allow the appropriate user to browse into them. -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Greetings Cards and Gifts Charlie Reddington wrote: > Okay, that makes sense. So if

Re: [Bacula-users] Error on Bacula job

2008-11-20 Thread Mike Holden
ng them, I got no error from "estimate" command. That first one is the suspect. The "find" command expects the first parameter to be a directory. In that case, it is a filename. -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand cra

Re: [Bacula-users] How to set up large database backup

2008-11-26 Thread Mike Holden
I know but this varies significantly from one database to another), then look into setting up a FLASH RECOVERY AREA and use that as a staging area for your backups. -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Greetings Car

Re: [Bacula-users] How to set up large database backup

2008-11-27 Thread Mike Holden
or smaller, just because of recovery times when only a single file needs to be recovered. -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Greetings Cards and Gifts --

Re: [Bacula-users] Large maildir backup

2008-11-27 Thread Mike Holden
aw was http://ubuntuforums.org/showthread.php?t=398332 which heads towards xfs/jfs for your arena. -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Greetings Card

Re: [Bacula-users] Add forums to the main page?

2008-12-17 Thread Mike Holden
mail address to an admin email address for the group. That said though, Yahoo groups is a bit pants really, and I wouldn't have subscribed at all if there was any other way! -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including J

Re: [Bacula-users] products based on bacula

2009-01-20 Thread Mike Holden
on was finalised, and this forced them to change their coding practices to cope with their final choice of product. Barmy! I used CVS for my own stuff at work (as a DBA/Unix guy I was outside the main development loop so wasn't tied in with what they were using), and was very happy with it.

Re: [Bacula-users] bacula-fd not playing nice with time critical apps

2009-02-10 Thread Mike Holden
You could also look at using iotop and iftop to check disk and network throughtput at the problem times to see what is going on. -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Greetings Cards and Gifts

Re: [Bacula-users] Volumes are above the limit?

2009-12-17 Thread Mike Holden
stuff like that! Be wary of using fancy labels that include the date etc when the volume can be re-used at a later date, because the violume name will then be very misleading. It's only really useful for volumes that will only be written once. -- Mike Holden http://www.by-ang.com - the pla

Re: [Bacula-users] bconsole query for calculating client 7days utilization

2009-12-18 Thread Mike Holden
l the other output columns in the query would need to be listed in the GROUP BY clause. If you want size by client, then you don't need to be listing any columns other than Client.Name and sum(JobBytes) in the SELECT clause. -- Mike Holden http://www.by-ang.co

Re: [Bacula-users] bconsole query for calculating client 7days utilization

2009-12-18 Thread Mike Holden
list but not in the GROUP BY clause. I would suggest (to give standard SQL code), that you change the "GROUP BY clause to "GROUP BY Client.Name, Pool.Name". You might want to update the ORDER BY in the same way. -- Mike Holden http://www.by-ang.com -

Re: [Bacula-users] Auto-deleting purged volumes

2010-01-06 Thread Mike Holden
t!!! Automated removal as detailed by Marek above is difficult to implement simply, because you will probably have multiple retention periods on your files, and you need to take this into account in your deletion. Plus, deleting the files while they are still listed in the bacula database is possib

Re: [Bacula-users] Question about recycle = no

2010-01-15 Thread Mike Holden
complicated but more accurate as you are > letting bacula decide what gets removed instead of externally forcing > the issue. > > John I posted a script recently on another thread which takes care of purging, deleting volumes and deleting the files based on individual retention periods

Re: [Bacula-users] query Error

2010-02-02 Thread Mike Holden
"idiot limit" to stop people running huge queries that will cripple the database performance - I'm not suggesting you are an idiot, just that the database maybe thinks bacula is an idiot ;-) Either this is due to a bug in bacula, or you are hitting some limit in your database configurati

Re: [Bacula-users] Some problem with database and volumes

2010-02-04 Thread Mike Holden
ly not adequate, since you need execute permission as well. 666 gives rw-, while you need rwx to allow the bacula server to descend into the directories. Assuming you are running bacula as root, and root owns both /mnt and /mnt/mnt1, then /mnt and /mnt/mnt1 should have 755 permissions, or even

Re: [Bacula-users] Some problem with database and volumes

2010-02-05 Thread Mike Holden
y > problem :) It looks like it's working first time after two months of trying > to make it > work. store0001 -> store0010 should be files, not directories. That is your problem! You are now using a different destination creating files called "backup", so th

Re: [Bacula-users] Multiple disks as a single storage

2010-02-18 Thread Mike Holden
e entire array. Keep them separate and you only lose the disk that failed and the other 11 continue to work fine. One "bug" partition could well be an aposite typo :-) -- Mike Holden http://www.by-ang.com - the place

[Bacula-users] Restoring from possibly (probably!) corrupt disk volume

2010-02-24 Thread Mike Holden
n recover more than I am currently getting. Of course, Sod's Law dictates that the files I am most interested in are closer to the end of the volume than the beginning! I should also mention that I am using bacula version 3.0.3 on fedora 12, although the backup was originally created under ba

Re: [Bacula-users] Restoring from possibly (probably!) corrupt disk volume

2010-02-26 Thread Mike Holden
Nobody got any clues at all? (Sorry for top-post, seemed more appropriate this time!!!) -- Mike Holden wrote: > Been struggling with a difficult restore for a few days now, and need some > help > please. > > The short story is that I am trying to recover files from a disk archi

Re: [Bacula-users] Restoring from possibly (probably!) corrupt disk volume

2010-02-26 Thread Mike Holden
Martin Simmons wrote: >>>>>> On Wed, 24 Feb 2010 20:45:01 -, Mike Holden said: >> >> bextract: record.c:465-0 Block=219743 Ver=2 size=64512 >> bextract: record.c:473-0 Enter read_record_block: remlen=56750 data_len=222 >> rem=0 >> blkver=2

[Bacula-users] Pruning before failed jobs - bug?

2010-03-30 Thread Mike Holden
- should backups be pruned, purged and truncated automatically if the backup fails? -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Greetings Cards and Gifts

Re: [Bacula-users] File volumes doesnt reach Maximun volumes

2010-04-27 Thread Mike Holden
ytes=0 > MigTime=0 secs MigHiBytes=0 MigLoBytes=0 > > Thanks. If I read that right, you have retention set to 1 month as well, so it will recycle after one month! Recycling happens at the first limit reached, so 1 month happens before 45 volumes. -- Mike Holden http://w

[Bacula-users] "Wrong" volume label when client not running

2010-05-20 Thread Mike Holden
ume Jobs = 1? I appreciate that this is something of a corner case! I also appreciate, before someone else point it out, that using labels with dates in them etc is not a good idea due to recycling files, but these files are not recycled, and only used once each, so there is no future confu

Re: [Bacula-users] Bconsole does not work

2010-05-20 Thread Mike Holden
mario parreƱo wrote: > Check file /var/run/bacula-dir.9101.pid Did you do this part? If this file exists, and the director is not running, then the startup script thinks that it _is_ running. If the director is _not_ running, you can safely remove that file and try again. -- Mike Holden h

Re: [Bacula-users] How to find all file .avi from full tape

2010-05-31 Thread Mike Holden
e instances of the same extension in different cases by using UPPER() like this: OR UPPER((Filename.Name LIKE "%MPG")) -- Mike Holden http://www.by-ang.com - th

Re: [Bacula-users] Upgrade to 5.02 fails with some sort of database error

2010-06-11 Thread Mike Holden
r: sqlite.c:178 Database > /var/lib/bacula/bacula.db does not exist, please create it. The sqlite.c error in the log would suggest that maybe it is trying to use sqlite rather than mysql? -- Mike Holden http://www.by-

Re: [Bacula-users] question on schedules 5th sat/sun

2010-06-11 Thread Mike Holden
wer priority, so that it runs immediately after the first one completes. Not sure if concurrency could be an issue here? You may need to ensure only 1 job runs at a time. -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted it

Re: [Bacula-users] Issue backing up Oracle database using Bacula

2010-06-25 Thread Mike Holden
; necessary. Have you downloaded and installed the various scripts mentioned on that wiki (namely runbeforebackup.sh, runafterbackup.sh etc - there are 5 named)? If so, what path have you saved them at, and have you made the *.sh scripts executable after downloading them (using the chmod command)

Re: [Bacula-users] Issue backing up Oracle database using Bacula

2010-06-29 Thread Mike Holden
n of the appropriate sh or bash or ksh executable file in this case. 5. sudo or some other security mechanism (SELinux etc) is blocking execution. You may be able to check the logs for these applications to see if this is the case. -- Mike Holden http://www.by-ang.com - the place to shop for all manner

Re: [Bacula-users] Issue backing up Oracle database using Bacula

2010-06-29 Thread Mike Holden
scripts we may be able to spot what is wrong! Can you run the hotbackup script directly in sqlplus using "@ runhotbackup.sql" from within sqlplus? If so, then the problem is elsewhere, if not then error message sill

Re: [Bacula-users] Issue backing up Oracle database using Bacula

2010-06-30 Thread Mike Holden
0)) is not big enough. I would suggest increasing this value to 2 million, which is the maximum value allowed. I've also go no idea why this is run as a separate exec call at the top, rather than as the first line of the pl/sql script! If I can find how to regist

Re: [Bacula-users] Issue backing up Oracle database using Bacula

2010-06-30 Thread Mike Holden
Mike Holden wrote: > If I can find how to register as a wiki contributor, I'll update the > page, otherwise somebody else may wish to take on these minor > modifications? I've registered and updated the wiki page at http://wiki.bacula.org/doku.php?id=application_specific_backup

Re: [Bacula-users] Issue backing up Oracle database using Bacula

2010-07-01 Thread Mike Holden
an Oracle expert, as that is what I get paid for in my day job :-) -- Mike Holden http://www.by-ang.com - the place to shop for all manner of hand crafted items, including Jewellery, Greetings Cards and Gifts -- This

Re: [Bacula-users] what does baculas select-query for mysql look like?

2010-11-18 Thread Mike Holden
e, which is omitted in the second version? With my experience of Oracle, that looks like an "execution hint", in other words a directive to help the database choose the most efficient way of retrieveing the data. It's a specially formed comment, hence the /* ... */, so you ei

Re: [Bacula-users] Bacula not backing up catalogue

2010-12-16 Thread Mike Holden
this is an email forum, and as such ought to be conducted in plain text, not half-html. Dan isn't complaining that we won't read config files, or that you shouldn't post them, but rather, the file that was posted was difficult/impossible to read. If you want help, ask for it in a

Re: [Bacula-users] job type = 'c' vs 'C'

2011-02-21 Thread Mike Holden
t;> I think the Wiki has a list that is a bit more up to date: >> >> http://wiki.bacula.org/doku.php?id=faq#what_do_all_those_job_status_codes_mean > > I'm glad all the work is being recorded on the wiki. When I get my > documentation hat on, the docs will be updated. In a