]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
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

11 years agoFix lost dcr point -- memory loss in Copy/Migration + possible confusion
Kern Sibbald [Fri, 3 Feb 2012 10:30:38 +0000 (11:30 +0100)]
Fix lost dcr point -- memory loss in Copy/Migration + possible confusion

11 years agoMake copy-job test handle one more job
Kern Sibbald [Fri, 3 Feb 2012 10:29:31 +0000 (11:29 +0100)]
Make copy-job test handle one more job

11 years agoUpdate release procedure
Kern Sibbald [Sat, 26 Nov 2011 14:08:12 +0000 (15:08 +0100)]
Update release procedure

11 years agoAdd first cut of a release procedure
Kern Sibbald [Sat, 26 Nov 2011 11:47:31 +0000 (12:47 +0100)]
Add first cut of a release procedure

11 years agoIgnore tray-monitor/release directory
Kern Sibbald [Sat, 26 Nov 2011 11:01:01 +0000 (12:01 +0100)]
Ignore tray-monitor/release directory

11 years agoRemove unused variable
Kern Sibbald [Fri, 25 Nov 2011 17:45:26 +0000 (18:45 +0100)]
Remove unused variable

11 years agoUpdate release date
Kern Sibbald [Fri, 25 Nov 2011 14:50:17 +0000 (15:50 +0100)]
Update release date

11 years agoUse old tray-monitor.pro so that it can be built on Linux
Kern Sibbald [Fri, 25 Nov 2011 11:21:51 +0000 (12:21 +0100)]
Use old tray-monitor.pro so that it can be built on Linux

11 years agoFix Win32 tray-monitor build
Kern Sibbald [Fri, 25 Nov 2011 07:52:09 +0000 (08:52 +0100)]
Fix Win32 tray-monitor build

11 years agoremove debug option from tray-monitor, should fix #1792
Eric Bollengier [Fri, 25 Nov 2011 07:06:09 +0000 (08:06 +0100)]
remove debug option from tray-monitor, should fix #1792

11 years agoRecompile configure
Kern Sibbald [Thu, 24 Nov 2011 22:15:44 +0000 (23:15 +0100)]
Recompile configure

11 years agoCleanup autoconf output for systemd check.
Marco van Wieringen [Thu, 24 Nov 2011 20:38:04 +0000 (21:38 +0100)]
Cleanup autoconf output for systemd check.

11 years agofix small memory leak with plugin directory on SD
Eric Bollengier [Thu, 24 Nov 2011 19:33:37 +0000 (20:33 +0100)]
fix small memory leak with plugin directory on SD

11 years agoAdd new Bat French translation from bug #1794
Jean Michault [Thu, 24 Nov 2011 15:41:02 +0000 (16:41 +0100)]
Add new Bat French translation from bug #1794

11 years agoTweak release notes
Kern Sibbald [Thu, 24 Nov 2011 13:48:47 +0000 (14:48 +0100)]
Tweak release notes

11 years agoUpdate version date
Kern Sibbald [Thu, 24 Nov 2011 13:27:09 +0000 (14:27 +0100)]
Update version date

11 years agoIgnore certain filenames
Kern Sibbald [Thu, 24 Nov 2011 13:26:24 +0000 (14:26 +0100)]
Ignore certain filenames

11 years agoFix Windows build
Kern Sibbald [Wed, 23 Nov 2011 13:50:39 +0000 (14:50 +0100)]
Fix Windows build

11 years agoFix compile problems with stored/status.c
Kern Sibbald [Wed, 23 Nov 2011 13:25:19 +0000 (14:25 +0100)]
Fix compile problems with stored/status.c

11 years agoUpdate ReleaseNotes and ChangeLog
Kern Sibbald [Wed, 23 Nov 2011 12:43:08 +0000 (13:43 +0100)]
Update ReleaseNotes and ChangeLog

11 years agoImplement -t option for Bat
Kern Sibbald [Wed, 23 Nov 2011 12:37:24 +0000 (13:37 +0100)]
Implement -t option for Bat

11 years agoRequire correct Qt version to build bat
Kern Sibbald [Wed, 23 Nov 2011 12:35:31 +0000 (13:35 +0100)]
Require correct Qt version to build bat

11 years agoGet new lib/plugins.h
Kern Sibbald [Wed, 23 Nov 2011 12:27:59 +0000 (13:27 +0100)]
Get new lib/plugins.h

11 years agoPull files from Master
Kern Sibbald [Wed, 23 Nov 2011 12:25:25 +0000 (13:25 +0100)]
Pull files from Master

11 years agoAdd systemd files
Eric Bollengier [Wed, 23 Nov 2011 12:03:26 +0000 (13:03 +0100)]
Add systemd files

11 years agoUpdate po files
Kern Sibbald [Wed, 23 Nov 2011 11:27:31 +0000 (12:27 +0100)]
Update po files

11 years agoUpdate ChangeLog and ReleaseNotes
Kern Sibbald [Wed, 23 Nov 2011 11:23:36 +0000 (12:23 +0100)]
Update ChangeLog and ReleaseNotes

11 years agoupdate version.h
Eric Bollengier [Wed, 23 Nov 2011 10:45:52 +0000 (11:45 +0100)]
update version.h

11 years agoupdate releasenotes
Eric Bollengier [Wed, 23 Nov 2011 10:44:48 +0000 (11:44 +0100)]
update releasenotes

11 years agoFix script to set mode of cats scripts
Kern Sibbald [Wed, 23 Nov 2011 10:18:27 +0000 (11:18 +0100)]
Fix script to set mode of cats scripts

11 years agoupdate configure
Eric Bollengier [Wed, 23 Nov 2011 08:08:46 +0000 (09:08 +0100)]
update configure

11 years agoCreate systemd dir if not already exists
Eric Bollengier [Wed, 23 Nov 2011 08:07:00 +0000 (09:07 +0100)]
Create systemd dir if not already exists

11 years agoAdd Systemd configure options
Bruno Friedmann [Wed, 23 Nov 2011 08:04:19 +0000 (09:04 +0100)]
Add Systemd configure options

11 years agoFix compiler warning in message.c
Kern Sibbald [Tue, 22 Nov 2011 16:35:01 +0000 (17:35 +0100)]
Fix compiler warning in message.c

11 years agoSplit messages line by line before sending it to syslog() fix #3325
Eric Bollengier [Thu, 17 Nov 2011 16:19:35 +0000 (17:19 +0100)]
Split messages line by line before sending it to syslog() fix #3325

11 years agobweb: try to handle windows drive better in bresto
Eric Bollengier [Thu, 17 Nov 2011 08:55:01 +0000 (09:55 +0100)]
bweb: try to handle windows drive better in bresto

11 years agobweb: Fix #3309 by adjusting the graph height depending on the number of items to...
Eric Bollengier [Wed, 16 Nov 2011 15:46:00 +0000 (16:46 +0100)]
bweb: Fix #3309 by adjusting the graph height depending on the number of items to display