Changesets: bareos
master 5f688789 2017-06-30 17:37 Ported: N/A Details Diff |
tweak help string of the update command some other tweaks |
||
mod - src/cats/update_bareos_tables.in | Diff File | ||
mod - src/defaultconfigs/bareos-dir.d/catalog/MyCatalog.conf.in | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_update.c | Diff File | ||
bareos-17.2 d287bee6 2017-06-28 19:41 Committer: pstorz Ported: N/A Details Diff |
build: Update copyright. Claim copyright for all changes done over the years. Copyright statements are already in most source files but not in the generic version header and the command output. So essentially this doesn't change anything already not in effect already just makes it more prominent. Also added the BAREOS copyright which was missing in the comment section of version.h |
||
mod - src/include/version.h | Diff File | ||
bareos-16.2 56fe5d9c 2017-06-28 19:41 Ported: N/A Details Diff |
build: Update copyright. Claim copyright for all changes done over the years. Copyright statements are already in most source files but not in the generic version header and the command output. So essentially this doesn't change anything already not in effect already just makes it more prominent. Also added the BAREOS copyright which was missing in the comment section of version.h |
||
mod - src/include/version.h | Diff File | ||
bareos-17.2 4fe52fcd 2017-06-28 19:41 Committer: pstorz Ported: N/A Details Diff |
cephfs: Don't reinitialize the connection to CEPH. The plugin event bEventRestoreCommand is fired for each file we are supposed to restore, currently we don't check if we already have setup the connection to CEPH using the function connect_to_cephfs() and as such we leak a set of socket connections for each file restored. This is bad so lets properly check if things are already setup correctly. For a backup we do the same e.g. check if p_ctx->cmount is not already initialized. |
||
mod - src/plugins/filed/cephfs-fd.c | Diff File | ||
bareos-16.2 ec32843f 2017-06-28 19:41 Ported: N/A Details Diff |
cephfs: Don't reinitialize the connection to CEPH. The plugin event bEventRestoreCommand is fired for each file we are supposed to restore, currently we don't check if we already have setup the connection to CEPH using the function connect_to_cephfs() and as such we leak a set of socket connections for each file restored. This is bad so lets properly check if things are already setup correctly. For a backup we do the same e.g. check if p_ctx->cmount is not already initialized. |
||
mod - src/plugins/filed/cephfs-fd.c | Diff File | ||
bareos-17.2 b1babb6a 2017-06-28 19:41 Committer: pstorz Ported: N/A Details Diff |
gfapi: Don't reinitialize the connection to gluster The plugin event bEventRestoreCommand is fired for each file we are supposed to restore, currently we don't check if we already have setup the connection to gluster using the function connect_to_gluster() and as such we leak a set of socket connections for each file restored. This is bad so lets properly check if things are already setup correctly. For a backup we do the same e.g. check if p_ctx->glfs is not already initialized. |
||
mod - src/plugins/filed/gfapi-fd.c | Diff File | ||
bareos-16.2 a5aa2618 2017-06-28 19:41 Ported: N/A Details Diff |
gfapi: Don't reinitialize the connection to gluster The plugin event bEventRestoreCommand is fired for each file we are supposed to restore, currently we don't check if we already have setup the connection to gluster using the function connect_to_gluster() and as such we leak a set of socket connections for each file restored. This is bad so lets properly check if things are already setup correctly. For a backup we do the same e.g. check if p_ctx->glfs is not already initialized. |
||
mod - src/plugins/filed/gfapi-fd.c | Diff File | ||
bareos-17.2 48e0c779 2017-06-28 19:41 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 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 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 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 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 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 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 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 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 Ported: N/A Details Diff |
tweak: remove compile warning | ||
mod - src/stored/record.c | Diff File | ||
master a605fc64 2017-06-24 21:51 Ported: N/A Details Diff |
updated debian/copyright | ||
mod - debian/copyright | Diff File | ||
bareos-16.2 0f8b3bc0 2017-06-23 16:33 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 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 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 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 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 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 Ported: N/A Details Diff |
cleanup | ||
mod - README.md | Diff File |