]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
11 years agoFix bad character in cats/sql_cmds.c
Kern Sibbald [Sun, 30 Jan 2011 16:08:49 +0000 (17:08 +0100)]
Fix bad character in cats/sql_cmds.c

11 years agoRemoved old queries from sql_cmds.[ch] which are no longer referenced
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.

11 years agoFix possible core-dump as seen in regression testing
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.

11 years agoregress: tweak timing in prune-copy-test
Eric Bollengier [Tue, 1 Feb 2011 10:43:00 +0000 (11:43 +0100)]
regress: tweak timing in prune-copy-test

11 years agoTweak ident some queries
Eric Bollengier [Fri, 28 Jan 2011 14:52:36 +0000 (15:52 +0100)]
Tweak ident some queries

11 years agoEnsure that we always close the transaction in db_big_sql_query()
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()

11 years agoImplement db_big_sql_query() that uses cursor on PostgreSQL and limit memory usage...
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)

11 years agoDetect mount/junction points and ignore junctions in Windows
Eric Bollengier [Fri, 28 Jan 2011 09:50:31 +0000 (10:50 +0100)]
Detect mount/junction points and ignore junctions in Windows

11 years agoTweak rebuild configure
Kern Sibbald [Wed, 26 Jan 2011 21:41:22 +0000 (22:41 +0100)]
Tweak rebuild configure

11 years agoUpdate version and date
Kern Sibbald [Wed, 26 Jan 2011 21:40:53 +0000 (22:40 +0100)]
Update version and date

11 years agoTweak regress .conf file
Kern Sibbald [Wed, 26 Jan 2011 21:40:02 +0000 (22:40 +0100)]
Tweak regress .conf file

11 years agoAdded set_db_type function to set global debug symbol removed when
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.

11 years agoFix typo
Marco van Wieringen [Tue, 25 Jan 2011 18:27:08 +0000 (19:27 +0100)]
Fix typo

11 years agoDrop removed catalog function prototype.
Marco van Wieringen [Tue, 25 Jan 2011 18:17:18 +0000 (19:17 +0100)]
Drop removed catalog function prototype.

11 years agoFix logic inversion.
Marco van Wieringen [Tue, 25 Jan 2011 18:12:32 +0000 (19:12 +0100)]
Fix logic inversion.

11 years agoupdate configure
Eric Bollengier [Tue, 25 Jan 2011 15:23:43 +0000 (16:23 +0100)]
update configure

11 years agoAdd more ingres code
Eric Bollengier [Tue, 25 Jan 2011 15:21:35 +0000 (16:21 +0100)]
Add more ingres code

11 years agoAdapt bbatch and cats_test tool to new cats
Eric Bollengier [Tue, 25 Jan 2011 14:19:16 +0000 (15:19 +0100)]
Adapt bbatch and cats_test tool to new cats

11 years agoBackport changes for Windows compiling
Marco van Wieringen [Tue, 18 Jan 2011 13:46:29 +0000 (14:46 +0100)]
Backport changes for Windows compiling

11 years agoBackport one more patch into master from class based catalog backend code.
Marco van Wieringen [Tue, 18 Jan 2011 13:25:32 +0000 (14:25 +0100)]
Backport one more patch into master from class based catalog backend code.

11 years agoBackport of class based catalog backends into Branch-5.1.
Marco van Wieringen [Tue, 18 Jan 2011 13:10:14 +0000 (14:10 +0100)]
Backport of class based catalog backends into Branch-5.1.

11 years agoTweak add beefsteak files
Kern Sibbald [Tue, 25 Jan 2011 11:13:27 +0000 (12:13 +0100)]
Tweak add beefsteak files

11 years agoTweak Makefile for cats_test
Eric Bollengier [Tue, 25 Jan 2011 08:46:08 +0000 (09:46 +0100)]
Tweak Makefile for cats_test

11 years agoFix #1684 Use --with-db-password option in grant_bacula_privileges scripts
Eric Bollengier [Tue, 25 Jan 2011 08:34:23 +0000 (09:34 +0100)]
Fix #1684 Use --with-db-password option in grant_bacula_privileges scripts

11 years agoTweak up build concurrency
Kern Sibbald [Mon, 24 Jan 2011 19:48:06 +0000 (20:48 +0100)]
Tweak up build concurrency

11 years agoTweak update date and version
Kern Sibbald [Mon, 24 Jan 2011 19:31:35 +0000 (20:31 +0100)]
Tweak update date and version

11 years agoTweak bacula-ctl scripts for valgrind
Kern Sibbald [Sat, 22 Jan 2011 17:00:06 +0000 (18:00 +0100)]
Tweak bacula-ctl scripts for valgrind

11 years agoTweak tree.c debugging
Kern Sibbald [Sat, 22 Jan 2011 19:29:56 +0000 (20:29 +0100)]
Tweak tree.c debugging

11 years agoFree unused pool memory after restore
Kern Sibbald [Sun, 23 Jan 2011 11:01:49 +0000 (12:01 +0100)]
Free unused pool memory after restore

11 years agoAdd pool memory debug output
Kern Sibbald [Sun, 23 Jan 2011 11:02:04 +0000 (12:02 +0100)]
Add pool memory debug output

11 years agoFix build of Windows bat -- Qt depends on libgcc_s_dw2-1.dll
Kern Sibbald [Thu, 13 Jan 2011 19:14:32 +0000 (20:14 +0100)]
Fix build of Windows bat -- Qt depends on libgcc_s_dw2-1.dll

11 years agoFix typo in buffer sizes off by factor of 10
Kern Sibbald [Mon, 24 Jan 2011 16:53:40 +0000 (17:53 +0100)]
Fix typo in buffer sizes off by factor of 10

11 years agoChange accurate CurFile allocation size
Eric Bollengier [Sun, 23 Jan 2011 16:23:13 +0000 (17:23 +0100)]
Change accurate CurFile allocation size

The given length counts already the 3 \0

11 years agoTweak accurate code to avoid useless memcpy()
Eric Bollengier [Sun, 23 Jan 2011 16:01:33 +0000 (17:01 +0100)]
Tweak accurate code to avoid useless memcpy()

11 years agoregress: tweak speed-test
Eric Bollengier [Sat, 22 Jan 2011 15:02:28 +0000 (16:02 +0100)]
regress: tweak speed-test

11 years agoAdd more tests on cats_test
Eric Bollengier [Wed, 19 Jan 2011 18:16:23 +0000 (19:16 +0100)]
Add more tests on cats_test

11 years agoAdd cats_test unit tests
Eric Bollengier [Wed, 19 Jan 2011 17:25:10 +0000 (18:25 +0100)]
Add cats_test unit tests

11 years agoTweak TODO
Eric Bollengier [Wed, 19 Jan 2011 17:24:42 +0000 (18:24 +0100)]
Tweak TODO

11 years agoFix typo in maxtime-test
Kern Sibbald [Tue, 18 Jan 2011 17:05:59 +0000 (18:05 +0100)]
Fix typo in maxtime-test

11 years agoregress: fix maxtime-test
Eric Bollengier [Tue, 18 Jan 2011 16:24:48 +0000 (17:24 +0100)]
regress: fix maxtime-test

11 years agoFix #1685 about JobBytes counter when using Accurate/BaseJobs with checksum
Eric Bollengier [Sat, 15 Jan 2011 14:21:35 +0000 (15:21 +0100)]
Fix #1685 about JobBytes counter when using Accurate/BaseJobs with checksum

11 years agoregress: test script with spaces
Eric Bollengier [Tue, 11 Jan 2011 14:32:41 +0000 (15:32 +0100)]
regress: test script with spaces

11 years agoIgnore replace=xx for directories. Corrects (not total solution) ticket 2317 and...
Kern Sibbald [Wed, 12 Jan 2011 17:49:37 +0000 (18:49 +0100)]
Ignore replace=xx for directories. Corrects (not total solution) ticket 2317 and bug #1444

11 years agoAdd restore replace=never test ticket 2317
Kern Sibbald [Wed, 12 Jan 2011 14:14:08 +0000 (15:14 +0100)]
Add restore replace=never test ticket 2317

11 years agoAdd replace=xxx on restore command line
Kern Sibbald [Wed, 12 Jan 2011 14:13:16 +0000 (15:13 +0100)]
Add replace=xxx on restore command line

11 years agoAdd restore_job= option to restore command
Eric Bollengier [Mon, 10 Jan 2011 15:24:58 +0000 (16:24 +0100)]
Add restore_job= option to restore command

11 years agoTweak Windows tray monitor build
Kern Sibbald [Sat, 8 Jan 2011 18:37:15 +0000 (19:37 +0100)]
Tweak Windows tray monitor build

11 years agoTweak qt-console .pro.in files
Kern Sibbald [Fri, 7 Jan 2011 20:42:39 +0000 (21:42 +0100)]
Tweak qt-console .pro.in files

11 years agoTweak date format in tray monitor
Eric Bollengier [Fri, 7 Jan 2011 17:40:35 +0000 (18:40 +0100)]
Tweak date format in tray monitor

11 years agoAdd windows tray monitor to bat make-win32 script
Eric Bollengier [Thu, 6 Jan 2011 17:39:56 +0000 (18:39 +0100)]
Add windows tray monitor to bat make-win32 script

11 years agoAdapt traymonitor qmake project file for win32
Eric Bollengier [Thu, 6 Jan 2011 17:36:33 +0000 (18:36 +0100)]
Adapt traymonitor qmake project file for win32

11 years agoAdd cross-win32 target to qmake template
Eric Bollengier [Thu, 6 Jan 2011 17:33:55 +0000 (18:33 +0100)]
Add cross-win32 target to qmake template

11 years agoAdd new QT traymonitor
Eric Bollengier [Thu, 6 Jan 2011 15:54:34 +0000 (16:54 +0100)]
Add new QT traymonitor

11 years agoAdd qt traymonitor files to configure.in
Eric Bollengier [Thu, 6 Jan 2011 15:40:53 +0000 (16:40 +0100)]
Add qt traymonitor files to configure.in

11 years agoAdd transparent icon with tape
Eric Bollengier [Thu, 6 Jan 2011 15:39:40 +0000 (16:39 +0100)]
Add transparent icon with tape

11 years agoFix #1661 about verify differences with VERIFY_VOLUME_TO_CATALOG
Martin Simmons [Wed, 5 Jan 2011 09:19:22 +0000 (10:19 +0100)]
Fix #1661 about verify differences with VERIFY_VOLUME_TO_CATALOG

In L_VERIFY_VOLUME_TO_CATALOG, it needs to check every FileIndex to ensure
that the catalog is in the same order as the volume.  That also correctly
handles duplicate names, which have different values for FileIndex.

This bug was introduced when fixing #1524

11 years agotweak year in copyright model
Eric Bollengier [Mon, 3 Jan 2011 18:05:33 +0000 (19:05 +0100)]
tweak year in copyright model

11 years agoRemove tray-monitor from Win32 build
Kern Sibbald [Sun, 2 Jan 2011 10:13:51 +0000 (11:13 +0100)]
Remove tray-monitor from Win32 build

11 years agoFix some double Win32 #ifdefs
Kern Sibbald [Sun, 2 Jan 2011 10:13:34 +0000 (11:13 +0100)]
Fix some double Win32 #ifdefs

11 years agoFix missing HAVE_LITTLE_ENDIAN for Win32 build
Kern Sibbald [Sun, 2 Jan 2011 10:12:59 +0000 (11:12 +0100)]
Fix missing HAVE_LITTLE_ENDIAN for Win32 build

11 years agoAdd helpers to add drives in VSS snapshot from plugins
Eric Bollengier [Thu, 30 Dec 2010 17:46:46 +0000 (18:46 +0100)]
Add helpers to add drives in VSS snapshot from plugins

11 years agoMake new crc32.c work on FreeBSD
Martin Simmons [Thu, 30 Dec 2010 17:37:44 +0000 (18:37 +0100)]
Make new crc32.c work on FreeBSD

This patch is needed to make bcrc32 work on systems which don't define
__LITTLE_ENDIAN, like FreeBSD.

11 years agoFixes some problems in update_sqlite3_tables.in
Martin Simmons [Thu, 30 Dec 2010 17:35:04 +0000 (18:35 +0100)]
Fixes some problems in update_sqlite3_tables.in

1) The variable should be DBVERSION.
2) Undo a typo in the database name argument.
3) Put END on its own line to make it work on FreeBSD (non bash?).

11 years agoHandle all FD version in check_bacula
Eric Bollengier [Wed, 29 Dec 2010 08:41:34 +0000 (09:41 +0100)]
Handle all FD version in check_bacula

11 years agoFix compilation warning in check_bacula
Eric Bollengier [Wed, 29 Dec 2010 08:41:09 +0000 (09:41 +0100)]
Fix compilation warning in check_bacula

11 years agoMake new bat progress view compatible with previous FD
Eric Bollengier [Tue, 21 Dec 2010 12:07:38 +0000 (13:07 +0100)]
Make new bat progress view compatible with previous FD

11 years agoKeep the same keywords as in previous version
Eric Bollengier [Tue, 21 Dec 2010 12:06:20 +0000 (13:06 +0100)]
Keep the same keywords as in previous version

11 years agoModify Job view to follow backup progress in real-time
Eric Bollengier [Mon, 20 Dec 2010 20:57:07 +0000 (21:57 +0100)]
Modify Job view to follow backup progress in real-time

11 years agoUpdate ".status client running" output for new Bat screen
Eric Bollengier [Mon, 20 Dec 2010 20:55:40 +0000 (21:55 +0100)]
Update ".status client running" output for new Bat screen

11 years agoEnsure that Job duration is not negative
Kern Sibbald [Sat, 25 Dec 2010 12:56:58 +0000 (13:56 +0100)]
Ensure that Job duration is not negative

11 years agoAdd Slot to Media View table
Kern Sibbald [Sat, 25 Dec 2010 12:41:01 +0000 (13:41 +0100)]
Add Slot to Media View table

11 years agoFix compiler warning.
Marco van Wieringen [Mon, 20 Dec 2010 08:21:38 +0000 (09:21 +0100)]
Fix compiler warning.

11 years agoFix typo
Marco van Wieringen [Mon, 20 Dec 2010 08:16:19 +0000 (09:16 +0100)]
Fix typo

11 years agoSet proper status of autochanger slots with 0 on startup -- no volume rather than...
Kern Sibbald [Sun, 19 Dec 2010 08:36:30 +0000 (09:36 +0100)]
Set proper status of autochanger slots with 0 on startup -- no volume rather than unknown

11 years agoregress: Add test having fileset without md5
Eric Bollengier [Mon, 13 Dec 2010 14:17:41 +0000 (15:17 +0100)]
regress: Add test having fileset without md5

11 years agoregress: Add get_traces and truncate_traces to regress-win32.pl
Eric Bollengier [Mon, 13 Dec 2010 20:21:38 +0000 (21:21 +0100)]
regress: Add get_traces and truncate_traces to regress-win32.pl

11 years agoregress: avoid dash for setup_win32 script
Eric Bollengier [Tue, 14 Dec 2010 07:37:05 +0000 (08:37 +0100)]
regress: avoid dash for setup_win32 script

11 years agoAdd indentation in lsmark command output
Kern Sibbald [Tue, 14 Dec 2010 10:58:42 +0000 (11:58 +0100)]
Add indentation in lsmark command output

11 years agoregress: fix prune-base-job-test on slow systems
Eric Bollengier [Fri, 17 Dec 2010 14:12:02 +0000 (15:12 +0100)]
regress: fix prune-base-job-test on slow systems

11 years agoChange SELECT count(*) to SELECT 1 .. LIMIT 1 to speed up PostgreSQL and Innodb in...
Eric Bollengier [Fri, 17 Dec 2010 14:03:38 +0000 (15:03 +0100)]
Change SELECT count(*) to SELECT 1 .. LIMIT 1 to speed up PostgreSQL and Innodb in is_volume_purged()

11 years agoFix #define when using --disable-smartalloc
Eric Bollengier [Wed, 1 Dec 2010 13:47:25 +0000 (14:47 +0100)]
Fix #define when using --disable-smartalloc

11 years agoTrack unbalanced start/end plugin stream
Eric Bollengier [Fri, 17 Dec 2010 14:26:19 +0000 (15:26 +0100)]
Track unbalanced start/end plugin stream

11 years agoregress: ensure to leave the script when the reload command is ok
Eric Bollengier [Wed, 8 Dec 2010 10:03:32 +0000 (11:03 +0100)]
regress: ensure to leave the script when the reload command is ok

11 years agoregress: tweak typo in update_win32 function
Eric Bollengier [Thu, 16 Dec 2010 09:25:58 +0000 (10:25 +0100)]
regress: tweak typo in update_win32 function

11 years agoregress: update regress-win32.pl
Eric Bollengier [Fri, 17 Dec 2010 14:20:39 +0000 (15:20 +0100)]
regress: update regress-win32.pl

 - Add reload command
 - Add /install command to update file daemon
 - Add scheduled task check to full-systemstate test

11 years agoTry to bug where we stop reading before the plugin end is returned
Kern Sibbald [Sun, 12 Dec 2010 22:29:23 +0000 (23:29 +0100)]
Try to bug where we stop reading before the plugin end is returned

11 years agoFix end plugin stream index
Kern Sibbald [Sun, 12 Dec 2010 09:28:18 +0000 (10:28 +0100)]
Fix end plugin stream index

11 years agoregress: Turn on accurate in SS_SQLJob
Eric Bollengier [Wed, 8 Dec 2010 09:11:26 +0000 (10:11 +0100)]
regress: Turn on accurate in SS_SQLJob

11 years agoregress: Add test that mixes mssql and systemstate
Eric Bollengier [Wed, 8 Dec 2010 08:55:42 +0000 (09:55 +0100)]
regress: Add test that mixes mssql and systemstate

11 years agoregress: Add ./scripts/setup_win32
Eric Bollengier [Tue, 7 Dec 2010 16:25:24 +0000 (17:25 +0100)]
regress: Add ./scripts/setup_win32

 - change director name
 - restart the regress-win32 script
 - set auto_logon
 - update version

11 years agoregress: tweak regress-win32 output
Eric Bollengier [Tue, 7 Dec 2010 16:22:34 +0000 (17:22 +0100)]
regress: tweak regress-win32 output

11 years agoregress: tweak the message in the update_win32()
Eric Bollengier [Tue, 7 Dec 2010 16:12:07 +0000 (17:12 +0100)]
regress: tweak the message in the update_win32()

11 years agoregress: Add update_win32 function to win32-fd-test
Eric Bollengier [Tue, 7 Dec 2010 09:20:57 +0000 (10:20 +0100)]
regress: Add update_win32 function to win32-fd-test

11 years agotweak debug level in fd_plugin
Eric Bollengier [Mon, 6 Dec 2010 13:42:42 +0000 (14:42 +0100)]
tweak debug level in fd_plugin

11 years agoregress: use variable for catalog definition in system state test
Eric Bollengier [Mon, 6 Dec 2010 11:07:29 +0000 (12:07 +0100)]
regress: use variable for catalog definition in system state test

11 years agoregress: Add more complex systemstate test with full restore
Eric Bollengier [Mon, 6 Dec 2010 08:38:14 +0000 (09:38 +0100)]
regress: Add more complex systemstate test with full restore

11 years agoAdd missing switch values although the code works this is cleaner.
Marco van Wieringen [Thu, 16 Dec 2010 18:48:11 +0000 (19:48 +0100)]
Add missing switch values although the code works this is cleaner.
Give better error when trying to restore a particular type of acl on
a filesystem without support for those types of acls.

11 years agoAdded support for NFSv4 ACLs added to FreeBSD 8.1.
Marco van Wieringen [Wed, 15 Dec 2010 16:42:33 +0000 (17:42 +0100)]
Added support for NFSv4 ACLs added to FreeBSD 8.1.
Some small updates to some comments of other ACL implementations.

11 years agoAdded additional extended attributes used under FreeBSD for the storage of ACLs.
Marco van Wieringen [Wed, 15 Dec 2010 14:27:25 +0000 (15:27 +0100)]
Added additional extended attributes used under FreeBSD for the storage of ACLs.

11 years agoregress: add bwatch
Kern Sibbald [Tue, 14 Dec 2010 21:32:17 +0000 (22:32 +0100)]
regress: add bwatch