]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
11 years agoAdapt sample-query.sql for Warning job status
Eric Bollengier [Mon, 23 Jan 2012 12:13:20 +0000 (13:13 +0100)]
Adapt sample-query.sql for Warning job status

11 years agoTweak typo.
Marco van Wieringen [Mon, 23 Jan 2012 08:33:03 +0000 (09:33 +0100)]
Tweak typo.

11 years agoFix location of Qt dlls for Win64 build
Kern Sibbald [Fri, 20 Jan 2012 21:57:08 +0000 (22:57 +0100)]
Fix location of Qt dlls for Win64 build

11 years agoTweak correct typos in ReleaseNotes
Kern Sibbald [Wed, 18 Jan 2012 21:24:05 +0000 (22:24 +0100)]
Tweak correct typos in ReleaseNotes

11 years agoFix MediaView::getSelection
Marco van Wieringen [Wed, 18 Jan 2012 19:04:53 +0000 (20:04 +0100)]
Fix MediaView::getSelection

The selection in MediaView::getSelection doesn't work ok as
the internal table is sized using the number of selected items
and not the number of rows in the total table. But the table
is indexed using a row number which can be any rownr of the
total of the table. Things seen is that 3 rows are selected
but the selection only returns 2. This is probably a side effect
because the code could also just have crashed as nb = 16 and
rownr = 29-31 e.g. addressed outside the bounds of the array.

Changed the internal array to use bools instead of ints so
its also somewhat smaller.

11 years agoDelete only restore bootstrap during director startup
Eric Bollengier [Wed, 18 Jan 2012 14:57:28 +0000 (15:57 +0100)]
Delete only restore bootstrap during director startup

11 years agoTweak release procedure
Kern Sibbald [Wed, 18 Jan 2012 13:43:12 +0000 (14:43 +0100)]
Tweak release procedure

11 years agoTweak update ReleaseNotes and change log
Kern Sibbald [Wed, 18 Jan 2012 13:32:12 +0000 (14:32 +0100)]
Tweak update ReleaseNotes and change log

11 years agoPrepare for adding IPv6 to Windows in the future
Kern Sibbald [Wed, 18 Jan 2012 12:45:00 +0000 (13:45 +0100)]
Prepare for adding IPv6 to Windows in the future

11 years agoFix bug #1822 Schedule run line parsing fails if value is keyword
Kern Sibbald [Wed, 18 Jan 2012 12:33:21 +0000 (13:33 +0100)]
Fix bug #1822 Schedule run line parsing fails if value is keyword

11 years agoRevert to 5.0 size computation in accurate elements, may fix #1821
Eric Bollengier [Wed, 18 Jan 2012 09:31:32 +0000 (10:31 +0100)]
Revert to 5.0 size computation in accurate elements, may fix #1821

11 years agoMark that a file was found in the accurate list in the ff_pkt with a new variable
Eric Bollengier [Wed, 18 Jan 2012 09:15:13 +0000 (10:15 +0100)]
Mark that a file was found in the accurate list in the ff_pkt with a new variable

11 years agoregress: Skip check for configuration restore object (not yet fully implemented)
Eric Bollengier [Wed, 18 Jan 2012 08:53:21 +0000 (09:53 +0100)]
regress: Skip check for configuration restore object (not yet fully implemented)

11 years agoFix Windows build
Kern Sibbald [Tue, 17 Jan 2012 20:31:27 +0000 (21:31 +0100)]
Fix Windows build

11 years agoUpdate ReleaseNotes
Kern Sibbald [Tue, 17 Jan 2012 20:11:37 +0000 (21:11 +0100)]
Update ReleaseNotes

11 years agoUpdate ChangeLog and ReleaseNotes
Kern Sibbald [Tue, 17 Jan 2012 19:52:36 +0000 (20:52 +0100)]
Update ChangeLog and ReleaseNotes

11 years agoTweak call to cancel_job.
Marco van Wieringen [Tue, 17 Jan 2012 19:49:34 +0000 (20:49 +0100)]
Tweak call to cancel_job.

11 years agoUpdate po files
Kern Sibbald [Tue, 17 Jan 2012 19:45:40 +0000 (20:45 +0100)]
Update po files

11 years agoUpdate version date
Kern Sibbald [Tue, 17 Jan 2012 19:39:59 +0000 (20:39 +0100)]
Update version date

11 years agoDefinitive fix for MySQL MaxValue problem
Kern Sibbald [Tue, 17 Jan 2012 14:15:20 +0000 (15:15 +0100)]
Definitive fix for MySQL MaxValue problem

11 years agoFix warning reported by clang
Eric Bollengier [Fri, 6 Jan 2012 08:33:47 +0000 (09:33 +0100)]
Fix warning reported by clang

11 years agoFix python module compilation
Eric Bollengier [Tue, 17 Jan 2012 08:24:41 +0000 (09:24 +0100)]
Fix python module compilation

11 years agoInitialize delta_seq to -1 because 0 means that we have already a version
Eric Bollengier [Sun, 15 Jan 2012 16:16:58 +0000 (17:16 +0100)]
Initialize delta_seq to -1 because 0 means that we have already a version

11 years agoAdapt bfileview for bvfs tables
Eric Bollengier [Wed, 11 Jan 2012 21:21:25 +0000 (22:21 +0100)]
Adapt bfileview for bvfs tables

11 years agoSet job status to running when restore job really starts
Kern Sibbald [Wed, 11 Jan 2012 10:27:41 +0000 (11:27 +0100)]
Set job status to running when restore job really starts

11 years agoTweak restore.h to include sys/types.h
Marco van Wieringen [Mon, 16 Jan 2012 18:15:47 +0000 (19:15 +0100)]
Tweak restore.h to include sys/types.h

For things like int64_t to be defined include sys/types.h
as on some platforms that is not included by default.

11 years agoTweak bat so drives are visable in content menu.
Marco van Wieringen [Mon, 16 Jan 2012 18:06:42 +0000 (19:06 +0100)]
Tweak bat so drives are visable in content menu.

11 years agoBack out bad MinValue patch
Kern Sibbald [Sun, 15 Jan 2012 12:21:00 +0000 (13:21 +0100)]
Back out bad MinValue patch

11 years agoFix bug #1810 use single quotes instead of double quotes for MinValue and MaxValue...
Kern Sibbald [Sat, 14 Jan 2012 09:41:25 +0000 (10:41 +0100)]
Fix bug #1810 use single quotes instead of double quotes for MinValue and MaxValue in catalog

11 years agoMove ini.c to libbaccfg from libbac
Marco van Wieringen [Wed, 4 Jan 2012 18:40:00 +0000 (19:40 +0100)]
Move ini.c to libbaccfg from libbac

11 years agoTweak fix indent
Kern Sibbald [Wed, 11 Jan 2012 18:18:42 +0000 (19:18 +0100)]
Tweak fix indent

11 years agoRemove ifdeffing that turned off JS_Warning status -- must have been missed test...
Kern Sibbald [Tue, 10 Jan 2012 15:35:08 +0000 (16:35 +0100)]
Remove ifdeffing that turned off JS_Warning status -- must have been missed test code

11 years agoLimit migration/copy jobs to starting 100 at a time
Kern Sibbald [Sat, 7 Jan 2012 15:32:14 +0000 (16:32 +0100)]
Limit migration/copy jobs to starting 100 at a time

11 years agoAdd support for soname setting in libtool.
Marco van Wieringen [Tue, 10 Jan 2012 12:33:55 +0000 (13:33 +0100)]
Add support for soname setting in libtool.

We allow to specify the SONAME in a library so we can create
a libbaccats-<backend>-<version>.so which has an internal
soname of libbaccats-<version>.so This way each catalog
backend is a direct replacement of the dummy libbaccats
library and copying and linking works without the ldconfig
trying to be to smart. When no symlink exists ldconfig
will create one (it might point to the wrong one however)
but if you only install one it cannot go wrong. Also a
nice side effect is that if we create the symlink ldconfig
now doesn't replace it with a new one as it thinks its a
stale or wrong link.

install-default-backend is updated to create the symlink
in the same way that ldconfig does and point to the
libbaccats-<backend>.so which points to
libbaccats-<backend>-<version>.so

11 years agoMake error somewhat more understandable.
Marco van Wieringen [Mon, 9 Jan 2012 13:41:11 +0000 (14:41 +0100)]
Make error somewhat more understandable.

11 years agoFix bug #1815
Marco van Wieringen [Mon, 9 Jan 2012 13:35:17 +0000 (14:35 +0100)]
Fix bug #1815

Only acl pointer can be NULL in call to aclx_get with GET_ACLINFO_ONLY
set not the mode pointer. Implemented alternative version of nfsv4
acl is trivial function borrowed from gnulib. For restores we check
the destination filesystem if it supports the type of acl being
restored against the list of available acl types returned by
aclx_gettypes.

11 years agoFix systemd pid files.
Philipp Storz [Mon, 9 Jan 2012 12:08:27 +0000 (13:08 +0100)]
Fix systemd pid files.

Signed-off-by: Marco van Wieringen <mvw@planets.elm.net>
11 years agoFix const char compiler warning
Kern Sibbald [Sun, 8 Jan 2012 14:05:55 +0000 (15:05 +0100)]
Fix const char compiler warning

11 years agoAvoid conflict with PAGE_SIZE define
Kern Sibbald [Sat, 7 Jan 2012 15:32:14 +0000 (16:32 +0100)]
Avoid conflict with PAGE_SIZE define

11 years agoSend previous Job name during Incremental/Differential to the FD
Eric Bollengier [Fri, 6 Jan 2012 21:06:49 +0000 (22:06 +0100)]
Send previous Job name during Incremental/Differential to the FD

11 years agoFix bug #1811 Filed fails to backup more then one xattr.
Marco van Wieringen [Fri, 6 Jan 2012 19:44:18 +0000 (20:44 +0100)]
Fix bug #1811 Filed fails to backup more then one xattr.

On Solaris we fail to backup more then one xattr. There
are two serious wrong tests in the code that seem to predate
switch to the new bxattr_exit_* codes. Due to a side effect
the retval variable only gets set to a non 0 value
(bxattr_exit_ok) when the first xattr is saved as then the
hidden directory is saved and as such the retval
is set.

While scanning through the code for possible other retval
initialization errors and wrong code I fixed one other problem
in the Tru64 xattr code which we probably never encounter
as that platform is kind of dying.

11 years agosystem.posix_acl_default is also an acl stored as xattr
Marco van Wieringen [Fri, 6 Jan 2012 19:44:11 +0000 (20:44 +0100)]
system.posix_acl_default is also an acl stored as xattr

We better also ignore system.posix_acl_default as acl string.

11 years agoDon't copy xattr and acl streams.
Marco van Wieringen [Fri, 6 Jan 2012 18:31:30 +0000 (19:31 +0100)]
Don't copy xattr and acl streams.

- With the new delayed restore of xattr and acl streams we
  copy the stream twice. First from the SD buffer to the
  stack and then again from the stack when we pop an element
  into a JCR POOLMEM. This can be done a bit more efficient.
  So we break the JCR struct into an union one for a build
  of xattr and acl streams and one for a parse of them.
  We pass the content and content_length now as arguments
  along the parse (restore) code path. This saves for the
  delayed version one copy and for a directory copying
  is not done at all.
- Reformatted some code along the way,
     - functions with more then 2 arguments are splitted
       over multiple lines.
     - The stream arrays etc are formated a bit
       differently so they are better readable and easy
       to extend.
     - The build and parse function pointers are
       formated a bit differently so they span
       multiple lines and should be better readable.
     - reformated long lines
     - Fixed Tru64 acl code.

11 years agoFix bug #1807
Marco van Wieringen [Fri, 6 Jan 2012 19:42:22 +0000 (20:42 +0100)]
Fix bug #1807

Put the restore of xattr and acl streams on a restore stack
which gets popped after the actual file properties are restored.
As directories are never extracted those are excluded from
the delayed restore stack and have their streams processed
when we receive them.

This way we don't clobber the security info due to executing
chown and chmod calls on the restored file. We now first
restore the whole file and properties and then all of its
acls and extended attributes.

We only exclude the Solaris extended attribute streams as we
could have multiple of those with the maximum size and that
would use to much internal memory. For all other platforms
we only have one xattr stream with a maximum of 1 Mb so that
doesn't put to much stress on the filed. Solaris extensible
attributes are delayed restored. Restoring the Solaris
native extended attributes early should be no problem as they
are restored into a seperate namingspace and have file like
content. Security specific info is stored in extensible
attributes and those are delayed restored.

ACL streams are all so small that it makes no sense to
exclude them and we really want to always extract acl streams
after doing a chown and chmod because otherwise we might
reset the acl being restored earlier.

11 years agoTweak plugin
Kern Sibbald [Fri, 6 Jan 2012 13:37:18 +0000 (14:37 +0100)]
Tweak plugin

11 years agoRecompile configure
Kern Sibbald [Fri, 6 Jan 2012 13:21:07 +0000 (14:21 +0100)]
Recompile configure

11 years agoAdd configure for new redhat spec files
Kern Sibbald [Fri, 6 Jan 2012 13:20:56 +0000 (14:20 +0100)]
Add configure for new redhat spec files

11 years agoBackport Enterprise spec files
Kern Sibbald [Fri, 6 Jan 2012 13:17:15 +0000 (14:17 +0100)]
Backport Enterprise spec files

11 years agoRemove unnecessary break and unused variable
Kern Sibbald [Fri, 6 Jan 2012 11:47:21 +0000 (12:47 +0100)]
Remove unnecessary break and unused variable

11 years agoFix xattr/acl regression script.
Marco van Wieringen [Fri, 6 Jan 2012 09:02:44 +0000 (10:02 +0100)]
Fix xattr/acl regression script.

The test for the second xattr was not working as we need
to append to the logfile not overwrite it.

11 years agoFix bad memset() reported by clang
Eric Bollengier [Thu, 5 Jan 2012 18:02:04 +0000 (19:02 +0100)]
Fix bad memset() reported by clang

11 years agoTweak copyrights again
Eric Bollengier [Wed, 4 Jan 2012 18:05:34 +0000 (19:05 +0100)]
Tweak copyrights again

11 years agoTest new plugin function in bpipe and test plugin
Eric Bollengier [Wed, 4 Jan 2012 13:16:27 +0000 (14:16 +0100)]
Test new plugin function in bpipe and test plugin

11 years agoTry to fix openssl problem with signal
Eric Bollengier [Wed, 4 Jan 2012 13:15:38 +0000 (14:15 +0100)]
Try to fix openssl problem with signal

11 years agotweak debug
Eric Bollengier [Wed, 4 Jan 2012 13:14:52 +0000 (14:14 +0100)]
tweak debug

11 years agoAdd BSOCK::set_killable()
Eric Bollengier [Wed, 4 Jan 2012 13:14:31 +0000 (14:14 +0100)]
Add BSOCK::set_killable()

11 years agoSet directory attributes when using Replace=Never when Bacula creates them
Eric Bollengier [Wed, 4 Jan 2012 13:13:47 +0000 (14:13 +0100)]
Set directory attributes when using Replace=Never when Bacula creates them

11 years agoUse RestoreObject type in Catalog
Eric Bollengier [Wed, 4 Jan 2012 13:12:21 +0000 (14:12 +0100)]
Use RestoreObject type in Catalog

11 years agoAdd new features in plugin
Eric Bollengier [Wed, 4 Jan 2012 13:08:30 +0000 (14:08 +0100)]
Add new features in plugin

 - Options {} plugin
 - PreInclude event
 - Estimate interface
 - RestoreObject for configuration

11 years agotweak bat files
Eric Bollengier [Wed, 4 Jan 2012 12:54:47 +0000 (13:54 +0100)]
tweak bat files

11 years agoAdd helper for ini files
Eric Bollengier [Wed, 4 Jan 2012 12:45:07 +0000 (13:45 +0100)]
Add helper for ini files

11 years agoImplement run accurate=yes/no
Eric Bollengier [Wed, 4 Jan 2012 11:14:03 +0000 (12:14 +0100)]
Implement run accurate=yes/no

11 years agoAdd .bvfs_clear_cache
Eric Bollengier [Wed, 4 Jan 2012 11:10:29 +0000 (12:10 +0100)]
Add .bvfs_clear_cache

11 years agoAdd Accurate and MaxRunSchedTime in Schedule resource
Eric Bollengier [Wed, 4 Jan 2012 11:07:14 +0000 (12:07 +0100)]
Add Accurate and MaxRunSchedTime in Schedule resource

11 years agotweak copyright
Eric Bollengier [Wed, 4 Jan 2012 11:05:16 +0000 (12:05 +0100)]
tweak copyright

11 years agofix warning
Eric Bollengier [Wed, 4 Jan 2012 11:01:36 +0000 (12:01 +0100)]
fix warning

11 years agoFix xattr/acl regression.
Marco van Wieringen [Wed, 4 Jan 2012 09:23:36 +0000 (10:23 +0100)]
Fix xattr/acl regression.

11 years agoRecompile configure
Kern Sibbald [Tue, 3 Jan 2012 19:00:02 +0000 (20:00 +0100)]
Recompile configure

11 years agoFix bug #1802 configure code to detect LZO is broken
Kern Sibbald [Tue, 3 Jan 2012 18:55:55 +0000 (19:55 +0100)]
Fix bug #1802 configure code to detect LZO is broken

11 years agoFix bug #1806 failure to save second and more xattr.
Marco van Wieringen [Tue, 3 Jan 2012 11:58:30 +0000 (12:58 +0100)]
Fix bug #1806 failure to save second and more xattr.

11 years agoAdd second xattr to show bug 1806
Marco van Wieringen [Tue, 3 Jan 2012 11:51:44 +0000 (12:51 +0100)]
Add second xattr to show bug 1806

11 years agoEnhance sellist to allow rescanning the list
Kern Sibbald [Mon, 2 Jan 2012 16:57:45 +0000 (17:57 +0100)]
Enhance sellist to allow rescanning the list

11 years agoFix lib/sellist.c
Kern Sibbald [Mon, 2 Jan 2012 14:34:53 +0000 (15:34 +0100)]
Fix lib/sellist.c

11 years agoPull compiler warning cleanup code + other from master
Kern Sibbald [Mon, 2 Jan 2012 09:52:46 +0000 (10:52 +0100)]
Pull compiler warning cleanup code + other from master

11 years agoRemove double include of sellist.h
Kern Sibbald [Sun, 1 Jan 2012 16:12:43 +0000 (17:12 +0100)]
Remove double include of sellist.h

11 years agoTweak alist.h
Kern Sibbald [Sun, 1 Jan 2012 16:08:03 +0000 (17:08 +0100)]
Tweak alist.h

11 years agoFirst cut selection list
Kern Sibbald [Sun, 1 Jan 2012 16:07:50 +0000 (17:07 +0100)]
First cut selection list

11 years agoFix seg fault in plugin event loop
Kern Sibbald [Sat, 31 Dec 2011 08:03:31 +0000 (09:03 +0100)]
Fix seg fault in plugin event loop

11 years agoUpdate release procedure
Kern Sibbald [Mon, 19 Dec 2011 15:05:52 +0000 (16:05 +0100)]
Update release procedure

11 years agoImplement slow regression for manual testing things like cancel/stop
Kern Sibbald [Sun, 18 Dec 2011 16:50:44 +0000 (17:50 +0100)]
Implement slow regression for manual testing things like cancel/stop

11 years agoFix slow regress setups
Kern Sibbald [Sun, 18 Dec 2011 16:46:18 +0000 (17:46 +0100)]
Fix slow regress setups

11 years agoFix #3210 about slow restore with bvfs
Eric Bollengier [Fri, 16 Dec 2011 16:29:38 +0000 (17:29 +0100)]
Fix #3210 about slow restore with bvfs

The BSR creation procedure is expecting to have ordered FileIndex,
this is now done with an extra SORT.

11 years agoTweak update version
Kern Sibbald [Thu, 15 Dec 2011 11:41:49 +0000 (12:41 +0100)]
Tweak update version

11 years agoTweak update ReleaseNotes
Kern Sibbald [Thu, 15 Dec 2011 11:40:41 +0000 (12:40 +0100)]
Tweak update ReleaseNotes

11 years agoTweak git2changelog.pl
Kern Sibbald [Thu, 15 Dec 2011 11:33:23 +0000 (12:33 +0100)]
Tweak git2changelog.pl

11 years agoRevert patch from Ben to not compress man pages on Solaris fix #1801
Eric Bollengier [Thu, 15 Dec 2011 10:06:54 +0000 (11:06 +0100)]
Revert patch from Ben to not compress man pages on Solaris fix #1801

11 years agoFix bug #3322 don't poll when operator is labeling tapes
Kern Sibbald [Wed, 14 Dec 2011 19:16:28 +0000 (20:16 +0100)]
Fix bug #3322 don't poll when operator is labeling tapes

11 years agoFix typo
Marco van Wieringen [Wed, 14 Dec 2011 12:07:26 +0000 (13:07 +0100)]
Fix typo

11 years agobvfs: Fix mysql REGEXP operator
Eric Bollengier [Tue, 13 Dec 2011 13:45:00 +0000 (14:45 +0100)]
bvfs: Fix mysql REGEXP operator

11 years agoFix Mysql 5.5.18 symbol lookup
Oliver Falk [Mon, 12 Dec 2011 08:23:34 +0000 (09:23 +0100)]
Fix Mysql 5.5.18 symbol lookup

11 years agofix utf8/iso8859 problems
Eric Bollengier [Thu, 8 Dec 2011 17:17:01 +0000 (18:17 +0100)]
fix utf8/iso8859 problems

11 years agobweb: Add missing role
Eric Bollengier [Thu, 8 Dec 2011 12:48:41 +0000 (13:48 +0100)]
bweb: Add missing role

11 years agoFix #3419, update stats problem
Eric Bollengier [Tue, 6 Dec 2011 08:17:18 +0000 (09:17 +0100)]
Fix #3419, update stats problem

11 years agoFix cats_test to use the new method names.
Marco van Wieringen [Mon, 5 Dec 2011 15:13:50 +0000 (16:13 +0100)]
Fix cats_test to use the new method names.

11 years agoUpdate accurate code to use 1 byte instead of 3
Eric Bollengier [Mon, 5 Dec 2011 10:32:10 +0000 (11:32 +0100)]
Update accurate code to use 1 byte instead of 3

11 years agoFix segfault in accurate code
Eric Bollengier [Mon, 5 Dec 2011 08:24:45 +0000 (09:24 +0100)]
Fix segfault in accurate code

This segfault was introduced while cleaning the code.

11 years agoFix compilation warning on FreeBSD
Eric Bollengier [Sat, 3 Dec 2011 17:04:54 +0000 (18:04 +0100)]
Fix compilation warning on FreeBSD

11 years agoTweak: remove uncommented/unwanted comment, fix startup
Bruno Friedmann [Fri, 2 Dec 2011 14:31:15 +0000 (15:31 +0100)]
Tweak: remove uncommented/unwanted comment, fix startup

Signed-off-by: Marco van Wieringen <mvw@planets.elm.net>
11 years agoTweak comments in migration
Kern Sibbald [Wed, 30 Nov 2011 17:51:09 +0000 (18:51 +0100)]
Tweak comments in migration

11 years agoTweak error message
Kern Sibbald [Wed, 30 Nov 2011 13:20:50 +0000 (14:20 +0100)]
Tweak error message