]>
git.sur5r.net Git - bacula/bacula/log
Eric Bollengier [Sat, 24 Apr 2010 16:21:36 +0000 (18:21 +0200)]
Fix #1559 problem when restoring pruned jobs with a regexp
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.
Kern Sibbald [Sat, 24 Apr 2010 15:02:44 +0000 (17:02 +0200)]
Fix for bug #1560 bcopy cannot find Volume
Kern Sibbald [Sat, 24 Apr 2010 09:19:55 +0000 (11:19 +0200)]
Tweak update configure
Kern Sibbald [Sat, 24 Apr 2010 09:19:32 +0000 (11:19 +0200)]
Add beef
Kern Sibbald [Sat, 24 Apr 2010 09:18:56 +0000 (11:18 +0200)]
Update autoconf scripts
Kern Sibbald [Sat, 24 Apr 2010 02:47:55 +0000 (04:47 +0200)]
Fix Windows build
Kern Sibbald [Fri, 23 Apr 2010 20:46:45 +0000 (22:46 +0200)]
Update Ingres RestoreObject table
Kern Sibbald [Fri, 23 Apr 2010 20:31:35 +0000 (22:31 +0200)]
Add compress/decompress of Object Record data
Eric Bollengier [Fri, 23 Apr 2010 16:17:47 +0000 (18:17 +0200)]
regress: reproduce #1559
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
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
Eric Bollengier [Fri, 23 Apr 2010 09:12:16 +0000 (11:12 +0200)]
tweak debug
Eric Bollengier [Thu, 22 Apr 2010 16:28:02 +0000 (18:28 +0200)]
regress: Add function to compute ISO time in future
Eric Bollengier [Thu, 22 Apr 2010 16:06:05 +0000 (18:06 +0200)]
regress: Add function to change Max Concurrent Jobs
Kern Sibbald [Fri, 23 Apr 2010 08:59:42 +0000 (10:59 +0200)]
Remove pool zap code that breaks 2drive-concurrent-test
Eric Bollengier [Fri, 23 Apr 2010 06:15:51 +0000 (08:15 +0200)]
Fix cancel crash bug #1551
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.
Marco van Wieringen [Wed, 21 Apr 2010 18:39:38 +0000 (20:39 +0200)]
For Ingres always enable batch mode inserts.
Marco van Wieringen [Wed, 21 Apr 2010 18:31:38 +0000 (20:31 +0200)]
reindent some Ingres DECLARE queries so they are better readable.
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.
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.
Eric Bollengier [Wed, 21 Apr 2010 14:46:22 +0000 (16:46 +0200)]
regress: add nb slots parameter to prepare-fake-autochanger script
Eric Bollengier [Wed, 21 Apr 2010 14:41:08 +0000 (16:41 +0200)]
skip update configure in changelog
Eric Bollengier [Wed, 21 Apr 2010 14:04:03 +0000 (16:04 +0200)]
regress: Add test with vtape and many concurrent jobs
Eric Bollengier [Wed, 21 Apr 2010 12:46:40 +0000 (14:46 +0200)]
regress: fix vtape-test-changer script
James Harper [Wed, 21 Apr 2010 14:47:10 +0000 (16:47 +0200)]
Fix job_metadata name problem
Kern Sibbald [Wed, 21 Apr 2010 07:49:43 +0000 (09:49 +0200)]
Tweak fix copyright typo
Kern Sibbald [Wed, 21 Apr 2010 07:31:16 +0000 (09:31 +0200)]
Allow traceback with gdb on Solaris
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.
Kern Sibbald [Tue, 20 Apr 2010 12:16:56 +0000 (14:16 +0200)]
Correct Pool display in SD status. Fixes bug #1541
Eric Bollengier [Tue, 20 Apr 2010 11:41:18 +0000 (13:41 +0200)]
Add performance notes in make_xxx_tables.in files
Eric Bollengier [Tue, 20 Apr 2010 08:24:20 +0000 (10:24 +0200)]
regress: tweak accurate-test to display comments during execution
Eric Bollengier [Tue, 20 Apr 2010 08:06:53 +0000 (10:06 +0200)]
Tweak git2changelog for bweb
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.
Eric Bollengier [Mon, 19 Apr 2010 15:06:30 +0000 (17:06 +0200)]
regress: fix accurate test when db_name!=regress
Kern Sibbald [Mon, 19 Apr 2010 17:01:32 +0000 (19:01 +0200)]
Fix cancel crash reported by Stephen Thompson
Eric Bollengier [Mon, 19 Apr 2010 14:22:48 +0000 (16:22 +0200)]
Check if sql backend is thread-safe
Eric Bollengier [Mon, 19 Apr 2010 07:32:16 +0000 (09:32 +0200)]
Fix error message with PostgreSQL on JobHisto sequence
Kern Sibbald [Sun, 18 Apr 2010 18:26:42 +0000 (20:26 +0200)]
Add RestoreObject postgresql privilege
Kern Sibbald [Sun, 18 Apr 2010 16:28:40 +0000 (18:28 +0200)]
Change plugin FileSet function names add NewOptions and NewIncludes
Kern Sibbald [Sun, 18 Apr 2010 12:01:35 +0000 (14:01 +0200)]
Second cut plugin filesets
Kern Sibbald [Sun, 18 Apr 2010 10:55:03 +0000 (12:55 +0200)]
Add exclude to test program
Kern Sibbald [Sun, 18 Apr 2010 10:54:47 +0000 (12:54 +0200)]
Correct new plugin names
Kern Sibbald [Sun, 18 Apr 2010 10:16:58 +0000 (12:16 +0200)]
First cut more complicated fileset options for plugins
Kern Sibbald [Sun, 18 Apr 2010 05:42:12 +0000 (07:42 +0200)]
Skip FT_RESTORE_FIRST in verify
Kern Sibbald [Sun, 18 Apr 2010 05:35:11 +0000 (07:35 +0200)]
Start adding plugin regex filesets
Kern Sibbald [Sat, 17 Apr 2010 12:37:38 +0000 (14:37 +0200)]
Reorganize regex code
Eric Bollengier [Sun, 18 Apr 2010 10:28:19 +0000 (12:28 +0200)]
Rewind on close to fix #1549
James Harper [Sun, 18 Apr 2010 06:36:48 +0000 (08:36 +0200)]
Add bVarWorkingDir to filed plugins
Marco van Wieringen [Sat, 17 Apr 2010 20:34:21 +0000 (22:34 +0200)]
Update Ingres temporary table definitions with new datatypes and lengths.
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.
Marco van Wieringen [Sat, 17 Apr 2010 15:56:59 +0000 (17:56 +0200)]
Some small indent changes.
Kern Sibbald [Sat, 17 Apr 2010 13:38:37 +0000 (15:38 +0200)]
Possible fix for big-files-test
Eric Bollengier [Sat, 17 Apr 2010 12:29:02 +0000 (14:29 +0200)]
Use a dedicated connexion when VirtualFull computes the file list.
Kern Sibbald [Sat, 17 Apr 2010 12:03:44 +0000 (14:03 +0200)]
Add back line accidentally deleted -- fixes verify-vol tests
Kern Sibbald [Sat, 17 Apr 2010 12:02:56 +0000 (14:02 +0200)]
Remove inappropriate comments and unused line
Kern Sibbald [Sat, 17 Apr 2010 12:02:20 +0000 (14:02 +0200)]
Fix badly named index
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.
Kern Sibbald [Fri, 16 Apr 2010 18:56:14 +0000 (20:56 +0200)]
Tweak new restore object code
Kern Sibbald [Fri, 16 Apr 2010 18:37:16 +0000 (20:37 +0200)]
Remove closelog() in bpipe fixes bug #1536
Kern Sibbald [Fri, 16 Apr 2010 18:15:15 +0000 (20:15 +0200)]
Convert restore object to use STREAM_RESTORE_OBJECT; cleaner code
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.
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.
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.
Kern Sibbald [Fri, 16 Apr 2010 06:35:09 +0000 (08:35 +0200)]
Fix RestoreObject make_sqlite3_table.in syntax
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.
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.
Marco van Wieringen [Thu, 15 Apr 2010 18:50:47 +0000 (20:50 +0200)]
Add install and uninstall of btraceback.mdb script
Eric Bollengier [Wed, 14 Apr 2010 09:39:48 +0000 (11:39 +0200)]
Remove bad index tips on mysql creation script
Kern Sibbald [Wed, 14 Apr 2010 13:24:50 +0000 (15:24 +0200)]
Apply James' patch with my restore object changes
Kern Sibbald [Wed, 14 Apr 2010 11:04:59 +0000 (13:04 +0200)]
Tweak comments + indenting
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
Kern Sibbald [Wed, 14 Apr 2010 08:40:16 +0000 (10:40 +0200)]
Cleanup restore_object packet
Marco van Wieringen [Tue, 13 Apr 2010 18:57:42 +0000 (20:57 +0200)]
Fix typos.
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.
Kern Sibbald [Mon, 12 Apr 2010 12:55:18 +0000 (08:55 -0400)]
Add missing break. Pointed out by James
Kern Sibbald [Sun, 11 Apr 2010 18:59:02 +0000 (20:59 +0200)]
Pass restore object to plugin
Kern Sibbald [Sun, 11 Apr 2010 15:24:52 +0000 (17:24 +0200)]
Restore object now sent to FD
Kern Sibbald [Sun, 11 Apr 2010 07:38:21 +0000 (09:38 +0200)]
Tweak rebuild configure
Kern Sibbald [Sun, 11 Apr 2010 07:37:28 +0000 (09:37 +0200)]
Drop old bdb catalog scripts
Kern Sibbald [Sun, 11 Apr 2010 07:20:44 +0000 (09:20 +0200)]
Tweak remove trailing space add doxygen doc marks
Kern Sibbald [Sat, 10 Apr 2010 20:45:39 +0000 (22:45 +0200)]
Extract restore object and send to FD first cut
Kern Sibbald [Sat, 10 Apr 2010 20:51:49 +0000 (22:51 +0200)]
Add Ingres RestoreObject SQL changes
Marco van Wieringen [Sat, 10 Apr 2010 11:42:07 +0000 (13:42 +0200)]
Fix typo in sqlite
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.
Kern Sibbald [Fri, 9 Apr 2010 19:52:25 +0000 (21:52 +0200)]
Turn off plugin debug
Kern Sibbald [Fri, 9 Apr 2010 19:38:59 +0000 (21:38 +0200)]
Create and put data into RestoreObject table
Kern Sibbald [Fri, 9 Apr 2010 15:36:39 +0000 (17:36 +0200)]
Create db_create_restore_object_record and code to insert it
Marco van Wieringen [Fri, 9 Apr 2010 12:02:41 +0000 (14:02 +0200)]
Drop all Ingres tables with one commit.
Kern Sibbald [Fri, 9 Apr 2010 09:28:48 +0000 (11:28 +0200)]
Fix Win32 build
Kern Sibbald [Fri, 9 Apr 2010 09:19:32 +0000 (11:19 +0200)]
Tweak update version + date
Kern Sibbald [Fri, 9 Apr 2010 09:17:45 +0000 (11:17 +0200)]
Set level for debug code
Kern Sibbald [Thu, 8 Apr 2010 19:09:57 +0000 (21:09 +0200)]
Make build and install of test-plugin for regress automatic
Kern Sibbald [Thu, 8 Apr 2010 13:09:35 +0000 (15:09 +0200)]
Temp remvoe add exclude
Kern Sibbald [Wed, 7 Apr 2010 20:11:54 +0000 (22:11 +0200)]
First attempt to fix plugin excludes
Kern Sibbald [Wed, 7 Apr 2010 19:26:25 +0000 (21:26 +0200)]
Get binary objects working
Kern Sibbald [Wed, 7 Apr 2010 19:25:45 +0000 (21:25 +0200)]
Make test-plugin regression test work
Kern Sibbald [Wed, 7 Apr 2010 13:03:14 +0000 (15:03 +0200)]
Make test-plugin-test script
Kern Sibbald [Wed, 7 Apr 2010 12:55:53 +0000 (14:55 +0200)]
Create test-plugin-fd