Changesets: bareos

master c162cc00

2013-05-04 19:15:32

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Switch to gcc 4.8

Unfortunately, with gcc 4.8, libc now is called
- libgcc_s_sjlj-1.dll on 32Bit Windows
- libgcc_s_seh-1.dll on 64Bit Windows

This patch adapts to that fact.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File

master 1b5c5894

2013-05-04 19:15:07

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
file job.c is no more

Adapted makefile to correctly build.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/win32/filed/Makefile Diff File

master 3fdcd873

2013-05-04 19:15:04

mvwieringen adm

Ported: N/A

Details Diff
Tweak layout.
mod - src/dird/ua_cmds.c Diff File

master 8aca2bc2

2013-05-04 19:15:02

mvwieringen adm

Ported: N/A

Details Diff
mig_jcr is freed to early.

Because the mig_jcr is already freed in the migration_cleanup() function
all info is lost when we get to the after runscript. This is a design
error so we moved the freeing of the mig_jcr now to just before the Job
actually exits and has done all its work.

Fixes 0000139: export command in a RunScript ressource does not get the
correct volume when doing scheduled JobType Copy
Affected Issues
0000139
mod - src/dird/migrate.c Diff File
mod - src/dird/job.c Diff File

master 68774067

2013-05-04 19:14:59

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Better handling of existing config files

When existing configuration files are found, in interactive mode the
user is asked if the existing config file should be kept and the newly
generated file is stored aside as config.new.

Also, the user can choose to move the existing file to config.old, and
install the new one in the original place.
This is what is done in silent installation mode.

The default for the uninstaller is now to keep existing config files.
In silent mode, the uninstaller will remove existing config files.

Fixes 0000140: Winbareos installer renames old config when updating

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000140
mod - platforms/win32/winbareos.nsi Diff File

master 01d3063e

2013-05-04 19:14:57

mvwieringen adm

Ported: N/A

Details Diff
Fix problem on OSX due to refactoring.
mod - src/findlib/find_one.c Diff File

master d355b161

2013-05-04 19:14:55

mvwieringen adm

Ported: N/A

Details Diff
Generate braces in find_used_compressalgos function.
mod - src/dird/inc_conf.c Diff File
mod - src/dird/backup.c Diff File

master 3fa8dea8

2013-05-04 19:14:52

mvwieringen adm

Ported: N/A

Details Diff
Tweak layout and use counter.
mod - src/dird/inc_conf.c Diff File

master 0719219a

2013-05-04 19:14:49

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Job report shows the used compression algorithm

As we now have multiple available compression algorithms, and
we can use multiple of them in one backup, we now show which
compression algorithms were chosen during in the Fileset options.

Fixes 0000131: Job report should show which compressions were used during backup

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000131
mod - src/dird/protos.h Diff File
mod - src/dird/inc_conf.c Diff File
mod - src/dird/backup.c Diff File

master 87a20ccb

2013-05-04 19:14:44

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Added the licenses for the fastlzlib library.

The github project has 3 license texts (LICENSE, LICENSE-FASTLZ
and LICENSE-LZ4) that were all included into our LICENSE file.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - LICENSE Diff File

master 330bca6a

2013-05-04 19:14:42

mvwieringen adm

Ported: N/A

Details Diff
Fix typo.
mod - src/lib/util.c Diff File

master a525b28f

2013-05-04 19:14:31

mvwieringen adm

Ported: N/A

Details Diff
For migration/copy Jobs need to look at mig_jcr.

Added new %V option to expansion variables which is the same as %v
but always prints the destination Volumes a Job used. For migration
and copy Jobs this expansion looks at the mig_jcr pointer in the JCR.

As this mig_jcr only exists in the director the %V is expanded in
the callback expansion function in the director as in the generic
expansion function is compiled as part of the generic shared library
we are missing that variable there.

While implementing this expansion also reformated the whole function
as the switch statement was wrongly indented. Removed unneeded break
statements after a return. Document what is expanded in the callback
expansion function.

Fixes 0000139: export command in a RunScript ressource does not get the
correct volume when doing scheduled JobType Copy
Affected Issues
0000139
mod - src/lib/util.c Diff File
mod - src/dird/dird_conf.c Diff File

master ee57bc50

2013-05-04 19:13:53

mvwieringen adm

Ported: N/A

Details Diff
Fix some compiler warning.
mod - src/filed/dir_cmd.c Diff File
mod - src/dird/verify.c Diff File
mod - src/dird/backup.c Diff File

master 83b449e3

2013-05-04 19:13:51

mvwieringen adm

Ported: N/A

Details Diff
Update README.md
mod - README.md Diff File

master c17a30e1

2013-05-04 19:13:47

mvwieringen adm

Ported: N/A

Details Diff
Reverse data channel initialization

It would be nice if the initialization of the data channel could be
reversed, so that the SD connects to the FD. This would make the
network setup and firewalling much easier in many cases, and make
tricks like ssh tunnels no longer necessary. For Example things like
SDs being situated behind a NAT gateway would be no problem anymore.

We can also tag this as the firewall friendly solution. The default
for all clients is still active mode e.g. FD contacts SD but when
the DIR and SD are within a firewalled site and the FD is in a DMZ
or out on the Internet you can define the client as a passive client
and the DIR and SD will contact the FD so you have only socket
connections being initiated from the secure site without the need for
special resolving tricks (like a split DNS) and/or portforwarders on the
firewall that tunnel the traffic from the DMZ or Internet to your SD.

This passive mode is implemented for Backups, Restores and Verifies
of Jobs. The Director checks the version of the client to make sure
it supports the new passive protocol features.

Fixes 0000061: reverse data channel initialization
Affected Issues
0000061
mod - src/stored/stored_conf.h Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/sd_cmds.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/fd_cmds.c Diff File
mod - src/stored/authenticate.c Diff File
mod - src/stored/Makefile.in Diff File
mod - src/include/jcr.h Diff File
mod - src/filed/verify_vol.c Diff File
add - src/filed/sd_cmds.c Diff File
mod - src/filed/protos.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/authenticate.c Diff File
mod - src/filed/Makefile.in Diff File
mod - src/dird/verify.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird.h Diff File
mod - src/dird/bsr.c Diff File
mod - src/dird/backup.c Diff File

master 0582f4b8

2013-05-04 19:13:39

mvwieringen adm

Ported: N/A

Details Diff
Upgrade config.guess and config.sub to autoconf-2.69
mod - autoconf/config.sub Diff File
mod - autoconf/config.guess Diff File

master f5213af7

2013-05-04 19:13:36

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Reject incorrect modulo specifications

Now the parser rejects incorrect modulo specifications
with an error and a hint to the correct format.

Fixes 0000135: modulo scheduler does not work with weeks

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000135
mod - src/dird/run_conf.c Diff File

master cabe90c9

2013-05-04 19:13:33

mvwieringen adm

Ported: N/A

Details Diff
Rename global resource in director,

Rename the global director variable to the same name used in the storage
daemon and filedaemon which is me. Also drop the two global variables
for the FD and SD timeout as those are part of the global resource
anyway so we can reference the me variable and don't need to polute the
global naming space of the binary with them.
mod - src/dird/verify.c Diff File
mod - src/dird/vbackup.c Diff File
mod - src/dird/ua_tree.c Diff File
mod - src/dird/ua_server.c Diff File
mod - src/dird/ua_query.c Diff File
mod - src/dird/ua_prune.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/dird.h Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/backup.c Diff File
mod - src/dird/authenticate.c Diff File

master 682b2923

2013-05-04 19:13:31

mvwieringen adm

Ported: N/A

Details Diff
Tweak set boolean values to true or false.
mod - src/stored/dircmd.c Diff File
mod - src/filed/job.c Diff File

master 70c544f7

2013-05-04 19:13:28

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
add fastzlib to windows

this patch enables the use of fastlzlib
for the windows version of bareos.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/win32/filed/Makefile Diff File
mod - src/win32/compat/include/mingwconfig.h Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File

master acce0253

2013-05-04 19:13:24

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
added BuildRequires: libfastlz-devel to spec

as we now support the fastlz library, we also want
to build support for it into our rpm packages.
As configure already checks for it, we only have
to add the devel package to the buildrequires.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - platforms/rpms/bareos.spec Diff File

master f51c511c

2013-05-04 19:13:21

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
fixed typo in bareos-dir startscript

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - platforms/suse/bareos-dir.in Diff File

master c709d45d

2013-05-04 19:13:18

mvwieringen adm

Ported: N/A

Details Diff
Fix statistics retention default value.

60s * 60m * 24h * 31d * 12m * 5 != 5 years
60s * 60m * 365d * 5 != 5 years

But the second value is much closer then using 12 months with
31 days of which 4 months have 30 days and one has either 28
e.g. 3 days less or at best 29 days so 2 days less. When multiplied
with 5 years this mean you calculate something 30+ days to much.
mod - src/dird/dird_conf.c Diff File

master 735cc85f

2013-05-04 19:13:10

mvwieringen adm

Ported: N/A

Details Diff
Fix comments so that we know what the value actually means.
mod - src/stored/stored_conf.c Diff File
mod - src/include/host.h.in Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/dird/dird_conf.c Diff File

master d2120868

2013-05-04 19:12:31

mvwieringen adm

Ported: N/A

Details Diff
Fix wrong default timeouts.

When converting the default timeouts in the config engine set them
to 180 instead of the wanted 1800 seconds.
mod - src/stored/stored_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
 First  Prev  1 2 3 ... 50 ... 100 ... 150 ... 200 ... 250 ... 300 ... 350 ... 400 ... 450 ... 500 ... 505 506 507 508 509 510 511 ... 519 520 521  Next  Last