]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
13 years agoFix bug #1587 if you have clients with different catalogs configured, both catalogs...
Kern Sibbald [Sat, 26 Jun 2010 11:07:24 +0000 (13:07 +0200)]
Fix bug #1587 if you have clients with different catalogs configured, both catalogs contains all clients after a reload or restart of the dir

13 years agoFix bug #1577 During migration: ERROR in block.c:950 Failed ASSERT: dev->is_open...
Kern Sibbald [Sat, 26 Jun 2010 10:38:48 +0000 (12:38 +0200)]
Fix bug #1577 During migration: ERROR in block.c:950 Failed ASSERT: dev->is_open() by moving and commenting out the ASSERT()

13 years agoFix new killsafe code
Eric Bollengier [Thu, 24 Jun 2010 14:50:32 +0000 (16:50 +0200)]
Fix new killsafe code

13 years agoAdd USE_LOCKMGR_SAFEKILL in version.h
Eric Bollengier [Thu, 24 Jun 2010 12:14:44 +0000 (14:14 +0200)]
Add USE_LOCKMGR_SAFEKILL in version.h

13 years agoAdd wrapper for pthread_kill() to check if thread exists before using kill
Eric Bollengier [Thu, 24 Jun 2010 12:07:56 +0000 (14:07 +0200)]
Add wrapper for pthread_kill() to check if thread exists before using kill

You can enable this extra check to be sure that we use pthread_kill()
only with valid pthread id USE_LOCKMGR_SAFEKILL in version.h.

It looks like that some implementation, like the linux one, segfaults
when you are sending a signal to a non existing thread. This problem can
be fixed by using non detached thread, or by checking if the thread is still
present before sending the signal.

13 years agoregress: replace testls by diff.pl in weird-files-test
Eric Bollengier [Wed, 23 Jun 2010 12:50:47 +0000 (14:50 +0200)]
regress: replace testls by diff.pl in weird-files-test

13 years agoregress: diff.pl - check mtime on directories with --mtime-dir, add support for pipe...
Eric Bollengier [Wed, 23 Jun 2010 12:49:58 +0000 (14:49 +0200)]
regress: diff.pl - check mtime on directories with --mtime-dir, add support for pipe, char and block file

Depending on the restore order, a directory could be restored before a
file inside it. The resulting mtime could be wrong.

Add support for special files like named pipe, char and block special devices.

13 years agoSkip HB kill in FD if HB thread terminated
Kern Sibbald [Wed, 23 Jun 2010 06:26:29 +0000 (08:26 +0200)]
Skip HB kill in FD if HB thread terminated

13 years agoregress: add new diff tool in debug mode
Eric Bollengier [Tue, 22 Jun 2010 14:16:55 +0000 (16:16 +0200)]
regress: add new diff tool in debug mode

13 years agoregress: update diff.pl
Eric Bollengier [Tue, 22 Jun 2010 14:10:35 +0000 (16:10 +0200)]
regress: update diff.pl

     - Fix problem when reading filename ending with space
     - Use lstat for symlinks
     - Don't compare atime between versions
     - Don't compare mtime/ctime for symlinks
     - add windows attributes testing
     - Don't compare ctime between versions

13 years agoupdate windows defs
Eric Bollengier [Mon, 21 Jun 2010 09:55:22 +0000 (11:55 +0200)]
update windows defs

13 years agoTweak ignore dumps
Kern Sibbald [Sun, 20 Jun 2010 15:47:29 +0000 (17:47 +0200)]
Tweak ignore dumps

13 years agoFix crash from unequal volume_lock/unlock calls
Kern Sibbald [Sun, 20 Jun 2010 15:44:59 +0000 (17:44 +0200)]
Fix crash from unequal volume_lock/unlock calls

13 years agoregress: add new prune test to cdash
Eric Bollengier [Sun, 20 Jun 2010 11:55:11 +0000 (13:55 +0200)]
regress: add new prune test to cdash

13 years agoregress: Add prune test for copy jobs
Eric Bollengier [Sun, 20 Jun 2010 09:50:35 +0000 (11:50 +0200)]
regress: Add prune test for copy jobs

13 years agoregress: Add prune test for migration jobs
Eric Bollengier [Sun, 20 Jun 2010 09:41:56 +0000 (11:41 +0200)]
regress: Add prune test for migration jobs

13 years agoFix pruning for migration jobs and do some optimization
Eric Bollengier [Sun, 20 Jun 2010 09:39:33 +0000 (11:39 +0200)]
Fix pruning for migration jobs and do some optimization

13 years agoPrint TestName at beginning of dump
Kern Sibbald [Sun, 20 Jun 2010 07:19:02 +0000 (09:19 +0200)]
Print TestName at beginning of dump

13 years agoRemove prototypes of removed prune queries.
Marco van Wieringen [Sat, 19 Jun 2010 13:23:46 +0000 (15:23 +0200)]
Remove prototypes of removed prune queries.

13 years agoAdapt new prune code with old db_accurate_get_jobids()
Eric Bollengier [Fri, 18 Jun 2010 07:03:28 +0000 (09:03 +0200)]
Adapt new prune code with old db_accurate_get_jobids()

13 years agoregress: tweak estimate-test
Eric Bollengier [Fri, 18 Jun 2010 06:57:56 +0000 (08:57 +0200)]
regress: tweak estimate-test

13 years agoregress: add new prune test to regress suite
Eric Bollengier [Thu, 17 Jun 2010 13:48:21 +0000 (15:48 +0200)]
regress: add new prune test to regress suite

13 years agoregress: display ERROR properly
Eric Bollengier [Thu, 17 Jun 2010 12:02:01 +0000 (14:02 +0200)]
regress: display ERROR properly

13 years agotweak ua_prune
Eric Bollengier [Thu, 17 Jun 2010 12:01:26 +0000 (14:01 +0200)]
tweak ua_prune

13 years agoregress: tweak lockmgr-test
Eric Bollengier [Thu, 17 Jun 2010 11:53:04 +0000 (13:53 +0200)]
regress: tweak lockmgr-test

13 years agotweak comments
Eric Bollengier [Thu, 17 Jun 2010 09:11:37 +0000 (11:11 +0200)]
tweak comments

13 years agoCleanup prune queries
Eric Bollengier [Thu, 17 Jun 2010 08:47:47 +0000 (10:47 +0200)]
Cleanup prune queries

13 years agoregress: add more tests to prune-base-job-test
Eric Bollengier [Thu, 17 Jun 2010 08:36:15 +0000 (10:36 +0200)]
regress: add more tests to prune-base-job-test

13 years agoregress: update prune-base-job-test
Eric Bollengier [Thu, 17 Jun 2010 08:03:42 +0000 (10:03 +0200)]
regress: update prune-base-job-test

13 years agoregress: update base-job-test
Eric Bollengier [Thu, 17 Jun 2010 07:30:59 +0000 (09:30 +0200)]
regress: update base-job-test

13 years agoregress: update prune test for base jobs
Eric Bollengier [Thu, 17 Jun 2010 07:11:05 +0000 (09:11 +0200)]
regress: update prune test for base jobs

13 years agoregress: add function to test pruning
Eric Bollengier [Thu, 17 Jun 2010 07:10:37 +0000 (09:10 +0200)]
regress: add function to test pruning

13 years agoupdate prune code
Eric Bollengier [Thu, 17 Jun 2010 07:10:05 +0000 (09:10 +0200)]
update prune code

13 years agoFix db_get_base_jobid()
Eric Bollengier [Thu, 17 Jun 2010 07:08:21 +0000 (09:08 +0200)]
Fix db_get_base_jobid()

13 years agoregress: add prune verification for base jobs
Eric Bollengier [Wed, 16 Jun 2010 22:21:14 +0000 (00:21 +0200)]
regress: add prune verification for base jobs

13 years agoregress: update prune-test
Eric Bollengier [Wed, 16 Jun 2010 22:12:14 +0000 (00:12 +0200)]
regress: update prune-test

13 years agoregress: add prune-test
Eric Bollengier [Wed, 16 Jun 2010 21:48:36 +0000 (23:48 +0200)]
regress: add prune-test

13 years agoCleanup prune code
Eric Bollengier [Wed, 16 Jun 2010 20:42:26 +0000 (22:42 +0200)]
Cleanup prune code

13 years agoMake new prune algo to work with backup
Eric Bollengier [Wed, 16 Jun 2010 16:33:54 +0000 (18:33 +0200)]
Make new prune algo to work with backup

13 years agostart to tweak prune algo
Eric Bollengier [Wed, 16 Jun 2010 06:56:03 +0000 (08:56 +0200)]
start to tweak prune algo

13 years agoTweak remove ref to master
Kern Sibbald [Sat, 19 Jun 2010 14:09:51 +0000 (16:09 +0200)]
Tweak remove ref to master

13 years agoSave any dumps during regression to dumps directory
Kern Sibbald [Sat, 19 Jun 2010 13:58:28 +0000 (15:58 +0200)]
Save any dumps during regression to dumps directory

13 years agoUpdate LICENSE
Kern Sibbald [Sat, 19 Jun 2010 09:56:13 +0000 (11:56 +0200)]
Update LICENSE

13 years agoTweak: remove old code
Kern Sibbald [Sat, 19 Jun 2010 06:45:15 +0000 (08:45 +0200)]
Tweak: remove old code

13 years agoFix crash from rw_lock/unlock miss match
Kern Sibbald [Sat, 19 Jun 2010 06:23:35 +0000 (08:23 +0200)]
Fix crash from rw_lock/unlock miss match

13 years agoAttempt to fix duplicate job kill seg fault
Kern Sibbald [Fri, 18 Jun 2010 21:43:38 +0000 (23:43 +0200)]
Attempt to fix duplicate job kill seg fault

13 years agoReplace pthread_kill by my_thread_send_signal() in jcr.c
Eric Bollengier [Fri, 18 Jun 2010 14:00:10 +0000 (16:00 +0200)]
Replace pthread_kill by my_thread_send_signal() in jcr.c

13 years agoFix postgresql error in grant script
Eric Bollengier [Fri, 18 Jun 2010 14:38:42 +0000 (16:38 +0200)]
Fix postgresql error in grant script

13 years agoupdate configure
Eric Bollengier [Fri, 18 Jun 2010 08:19:31 +0000 (10:19 +0200)]
update configure

13 years agofix #1595 about batch mode detection problem for postgresql with non standard install dir
Eric Bollengier [Fri, 18 Jun 2010 08:18:12 +0000 (10:18 +0200)]
fix #1595 about batch mode detection problem for postgresql with non standard install dir

13 years agoAdd TestName to gdb traceback
Kern Sibbald [Fri, 18 Jun 2010 11:50:28 +0000 (13:50 +0200)]
Add TestName to gdb traceback

13 years agoFix accurate code
Eric Bollengier [Fri, 18 Jun 2010 07:02:34 +0000 (09:02 +0200)]
Fix accurate code

13 years agoupdate configure
Eric Bollengier [Thu, 17 Jun 2010 15:34:40 +0000 (17:34 +0200)]
update configure

13 years agoRemove bdb from configure
Eric Bollengier [Thu, 17 Jun 2010 15:33:19 +0000 (17:33 +0200)]
Remove bdb from configure

13 years agoregress: add new tests
Eric Bollengier [Thu, 17 Jun 2010 13:16:47 +0000 (15:16 +0200)]
regress: add new tests

13 years agomake new update tables executable
Kern Sibbald [Wed, 16 Jun 2010 19:21:09 +0000 (21:21 +0200)]
make new update tables executable

13 years agoImprove the "update stats" sql command
Eric Bollengier [Wed, 16 Jun 2010 12:48:48 +0000 (14:48 +0200)]
Improve the "update stats" sql command

13 years agoImprove performance for MySQL with update stats command
Eric Bollengier [Wed, 16 Jun 2010 09:35:18 +0000 (11:35 +0200)]
Improve performance for MySQL with update stats command

13 years agocleanup sql queries
Eric Bollengier [Tue, 15 Jun 2010 17:03:35 +0000 (19:03 +0200)]
cleanup sql queries

13 years agoTweak update .gitignore src/win32/dll
Kern Sibbald [Tue, 15 Jun 2010 10:00:01 +0000 (12:00 +0200)]
Tweak update .gitignore src/win32/dll

13 years agoFix Makefile and build problems
Kern Sibbald [Wed, 16 Jun 2010 18:19:52 +0000 (20:19 +0200)]
Fix Makefile and build problems

13 years agoFix #1594 about prune copy jobs
Eric Bollengier [Mon, 14 Jun 2010 11:36:53 +0000 (13:36 +0200)]
Fix #1594 about prune copy jobs

13 years agoregress: add bperl alias and update functions.pm
Eric Bollengier [Mon, 14 Jun 2010 07:15:34 +0000 (09:15 +0200)]
regress: add bperl alias and update functions.pm

13 years agoFix restore object compression flag -- James
Kern Sibbald [Mon, 14 Jun 2010 06:34:02 +0000 (08:34 +0200)]
Fix restore object compression flag -- James

13 years agoAdd new upgrade script from DB vers 12 to 13
Kern Sibbald [Fri, 11 Jun 2010 20:39:57 +0000 (22:39 +0200)]
Add new upgrade script from DB vers 12 to 13

13 years agoCorrect copy/paste typos
Kern Sibbald [Fri, 11 Jun 2010 15:32:32 +0000 (17:32 +0200)]
Correct copy/paste typos

13 years agoUpdate version
Kern Sibbald [Fri, 11 Jun 2010 14:29:27 +0000 (16:29 +0200)]
Update version

13 years agoTweak update configure
Kern Sibbald [Fri, 11 Jun 2010 14:29:16 +0000 (16:29 +0200)]
Tweak update configure

13 years agoUpdate .gitignore for new updatedb files
Kern Sibbald [Fri, 11 Jun 2010 14:28:29 +0000 (16:28 +0200)]
Update .gitignore for new updatedb files

13 years agoAdd BDB_VERSION for scripts + prepare update 11 to 12 + automate BDB_VERSION checking
Kern Sibbald [Fri, 11 Jun 2010 14:27:29 +0000 (16:27 +0200)]
Add BDB_VERSION for scripts + prepare update 11 to 12 + automate BDB_VERSION checking

13 years agoTweak update version and date
Kern Sibbald [Wed, 9 Jun 2010 08:00:56 +0000 (10:00 +0200)]
Tweak update version and date

13 years agoAdd first cut Volume names to disk-changer
Kern Sibbald [Wed, 9 Jun 2010 06:56:17 +0000 (08:56 +0200)]
Add first cut Volume names to disk-changer

13 years agoApply literal string fix in printf submitted by Luca Berra
Kern Sibbald [Mon, 7 Jun 2010 20:04:07 +0000 (22:04 +0200)]
Apply literal string fix in printf submitted by Luca Berra

13 years agoupdate configure
Marco van Wieringen [Sat, 5 Jun 2010 17:46:55 +0000 (19:46 +0200)]
update configure

13 years agoDrop 2 unneeded AC_DEFINE statements from configure.in for AFS.
Marco van Wieringen [Sat, 5 Jun 2010 17:45:22 +0000 (19:45 +0200)]
Drop 2 unneeded AC_DEFINE statements from configure.in for AFS.

13 years agoregress: fix typo
Eric Bollengier [Sat, 5 Jun 2010 09:07:24 +0000 (11:07 +0200)]
regress: fix typo

13 years agoregress: fix multi2-storage-test
Eric Bollengier [Thu, 3 Jun 2010 14:25:42 +0000 (16:25 +0200)]
regress: fix multi2-storage-test

13 years agoFix bug #1582 Restore from multiple storage daemons breaks subsequent backups
Kern Sibbald [Thu, 3 Jun 2010 12:20:03 +0000 (14:20 +0200)]
Fix bug #1582 Restore from multiple storage daemons breaks subsequent backups

13 years agoFix segfault on "cancel jobid=" command
Eric Bollengier [Tue, 1 Jun 2010 20:50:17 +0000 (22:50 +0200)]
Fix segfault on "cancel jobid=" command

13 years agoCreate table with jobids as a temporary table and move the sql definition to sql_cmds...
Marco van Wieringen [Tue, 1 Jun 2010 19:23:56 +0000 (21:23 +0200)]
Create table with jobids as a temporary table and move the sql definition to sql_cmds.c. We use a default query for all databases but Ingres.

13 years agoupdate version
Eric Bollengier [Tue, 1 Jun 2010 12:58:09 +0000 (14:58 +0200)]
update version

13 years agoUpdate makefiles for new libtool revision
Eric Bollengier [Tue, 1 Jun 2010 12:46:57 +0000 (14:46 +0200)]
Update makefiles for new libtool revision

13 years agoupdate configure
Eric Bollengier [Tue, 1 Jun 2010 12:46:32 +0000 (14:46 +0200)]
update configure

13 years agoSimplify libtool revision and use VERSION as default
Eric Bollengier [Tue, 1 Jun 2010 12:46:19 +0000 (14:46 +0200)]
Simplify libtool revision and use VERSION as default

13 years agoSimplify libtool revision
Eric Bollengier [Tue, 1 Jun 2010 12:45:59 +0000 (14:45 +0200)]
Simplify libtool revision

13 years agoFix typo in message.c
Eric Bollengier [Tue, 1 Jun 2010 12:42:59 +0000 (14:42 +0200)]
Fix typo in message.c

13 years agoregress: tweak multi2-storage-test
Eric Bollengier [Tue, 1 Jun 2010 12:40:36 +0000 (14:40 +0200)]
regress: tweak multi2-storage-test

13 years agoConvert all Jmsg on the watchdog thread to Qmsg
Eric Bollengier [Fri, 28 May 2010 11:37:58 +0000 (13:37 +0200)]
Convert all Jmsg on the watchdog thread to Qmsg

13 years agoDon't set socket buffer size unless explicite set by users. Suggested change from...
Kern Sibbald [Sun, 30 May 2010 13:35:39 +0000 (15:35 +0200)]
Don't set socket buffer size unless explicite set by users. Suggested change from bug #1493

13 years agoFix bug #1554 Windows installer doesn't honor /S flag
Kern Sibbald [Sun, 30 May 2010 10:06:58 +0000 (12:06 +0200)]
Fix bug #1554 Windows installer doesn't honor /S flag

13 years agoFix typo reported in bug #1585
Kern Sibbald [Sun, 30 May 2010 09:18:54 +0000 (11:18 +0200)]
Fix typo reported in bug #1585

13 years agoAdd z (size_t) prefix to bsnprintf
Kern Sibbald [Sat, 29 May 2010 18:39:20 +0000 (20:39 +0200)]
Add z (size_t) prefix to bsnprintf

13 years agoTweak: use C++ rather than C and use Bacula indenting standards
Kern Sibbald [Sat, 29 May 2010 15:42:58 +0000 (17:42 +0200)]
Tweak: use C++ rather than C and use Bacula indenting standards

13 years agoFix #1571 and install libraries with 755 perms
Eric Bollengier [Fri, 28 May 2010 07:15:24 +0000 (09:15 +0200)]
Fix #1571 and install libraries with 755 perms

13 years agoFix bug #1581 ASSERTs in src/dird/jobq.c can never trigger
Kern Sibbald [Thu, 27 May 2010 20:41:12 +0000 (22:41 +0200)]
Fix bug #1581 ASSERTs in src/dird/jobq.c can never trigger

13 years agoRemoved workaround for bug in Ingres with insert into tables with sequences from...
Marco van Wieringen [Thu, 27 May 2010 19:29:10 +0000 (21:29 +0200)]
Removed workaround for bug in Ingres with insert into tables with sequences from the batch insert temporary table. Added comment to the Ingres make table script to document the bug numbers which should be fixed in the Ingres version to be able to run batch inserts and currently known patch numbers for Solaris x86 and Linux x86_64.

13 years agoregress: test when a multi-storage restore needs to wait for a busy drive
Eric Bollengier [Thu, 27 May 2010 13:31:55 +0000 (15:31 +0200)]
regress: test when a multi-storage restore needs to wait for a busy drive

13 years agoregress: tweak multi2-storage-test
Eric Bollengier [Thu, 27 May 2010 13:16:15 +0000 (15:16 +0200)]
regress: tweak multi2-storage-test

13 years agoregress: Reproduce #1582 about multiple devices restore
Eric Bollengier [Thu, 27 May 2010 12:50:54 +0000 (14:50 +0200)]
regress: Reproduce #1582 about multiple devices restore

13 years agoFix segfault in action on purge test
Eric Bollengier [Tue, 25 May 2010 20:11:19 +0000 (22:11 +0200)]
Fix segfault in action on purge test