Changesets: bareos

bareos-17.2 48e0c779

2017-06-28 19:41

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
gfapi: Explicitly close glfs fd on IO-open.

Close the glfs fd handle on an IO_OPEN when it was not closed for
whatever reason.
mod - src/plugins/filed/gfapi-fd.c Diff File

bareos-16.2 fde6778b

2017-06-28 19:41

mvwieringen

Ported: N/A

Details Diff
gfapi: Explicitly close glfs fd on IO-open.

Close the glfs fd handle on an IO_OPEN when it was not closed for
whatever reason.
mod - src/plugins/filed/gfapi-fd.c Diff File

bareos-17.2 d8036ba2

2017-06-28 19:41

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
gfapi: Fix backups with empty glusterfind filelist.

The original plugin interface always expect one or more files
to be backuped. With glusterfind it can happen that no files changed
since the last backup which means when we do a setup_backup we return
bRC_OK instead of bRC_More which normally means there are more files
to backup (for determining what file needs to be processed next we use
get_next_file_to_backup() which is also used in the endBackupFile()
plugin function.

Problem is however returning bRC_OK has different meaning when used
in bEventBackupCommand e.g. start of backup vs endBackupFile() there is
a nice and smart workaround and that is that we know normally
get_next_file_to_backup() should always return bRC_More and only on
an empty list a bRC_OK is returned. The way the initialization works
we can return anything other then bRC_OK (bRC_Skip in our case) which
means the loop never gets executed.

As we now never get into the backup loop we also are no longer bitten
by the side effect you see on backing up an empty file list e.g.
failing backups due to the fact that the backup expects one or more valid
so called savepackets. When the filelist is empty a savepacket with as
sp_type zero is returned and that leads to the following error:
'no type in startBackupFile packet.'

So the problem manifested itself as a way different error then what actually
is the real problem. Corner case closed.
mod - src/filed/fd_plugins.c Diff File
mod - src/plugins/filed/gfapi-fd.c Diff File

bareos-16.2 bc43e15b

2017-06-28 19:41

mvwieringen

Ported: N/A

Details Diff
gfapi: Fix backups with empty glusterfind filelist.

The original plugin interface always expect one or more files
to be backuped. With glusterfind it can happen that no files changed
since the last backup which means when we do a setup_backup we return
bRC_OK instead of bRC_More which normally means there are more files
to backup (for determining what file needs to be processed next we use
get_next_file_to_backup() which is also used in the endBackupFile()
plugin function.

Problem is however returning bRC_OK has different meaning when used
in bEventBackupCommand e.g. start of backup vs endBackupFile() there is
a nice and smart workaround and that is that we know normally
get_next_file_to_backup() should always return bRC_More and only on
an empty list a bRC_OK is returned. The way the initialization works
we can return anything other then bRC_OK (bRC_Skip in our case) which
means the loop never gets executed.

As we now never get into the backup loop we also are no longer bitten
by the side effect you see on backing up an empty file list e.g.
failing backups due to the fact that the backup expects one or more valid
so called savepackets. When the filelist is empty a savepacket with as
sp_type zero is returned and that leads to the following error:
'no type in startBackupFile packet.'

So the problem manifested itself as a way different error then what actually
is the real problem. Corner case closed.
mod - src/filed/fd_plugins.c Diff File
mod - src/plugins/filed/gfapi-fd.c Diff File

bareos-17.2 8a2d9ce9

2017-06-28 19:41

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
gfapi: Allow to use non-accurate backups with glusterfind

With the introduction of glusterfind support we explicitly assumed that
accurate mode was always used by the Job doing the backup. This patch
allows you to run non accurate backups although best practice is to use
accurate mode.
mod - src/plugins/filed/gfapi-fd.c Diff File

bareos-16.2 53ca1154

2017-06-28 19:41

mvwieringen

Ported: N/A

Details Diff
gfapi: Allow to use non-accurate backups with glusterfind

With the introduction of glusterfind support we explicitly assumed that
accurate mode was always used by the Job doing the backup. This patch
allows you to run non accurate backups although best practice is to use
accurate mode.
mod - src/plugins/filed/gfapi-fd.c Diff File

bareos-17.2 f7f488a7

2017-06-28 19:41

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
debug: Print open flags as %08o and mode as %04o

In debug message printing open flags as octal and 4 bytes long delivers
much better readable stuff as you get things line 0640 which is sane as
that is also something you can give to lets say chmod. Open flags like
O_CREAT, O_READONLY etc are also defined as octal values of 8 bytes so
lets also print them so you can easily grep them from the proper include
files and they look somewhat familiar. Before those were sometimes printed
as decimal and sometimes as hexadecimal so that always leads to
converting.
mod - src/filed/accurate.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/findlib/bfile.c Diff File
mod - src/findlib/create_file.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/stored/dev.c Diff File

bareos-16.2-droplet 2132a59d

2017-06-28 19:41

mvwieringen

Ported: N/A

Details Diff
debug: Print open flags as %08o and mode as %04o

In debug message printing open flags as octal and 4 bytes long delivers
much better readable stuff as you get things line 0640 which is sane as
that is also something you can give to lets say chmod. Open flags like
O_CREAT, O_READONLY etc are also defined as octal values of 8 bytes so
lets also print them so you can easily grep them from the proper include
files and they look somewhat familiar. Before those were sometimes printed
as decimal and sometimes as hexadecimal so that always leads to
converting.
mod - src/filed/accurate.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/findlib/bfile.c Diff File
mod - src/findlib/create_file.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/stored/dev.c Diff File

master 8a7d72d8

2017-06-27 14:56

joergs

Ported: N/A

Details Diff
update_bareos_tables: show a warning if updating to 2170

With DB version 2170, the FilenameId has been merged into the File
table. The result is a lot faster, however require more disk space.
During the migration, it can require twice the normal database disk
space.

This commit adds a warning about this to the update_bareos_tables
script.
mod - src/cats/update_bareos_tables.in Diff File

master 2c99f9a3

2017-06-26 17:06

joergs

Ported: N/A

Details Diff
tweak: remove compile warning
mod - src/stored/record.c Diff File

master a605fc64

2017-06-24 21:51

joergs

Ported: N/A

Details Diff
updated debian/copyright
mod - debian/copyright Diff File

bareos-16.2 0f8b3bc0

2017-06-23 16:33

frank


Committer: joergs

Ported: N/A

Details Diff
OpenSSL: Fix Fedora 26 build

Use compat-openssl10-devel instead of openssl-devel on Fedora > 25.
mod - platforms/packaging/bareos.spec Diff File

master f1a2fff0

2017-06-21 17:42

joergs

Ported: N/A

Details Diff
add documentation for Director Storage ChangerDevice and TapeDevice
mod - src/dird/dird_conf.c Diff File

master d6e0f34f

2017-06-21 16:25

joergs

Ported: N/A

Details Diff
tweak example configuration files

add missing "Auto Changer = yes" directive in
bareos-dir.d/storage/Tape.conf.example

RPM: make owner and permissions of example file identical to real
configuration files. This prevents mistakes, when reusing them.
mod - platforms/packaging/bareos.spec Diff File
mod - src/stored/backends/unix_tape_device.d/bareos-dir.d/storage/Tape.conf.example Diff File

bareos-16.2 eda27ac9

2017-06-21 14:52

joergs

Ported: N/A

Details Diff
Debian 9: adapt openssl dependencies

Debian 9 updated openssl from 1.0 to 1.1.
As the current Bareos code requires openssl < 1.1,
the dependencies have been adapted to use the compat library.
mod - debian/control Diff File
mod - debian/control.in Diff File
mod - platforms/packaging/bareos.dsc Diff File

bareos-16.2 385b684a

2017-06-20 18:58

joergs

Ported: N/A

Details Diff
Debian 9: adapt MySQL/MariaDB dependencies

With Debian 9, MySQL has been replaced by MariaDB.
To be able to continue building on all Debain based platforms,
we changed our dependencies from
"mysql-server" to "default-mysql-server | mysql-server"
mod - debian/control Diff File
mod - debian/control.in Diff File
mod - platforms/packaging/bareos.dsc Diff File

master bdf5c0ff

2017-06-20 18:57

joergs

Ported: N/A

Details Diff
upstream some changes from debian.org

Debian.org maintain there own Bareos branch.
This patch integrates some of there patches to the upstream project.
Selected changeS: useful or at least do not hurt,
but modifies files that do not exist in the upstream project
(Debian.org uses there own set of debian/control, ... files).
mod - debian/control.bareos-filedaemon-ceph-plugin Diff File
mod - debian/control.bareos-storage-ceph Diff File
mod - debian/control.in Diff File
mod - debian/copyright.header Diff File
mod - debian/rules Diff File

master 221b57bd

2017-06-20 17:33

joergs

Ported: N/A

Details Diff
cleanup
mod - README.md Diff File

master 50281565

2017-06-20 17:25

joergs

Ported: N/A

Details Diff
added readline <-> conio hint
mod - autoconf/configure.in Diff File

master 3e153d3f

2017-06-20 16:32

joergs

Ported: N/A

Details Diff
bvfs: cleanup some sql queries
mod - src/cats/bdb_query_enum_class.h Diff File
mod - src/cats/bdb_query_names.inc Diff File
mod - src/cats/bvfs.c Diff File
add - src/cats/dml/0048_bvfs_list_files Diff File
rm - src/cats/dml/0048_sql_bvfs_list_files Diff File
add - src/cats/dml/0063_bvfs_versions_6 Diff File
add - src/cats/dml/0064_bvfs_lsdirs_6 Diff File
add - src/cats/dml/0065_bvfs_clear_cache_0 Diff File
add - src/cats/dml/0065_bvfs_clear_cache_0.sqlite Diff File
add - src/cats/dml/0066_bvfs_update_path_visibility_3 Diff File
add - src/cats/dml/0066_bvfs_update_path_visibility_3.sqlite Diff File
mod - src/cats/mysql_queries.inc Diff File
mod - src/cats/postgresql_queries.inc Diff File
mod - src/cats/sqlite_queries.inc Diff File

bareos-16.2 4b5155ea

2017-06-20 11:59

pstorz

Ported: N/A

Details Diff
bareos-sd systemd service file: add CapabilityBoundingSet comment

Add a comment how to enable the cap_sys_rawio capability for the sd
when running scsi-crypto plugin
mod - platforms/systemd/bareos-sd.service.in Diff File

master 7a855130

2017-06-19 19:49

joergs

Ported: N/A

Details Diff
fixes command .bvfs_versions

also some code cleanup
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/cats/sql_create.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File

master 6c41cc56

2017-06-09 18:47

stephand

Ported: N/A

Details Diff
Fix MySQL/SQLite SQL Query for .bvfs_lsfiles
mod - src/cats/dml/0048_sql_bvfs_list_files Diff File
mod - src/cats/mysql_queries.inc Diff File
mod - src/cats/sqlite_queries.inc Diff File

master 84e9f627

2017-06-09 14:53

stephand

Ported: N/A

Details Diff
Fix MySQL/SQLite SQL Query for .bvfs_lsfiles
mod - src/cats/dml/0048_sql_bvfs_list_files Diff File
mod - src/cats/mysql_queries.inc Diff File
mod - src/cats/sqlite_queries.inc Diff File

bareos-16.2 f7aa2c28

2017-06-08 19:53

joergs

Ported: N/A

Details Diff
https://travis-ci.org: add missing dependency
mod - .travis.yml Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 513 514 515 516 517 518 519 ... 560 ... 630 ... 696 697 698  Next  Last