]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
14 years agoUse start-stop-daemon handler to run daemons as bacula:bacula
Eric Bollengier [Wed, 6 Oct 2010 15:57:10 +0000 (17:57 +0200)]
Use start-stop-daemon handler to run daemons as bacula:bacula

When the program is started as root, and we call setuid/setgid,
we can no longer call ptrace to get some backtrace.

Using debian/ubuntu start-stop-daemon permits to run directly the
director/sd as bacula:bacula.

14 years agoOnly allocate the alist for holding the xattr when we have the first complete xattr...
Marco van Wieringen [Sat, 2 Oct 2010 08:49:35 +0000 (10:49 +0200)]
Only allocate the alist for holding the xattr when we have the first complete xattr assembled.
Changed the code path so we always walk the same cleanup path after the bail_out label so we
don't have to code every special way of exiting the function.

14 years agoFix typos.
Marco van Wieringen [Sat, 2 Oct 2010 08:18:36 +0000 (10:18 +0200)]
Fix typos.

14 years agoTweak debug messages.
Marco van Wieringen [Thu, 30 Sep 2010 13:06:06 +0000 (15:06 +0200)]
Tweak debug messages.

14 years agoReverted the change of TRU64 to OSF1 for the OS detection rules. Although Compaq...
Marco van Wieringen [Sun, 26 Sep 2010 20:27:12 +0000 (22:27 +0200)]
Reverted the change of TRU64 to OSF1 for the OS detection rules. Although Compaq/HP renamed OSF1 to TRU64 lets leave it for now.

14 years agoFix new IRIX xattr code. Be a bit smarter when freeing data and do it in the exceptio...
Marco van Wieringen [Sun, 26 Sep 2010 20:11:18 +0000 (22:11 +0200)]
Fix new IRIX xattr code. Be a bit smarter when freeing data and do it in the exception handler (e.g. after the goto label)

14 years agoFix some trivial errors and implemented the restore of IRIX xattrs.
Marco van Wieringen [Sun, 26 Sep 2010 13:55:51 +0000 (15:55 +0200)]
Fix some trivial errors and implemented the restore of IRIX xattrs.

14 years agoAdded first try at supporting IRIX extended attributes.
Marco van Wieringen [Sun, 26 Sep 2010 12:37:42 +0000 (14:37 +0200)]
Added first try at supporting IRIX extended attributes.

14 years agoTweak some extra debugging.
Marco van Wieringen [Sun, 26 Sep 2010 09:56:16 +0000 (11:56 +0200)]
Tweak some extra debugging.

14 years agoTweak TRU64 xattr code.
Marco van Wieringen [Sat, 25 Sep 2010 19:49:03 +0000 (21:49 +0200)]
Tweak TRU64 xattr code.

14 years agoTweak retry count handling
Marco van Wieringen [Sat, 25 Sep 2010 19:31:10 +0000 (21:31 +0200)]
Tweak retry count handling

14 years agoAdded configure logic for detecting the TRU64 extended attributes interface.
Marco van Wieringen [Sat, 25 Sep 2010 13:04:33 +0000 (15:04 +0200)]
Added configure logic for detecting the TRU64 extended attributes interface.
Also made the acl and xattr configure logic use the HAVE_XXX_OS_TRUE variable
which is set by BA_CHECK_OPSYS macro so we only check for a certain interface
that we know only exist on a certain platform when we are running on that platform.
This should make the configure output much cleaner.

14 years agoAdded support for TRU64 Extended Attributes interface.
Marco van Wieringen [Fri, 24 Sep 2010 19:09:56 +0000 (21:09 +0200)]
Added support for TRU64 Extended Attributes interface.

14 years agoRemove SQL lib dependency from btape
Eric Bollengier [Wed, 6 Oct 2010 09:04:20 +0000 (11:04 +0200)]
Remove SQL lib dependency from btape

14 years agoFix bad copyright in new src/lib/crc32.c
Kern Sibbald [Tue, 5 Oct 2010 12:38:53 +0000 (14:38 +0200)]
Fix bad copyright in new src/lib/crc32.c

14 years agoTweak messages from .bvfs commands
Eric Bollengier [Mon, 4 Oct 2010 16:08:01 +0000 (18:08 +0200)]
Tweak messages from .bvfs commands

14 years agobat: Add pattern filter and make restore to start from brestore
Eric Bollengier [Mon, 4 Oct 2010 15:26:38 +0000 (17:26 +0200)]
bat: Add pattern filter and make restore to start from brestore

14 years agotweak debug
Eric Bollengier [Mon, 4 Oct 2010 15:26:09 +0000 (17:26 +0200)]
tweak debug

14 years agoTweak basejobs + bvfs
Eric Bollengier [Mon, 4 Oct 2010 11:55:28 +0000 (13:55 +0200)]
Tweak basejobs + bvfs

14 years agoAdapt bvfs for BaseJobs (path is ok)
Eric Bollengier [Mon, 4 Oct 2010 10:00:27 +0000 (12:00 +0200)]
Adapt bvfs for BaseJobs (path is ok)

14 years agobat: more work on brestore panel
Eric Bollengier [Sun, 3 Oct 2010 20:51:29 +0000 (22:51 +0200)]
bat: more work on brestore panel

14 years agoAdd .bvfs_restore command
Eric Bollengier [Sun, 3 Oct 2010 20:48:03 +0000 (22:48 +0200)]
Add .bvfs_restore command

14 years agoAdd .bvfs_get_path to traduce a pathid into a path
Eric Bollengier [Sun, 3 Oct 2010 15:27:25 +0000 (17:27 +0200)]
Add .bvfs_get_path to traduce a pathid into a path

14 years agobat: Add new form to run a restore
Eric Bollengier [Sat, 2 Oct 2010 20:06:03 +0000 (22:06 +0200)]
bat: Add new form to run a restore

14 years agobat: Add restore job list in console
Eric Bollengier [Sat, 2 Oct 2010 20:05:33 +0000 (22:05 +0200)]
bat: Add restore job list in console

14 years agobat: Add restore option box for brestore
Eric Bollengier [Sat, 2 Oct 2010 16:49:20 +0000 (18:49 +0200)]
bat: Add restore option box for brestore

14 years agobat: Add runrestore.ui to bat project file
Eric Bollengier [Sat, 2 Oct 2010 16:49:01 +0000 (18:49 +0200)]
bat: Add runrestore.ui to bat project file

14 years agobat: Use current set of jobids for directories
Eric Bollengier [Sat, 2 Oct 2010 16:47:11 +0000 (18:47 +0200)]
bat: Use current set of jobids for directories

14 years agobat: fix drag&drop for new brestore screen
Eric Bollengier [Sat, 2 Oct 2010 16:37:44 +0000 (18:37 +0200)]
bat: fix drag&drop for new brestore screen

14 years agobat: Try to implement drag&drop for file selection
Eric Bollengier [Fri, 1 Oct 2010 21:26:17 +0000 (23:26 +0200)]
bat: Try to implement drag&drop for file selection

14 years agobat: Add checkbox to allow automatic fileset merging
Eric Bollengier [Fri, 1 Oct 2010 16:22:56 +0000 (18:22 +0200)]
bat: Add checkbox to allow automatic fileset merging

14 years agoAdd "all" option to .bvfs_get_jobids dot command.
Eric Bollengier [Fri, 1 Oct 2010 15:59:22 +0000 (17:59 +0200)]
Add "all" option to .bvfs_get_jobids dot command.

This option allows to know which jobs should be included
to build a virtual backup view that merges all FileSet together
with BVFS.

14 years agobat: get a simple working brestore file browser using bvfs API
Eric Bollengier [Fri, 1 Oct 2010 13:13:34 +0000 (15:13 +0200)]
bat: get a simple working brestore file browser using bvfs API

14 years agobat: Implement a Date and FileType helper in ItemFormatter
Eric Bollengier [Fri, 1 Oct 2010 13:10:58 +0000 (15:10 +0200)]
bat: Implement a Date and FileType helper in ItemFormatter

14 years agoImplement .bvfs_versions command to display all file versions for a client
Eric Bollengier [Fri, 1 Oct 2010 13:09:33 +0000 (15:09 +0200)]
Implement .bvfs_versions command to display all file versions for a client

14 years agoUpdate BVFS file versions browser
Eric Bollengier [Fri, 1 Oct 2010 13:09:21 +0000 (15:09 +0200)]
Update BVFS file versions browser

14 years agoAdd .bvfs_get_jobids to return jobids needed by a job to restore
Eric Bollengier [Fri, 1 Oct 2010 07:46:20 +0000 (09:46 +0200)]
Add .bvfs_get_jobids to return jobids needed by a job to restore

14 years agobat: Use BVFS on bRestore view
Eric Bollengier [Thu, 30 Sep 2010 21:49:17 +0000 (23:49 +0200)]
bat: Use BVFS on bRestore view

14 years agoFix #1648 about make_catalog_backup.pl with multiple catalog
Eric Bollengier [Tue, 5 Oct 2010 08:10:32 +0000 (10:10 +0200)]
Fix #1648 about make_catalog_backup.pl with multiple catalog

14 years agoRebuild configure
Kern Sibbald [Fri, 1 Oct 2010 10:07:02 +0000 (12:07 +0200)]
Rebuild configure

14 years agoFix batch insert detection for MySQL and no .a libraries
Kern Sibbald [Fri, 1 Oct 2010 10:00:39 +0000 (12:00 +0200)]
Fix batch insert detection for MySQL and no .a libraries

14 years agoFix small typo in pruning output reported by Markus Kress.
Eric Bollengier [Thu, 30 Sep 2010 13:16:31 +0000 (15:16 +0200)]
Fix small typo in pruning output reported by Markus Kress.

14 years agoFix pt_out() that can loose a message if the trace file can't be opened.
Eric Bollengier [Thu, 30 Sep 2010 12:28:33 +0000 (14:28 +0200)]
Fix pt_out() that can loose a message if the trace file can't be opened.

14 years agoCleanup BVFS cache when deleting a Job
Eric Bollengier [Tue, 28 Sep 2010 17:03:08 +0000 (19:03 +0200)]
Cleanup BVFS cache when deleting a Job

14 years agobweb: don't display general job errors when using client filter
Eric Bollengier [Sun, 26 Sep 2010 21:38:45 +0000 (23:38 +0200)]
bweb: don't display general job errors when using client filter

14 years agobweb: fix expired button in media view
Eric Bollengier [Sat, 25 Sep 2010 22:02:42 +0000 (00:02 +0200)]
bweb: fix expired button in media view

14 years agoFix typo.
Marco van Wieringen [Thu, 23 Sep 2010 15:46:50 +0000 (17:46 +0200)]
Fix typo.

14 years agoAdd missing new stream definitions.
Marco van Wieringen [Thu, 23 Sep 2010 14:31:49 +0000 (16:31 +0200)]
Add missing new stream definitions.

14 years agoAdded xattr interface found in AIX 6.x and higher which mimics the Linux/OSF interfac...
Marco van Wieringen [Thu, 23 Sep 2010 13:57:39 +0000 (15:57 +0200)]
Added xattr interface found in AIX 6.x and higher which mimics the Linux/OSF interface but has just
a bit different named functions and the error codes are somewhat different so its not a perfect
match to extend the generic interface (which is named generic now instead of the linux interface as
it used by Linux and OSX).

14 years agoAdded configure support for the AIX extended attributes interface.
Marco van Wieringen [Thu, 23 Sep 2010 12:41:01 +0000 (14:41 +0200)]
Added configure support for the AIX extended attributes interface.

14 years agoTweak configure
Marco van Wieringen [Thu, 23 Sep 2010 11:56:14 +0000 (13:56 +0200)]
Tweak configure

14 years agoAdded extra check for Solaris xattr support so we don't get false positives on other...
Marco van Wieringen [Thu, 23 Sep 2010 11:53:37 +0000 (13:53 +0200)]
Added extra check for Solaris xattr support so we don't get false positives on other os-es (AIX) etc.

14 years agoFirst compiling version of AIX 5.3 and later acl code using the new aclx_get and...
Marco van Wieringen [Wed, 22 Sep 2010 21:40:04 +0000 (23:40 +0200)]
First compiling version of AIX 5.3 and later acl code using the new aclx_get and aclx_put interface.

14 years agoAIX also supports setmntent/getmntent so use that instead of much more complicated...
Marco van Wieringen [Wed, 22 Sep 2010 18:01:16 +0000 (20:01 +0200)]
AIX also supports setmntent/getmntent so use that instead of much more complicated other interface which
is left for AIX systems that might not support the setmntent/getmntent interface.

14 years agobweb: update location title
Eric Bollengier [Wed, 22 Sep 2010 15:52:39 +0000 (17:52 +0200)]
bweb: update location title

14 years agoHandle the old stream using the old system call just to be safe for now.
Marco van Wieringen [Fri, 17 Sep 2010 11:03:05 +0000 (13:03 +0200)]
Handle the old stream using the old system call just to be safe for now.

14 years agoFirst steps for adding new interface for acls added to AIX 5.3 and later. Added 2...
Marco van Wieringen [Thu, 16 Sep 2010 20:34:16 +0000 (22:34 +0200)]
First steps for adding new interface for acls added to AIX 5.3 and later. Added 2 new streams and basic
code to handle these streams. Next step is the actual implementation.

14 years agoRewrote ACL configure logic to be somewhat better readable in the same style as the...
Marco van Wieringen [Thu, 16 Sep 2010 20:07:42 +0000 (22:07 +0200)]
Rewrote ACL configure logic to be somewhat better readable in the same style as the new xattr configure logic.

14 years agoAdd debug to next_vol.c + shorten retention for recycle-test
Kern Sibbald [Wed, 22 Sep 2010 08:10:27 +0000 (10:10 +0200)]
Add debug to next_vol.c + shorten retention for recycle-test

14 years agoFix seg fault introduced during restore cut and paste
Kern Sibbald [Wed, 22 Sep 2010 06:52:45 +0000 (08:52 +0200)]
Fix seg fault introduced during restore cut and paste

14 years agoFix bat browser to ignore copy jobs. Fix bug #1604
Kern Sibbald [Tue, 21 Sep 2010 13:59:40 +0000 (15:59 +0200)]
Fix bat browser to ignore copy jobs. Fix bug #1604

14 years agoCreate dummy to create test data
Kern Sibbald [Tue, 21 Sep 2010 13:58:59 +0000 (15:58 +0200)]
Create dummy to create test data

14 years agopatch 96793e fixes bug #1584
Kern Sibbald [Tue, 21 Sep 2010 12:30:16 +0000 (14:30 +0200)]
patch 96793e fixes bug #1584

14 years agoFix bconsole bug with new BNET signals
Kern Sibbald [Mon, 20 Sep 2010 19:30:08 +0000 (21:30 +0200)]
Fix bconsole bug with new BNET signals

14 years agoAdd skeleton of new bat run dialogs
Kern Sibbald [Mon, 20 Sep 2010 19:28:19 +0000 (21:28 +0200)]
Add skeleton of new bat run dialogs

14 years agoTweak BSD mntinfo handling a bit as it seems all BSD 4.4 derived version use struct...
Marco van Wieringen [Sat, 18 Sep 2010 09:13:01 +0000 (11:13 +0200)]
Tweak BSD mntinfo handling a bit as it seems all BSD 4.4 derived version use struct statfs only
NetBSD switched to using struct statvfs. This coding should be little easier to read as much
as is possible with these highly OS dependend interfaces.

14 years agoFix getmntinfo handling on FreeBSD as it seems its the same as OSX (no real surprise).
Marco van Wieringen [Sat, 18 Sep 2010 08:54:50 +0000 (10:54 +0200)]
Fix getmntinfo handling on FreeBSD as it seems its the same as OSX (no real surprise).

14 years agobweb: Try to replace NOW by a variable
Eric Bollengier [Wed, 15 Sep 2010 16:47:53 +0000 (18:47 +0200)]
bweb: Try to replace NOW by a variable

14 years agoAdd TODO on AIX acl code
Eric Bollengier [Fri, 10 Sep 2010 13:41:12 +0000 (15:41 +0200)]
Add TODO on AIX acl code

14 years agoDetect acl_get() on AIX to enable ACL code
Eric Bollengier [Fri, 10 Sep 2010 13:05:12 +0000 (15:05 +0200)]
Detect acl_get() on AIX to enable ACL code

14 years agoTweack project file to mark Item 7 done
Eric Bollengier [Wed, 8 Sep 2010 15:11:00 +0000 (17:11 +0200)]
Tweack project file to mark Item 7 done

14 years agoTweak insert_autokey to use unsigned int64 instead of signed int64.
Marco van Wieringen [Mon, 30 Aug 2010 09:42:44 +0000 (11:42 +0200)]
Tweak insert_autokey to use unsigned int64 instead of signed int64.

14 years agoFix the insert_autokey_record functions to be 64bit compliant. This fixes
Marco van Wieringen [Mon, 30 Aug 2010 08:38:04 +0000 (10:38 +0200)]
Fix the insert_autokey_record functions to be 64bit compliant. This fixes
a long standing bug in the postgresql code where the id was converted
using atoi which is now changed into a str_to_int64.

14 years agoWhen moving zlib into its seperate ZLIBS variable forgot to update the stored Makefil...
Marco van Wieringen [Tue, 17 Aug 2010 20:53:25 +0000 (22:53 +0200)]
When moving zlib into its seperate ZLIBS variable forgot to update the stored Makefile.in which
still uses FDLIBS. But as FDLIBS now only contains libraries explicitly needed for building
the filed this doesn't work. This should fix that. This is mostly a problem on Solaris like
operating system as the linker doesn't load all dependency libs and gives unresolved symbols.

14 years agoFix bug #1623 about indexes that are already created or deleted in postgresql upgrade...
Eric Bollengier [Mon, 20 Sep 2010 14:41:07 +0000 (16:41 +0200)]
Fix bug #1623 about indexes that are already created or deleted in postgresql upgrade process.

14 years agoFirst cut of bat rerun a Job from Jobs Run
Kern Sibbald [Mon, 20 Sep 2010 14:49:01 +0000 (16:49 +0200)]
First cut of bat rerun a Job from Jobs Run

14 years agoAllow sorting of more bat media columns
Kern Sibbald [Mon, 20 Sep 2010 09:00:53 +0000 (11:00 +0200)]
Allow sorting of more bat media columns

14 years agoSuppress superfluous warning messages if SD polling
Kern Sibbald [Mon, 20 Sep 2010 08:33:42 +0000 (10:33 +0200)]
Suppress superfluous warning messages if SD polling

14 years agoAdd comm error output when cram-md5 fails with comm error
Kern Sibbald [Sun, 19 Sep 2010 06:52:32 +0000 (08:52 +0200)]
Add comm error output when cram-md5 fails with comm error

14 years agoQuote device name in SD and implement releasing message
Kern Sibbald [Sat, 18 Sep 2010 13:14:49 +0000 (15:14 +0200)]
Quote device name in SD and implement releasing message

14 years agoMassive bat notifier rewrite + fix seg fault + implement text input dialog
Kern Sibbald [Sat, 18 Sep 2010 13:04:54 +0000 (15:04 +0200)]
Massive bat notifier rewrite + fix seg fault + implement text input dialog

14 years agoregress: try to reproduce #1586 about MaxWaitTime
Eric Bollengier [Fri, 17 Sep 2010 07:37:12 +0000 (09:37 +0200)]
regress: try to reproduce #1586 about MaxWaitTime

14 years agoFix postgresql version detection in database creation script
Richard Mortimer [Wed, 15 Sep 2010 07:42:34 +0000 (09:42 +0200)]
Fix postgresql version detection in database creation script

Do not quote shell case patterns. They lose their special meaning when
quoted and only match exactly.

Signed-off-by: Eric Bollengier <eric@eb.homelinux.org>
14 years agoMake Ubuntu autostart scripts LSB compliant
Kern Sibbald [Mon, 13 Sep 2010 10:59:33 +0000 (12:59 +0200)]
Make Ubuntu autostart scripts LSB compliant

14 years agoFix restore browser to permit checking first item and to start in focus
Kern Sibbald [Sun, 12 Sep 2010 13:44:39 +0000 (15:44 +0200)]
Fix restore browser to permit checking first item and to start in focus

14 years agoFix another bat seg fault
Kern Sibbald [Sun, 12 Sep 2010 12:59:55 +0000 (14:59 +0200)]
Fix another bat seg fault

14 years agoFix bat seg fault
Kern Sibbald [Sun, 12 Sep 2010 09:42:38 +0000 (11:42 +0200)]
Fix bat seg fault

14 years agoBackport 5.0.3 rpm changes.
Scott Barninger [Sat, 11 Sep 2010 16:01:42 +0000 (12:01 -0400)]
Backport 5.0.3 rpm changes.

14 years agoregress: Add test for new jobid= option in verify-voltocat-test
Eric Bollengier [Sat, 4 Sep 2010 20:47:31 +0000 (22:47 +0200)]
regress: Add test for new jobid= option in verify-voltocat-test

14 years agoDisplay job information on jobid in Verify screen
Eric Bollengier [Sat, 4 Sep 2010 20:21:23 +0000 (22:21 +0200)]
Display job information on jobid in Verify screen

14 years agotweak copyright
Eric Bollengier [Sat, 4 Sep 2010 12:51:57 +0000 (14:51 +0200)]
tweak copyright

14 years agoAllow to verify any job specified in argument
Eric Bollengier [Sat, 4 Sep 2010 12:35:07 +0000 (14:35 +0200)]
Allow to verify any job specified in argument

14 years agoSend back updated jobs status from FD
Kern Sibbald [Fri, 3 Sep 2010 17:33:48 +0000 (19:33 +0200)]
Send back updated jobs status from FD

14 years agoTweak handle skip code 900 in vss plugin
Kern Sibbald [Fri, 3 Sep 2010 17:29:05 +0000 (19:29 +0200)]
Tweak handle skip code 900 in vss plugin

14 years agoAllow plugin to skip restore if problem
Kern Sibbald [Fri, 3 Sep 2010 15:43:39 +0000 (17:43 +0200)]
Allow plugin to skip restore if problem

14 years agoAttempt to eliminate waiting on Storage message during restore
Kern Sibbald [Fri, 3 Sep 2010 15:42:39 +0000 (17:42 +0200)]
Attempt to eliminate waiting on Storage message during restore

14 years agoAdd quotes around resource name in status output
Kern Sibbald [Fri, 3 Sep 2010 15:42:05 +0000 (17:42 +0200)]
Add quotes around resource name in status output

14 years agoChange FD protocol version to avoid error message when sending RestoreObjects
Eric Bollengier [Fri, 3 Sep 2010 15:24:15 +0000 (17:24 +0200)]
Change FD protocol version to avoid error message when sending RestoreObjects

14 years agoAllow limit= for all list sub commands
Eric Bollengier [Sun, 22 Aug 2010 16:34:13 +0000 (18:34 +0200)]
Allow limit= for all list sub commands

14 years agoTweak readdir return code check saves a compiler warning.
Marco van Wieringen [Tue, 17 Aug 2010 17:00:38 +0000 (19:00 +0200)]
Tweak readdir return code check saves a compiler warning.