]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
14 years agoFix typo
Marco van Wieringen [Sat, 24 Apr 2010 19:20:43 +0000 (21:20 +0200)]
Fix typo

14 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

14 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.

14 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

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

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

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

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

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

14 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

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

14 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

14 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

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

14 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

14 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

14 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

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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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

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

14 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

14 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

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

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

14 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

14 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.

14 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

14 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

14 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

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

14 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.

14 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

14 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

14 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

14 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

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

14 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

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

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

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

14 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

14 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

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

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

14 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

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

14 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.

14 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.

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

14 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

14 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.

14 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

14 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

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

14 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.

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

14 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

14 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

14 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.

14 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.

14 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.

14 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

14 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.

14 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.

14 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

14 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

14 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

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

14 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

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

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

14 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.

14 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

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

14 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

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

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

14 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

14 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

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

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

14 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.

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

14 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

14 years agoCreate db_create_restore_object_record and code to insert it
Kern Sibbald [Fri, 9 Apr 2010 15:36:39 +0000 (17:36 +0200)]
Create db_create_restore_object_record and code to insert it

14 years agoDrop all Ingres tables with one commit.
Marco van Wieringen [Fri, 9 Apr 2010 12:02:41 +0000 (14:02 +0200)]
Drop all Ingres tables with one commit.

14 years agoFix Win32 build
Kern Sibbald [Fri, 9 Apr 2010 09:28:48 +0000 (11:28 +0200)]
Fix Win32 build

14 years agoTweak update version + date
Kern Sibbald [Fri, 9 Apr 2010 09:19:32 +0000 (11:19 +0200)]
Tweak update version + date

14 years agoSet level for debug code
Kern Sibbald [Fri, 9 Apr 2010 09:17:45 +0000 (11:17 +0200)]
Set level for debug code

14 years agoMake build and install of test-plugin for regress automatic
Kern Sibbald [Thu, 8 Apr 2010 19:09:57 +0000 (21:09 +0200)]
Make build and install of test-plugin for regress automatic

14 years agoTemp remvoe add exclude
Kern Sibbald [Thu, 8 Apr 2010 13:09:35 +0000 (15:09 +0200)]
Temp remvoe add exclude

14 years agoFirst attempt to fix plugin excludes
Kern Sibbald [Wed, 7 Apr 2010 20:11:54 +0000 (22:11 +0200)]
First attempt to fix plugin excludes

14 years agoGet binary objects working
Kern Sibbald [Wed, 7 Apr 2010 19:26:25 +0000 (21:26 +0200)]
Get binary objects working

14 years agoMake test-plugin regression test work
Kern Sibbald [Wed, 7 Apr 2010 19:25:45 +0000 (21:25 +0200)]
Make test-plugin regression test work

14 years agoMake test-plugin-test script
Kern Sibbald [Wed, 7 Apr 2010 13:03:14 +0000 (15:03 +0200)]
Make test-plugin-test script