]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
11 years agoAdd test-deltaseq source
Kern Sibbald [Thu, 8 Mar 2012 08:07:19 +0000 (09:07 +0100)]
Add test-deltaseq source

11 years agoRename delta-test plugin to test-deltaseq
Kern Sibbald [Thu, 8 Mar 2012 08:04:39 +0000 (09:04 +0100)]
Rename delta-test plugin to test-deltaseq

11 years agoUpdate version date
Kern Sibbald [Tue, 21 Feb 2012 15:59:33 +0000 (16:59 +0100)]
Update version date

11 years agoUpdate ChangeLog + ReleaseNotes
Kern Sibbald [Tue, 21 Feb 2012 15:58:50 +0000 (16:58 +0100)]
Update ChangeLog + ReleaseNotes

11 years agoFix old exchange-fd plugin Accurate checkFile code.
Eric Bollengier [Fri, 17 Feb 2012 14:21:15 +0000 (15:21 +0100)]
Fix old exchange-fd plugin Accurate checkFile code.

It now marks files as seen only when the plugin is used. Not perfect, but
probably sufficient.

11 years agoTweak some comments and formatting.
Marco van Wieringen [Thu, 16 Feb 2012 22:52:39 +0000 (23:52 +0100)]
Tweak some comments and formatting.

11 years agoInsert the slot field as a numeric field.
Marco van Wieringen [Thu, 16 Feb 2012 21:08:06 +0000 (22:08 +0100)]
Insert the slot field as a numeric field.

The sorting in mediaview doesn't work well as the slot
field is added as a text field not a numeric field.

11 years agoUpdate Change log and Release notes
Kern Sibbald [Thu, 16 Feb 2012 11:32:44 +0000 (12:32 +0100)]
Update Change log and Release notes

11 years agoUpdate version date
Kern Sibbald [Thu, 16 Feb 2012 11:18:52 +0000 (12:18 +0100)]
Update version date

11 years agoTweak VSS
Kern Sibbald [Mon, 13 Feb 2012 13:56:13 +0000 (14:56 +0100)]
Tweak VSS

11 years agoTweak layout
Eric Bollengier [Tue, 14 Feb 2012 15:04:42 +0000 (16:04 +0100)]
Tweak layout

11 years agoMake cd accept wildcards
Kern Sibbald [Tue, 14 Feb 2012 08:13:57 +0000 (09:13 +0100)]
Make cd accept wildcards

11 years agoFirst cut wild card in restore cd command -- works in one component only
Kern Sibbald [Mon, 13 Feb 2012 19:50:03 +0000 (20:50 +0100)]
First cut wild card in restore cd command -- works in one component only

11 years agoFix #1831 by dropping the table before creating it
Eric Bollengier [Wed, 15 Feb 2012 08:25:22 +0000 (09:25 +0100)]
Fix #1831 by dropping the table before creating it

11 years agoRemove bad optimization from Accurate code
Eric Bollengier [Fri, 10 Feb 2012 16:32:10 +0000 (17:32 +0100)]
Remove bad optimization from Accurate code

By returning "already seen", we didn't reply to the original question:
has the file changed (must be backed up)?

If your fileset contains two Include {} sections the second Include may ask for
the same files than the first Include, and depending on Exclude, Wild, etc..
the answer may be "Already Seen" even if the file needs to be saved. From what
I can see, Wild/Exclude are called after the accurate check.

11 years agoLock read acquire in SD to prevent to read jobs getting the same thing
Kern Sibbald [Sat, 4 Feb 2012 15:28:16 +0000 (16:28 +0100)]
Lock read acquire in SD to prevent to read jobs getting the same thing

11 years agoEnsure that bvfs SQL link is not shared
Eric Bollengier [Thu, 2 Feb 2012 20:11:20 +0000 (21:11 +0100)]
Ensure that bvfs SQL link is not shared

11 years agoComplicate the prune-migration regression by adding one more job
Kern Sibbald [Fri, 3 Feb 2012 16:55:00 +0000 (17:55 +0100)]
Complicate the prune-migration regression by adding one more job

11 years agoImplement more robust check in other drives for tape slot wanted
Kern Sibbald [Fri, 3 Feb 2012 13:36:29 +0000 (14:36 +0100)]
Implement more robust check in other drives for tape slot wanted

11 years agoAdd more debug to failing test
Kern Sibbald [Fri, 3 Feb 2012 13:36:01 +0000 (14:36 +0100)]
Add more debug to failing test

11 years agoFix typo.
Marco van Wieringen [Tue, 31 Jan 2012 16:51:18 +0000 (17:51 +0100)]
Fix typo.

11 years agoFix error printing in acl and xattr code.
Marco van Wieringen [Tue, 31 Jan 2012 12:52:31 +0000 (13:52 +0100)]
Fix error printing in acl and xattr code.

The errno gets saved on an instantiate of the berrno class so
we should instantiate the class after the actual errno is set
and not as we used to do at the start of the function. Then
errno is always 0 and that also explains that on error it
was always printing Unknown error 0 in the error printed.
Moved all berrno into either an if block or an block within
a switch (including additional brackets so it a local code
block in which we can instantiate a new berrno class.

11 years agoTweak no need to initialize the loop var.
Marco van Wieringen [Sun, 29 Jan 2012 16:52:06 +0000 (17:52 +0100)]
Tweak no need to initialize the loop var.

11 years agoBackport better error debug output for sd plugins.
Marco van Wieringen [Sun, 29 Jan 2012 16:50:07 +0000 (17:50 +0100)]
Backport better error debug output for sd plugins.

11 years agoFix plugin bug with multiple simultaneous jobs
Kern Sibbald [Fri, 20 Jan 2012 13:47:47 +0000 (14:47 +0100)]
Fix plugin bug with multiple simultaneous jobs

11 years agoTweak version date
Kern Sibbald [Sun, 29 Jan 2012 09:34:40 +0000 (10:34 +0100)]
Tweak version date

11 years agoAdd wait on bad connection for security
Kern Sibbald [Sat, 28 Jan 2012 17:26:27 +0000 (18:26 +0100)]
Add wait on bad connection for security

11 years agoMake mtx-changer more fault tolerant
Kern Sibbald [Sat, 28 Jan 2012 14:46:08 +0000 (15:46 +0100)]
Make mtx-changer more fault tolerant

11 years agoFix 32/64 bit problems in SD sscanf commands
Kern Sibbald [Sat, 28 Jan 2012 09:57:39 +0000 (10:57 +0100)]
Fix 32/64 bit problems in SD sscanf commands

11 years agoFix 32/64 bit problems in scanning commands in SD
Kern Sibbald [Sat, 28 Jan 2012 09:51:16 +0000 (10:51 +0100)]
Fix 32/64 bit problems in scanning commands in SD

11 years agoTweak more debug in SD mount command
Kern Sibbald [Sat, 28 Jan 2012 09:13:58 +0000 (10:13 +0100)]
Tweak more debug in SD mount command

11 years agoSkip certain filesystem types on some platforms.
Marco van Wieringen [Thu, 26 Jan 2012 22:59:23 +0000 (23:59 +0100)]
Skip certain filesystem types on some platforms.

On Linux the actual rootfs gets mounted over an initial
rootfs. The mountcache on Linux is populated with the
content of /proc/mounts and as such it will contain 2
entries for the rootfs. So when the fstype function
is used to lookup the type of filesystem based on
the dev_t value it will always find the rootfs first.
But people expect to find either ext2, ext3 etc.
so we added a table with per OS (currently only Linux)
the filesystem which should NOT be loaded into the
internal lookup table.

11 years agoAllow BVFS to browse and restore Base jobs
Eric Bollengier [Thu, 26 Jan 2012 13:10:51 +0000 (14:10 +0100)]
Allow BVFS to browse and restore Base jobs

11 years agoAdd error message to .bvfs_clear_cache command
Eric Bollengier [Thu, 26 Jan 2012 12:47:35 +0000 (13:47 +0100)]
Add error message to .bvfs_clear_cache command

11 years agoTweak update ReleaseNotes and ChangeLog
Kern Sibbald [Wed, 25 Jan 2012 17:47:24 +0000 (18:47 +0100)]
Tweak update ReleaseNotes and ChangeLog

11 years agoUpdate version
Eric Bollengier [Wed, 25 Jan 2012 12:49:42 +0000 (13:49 +0100)]
Update version

11 years agoDisable usage of JS_Warning waiting for a more complete implementation
Eric Bollengier [Wed, 25 Jan 2012 08:43:53 +0000 (09:43 +0100)]
Disable usage of JS_Warning waiting for a more complete implementation

11 years agoTweak Makefile.in for example fd plugin.
Marco van Wieringen [Tue, 24 Jan 2012 13:55:33 +0000 (14:55 +0100)]
Tweak Makefile.in for example fd plugin.

Not automatically build and installed as better examples exist
in this directory.

11 years agoTweak example SD plugin.
Marco van Wieringen [Tue, 24 Jan 2012 13:49:44 +0000 (14:49 +0100)]
Tweak example SD plugin.

11 years agoTweak Makefile.in
Marco van Wieringen [Tue, 24 Jan 2012 13:44:29 +0000 (14:44 +0100)]
Tweak Makefile.in

11 years agoRemoved old sd plugins which doesn't work anymore.
Marco van Wieringen [Tue, 24 Jan 2012 13:42:02 +0000 (14:42 +0100)]
Removed old sd plugins which doesn't work anymore.

See example-plugin-sd.c for a working SD plugin.

11 years agoTweak fix compile error on older FreeBSDs
Kern Sibbald [Mon, 23 Jan 2012 17:25:23 +0000 (18:25 +0100)]
Tweak fix compile error on older FreeBSDs

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