]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
13 years agoAdd new file I missed from James' plugin patch
Kern Sibbald [Tue, 27 Apr 2010 12:20:56 +0000 (14:20 +0200)]
Add new file I missed from James' plugin patch

13 years agoregress: fix error on vtape-big-test-changer
Eric Bollengier [Mon, 26 Apr 2010 19:50:29 +0000 (21:50 +0200)]
regress: fix error on vtape-big-test-changer

13 years agoProbable fix for SD crash bug #1553
Kern Sibbald [Mon, 26 Apr 2010 20:02:38 +0000 (22:02 +0200)]
Probable fix for SD crash bug #1553

13 years agoRemove bad debug line
Kern Sibbald [Mon, 26 Apr 2010 17:07:00 +0000 (19:07 +0200)]
Remove bad debug line

13 years agoAdd extra lock debug code but turned off
Kern Sibbald [Mon, 26 Apr 2010 16:50:10 +0000 (18:50 +0200)]
Add extra lock debug code but turned off

13 years agoReduce accurate test output when not debug
Kern Sibbald [Mon, 26 Apr 2010 15:59:05 +0000 (17:59 +0200)]
Reduce accurate test output when not debug

13 years agoregress: Add test for dlock pb
Eric Bollengier [Mon, 26 Apr 2010 15:04:52 +0000 (17:04 +0200)]
regress: Add test for dlock pb

13 years agoAdd lmgr_is_locked() function to test if a thread own a mutex
Eric Bollengier [Mon, 26 Apr 2010 09:39:30 +0000 (11:39 +0200)]
Add lmgr_is_locked() function to test if a thread own a mutex

13 years agoPut attr.c debug on dbglvl
Kern Sibbald [Sun, 25 Apr 2010 07:20:41 +0000 (09:20 +0200)]
Put attr.c debug on dbglvl

13 years agoUse lwps cmd in dbx and no threads as it seems to give some strange side effects...
Marco van Wieringen [Sat, 24 Apr 2010 21:10:30 +0000 (23:10 +0200)]
Use lwps cmd in dbx and no threads as it seems to give some strange side effects e.g. doesn't work and lwps seems to always work. So lwps it is then.

13 years agoFix typo
Marco van Wieringen [Sat, 24 Apr 2010 20:53:37 +0000 (22:53 +0200)]
Fix typo

13 years agoFix typo
Marco van Wieringen [Sat, 24 Apr 2010 19:20:43 +0000 (21:20 +0200)]
Fix typo

13 years agoFix #1559 problem when restoring pruned jobs with a regexp
Eric Bollengier [Sat, 24 Apr 2010 16:21:36 +0000 (18:21 +0200)]
Fix #1559 problem when restoring pruned jobs with a regexp

13 years agoDo some work on the btraceback on Solaris, we test to see what debugger is available...
Marco van Wieringen [Sat, 24 Apr 2010 15:09:29 +0000 (17:09 +0200)]
Do some work on the btraceback on Solaris, we test to see what debugger is available and we prefer the debuggers in this order: dbx, gdb, mdb. Also enchanced the dbx bactrace somewhat that it always dumps all available threads (e.g. we also changed from lwp to threads for dbx). We also print some variables that the gdb script also dumps on a bactrace. Hopefully we get some better dumps using this. The mdb is used as a last resort as it should be always installed on a Solaris box (dbx and gdb may not) but at the moment I'm still trying to find out how to get some more understandable dumps from mdb as its rather rudimentary and more a crash debugger then a source code debugger.

13 years agoFix for bug #1560 bcopy cannot find Volume
Kern Sibbald [Sat, 24 Apr 2010 15:02:44 +0000 (17:02 +0200)]
Fix for bug #1560 bcopy cannot find Volume

13 years agoTweak update configure
Kern Sibbald [Sat, 24 Apr 2010 09:19:55 +0000 (11:19 +0200)]
Tweak update configure

13 years agoAdd beef
Kern Sibbald [Sat, 24 Apr 2010 09:19:32 +0000 (11:19 +0200)]
Add beef

13 years agoUpdate autoconf scripts
Kern Sibbald [Sat, 24 Apr 2010 09:18:56 +0000 (11:18 +0200)]
Update autoconf scripts

13 years agoFix Windows build
Kern Sibbald [Sat, 24 Apr 2010 02:47:55 +0000 (04:47 +0200)]
Fix Windows build

13 years agoUpdate Ingres RestoreObject table
Kern Sibbald [Fri, 23 Apr 2010 20:46:45 +0000 (22:46 +0200)]
Update Ingres RestoreObject table

13 years agoAdd compress/decompress of Object Record data
Kern Sibbald [Fri, 23 Apr 2010 20:31:35 +0000 (22:31 +0200)]
Add compress/decompress of Object Record data

13 years agoregress: reproduce #1559
Eric Bollengier [Fri, 23 Apr 2010 16:17:47 +0000 (18:17 +0200)]
regress: reproduce #1559

13 years agoFix #1558 about bscan that doesn't update PurgedFiles on Job records
Eric Bollengier [Fri, 23 Apr 2010 15:53:27 +0000 (17:53 +0200)]
Fix #1558 about bscan that doesn't update PurgedFiles on Job records

13 years agoregress: tweak duplicate-job-test to run 30 jobs in // at the end
Eric Bollengier [Fri, 23 Apr 2010 13:15:11 +0000 (15:15 +0200)]
regress: tweak duplicate-job-test to run 30 jobs in // at the end

13 years agotweak debug
Eric Bollengier [Fri, 23 Apr 2010 09:12:16 +0000 (11:12 +0200)]
tweak debug

13 years agoregress: Add function to compute ISO time in future
Eric Bollengier [Thu, 22 Apr 2010 16:28:02 +0000 (18:28 +0200)]
regress: Add function to compute ISO time in future

13 years agoregress: Add function to change Max Concurrent Jobs
Eric Bollengier [Thu, 22 Apr 2010 16:06:05 +0000 (18:06 +0200)]
regress: Add function to change Max Concurrent Jobs

13 years agoRemove pool zap code that breaks 2drive-concurrent-test
Kern Sibbald [Fri, 23 Apr 2010 08:59:42 +0000 (10:59 +0200)]
Remove pool zap code that breaks 2drive-concurrent-test

13 years agoFix cancel crash bug #1551
Eric Bollengier [Fri, 23 Apr 2010 06:15:51 +0000 (08:15 +0200)]
Fix cancel crash bug #1551

13 years agoA timestamp can only be assigned to a timestamp in Ingres unless we convert it inline...
Marco van Wieringen [Wed, 21 Apr 2010 20:28:44 +0000 (22:28 +0200)]
A timestamp can only be assigned to a timestamp in Ingres unless we convert it inline. But why should we the code to get Timestamps is already there so change it and we are allright.

13 years agoFor Ingres always enable batch mode inserts.
Marco van Wieringen [Wed, 21 Apr 2010 18:39:38 +0000 (20:39 +0200)]
For Ingres always enable batch mode inserts.

13 years agoreindent some Ingres DECLARE queries so they are better readable.
Marco van Wieringen [Wed, 21 Apr 2010 18:31:38 +0000 (20:31 +0200)]
reindent some Ingres DECLARE queries so they are better readable.

13 years agoLets not use the mdb->transaction bool but create a private one named mdb->explicit_c...
Marco van Wieringen [Wed, 21 Apr 2010 17:50:38 +0000 (19:50 +0200)]
Lets not use the mdb->transaction bool but create a private one named mdb->explicit_commit as mdb->transaction is used by the bacula core and we need a private setting for Ingres.

13 years agoLets have a single exit from db_write_batch_file_records where we always drop the...
Marco van Wieringen [Wed, 21 Apr 2010 17:18:21 +0000 (19:18 +0200)]
Lets have a single exit from db_write_batch_file_records where we always drop the temporary batch table.

13 years agoregress: add nb slots parameter to prepare-fake-autochanger script
Eric Bollengier [Wed, 21 Apr 2010 14:46:22 +0000 (16:46 +0200)]
regress: add nb slots parameter to prepare-fake-autochanger script

13 years agoskip update configure in changelog
Eric Bollengier [Wed, 21 Apr 2010 14:41:08 +0000 (16:41 +0200)]
skip update configure in changelog

13 years agoregress: Add test with vtape and many concurrent jobs
Eric Bollengier [Wed, 21 Apr 2010 14:04:03 +0000 (16:04 +0200)]
regress: Add test with vtape and many concurrent jobs

13 years agoregress: fix vtape-test-changer script
Eric Bollengier [Wed, 21 Apr 2010 12:46:40 +0000 (14:46 +0200)]
regress: fix vtape-test-changer script

13 years agoFix job_metadata name problem
James Harper [Wed, 21 Apr 2010 14:47:10 +0000 (16:47 +0200)]
Fix job_metadata name problem

13 years agoTweak fix copyright typo
Kern Sibbald [Wed, 21 Apr 2010 07:49:43 +0000 (09:49 +0200)]
Tweak fix copyright typo

13 years agoAllow traceback with gdb on Solaris
Kern Sibbald [Wed, 21 Apr 2010 07:31:16 +0000 (09:31 +0200)]
Allow traceback with gdb on Solaris

13 years agoImplement IS_NUM for Ingres by using eqsqlda.h IISQ_ values for numeric types support...
Marco van Wieringen [Tue, 20 Apr 2010 17:52:26 +0000 (19:52 +0200)]
Implement IS_NUM for Ingres by using eqsqlda.h IISQ_ values for numeric types supported by Ingres.

13 years agoCorrect Pool display in SD status. Fixes bug #1541
Kern Sibbald [Tue, 20 Apr 2010 12:16:56 +0000 (14:16 +0200)]
Correct Pool display in SD status. Fixes bug #1541

13 years agoAdd performance notes in make_xxx_tables.in files
Eric Bollengier [Tue, 20 Apr 2010 11:41:18 +0000 (13:41 +0200)]
Add performance notes in make_xxx_tables.in files

13 years agoregress: tweak accurate-test to display comments during execution
Eric Bollengier [Tue, 20 Apr 2010 08:24:20 +0000 (10:24 +0200)]
regress: tweak accurate-test to display comments during execution

13 years agoTweak git2changelog for bweb
Eric Bollengier [Tue, 20 Apr 2010 08:06:53 +0000 (10:06 +0200)]
Tweak git2changelog for bweb

13 years agoFix Ingres problems with queries with have both an LIMIT and OFFSET clause as we...
Marco van Wieringen [Mon, 19 Apr 2010 19:03:55 +0000 (21:03 +0200)]
Fix Ingres problems with queries with have both an LIMIT and OFFSET clause as we need to reorder this query for Ingres to be understandable we need some more regexp magic for now. Lets make things exentsible and allow for multiple regexps all being fired on a query transforming it into the query to execute. Dropped the encoding check which is for postgresql but not interesting for Ingres now we use VARBYTE and not VARCHAR.

13 years agoregress: fix accurate test when db_name!=regress
Eric Bollengier [Mon, 19 Apr 2010 15:06:30 +0000 (17:06 +0200)]
regress: fix accurate test when db_name!=regress

13 years agoFix cancel crash reported by Stephen Thompson
Kern Sibbald [Mon, 19 Apr 2010 17:01:32 +0000 (19:01 +0200)]
Fix cancel crash reported by Stephen Thompson

13 years agoCheck if sql backend is thread-safe
Eric Bollengier [Mon, 19 Apr 2010 14:22:48 +0000 (16:22 +0200)]
Check if sql backend is thread-safe

13 years agoFix error message with PostgreSQL on JobHisto sequence
Eric Bollengier [Mon, 19 Apr 2010 07:32:16 +0000 (09:32 +0200)]
Fix error message with PostgreSQL on JobHisto sequence

13 years agoAdd RestoreObject postgresql privilege
Kern Sibbald [Sun, 18 Apr 2010 18:26:42 +0000 (20:26 +0200)]
Add RestoreObject postgresql privilege

13 years agoChange plugin FileSet function names add NewOptions and NewIncludes
Kern Sibbald [Sun, 18 Apr 2010 16:28:40 +0000 (18:28 +0200)]
Change plugin FileSet function names add NewOptions and NewIncludes

13 years agoSecond cut plugin filesets
Kern Sibbald [Sun, 18 Apr 2010 12:01:35 +0000 (14:01 +0200)]
Second cut plugin filesets

13 years agoAdd exclude to test program
Kern Sibbald [Sun, 18 Apr 2010 10:55:03 +0000 (12:55 +0200)]
Add exclude to test program

13 years agoCorrect new plugin names
Kern Sibbald [Sun, 18 Apr 2010 10:54:47 +0000 (12:54 +0200)]
Correct new plugin names

13 years agoFirst cut more complicated fileset options for plugins
Kern Sibbald [Sun, 18 Apr 2010 10:16:58 +0000 (12:16 +0200)]
First cut more complicated fileset options for plugins

13 years agoSkip FT_RESTORE_FIRST in verify
Kern Sibbald [Sun, 18 Apr 2010 05:42:12 +0000 (07:42 +0200)]
Skip FT_RESTORE_FIRST in verify

13 years agoStart adding plugin regex filesets
Kern Sibbald [Sun, 18 Apr 2010 05:35:11 +0000 (07:35 +0200)]
Start adding plugin regex filesets

13 years agoReorganize regex code
Kern Sibbald [Sat, 17 Apr 2010 12:37:38 +0000 (14:37 +0200)]
Reorganize regex code

13 years agoRewind on close to fix #1549
Eric Bollengier [Sun, 18 Apr 2010 10:28:19 +0000 (12:28 +0200)]
Rewind on close to fix #1549

13 years agoAdd bVarWorkingDir to filed plugins
James Harper [Sun, 18 Apr 2010 06:36:48 +0000 (08:36 +0200)]
Add bVarWorkingDir to filed plugins

13 years agoUpdate Ingres temporary table definitions with new datatypes and lengths.
Marco van Wieringen [Sat, 17 Apr 2010 20:34:21 +0000 (22:34 +0200)]
Update Ingres temporary table definitions with new datatypes and lengths.

13 years agoAdded extra check to scream when we encounter a database datatype which we don't...
Marco van Wieringen [Sat, 17 Apr 2010 19:11:07 +0000 (21:11 +0200)]
Added extra check to scream when we encounter a database datatype which we don't support yet. This should never happen as we should implement new datatypes when we use them in the schema but some defensive programming doesn't hurt.

13 years agoSome small indent changes.
Marco van Wieringen [Sat, 17 Apr 2010 15:56:59 +0000 (17:56 +0200)]
Some small indent changes.

13 years agoPossible fix for big-files-test
Kern Sibbald [Sat, 17 Apr 2010 13:38:37 +0000 (15:38 +0200)]
Possible fix for big-files-test

13 years agoUse a dedicated connexion when VirtualFull computes the file list.
Eric Bollengier [Sat, 17 Apr 2010 12:29:02 +0000 (14:29 +0200)]
Use a dedicated connexion when VirtualFull computes the file list.

13 years agoAdd back line accidentally deleted -- fixes verify-vol tests
Kern Sibbald [Sat, 17 Apr 2010 12:03:44 +0000 (14:03 +0200)]
Add back line accidentally deleted -- fixes verify-vol tests

13 years agoRemove inappropriate comments and unused line
Kern Sibbald [Sat, 17 Apr 2010 12:02:56 +0000 (14:02 +0200)]
Remove inappropriate comments and unused line

13 years agoFix badly named index
Kern Sibbald [Sat, 17 Apr 2010 12:02:20 +0000 (14:02 +0200)]
Fix badly named index

13 years agoFirst stab at rewriting the ingres database schema to allow bigger path and filenames...
Marco van Wieringen [Sat, 17 Apr 2010 08:12:13 +0000 (10:12 +0200)]
First stab at rewriting the ingres database schema to allow bigger path and filenames up to the current limit of 32000 bytes. Also reindented the database definitions to the Bacula standards which make it somewhat easier to read. Implemented the retrieval of some additional datatypes in the ingres backend now we switched some types from VARCHAR to VARBYTE.

13 years agoTweak new restore object code
Kern Sibbald [Fri, 16 Apr 2010 18:56:14 +0000 (20:56 +0200)]
Tweak new restore object code

13 years agoRemove closelog() in bpipe fixes bug #1536
Kern Sibbald [Fri, 16 Apr 2010 18:37:16 +0000 (20:37 +0200)]
Remove closelog() in bpipe fixes bug #1536

13 years agoConvert restore object to use STREAM_RESTORE_OBJECT; cleaner code
Kern Sibbald [Fri, 16 Apr 2010 18:15:15 +0000 (20:15 +0200)]
Convert restore object to use STREAM_RESTORE_OBJECT; cleaner code

13 years agoFor now the Ingres type is not TEXT but VARCHAR(256) so lets define the temporary...
Marco van Wieringen [Fri, 16 Apr 2010 08:39:44 +0000 (10:39 +0200)]
For now the Ingres type is not TEXT but VARCHAR(256) so lets define the temporary table that way.

13 years agoSeperate some basejob queries into sql_cmds.c so the code is cleaner and we can speci...
Marco van Wieringen [Fri, 16 Apr 2010 08:07:09 +0000 (10:07 +0200)]
Seperate some basejob queries into sql_cmds.c so the code is cleaner and we can specify the Ingres specific definition of a temporary table.

13 years agoRemove some strange includes halve way this file which seems to be some copied code...
Marco van Wieringen [Fri, 16 Apr 2010 07:29:45 +0000 (09:29 +0200)]
Remove some strange includes halve way this file which seems to be some copied code from the top of the file.

13 years agoFix RestoreObject make_sqlite3_table.in syntax
Kern Sibbald [Fri, 16 Apr 2010 06:35:09 +0000 (08:35 +0200)]
Fix RestoreObject make_sqlite3_table.in syntax

13 years agoDISTINCT ON postgresql queries won't work on Ingres so try if the MySQL queries do...
Marco van Wieringen [Thu, 15 Apr 2010 20:40:26 +0000 (22:40 +0200)]
DISTINCT ON postgresql queries won't work on Ingres so try if the MySQL queries do any better on Ingres.

13 years agoSmall changes to btraceback script so on solaris we don't get strange errors as PNAME...
Marco van Wieringen [Thu, 15 Apr 2010 18:57:23 +0000 (20:57 +0200)]
Small changes to btraceback script so on solaris we don't get strange errors as PNAME is not a single binary name and that doesn't work to great for doing a gcore.

13 years agoAdd install and uninstall of btraceback.mdb script
Marco van Wieringen [Thu, 15 Apr 2010 18:50:47 +0000 (20:50 +0200)]
Add install and uninstall of btraceback.mdb script

13 years agoRemove bad index tips on mysql creation script
Eric Bollengier [Wed, 14 Apr 2010 09:39:48 +0000 (11:39 +0200)]
Remove bad index tips on mysql creation script

13 years agoApply James' patch with my restore object changes
Kern Sibbald [Wed, 14 Apr 2010 13:24:50 +0000 (15:24 +0200)]
Apply James' patch with my restore object changes

13 years agoTweak comments + indenting
Kern Sibbald [Wed, 14 Apr 2010 11:04:59 +0000 (13:04 +0200)]
Tweak comments + indenting

13 years agoAdd vss_close_backup_session after find_files + add object_name to restore object
Kern Sibbald [Wed, 14 Apr 2010 10:44:43 +0000 (12:44 +0200)]
Add vss_close_backup_session after find_files + add object_name to restore object

13 years agoCleanup restore_object packet
Kern Sibbald [Wed, 14 Apr 2010 08:40:16 +0000 (10:40 +0200)]
Cleanup restore_object packet

13 years agoFix typos.
Marco van Wieringen [Tue, 13 Apr 2010 18:57:42 +0000 (20:57 +0200)]
Fix typos.

13 years agoIngres doesn't understand a query string with ORDER BY LastWritten IS NULL,LastWritte...
Marco van Wieringen [Tue, 13 Apr 2010 17:48:46 +0000 (19:48 +0200)]
Ingres doesn't understand a query string with ORDER BY LastWritten IS NULL,LastWritten DESC,MediaId and we must rewrite it to ORDER BY IFNULL(LastWritten, '') DESC,MediaId which we now do by using an array with the correct order statement per backend in sql_cmds just as some of the other database specific queries.

13 years agoAdd missing break. Pointed out by James
Kern Sibbald [Mon, 12 Apr 2010 12:55:18 +0000 (08:55 -0400)]
Add missing break. Pointed out by James

13 years agoPass restore object to plugin
Kern Sibbald [Sun, 11 Apr 2010 18:59:02 +0000 (20:59 +0200)]
Pass restore object to plugin

13 years agoRestore object now sent to FD
Kern Sibbald [Sun, 11 Apr 2010 15:24:52 +0000 (17:24 +0200)]
Restore object now sent to FD

13 years agoTweak rebuild configure
Kern Sibbald [Sun, 11 Apr 2010 07:38:21 +0000 (09:38 +0200)]
Tweak rebuild configure

13 years agoDrop old bdb catalog scripts
Kern Sibbald [Sun, 11 Apr 2010 07:37:28 +0000 (09:37 +0200)]
Drop old bdb catalog scripts

13 years agoTweak remove trailing space add doxygen doc marks
Kern Sibbald [Sun, 11 Apr 2010 07:20:44 +0000 (09:20 +0200)]
Tweak remove trailing space add doxygen doc marks

13 years agoExtract restore object and send to FD first cut
Kern Sibbald [Sat, 10 Apr 2010 20:45:39 +0000 (22:45 +0200)]
Extract restore object and send to FD first cut

13 years agoAdd Ingres RestoreObject SQL changes
Kern Sibbald [Sat, 10 Apr 2010 20:51:49 +0000 (22:51 +0200)]
Add Ingres RestoreObject SQL changes

13 years agoFix typo in sqlite
Marco van Wieringen [Sat, 10 Apr 2010 11:42:07 +0000 (13:42 +0200)]
Fix typo in sqlite

13 years agoRename sql_insert_id into sql_insert_autokey_record so things are somewhat cleaner...
Marco van Wieringen [Sat, 10 Apr 2010 11:36:25 +0000 (13:36 +0200)]
Rename sql_insert_id into sql_insert_autokey_record so things are somewhat cleaner in name and things don't seem to imply we are just a mysql_insert_id replacement, which we are not.

13 years agoTurn off plugin debug
Kern Sibbald [Fri, 9 Apr 2010 19:52:25 +0000 (21:52 +0200)]
Turn off plugin debug

13 years agoCreate and put data into RestoreObject table
Kern Sibbald [Fri, 9 Apr 2010 19:38:59 +0000 (21:38 +0200)]
Create and put data into RestoreObject table