]>
git.sur5r.net Git - bacula/bacula/log
Kern Sibbald [Thu, 24 Feb 2011 16:22:44 +0000 (17:22 +0100)]
Fix week of year schduling bug #1699
Kern Sibbald [Thu, 24 Feb 2011 12:12:27 +0000 (13:12 +0100)]
Comment out unused variables in tray-monitor
Kern Sibbald [Thu, 24 Feb 2011 12:12:02 +0000 (13:12 +0100)]
Fix uninitialized variable in bat
Kern Sibbald [Thu, 24 Feb 2011 11:56:22 +0000 (12:56 +0100)]
Fix lock race conditions in bug #1675
Kern Sibbald [Thu, 24 Feb 2011 06:52:45 +0000 (07:52 +0100)]
Add missing code for rename incomplete to rerunning
Kern Sibbald [Thu, 24 Feb 2011 06:51:16 +0000 (07:51 +0100)]
Rename incomplete to rerunning for clarity
Kern Sibbald [Wed, 23 Feb 2011 20:51:42 +0000 (21:51 +0100)]
Fix bug #1700 no timestamp with -dt on Windows
Kern Sibbald [Wed, 23 Feb 2011 12:39:18 +0000 (13:39 +0100)]
Use jcr->setJobStatus() in favor of set_jcr_job_status(jcr...)
Kern Sibbald [Wed, 23 Feb 2011 11:18:51 +0000 (12:18 +0100)]
replace set_Jobxxx by setJobxxx
Kern Sibbald [Tue, 22 Feb 2011 16:47:20 +0000 (17:47 +0100)]
Tweak accurate_finish
Kern Sibbald [Tue, 22 Feb 2011 11:39:53 +0000 (12:39 +0100)]
Tweak Incomplete jobs in accurate_finish
Kern Sibbald [Mon, 21 Feb 2011 18:12:33 +0000 (19:12 +0100)]
Add more debug to restart regress scripts
Eric Bollengier [Mon, 21 Feb 2011 17:52:10 +0000 (18:52 +0100)]
Add stack_trace() function to print current thread backtrace
Eric Bollengier [Mon, 21 Feb 2011 17:51:39 +0000 (18:51 +0100)]
Add HAVE_BACKTRACE in configure.in
Kern Sibbald [Mon, 21 Feb 2011 17:28:42 +0000 (18:28 +0100)]
Tweak restart incomplete jobs
Eric Bollengier [Mon, 21 Feb 2011 14:50:49 +0000 (15:50 +0100)]
regress: tweak restart base job
Eric Bollengier [Mon, 21 Feb 2011 14:41:01 +0000 (15:41 +0100)]
regress: fix add_attribute() function in perl lib
Eric Bollengier [Mon, 21 Feb 2011 14:14:54 +0000 (15:14 +0100)]
regress: tweak restart base job
Eric Bollengier [Mon, 21 Feb 2011 12:37:44 +0000 (13:37 +0100)]
regress: show problem in restart-accurate test
Eric Bollengier [Wed, 16 Feb 2011 13:06:13 +0000 (14:06 +0100)]
Add %h option in runscript to get client address
Kern Sibbald [Mon, 21 Feb 2011 11:06:15 +0000 (12:06 +0100)]
Add new restart regression tests from master
Kern Sibbald [Mon, 21 Feb 2011 10:59:15 +0000 (11:59 +0100)]
Tweak restart base
Kern Sibbald [Mon, 21 Feb 2011 10:30:57 +0000 (11:30 +0100)]
Rework Incomplete job intereaction with Base and Accurate
Kern Sibbald [Mon, 21 Feb 2011 08:16:30 +0000 (09:16 +0100)]
Fix seg fault during cancel in SD
Kern Sibbald [Sun, 20 Feb 2011 14:39:14 +0000 (15:39 +0100)]
Restart incomplete jobs only if type Backup
Kern Sibbald [Sat, 19 Feb 2011 18:06:17 +0000 (19:06 +0100)]
Discard old messages in beginning of maxtime-test
Kern Sibbald [Sat, 19 Feb 2011 17:14:29 +0000 (18:14 +0100)]
Make restart2-test work
Eric Bollengier [Fri, 18 Feb 2011 08:11:14 +0000 (09:11 +0100)]
Fix #1696 about an error when displaying "Base" level keyword.
Kern Sibbald [Mon, 14 Feb 2011 17:29:30 +0000 (18:29 +0100)]
Simplify restart regress because of one-shot hangup
Kern Sibbald [Mon, 14 Feb 2011 17:29:07 +0000 (18:29 +0100)]
Make hangup single shot
Kern Sibbald [Mon, 14 Feb 2011 17:23:46 +0000 (18:23 +0100)]
Put resched Incomplete Job on directive default=on
Eric Bollengier [Mon, 14 Feb 2011 14:38:19 +0000 (15:38 +0100)]
Fix #1695 about bacula-sd crash in detach_dcr_from_dev()
Kern Sibbald [Thu, 10 Feb 2011 21:13:07 +0000 (22:13 +0100)]
Use max(FileIndex) for restarting incomplete Job
Marco van Wieringen [Thu, 10 Feb 2011 15:06:16 +0000 (16:06 +0100)]
Tweak sql_cmds, remove unreferenced sql and reformat a sql query.
Kern Sibbald [Thu, 10 Feb 2011 12:55:51 +0000 (13:55 +0100)]
First cut restart Jobs
Marco van Wieringen [Wed, 9 Feb 2011 10:27:40 +0000 (11:27 +0100)]
Fix typo
Eric Bollengier [Tue, 8 Feb 2011 16:25:14 +0000 (17:25 +0100)]
Rename ua->err to ua->errmsg
Marco van Wieringen [Mon, 7 Feb 2011 20:54:05 +0000 (21:54 +0100)]
B_DB is a class now not a struct lets fix the include files.
Eric Bollengier [Mon, 7 Feb 2011 18:04:47 +0000 (19:04 +0100)]
Check some user inputs in purge and restore commands
Eric Bollengier [Mon, 7 Feb 2011 17:15:57 +0000 (18:15 +0100)]
Check if resource name is valid in acl_access_ok()
Eric Bollengier [Mon, 7 Feb 2011 16:49:50 +0000 (17:49 +0100)]
Avoid extra strlen() in is_name_valid()
Eric Bollengier [Mon, 7 Feb 2011 16:55:41 +0000 (17:55 +0100)]
regress: fix setup with new MAKEOPT argument
make "" gives me:
make: *** empty string invalid as file name. Stop.
Eric Bollengier [Mon, 7 Feb 2011 15:04:41 +0000 (16:04 +0100)]
regress: tweak prune-migration-test
Eric Bollengier [Mon, 7 Feb 2011 15:03:12 +0000 (16:03 +0100)]
regress: Add more debug in prune-migration-test
Kern Sibbald [Mon, 7 Feb 2011 14:01:09 +0000 (15:01 +0100)]
Add negative numbers to bsscanf
Kern Sibbald [Mon, 7 Feb 2011 09:18:07 +0000 (10:18 +0100)]
Apply get_basename to printed filenames to reduce unnecessarily long paths
Marco van Wieringen [Sun, 6 Feb 2011 19:58:04 +0000 (20:58 +0100)]
Fix typo
Marco van Wieringen [Sun, 6 Feb 2011 18:59:43 +0000 (19:59 +0100)]
Tweak layout and remove double cats.h include.
Kern Sibbald [Sun, 6 Feb 2011 17:07:43 +0000 (18:07 +0100)]
Add MAKEOPT to conf for regression
Eric Bollengier [Sun, 6 Feb 2011 10:46:17 +0000 (11:46 +0100)]
Fix double query in db_list_basefiles()
Eric Bollengier [Sun, 6 Feb 2011 08:36:57 +0000 (09:36 +0100)]
Fix chgrp on bacula-x.conf
Eric Bollengier [Sun, 6 Feb 2011 08:21:44 +0000 (09:21 +0100)]
Allow using sql_fetch_field() in db_sql_query() callback for SQLite
Eric Bollengier [Sat, 5 Feb 2011 19:40:32 +0000 (20:40 +0100)]
Use old list_result() in db_list_xxx for good formating
Kern Sibbald [Fri, 4 Feb 2011 16:05:20 +0000 (17:05 +0100)]
Increase Windows backup/restore privileges possible fix to Virtual Disk ticket
Eric Bollengier [Sat, 5 Feb 2011 10:30:39 +0000 (11:30 +0100)]
Use db_escape_string() in all db_xxx functions
Kern Sibbald [Sat, 5 Feb 2011 13:28:22 +0000 (14:28 +0100)]
Pull src/lib/Makefile.in from master
Marco van Wieringen [Thu, 3 Feb 2011 20:25:19 +0000 (21:25 +0100)]
Add configure magic for detecting getpagesize
Marco van Wieringen [Thu, 3 Feb 2011 20:07:38 +0000 (21:07 +0100)]
Implement mntent_cache on top of the new htable code using a small htable big buffer of 128 Kb to start with.
Marco van Wieringen [Thu, 3 Feb 2011 19:56:41 +0000 (20:56 +0100)]
Added support to htable for giving a hint on the number of pages to allocate for the buffer used for hash_mallocs so we can have htables without the previous default of 10 Mb.
Kern Sibbald [Sat, 5 Feb 2011 13:08:20 +0000 (14:08 +0100)]
Implement chgrp on bacula-x.conf if user configs a Dir/SD/FD group
Kern Sibbald [Sat, 5 Feb 2011 12:22:21 +0000 (13:22 +0100)]
Rebuild configure
Kern Sibbald [Sat, 5 Feb 2011 12:18:53 +0000 (13:18 +0100)]
Remove old scripts no longer used
Kern Sibbald [Sat, 5 Feb 2011 11:57:15 +0000 (12:57 +0100)]
Add patch from bug #1574 for Scientific Linux spec
Kern Sibbald [Sat, 5 Feb 2011 11:28:46 +0000 (12:28 +0100)]
Apply patches from bug #1672 to clean up configuration
Eric Bollengier [Sat, 5 Feb 2011 11:01:07 +0000 (12:01 +0100)]
Tweak select_media_dbr()
Eric Bollengier [Sat, 5 Feb 2011 09:55:45 +0000 (10:55 +0100)]
Check if volume name is valid in select_media_dbr()
Marco van Wieringen [Sat, 5 Feb 2011 00:07:47 +0000 (01:07 +0100)]
Small change to exporting functions not found in include files
on some platforms. Wrap it as one extern "C" block just like its
done on most platforms in the proper include files.
Marco van Wieringen [Sat, 5 Feb 2011 00:05:36 +0000 (01:05 +0100)]
Fixed some compile errors in IRIX and TRU64 xattr code which is kind of
hard to test without a proper platform. Compiled it now using some
tricks on an other platform defining it is the given platform and
fix the compile errors that way using a fake header file.
Marco van Wieringen [Fri, 4 Feb 2011 20:53:57 +0000 (21:53 +0100)]
Tweak remove last reference to __SQL_C which is not needed anymore.
Kern Sibbald [Fri, 4 Feb 2011 15:20:15 +0000 (16:20 +0100)]
Improve bat stability by checking if page valid
Eric Bollengier [Fri, 4 Feb 2011 08:50:13 +0000 (09:50 +0100)]
Fix segfault with print_memory_pool_stats()
Marco van Wieringen [Fri, 4 Feb 2011 08:46:51 +0000 (09:46 +0100)]
Drop last SQL_INC leftovers. Due to backend abstraction there is no
need to include backend specific include files anywhere then in
the backend driver which use now per backend specific include
directives. SQL_INC is not set by configure anymore and should
not be used anymore.
Kern Sibbald [Thu, 3 Feb 2011 21:10:01 +0000 (22:10 +0100)]
Remove reference to @SQL_INC@ in tools Makefile.in
Kern Sibbald [Thu, 3 Feb 2011 16:42:30 +0000 (17:42 +0100)]
Pull in lib.h from master so new htable code compiles
Kern Sibbald [Thu, 3 Feb 2011 16:39:27 +0000 (17:39 +0100)]
Tweak date + version
Kern Sibbald [Thu, 3 Feb 2011 16:37:12 +0000 (17:37 +0100)]
Tweak .gitignores
Eric Bollengier [Thu, 3 Feb 2011 14:11:04 +0000 (15:11 +0100)]
Use C99 __VA_ARGS__ instead of GCC extention ##__VA_ARGS__
Eric Bollengier [Thu, 3 Feb 2011 13:38:06 +0000 (14:38 +0100)]
Adapt bvfs for SQLite3
Kern Sibbald [Thu, 3 Feb 2011 12:45:51 +0000 (13:45 +0100)]
Adapt htable code to 64 bit keys
Eric Bollengier [Thu, 3 Feb 2011 12:00:59 +0000 (13:00 +0100)]
Rename db_list_ctx.cat() to db_list_ctx.add()
Eric Bollengier [Thu, 3 Feb 2011 12:00:37 +0000 (13:00 +0100)]
Fix bvfs for mysql
Eric Bollengier [Tue, 1 Feb 2011 13:54:51 +0000 (14:54 +0100)]
Add simple way to add string elements to db_list_ctx
Kern Sibbald [Thu, 3 Feb 2011 11:05:24 +0000 (12:05 +0100)]
Tweak rebuild configure
Kern Sibbald [Thu, 3 Feb 2011 10:44:35 +0000 (11:44 +0100)]
Add code to trim heap after big mallocs
Eric Bollengier [Tue, 1 Feb 2011 12:39:40 +0000 (13:39 +0100)]
Close cursor in big sql query
Kern Sibbald [Sun, 30 Jan 2011 16:08:49 +0000 (17:08 +0100)]
Fix bad character in cats/sql_cmds.c
Marco van Wieringen [Mon, 31 Jan 2011 20:56:16 +0000 (21:56 +0100)]
Removed old queries from sql_cmds.[ch] which are no longer referenced
and thus polluting the namespace for no obvious reason.
Marco van Wieringen [Mon, 31 Jan 2011 12:35:18 +0000 (13:35 +0100)]
Fix possible core-dump as seen in regression testing
Thread 2 (Thread
1132489024 (LWP 21031)):
lockmgr.c:939
Dereference jcr->db after release of jcr will lead to disaster.
Eric Bollengier [Tue, 1 Feb 2011 10:43:00 +0000 (11:43 +0100)]
regress: tweak timing in prune-copy-test
Eric Bollengier [Fri, 28 Jan 2011 14:52:36 +0000 (15:52 +0100)]
Tweak ident some queries
Eric Bollengier [Fri, 28 Jan 2011 14:00:46 +0000 (15:00 +0100)]
Ensure that we always close the transaction in db_big_sql_query()
Eric Bollengier [Fri, 28 Jan 2011 13:41:55 +0000 (14:41 +0100)]
Implement db_big_sql_query() that uses cursor on PostgreSQL and limit memory usage in db_list_xxx
By default on PostgreSQL, db_sql_query() stores the query results in
memory, it can take lots of resources when dealing with job output,
accurate or restore. This new mode uses cursors and fetches results
100 by 100.
db_list_xxx functions doesn't store the entire query result anymore.
Commands like "list joblog" or "list files" are now stable in memory
usage. (for MySQL and PostgreSQL)
Eric Bollengier [Fri, 28 Jan 2011 09:50:31 +0000 (10:50 +0100)]
Detect mount/junction points and ignore junctions in Windows
Kern Sibbald [Wed, 26 Jan 2011 21:41:22 +0000 (22:41 +0100)]
Tweak rebuild configure
Kern Sibbald [Wed, 26 Jan 2011 21:40:53 +0000 (22:40 +0100)]
Update version and date
Kern Sibbald [Wed, 26 Jan 2011 21:40:02 +0000 (22:40 +0100)]
Tweak regress .conf file
Marco van Wieringen [Tue, 25 Jan 2011 20:24:38 +0000 (21:24 +0100)]
Added set_db_type function to set global debug symbol removed when
doing class based catalog backends. Coding is a bit different
as we need get_db_type which needs a bdb class so we have to
set it as part of the loop over all catalogs. This way we may
set the global variable a couple of times but the code frees
the global variable if needed so other then being somewhat overkill
no harm is done.
Marco van Wieringen [Tue, 25 Jan 2011 18:27:08 +0000 (19:27 +0100)]
Fix typo
Marco van Wieringen [Tue, 25 Jan 2011 18:17:18 +0000 (19:17 +0100)]
Drop removed catalog function prototype.
Marco van Wieringen [Tue, 25 Jan 2011 18:12:32 +0000 (19:12 +0100)]
Fix logic inversion.