]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
11 years agoFix #5346 .bvfs_lsfiles and .bvfs_restore to handle deleted files
Eric Bollengier [Fri, 2 Nov 2012 09:08:06 +0000 (10:08 +0100)]
Fix #5346 .bvfs_lsfiles and .bvfs_restore to handle deleted files

11 years agoregress: Add test for bvfs-test with deleted files
Eric Bollengier [Thu, 1 Nov 2012 20:42:04 +0000 (21:42 +0100)]
regress: Add test for bvfs-test with deleted files

11 years agoFix spooldata, accurate and ingnoreduplicate run argument
Eric Bollengier [Thu, 1 Nov 2012 19:40:40 +0000 (20:40 +0100)]
Fix spooldata, accurate and ingnoreduplicate run argument

When using "run accurate=yes job=MyJob yes", the job was not
using the accurate option. This is now fixed.

11 years agoAdd remote regress test script
Kern Sibbald [Sun, 21 Oct 2012 08:35:03 +0000 (10:35 +0200)]
Add remote regress test script

11 years agoFix messages segfault
Eric Bollengier [Tue, 16 Oct 2012 07:00:20 +0000 (09:00 +0200)]
Fix messages segfault

11 years agoFix #4996 about MaxRunTime canceling the job too early
Eric Bollengier [Tue, 25 Sep 2012 10:16:17 +0000 (12:16 +0200)]
Fix #4996 about MaxRunTime canceling the job too early

11 years agoFix race condition in close_msg that causes seg fault
Kern Sibbald [Tue, 18 Sep 2012 10:24:14 +0000 (12:24 +0200)]
Fix race condition in close_msg that causes seg fault

11 years agobweb: Set POST_MAX and DISABLE_UPLOADS as advised in CGI module documentation
Eric Bollengier [Sat, 22 Sep 2012 07:54:55 +0000 (09:54 +0200)]
bweb: Set POST_MAX and DISABLE_UPLOADS as advised in CGI module documentation

11 years agoAdd ujobid to .bvfs_get_jobids
Eric Bollengier [Mon, 3 Sep 2012 09:36:49 +0000 (11:36 +0200)]
Add ujobid to .bvfs_get_jobids

11 years agoDo not try to strip RestoreObject during attribute encoding
Eric Bollengier [Tue, 28 Aug 2012 12:15:02 +0000 (14:15 +0200)]
Do not try to strip RestoreObject during attribute encoding

11 years agoAvoid problem when stripping a relative path
Eric Bollengier [Tue, 28 Aug 2012 09:39:12 +0000 (11:39 +0200)]
Avoid problem when stripping a relative path

11 years agobweb: Display plugin command in the fileset_view page
Eric Bollengier [Fri, 24 Aug 2012 12:46:53 +0000 (14:46 +0200)]
bweb: Display plugin command in the fileset_view page

11 years agoFix #4513 about HIDDEN attribute set to parent directory during restore
Eric Bollengier [Mon, 16 Jul 2012 19:51:23 +0000 (21:51 +0200)]
Fix #4513 about HIDDEN attribute set to parent directory during restore

11 years agoTweak add some more missing xattr streams for bscan.
Marco van Wieringen [Thu, 11 Oct 2012 11:42:26 +0000 (13:42 +0200)]
Tweak add some more missing xattr streams for bscan.

11 years agoTweak also allow restore of Hurd acl and xattr streams.
Marco van Wieringen [Thu, 11 Oct 2012 11:16:39 +0000 (13:16 +0200)]
Tweak also allow restore of Hurd acl and xattr streams.

11 years agoRecompile configure.in
Marco van Wieringen [Wed, 10 Oct 2012 14:15:28 +0000 (16:15 +0200)]
Recompile configure.in

11 years agoImplement feature request #1939
Marco van Wieringen [Wed, 10 Oct 2012 14:13:25 +0000 (16:13 +0200)]
Implement feature request #1939

ACL and XATTR support for GNU/Hurd and autoconf support for
detecting GNU Hurd and setting the correct DISTNAME etc. and
proper platform support for GNU hurd.

11 years agofix #1938 about PATH_MAX on hurd
Marco van Wieringen [Sun, 7 Oct 2012 19:32:18 +0000 (21:32 +0200)]
fix #1938 about PATH_MAX on hurd

11 years agofix #1938 about MAXPATHLEN on hurd
Eric Bollengier [Sun, 7 Oct 2012 14:03:31 +0000 (16:03 +0200)]
fix #1938 about MAXPATHLEN on hurd

11 years agoFix bug #1937 OpenBSD autochanger example script
Marco van Wieringen [Fri, 5 Oct 2012 14:31:39 +0000 (16:31 +0200)]
Fix bug #1937 OpenBSD autochanger example script

Make the OpenBSD autochanger script cope with a non fully load
autochanger.

Imported patch in bug report 1937.

11 years agoFix bug #1934 Wrong values at media list in BAT
Marco van Wieringen [Wed, 19 Sep 2012 08:14:59 +0000 (10:14 +0200)]
Fix bug #1934 Wrong values at media list in BAT

11 years agoFix double unlink
Kern Sibbald [Sun, 16 Sep 2012 10:39:54 +0000 (12:39 +0200)]
Fix double unlink

11 years agoMore tests for freeing NULL pointers
Kern Sibbald [Sun, 16 Sep 2012 10:22:29 +0000 (12:22 +0200)]
More tests for freeing NULL pointers

11 years agoAdd MaximumConcurrentReadJobs directive to Storage resource
Kern Sibbald [Fri, 14 Sep 2012 20:49:13 +0000 (22:49 +0200)]
Add MaximumConcurrentReadJobs directive to Storage resource

11 years agoTweak error handling should return just as all others.
Marco van Wieringen [Thu, 13 Sep 2012 09:22:53 +0000 (11:22 +0200)]
Tweak error handling should return just as all others.

11 years agoTweak update notes
Kern Sibbald [Thu, 13 Sep 2012 08:51:19 +0000 (10:51 +0200)]
Tweak update notes

11 years agoTweak update version date
Kern Sibbald [Thu, 13 Sep 2012 08:48:10 +0000 (10:48 +0200)]
Tweak update version date

11 years agoFix accurate option in the estimate command
Eric Bollengier [Thu, 13 Sep 2012 06:49:44 +0000 (08:49 +0200)]
Fix accurate option in the estimate command

11 years agoFix bug #1932 director crash.
Marco van Wieringen [Thu, 13 Sep 2012 05:43:32 +0000 (07:43 +0200)]
Fix bug #1932 director crash.

11 years agobweb: Fix patch for #1909 about bad expire value
Eric Bollengier [Wed, 12 Sep 2012 11:14:22 +0000 (13:14 +0200)]
bweb: Fix patch for #1909 about bad expire value

11 years agoregress: tweak big-files-test
Eric Bollengier [Tue, 11 Sep 2012 15:42:20 +0000 (17:42 +0200)]
regress: tweak big-files-test

11 years agoTweak turn off DEVELOPER
Kern Sibbald [Tue, 11 Sep 2012 09:26:24 +0000 (11:26 +0200)]
Tweak turn off DEVELOPER

11 years agoTweak update po
Kern Sibbald [Tue, 11 Sep 2012 07:10:49 +0000 (09:10 +0200)]
Tweak update po

11 years agoTweak ChangeLog ReleaseNotes
Kern Sibbald [Tue, 11 Sep 2012 07:03:48 +0000 (09:03 +0200)]
Tweak ChangeLog ReleaseNotes

11 years agoTweak previous patch on batch insert
Eric Bollengier [Mon, 10 Sep 2012 19:44:15 +0000 (21:44 +0200)]
Tweak previous patch on batch insert

11 years agoregress: change /bin/sleep to sleep
Eric Bollengier [Mon, 10 Sep 2012 19:41:56 +0000 (21:41 +0200)]
regress: change /bin/sleep to sleep

11 years agoAdd JobId to SD debug output
Kern Sibbald [Mon, 10 Sep 2012 15:41:25 +0000 (17:41 +0200)]
Add JobId to SD debug output

11 years agoCommit batch session every 800,000 files
Eric Bollengier [Mon, 10 Sep 2012 13:41:45 +0000 (15:41 +0200)]
Commit batch session every 800,000 files

11 years agoTweak update version date
Kern Sibbald [Mon, 10 Sep 2012 10:02:40 +0000 (12:02 +0200)]
Tweak update version date

11 years agoSimplify safer delete code using a single regex
Kern Sibbald [Mon, 10 Sep 2012 10:01:45 +0000 (12:01 +0200)]
Simplify safer delete code using a single regex

11 years agoRewrite cleanup_old_files() and add safe_unlink() to make unlinking temp files more...
Kern Sibbald [Sun, 9 Sep 2012 18:21:50 +0000 (20:21 +0200)]
Rewrite cleanup_old_files() and add safe_unlink() to make unlinking temp files more secure

11 years agoTypo fixes to manpages
Kern Sibbald [Sat, 8 Sep 2012 13:17:48 +0000 (15:17 +0200)]
Typo fixes to manpages

11 years agoUpdate ChangeLog and Release Notes
Kern Sibbald [Sat, 8 Sep 2012 12:56:22 +0000 (14:56 +0200)]
Update ChangeLog and Release Notes

11 years agoClean up error message generation during update attributes -- should fix bug #1823
Kern Sibbald [Sat, 8 Sep 2012 12:20:02 +0000 (14:20 +0200)]
Clean up error message generation during update attributes -- should fix bug #1823

11 years agoEliminate heartbeat error messages. Fixes bug #1925
Kern Sibbald [Sat, 8 Sep 2012 10:20:53 +0000 (12:20 +0200)]
Eliminate heartbeat error messages. Fixes bug #1925

11 years agoUpdate version date
Kern Sibbald [Fri, 7 Sep 2012 16:31:24 +0000 (18:31 +0200)]
Update version date

11 years agoTweak recompile configure.in
Kern Sibbald [Fri, 7 Sep 2012 14:47:17 +0000 (16:47 +0200)]
Tweak recompile configure.in

11 years agoSet bsrdir default to workingdir
Kern Sibbald [Fri, 7 Sep 2012 14:46:56 +0000 (16:46 +0200)]
Set bsrdir default to workingdir

11 years agoRecompile configure.in
Kern Sibbald [Fri, 7 Sep 2012 13:28:32 +0000 (15:28 +0200)]
Recompile configure.in

11 years agoApply patch from bug #1911 to implement --with-logdir
Kern Sibbald [Fri, 7 Sep 2012 13:28:19 +0000 (15:28 +0200)]
Apply patch from bug #1911 to implement --with-logdir

11 years agoAdd chio-changer-openbsd submitted in bug #1903
Kern Sibbald [Thu, 6 Sep 2012 17:25:45 +0000 (19:25 +0200)]
Add chio-changer-openbsd submitted in bug #1903

11 years agomysql database install/update scripts patch. Fixes bug #1901
Kern Sibbald [Thu, 6 Sep 2012 17:21:58 +0000 (19:21 +0200)]
mysql database install/update scripts patch. Fixes bug #1901

11 years agoDelegate uid/gid changing to systemd. Fixes bug #1905
Alexander Golovko [Thu, 6 Sep 2012 17:16:26 +0000 (19:16 +0200)]
Delegate uid/gid changing to systemd. Fixes bug #1905

11 years agoFix bug #1906
Marco van Wieringen [Wed, 5 Sep 2012 07:51:40 +0000 (09:51 +0200)]
Fix bug #1906

Fix provided by Jan Hauke Rahm <jhr@debian.org>

11 years agoFix manpage errors, fixes bug #1907
Marco van Wieringen [Wed, 5 Sep 2012 07:45:59 +0000 (09:45 +0200)]
Fix manpage errors, fixes bug #1907

Applied patches supplied in bug 1907. Patch originally provided by
Jan Hauke Rahm <jhr@debian.org>

11 years agoTweak typo.
Marco van Wieringen [Wed, 5 Sep 2012 07:24:33 +0000 (09:24 +0200)]
Tweak typo.

11 years agoFinal fix for #1859 missed one query.
Marco van Wieringen [Wed, 5 Sep 2012 07:22:52 +0000 (09:22 +0200)]
Final fix for #1859 missed one query.

11 years agobpluginfo - Utility tool display various information
Radoslaw Korzeniewski [Thu, 30 Aug 2012 13:07:11 +0000 (15:07 +0200)]
bpluginfo - Utility tool display various information

11 years agoTweak restore path prompt
Kern Sibbald [Mon, 20 Aug 2012 06:10:32 +0000 (08:10 +0200)]
Tweak restore path prompt

11 years agoBackport more master code
Kern Sibbald [Sun, 19 Aug 2012 11:16:58 +0000 (13:16 +0200)]
Backport more master code

11 years agoFix Makefile.in so that testfind builds with acl dependency
Kern Sibbald [Sun, 19 Aug 2012 06:33:15 +0000 (08:33 +0200)]
Fix Makefile.in so that testfind builds with acl dependency

11 years agoMake dump_resource respect console ACL's
Kern Sibbald [Sat, 18 Aug 2012 13:46:03 +0000 (15:46 +0200)]
Make dump_resource respect console ACL's

11 years agoBackport more from master
Kern Sibbald [Sat, 18 Aug 2012 13:45:32 +0000 (15:45 +0200)]
Backport more from master

11 years agobackport code from master
Kern Sibbald [Fri, 17 Aug 2012 18:11:23 +0000 (20:11 +0200)]
backport code from master

11 years agoFix #1923 about MySQL 4 support for BVFS
Eric Bollengier [Thu, 16 Aug 2012 09:30:00 +0000 (11:30 +0200)]
Fix #1923 about MySQL 4 support for BVFS

11 years agobweb: Fix #1909 about expire calculation
Eric Bollengier [Tue, 10 Jul 2012 15:49:26 +0000 (17:49 +0200)]
bweb: Fix #1909 about expire calculation

11 years agoFix #1902 about bad status slots output
Eric Bollengier [Thu, 5 Jul 2012 07:58:43 +0000 (09:58 +0200)]
Fix #1902 about bad status slots output

11 years agoFix Sigma Copy bug #4377
Kern Sibbald [Thu, 5 Jul 2012 06:49:11 +0000 (08:49 +0200)]
Fix Sigma Copy bug #4377

11 years agoTweak debug
Kern Sibbald [Thu, 5 Jul 2012 06:48:46 +0000 (08:48 +0200)]
Tweak debug

11 years agobweb: Fix #1904 about sql problem
Eric Bollengier [Thu, 5 Jul 2012 07:02:42 +0000 (09:02 +0200)]
bweb: Fix #1904 about sql problem

11 years agoFix bsmtp
Marco van Wieringen [Tue, 3 Jul 2012 15:31:27 +0000 (17:31 +0200)]
Fix bsmtp

Add extra option -4 and -6 like most cmds do nowadays. Fixed usage
message, manpage and some other small bugs.

11 years agoTweak layout.
Marco van Wieringen [Tue, 3 Jul 2012 14:23:56 +0000 (16:23 +0200)]
Tweak layout.

11 years agoReset bsmtp to only send to IPv4 mailhosts.
Marco van Wieringen [Tue, 3 Jul 2012 14:11:12 +0000 (16:11 +0200)]
Reset bsmtp to only send to IPv4 mailhosts.

As part of the support for getaddrinfo which replaces the obsolete
gethostbyname interface in POSIX we can now connect to IPv6 mailhosts.
As it seems on a lot of hosts localhost is defined first as IPv6
address and then as IPv4 address. As a result of this bsmtp tries
to connect to a local mailhost using the ipv6 protocol but most
people forget to allow relay rights for IPv6 local SMTP traffic
and as such the mail is dropped. So for now we revert the behaviour
of bsmtp to only connect to IPv4 mailhosts unless the -a option
is given which will query the name service for any suitable protocol.

11 years agoUpdate version date
Kern Sibbald [Thu, 28 Jun 2012 14:52:03 +0000 (16:52 +0200)]
Update version date

11 years agoTweak ReleaseNotes
Kern Sibbald [Thu, 28 Jun 2012 14:51:33 +0000 (16:51 +0200)]
Tweak ReleaseNotes

11 years agoTweak release + update po
Kern Sibbald [Wed, 27 Jun 2012 13:42:07 +0000 (15:42 +0200)]
Tweak release + update po

11 years agoAdd extra test for unsupported Protocol Families.
Marco van Wieringen [Wed, 27 Jun 2012 13:32:38 +0000 (15:32 +0200)]
Add extra test for unsupported Protocol Families.

With getaddrinfo we could get back theorethically
an protocol family that we don't support on the
local client. Now we set our hints better we are
probably safe but lets put in some extra safeguards.

11 years agoCreate ChangeLog Release notes and update version.h
Kern Sibbald [Wed, 27 Jun 2012 11:48:03 +0000 (13:48 +0200)]
Create ChangeLog Release notes and update version.h

11 years agoTweak record write state
Kern Sibbald [Wed, 27 Jun 2012 11:29:24 +0000 (13:29 +0200)]
Tweak record write state

11 years agoFix inet_pton call.
Marco van Wieringen [Tue, 26 Jun 2012 19:43:19 +0000 (21:43 +0200)]
Fix inet_pton call.

inet_pton returns 1 when it succeeds so the test was wrong. When
it fails its either returns 0 if not a correct ipv6 address or
-1 when the protocol family is not known. Checked the man page
for both Linux and Solaris and this seems like an oversight as
the definition is the same on these OSes and probably on all others
as these functions tend to be rather portable.

Also did some small rewrite of the code so its easier to read and
the braces are easier to interpret.

11 years agoReal fix of bug #1897
Marco van Wieringen [Tue, 26 Jun 2012 19:11:17 +0000 (21:11 +0200)]
Real fix of bug #1897

We are only interested in SOCK_STREAM and protocol IPPROTO_TCP
as that is the way we communicate. When we don't specify that
in the hints for getaddrinfo we also get SOCK_DGRAM/IPPROTO_UDP
and on Linux SOCK_RAW. And possibly more on other platforms.
So lets me more specific. The older fix to suppress duplicates
is also useable as a user might specify two or more names
that resolve to the same address and we want to suppress duplicates
also.

11 years agoFix bug #1891
Marco van Wieringen [Tue, 26 Jun 2012 15:14:50 +0000 (17:14 +0200)]
Fix bug #1891

Both the storage daemon and director should use the correct name
in the usage output. The file daemon already uses bacula-fd and
from now on bacula-sd and bacula-dir is used for the other daemons
in their usage output.

11 years agoFix bug #1859
Marco van Wieringen [Tue, 26 Jun 2012 15:05:35 +0000 (17:05 +0200)]
Fix bug #1859

SQL syntax error in UPDATE Counters and INSERT INTO Counters using
"Counters.MinValue" and "Counters.MaxValue"

Create specific queries in sql_cmds.c for the two queries in the
code that select and update counter records in the database.

All default queries in the sql_cmds.c are static from now on as
we don't want to polute the namespace with data that is only used
within sql_cmds.c to initialize the backend specific sql tables.

Removed all trailing spaces in sql_cmds.c

11 years agoTweak layout.
Marco van Wieringen [Tue, 26 Jun 2012 08:28:27 +0000 (10:28 +0200)]
Tweak layout.

11 years agoFirst try at fixing bug #1897
Marco van Wieringen [Mon, 25 Jun 2012 17:42:28 +0000 (19:42 +0200)]
First try at fixing bug #1897

Remove any duplicate addresses on a addr dlist.
For listening it makes no sense as we cannot listen
multiple times on the same address with different sockets.
And for outbound connecting its also kind of strange to
try to connect multiple times to the same address.

11 years agoFix bat from eating all Dir connections -- fixes bug #1872
Kern Sibbald [Mon, 18 Jun 2012 21:36:18 +0000 (23:36 +0200)]
Fix bat from eating all Dir connections -- fixes bug #1872

11 years agoConvert write_rec_to_block() to a state machine
Kern Sibbald [Sat, 23 Jun 2012 11:40:25 +0000 (13:40 +0200)]
Convert write_rec_to_block() to a state machine

11 years agoFix typo
Marco van Wieringen [Fri, 22 Jun 2012 08:57:47 +0000 (10:57 +0200)]
Fix typo

11 years agoTweak Storage warning message for restore when StorageId not found
Kern Sibbald [Thu, 21 Jun 2012 20:33:03 +0000 (22:33 +0200)]
Tweak Storage warning message for restore when StorageId not found

11 years agoSend level before the fileset in estimate_cmd() like in backup()
Eric Bollengier [Mon, 4 Jun 2012 16:12:37 +0000 (18:12 +0200)]
Send level before the fileset in estimate_cmd() like in backup()

11 years agoFix typo in sqlite3 DB upgrade -- fixes bug #1895
Kern Sibbald [Mon, 18 Jun 2012 17:25:43 +0000 (19:25 +0200)]
Fix typo in sqlite3 DB upgrade -- fixes bug #1895

11 years agoBack port fixes from BEE to fix Windows bug #1892
Kern Sibbald [Mon, 18 Jun 2012 12:28:55 +0000 (14:28 +0200)]
Back port fixes from BEE to fix Windows bug #1892

11 years agoAdd block checksum flag to version.h
Kern Sibbald [Fri, 15 Jun 2012 13:19:22 +0000 (15:19 +0200)]
Add block checksum flag to version.h

11 years agoAdd block checksum debug code
Kern Sibbald [Fri, 15 Jun 2012 13:14:44 +0000 (15:14 +0200)]
Add block checksum debug code

11 years agoTweak second part of fix for #1893
Marco van Wieringen [Fri, 15 Jun 2012 13:07:07 +0000 (15:07 +0200)]
Tweak second part of fix for #1893

11 years agoFix bug #1893
Marco van Wieringen [Fri, 15 Jun 2012 12:16:58 +0000 (14:16 +0200)]
Fix bug #1893

Only try to close an database transaction when the database
is opened. Only destroy an rwl_lock when it is initialized.
As dbcheck only calls db_init_database and then db_close_database
the database is never opened and we try to end an transaction
on a non-opened database, the rwl_destroy will also give
an error (which is ignored) as the rwl_lock is only initialized
on opening of the database.

11 years agoRemove restriction of network buffer size being multiple of a tape block
Kern Sibbald [Wed, 13 Jun 2012 05:55:47 +0000 (07:55 +0200)]
Remove restriction of network buffer size being multiple of a tape block

11 years agoRecompile configure.in
Kern Sibbald [Mon, 11 Jun 2012 15:30:34 +0000 (17:30 +0200)]
Recompile configure.in

11 years agoAdd rudimentary support for saving AFS acls.
Marco van Wieringen [Mon, 11 Jun 2012 15:16:40 +0000 (17:16 +0200)]
Add rudimentary support for saving AFS acls.

    Add support for saving and restoring AFS acls using the
    pioctl interface of (Open)AFS. This is mostly a proof of
    concept its no where ready for production and may put
    a enormous load on your AFS cell so please use it only
    for testing. It also only solves part of the AFS backup
    problem as we only save and restore acls on directories
    on an AFS filesystem but not the actual cell configuration
    etc. For that we advice you to use the native tooling
    using some script or the bpipe plugin.

11 years agoAdd missing systemd file
Kern Sibbald [Mon, 11 Jun 2012 14:53:09 +0000 (16:53 +0200)]
Add missing systemd file