Changesets: bareos2015
bareos-14.2 ffbd5c11 2014-02-03 15:27 Ported: N/A Details Diff |
Bump version number. | ||
mod - configure | Diff File | ||
mod - platforms/packaging/bareos-Debian_6.0.dsc | Diff File | ||
mod - platforms/packaging/bareos-Debian_7.0.dsc | Diff File | ||
mod - platforms/packaging/bareos-Univention_3.1.dsc | Diff File | ||
mod - platforms/packaging/bareos-Univention_3.2.dsc | Diff File | ||
mod - platforms/packaging/bareos-xUbuntu_10.04.dsc | Diff File | ||
mod - platforms/packaging/bareos-xUbuntu_12.04.dsc | Diff File | ||
mod - platforms/packaging/bareos.changes | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
mod - src/include/version.h | Diff File | ||
bareos-14.2 abe1a06c 2014-02-03 14:45 Committer: mvwieringen Ported: N/A Details Diff |
use config file settings to configure database Let the database configuration scripts get the configuration parameter from the director config file. Now, the scripts try to get there values in following order: 1. environment variable (db_name, db_user, db_password) 2. director config file 3. fallback value (from configure) Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - debian/control | Diff File | ||
mod - scripts/bareos-config-lib.sh.in | Diff File | ||
mod - src/cats/create_bareos_database.in | Diff File | ||
mod - src/cats/ddl/grants/mysql-readonly.sql | Diff File | ||
mod - src/cats/ddl/grants/mysql.sql | Diff File | ||
mod - src/cats/drop_bareos_database.in | Diff File | ||
mod - src/cats/drop_bareos_tables.in | Diff File | ||
mod - src/cats/grant_bareos_privileges.in | Diff File | ||
mod - src/cats/make_bareos_tables.in | Diff File | ||
mod - src/cats/update_bareos_tables.in | Diff File | ||
bareos-13.2 3ad449b8 2014-02-03 14:45 Committer: mvwieringen Ported: N/A Details Diff |
use config file settings to configure database Let the database configuration scripts get the configuration parameter from the director config file. Now, the scripts try to get there values in following order: 1. environment variable (db_name, db_user, db_password) 2. director config file 3. fallback value (from configure) Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - scripts/bareos-config-lib.sh.in | Diff File | ||
bareos-14.2 ec8ba3fb 2014-02-03 10:45 Ported: N/A Details Diff |
Make comment a C comment not shell Comment. | ||
mod - src/console/conio.c | Diff File | ||
bareos-14.2 4c6f8564 2014-01-30 11:00 Ported: N/A Details Diff |
Rebuild configure. | ||
mod - configure | Diff File | ||
bareos-14.2 09f8f6a0 2014-01-30 11:00 Ported: N/A Details Diff |
Add first cut of a script that collects runtime information. | ||
mod - autoconf/configure.in | Diff File | ||
mod - debian/bareos-common.install | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
mod - scripts/Makefile.in | Diff File | ||
add - scripts/bareos-explorer.in | Diff File | ||
bareos-14.2 910ed935 2014-01-30 11:00 Committer: mvwieringen Ported: N/A Details Diff |
Rework database scripting. Having the actual DDL (Data Definition Language) in scripts is not very flexible so we move all DDL into seperate files. We also dropped all database specific scripting and as such the generic script now knows for all supported database types what to do on create/update/grant and drop. You can also have a read-only user on your database that is allowed to select stuff but not anything else that might be interesting for Management Queries. The update script now can also upgrade from a database that is several versions old. For now that means you can upgrade from a Bacula database to the first Bareos database schema and also to the new Database schema we are introducing with this patch. For the future it means the script will perform all needed updates for you if its has the wanted so called conversion available (e.g. the way to go from one version to an other.) We also added more functionality to the bareos-config script and splitted the function into a bareos-config-lib which can be included by scripts so they can get config information like the working dir etc. This is already used in all the new database scripts. We also no longer use explicit absolute pathnames for database utilities but make sure the utility can be found via the PATH, if your PATH already provides the utility it will be used and otherwise the value will be used that was determined at compile time. Fixes 0000236: Hardcoded path for postgres (verison) in scripts |
Affected Issues 0000236 |
|
mod - autoconf/configure.in | Diff File | ||
mod - debian/bareos-common.install | Diff File | ||
mod - debian/bareos-database-mysql.install | Diff File | ||
mod - debian/bareos-database-postgresql.install | Diff File | ||
mod - debian/bareos-database-sqlite3.install | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
mod - scripts/Makefile.in | Diff File | ||
add - scripts/bareos-config-lib.sh.in | Diff File | ||
mod - scripts/bareos-config.in | Diff File | ||
mod - src/cats/Makefile.in | Diff File | ||
mod - src/cats/create_bareos_database.in | Diff File | ||
rm - src/cats/create_ingres_database.in | Diff File | ||
rm - src/cats/create_mysql_database.in | Diff File | ||
rm - src/cats/create_postgresql_database.in | Diff File | ||
rm - src/cats/create_sqlite3_database.in | Diff File | ||
add - src/cats/ddl/drops/postgresql.sql | Diff File | ||
add - src/cats/ddl/grants/ingres-readonly.sql | Diff File | ||
add - src/cats/ddl/grants/ingres.sql | Diff File | ||
add - src/cats/ddl/grants/mysql-readonly.sql | Diff File | ||
add - src/cats/ddl/grants/mysql.sql | Diff File | ||
add - src/cats/ddl/grants/postgresql-readonly.sql | Diff File | ||
add - src/cats/ddl/grants/postgresql.sql | Diff File | ||
add - src/cats/ddl/updates/mysql.14_2001.sql | Diff File | ||
add - src/cats/ddl/updates/mysql.2001_2002.sql | Diff File | ||
add - src/cats/ddl/updates/postgresql.14_2001.sql | Diff File | ||
add - src/cats/ddl/updates/postgresql.2001_2002.sql | Diff File | ||
add - src/cats/ddl/updates/sqlite3.14_2001.sql | Diff File | ||
add - src/cats/ddl/updates/sqlite3.2001_2002.sql | Diff File | ||
mod - src/cats/delete_catalog_backup.in | Diff File | ||
mod - src/cats/drop_bareos_database.in | Diff File | ||
mod - src/cats/drop_bareos_tables.in | Diff File | ||
rm - src/cats/drop_ingres_database.in | Diff File | ||
rm - src/cats/drop_mysql_database.in | Diff File | ||
rm - src/cats/drop_postgresql_database.in | Diff File | ||
rm - src/cats/drop_postgresql_tables.in | Diff File | ||
rm - src/cats/drop_sqlite3_database.in | Diff File | ||
rm - src/cats/drop_sqlite3_tables.in | Diff File | ||
rm - src/cats/fix_postgresql_tables | Diff File | ||
mod - src/cats/grant_bareos_privileges.in | Diff File | ||
rm - src/cats/grant_ingres_privileges.in | Diff File | ||
rm - src/cats/grant_mysql_privileges.in | Diff File | ||
rm - src/cats/grant_postgresql_privileges.in | Diff File | ||
rm - src/cats/grant_privileges | Diff File | ||
rm - src/cats/grant_sqlite3_privileges.in | Diff File | ||
rm - src/cats/ingres.in | Diff File | ||
mod - src/cats/make_bareos_tables.in | Diff File | ||
mod - src/cats/make_catalog_backup.in | Diff File | ||
mod - src/cats/make_ingres_catalog_backup.in | Diff File | ||
rm - src/cats/mysql.in | Diff File | ||
rm - src/cats/postgresql.in | Diff File | ||
mod - src/cats/restore_ingres_catalog_backup.in | Diff File | ||
rm - src/cats/sqlite.in | Diff File | ||
mod - src/cats/update_bareos_tables.in | Diff File | ||
rm - src/cats/update_ingres_tables.in | Diff File | ||
rm - src/cats/update_mysql_tables.in | Diff File | ||
rm - src/cats/update_postgresql_tables.in | Diff File | ||
rm - src/cats/update_sqlite3_tables.in | Diff File | ||
bareos-14.2 3fa3a176 2014-01-30 11:00 Ported: N/A Details Diff |
Fix some bugs in the NDMP implementation. Up until now we were not fully RFC compliant. You need to restore the full NDMP environment returned during a NDMP backup when performing a NDMP restore. We more or less re-created the environment when doing a restore but were missing some important elements. We now save the full environment in the database and use that to restore the whole environment when doing a restore. |
||
mod - src/cats/cats.h | Diff File | ||
mod - src/cats/grant_ingres_privileges.in | Diff File | ||
mod - src/cats/grant_postgresql_privileges.in | Diff File | ||
mod - src/cats/make_ingres_tables.in | Diff File | ||
mod - src/cats/make_mysql_tables.in | Diff File | ||
mod - src/cats/make_postgresql_tables.in | Diff File | ||
mod - src/cats/make_sqlite3_tables.in | Diff File | ||
mod - src/cats/protos.h | Diff File | ||
mod - src/cats/sql_create.c | Diff File | ||
mod - src/cats/sql_get.c | Diff File | ||
mod - src/dird/ndmp_dma.c | Diff File | ||
mod - src/dird/restore.c | Diff File | ||
mod - src/dird/ua_purge.c | Diff File | ||
mod - src/ndmp/ndma_comm_dispatch.c | Diff File | ||
mod - src/ndmp/ndma_comm_session.c | Diff File | ||
mod - src/ndmp/ndma_cops_backreco.c | Diff File | ||
mod - src/ndmp/ndma_listmgmt.c | Diff File | ||
mod - src/ndmp/ndmagents.h | Diff File | ||
mod - src/ndmp/ndmjob_job.c | Diff File | ||
mod - src/ndmp/ndmp3_translate.c | Diff File | ||
mod - src/ndmp/ndmp4_translate.c | Diff File | ||
mod - src/ndmp/ndmp9.x | Diff File | ||
mod - src/stored/dir_cmd.c | Diff File | ||
mod - src/stored/ndmp_tape.c | Diff File | ||
bareos-14.2 324abd6b 2014-01-29 14:00 Ported: N/A Details Diff |
Make readline also work on windows. | ||
mod - src/console/console.c | Diff File | ||
bareos-14.2 8b3eaaeb 2014-01-29 11:03 Ported: N/A Details Diff |
Fix thinko in windows EFS support. | ||
mod - src/filed/restore.c | Diff File | ||
bareos-14.2 e01d924b 2014-01-27 19:42 Committer: mvwieringen Ported: N/A Details Diff |
Fix pathname | ||
mod - autoconf/configure.in | Diff File | ||
bareos-13.2 911ba0a0 2014-01-27 19:42 Committer: mvwieringen Ported: N/A Details Diff |
Fix pathname | ||
mod - autoconf/configure.in | Diff File | ||
bareos-13.2 99270a66 2014-01-27 13:23 Committer: mvwieringen Ported: N/A Details Diff |
identical debian/control and debian/control.common make the files debian/control and debian/control.common identical. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - debian/control.common | Diff File | ||
bareos-14.2 35696f86 2014-01-26 16:22 Ported: N/A Details Diff |
Fix compiler warning. | ||
mod - src/win32/plugins/filed/mssqlvdi-fd.c | Diff File | ||
bareos-13.2 8af1dc02 2014-01-26 16:22 Ported: N/A Details Diff |
Fix compiler warning. | ||
mod - src/win32/plugins/filed/mssqlvdi-fd.c | Diff File | ||
bareos-14.2 b3460ff3 2014-01-25 23:32 Ported: N/A Details Diff |
Tweak windows build environment. | ||
mod - src/win32/filed/Makefile | Diff File | ||
mod - src/win32/findlib/Makefile | Diff File | ||
mod - src/win32/lib/Makefile | Diff File | ||
mod - src/win32/stored/Makefile | Diff File | ||
bareos-14.2 03ecfbf9 2014-01-25 23:27 Ported: N/A Details Diff |
Don't use a pthread_t as a normal simple type. Not on all platforms a pthread_t is a simple type and as such you cannot normally determine if its initialized or not. So for the allocation of the SD message channel we now use a bool that gets set when the thread is running and needs teardown. |
||
mod - src/dird/backup.c | Diff File | ||
mod - src/dird/dird.c | Diff File | ||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/migrate.c | Diff File | ||
mod - src/dird/msgchan.c | Diff File | ||
mod - src/dird/ndmp_dma.c | Diff File | ||
mod - src/dird/restore.c | Diff File | ||
mod - src/dird/vbackup.c | Diff File | ||
mod - src/include/jcr.h | Diff File | ||
bareos-13.2 5dccc478 2014-01-24 13:57 Committer: mvwieringen Ported: N/A Details Diff |
integrate building of additional UCS packages for the univention distribution, Bareos offers two additional packages for better integration: univention-bareos univention-bareos-schema These two packages are now be automatically builded with OBS. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - .travis.yml | Diff File | ||
mod - Makefile.in | Diff File | ||
mod - autoconf/bareos/os.m4 | Diff File | ||
mod - autoconf/configure.in | Diff File | ||
mod - configure | Diff File | ||
mod - debian/control | Diff File | ||
add - debian/control.common | Diff File | ||
add - debian/univention-bareos.dirs | Diff File | ||
add - debian/univention-bareos.install | Diff File | ||
mod - platforms/Makefile.in | Diff File | ||
mod - platforms/packaging/bareos-Univention_3.1.dsc | Diff File | ||
mod - platforms/packaging/bareos-Univention_3.2.dsc | Diff File | ||
add - platforms/univention/Makefile.in | Diff File | ||
rm - platforms/univention/debian/changelog | Diff File | ||
rm - platforms/univention/debian/compat | Diff File | ||
rm - platforms/univention/debian/config | Diff File | ||
rm - platforms/univention/debian/files | Diff File | ||
rm - platforms/univention/debian/rules | Diff File | ||
rm - platforms/univention/debian/substvars | Diff File | ||
rm - platforms/univention/debian/univention-bareos-schema.conffiles | Diff File | ||
rm - platforms/univention/debian/univention-bareos-schema.dirs | Diff File | ||
rm - platforms/univention/debian/univention-bareos-schema.substvars | Diff File | ||
rm - platforms/univention/debian/univention-bareos.conffiles | Diff File | ||
rm - platforms/univention/debian/univention-bareos.dirs | Diff File | ||
rm - platforms/univention/debian/univention-bareos.install | Diff File | ||
mod - platforms/univention/fd-generic.template | Diff File | ||
mod - platforms/univention/univention-bareos.cron | Diff File | ||
bareos-14.2 10bcd4ab 2014-01-22 19:54 Committer: mvwieringen Ported: N/A Details Diff |
integrate building of additional UCS packages for the univention distribution, Bareos offers two additional packages for better integration: univention-bareos univention-bareos-schema These two packages are now be automatically builded with OBS. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - .travis.yml | Diff File | ||
mod - Makefile.in | Diff File | ||
mod - autoconf/bareos/os.m4 | Diff File | ||
mod - autoconf/configure.in | Diff File | ||
mod - configure | Diff File | ||
mod - debian/control | Diff File | ||
add - debian/control.common | Diff File | ||
add - debian/univention-bareos.dirs | Diff File | ||
add - debian/univention-bareos.install | Diff File | ||
mod - platforms/Makefile.in | Diff File | ||
mod - platforms/packaging/bareos-Univention_3.1.dsc | Diff File | ||
mod - platforms/packaging/bareos-Univention_3.2.dsc | Diff File | ||
add - platforms/univention/Makefile.in | Diff File | ||
rm - platforms/univention/debian/changelog | Diff File | ||
rm - platforms/univention/debian/compat | Diff File | ||
rm - platforms/univention/debian/config | Diff File | ||
rm - platforms/univention/debian/files | Diff File | ||
rm - platforms/univention/debian/rules | Diff File | ||
rm - platforms/univention/debian/substvars | Diff File | ||
rm - platforms/univention/debian/univention-bareos-schema.conffiles | Diff File | ||
rm - platforms/univention/debian/univention-bareos-schema.dirs | Diff File | ||
rm - platforms/univention/debian/univention-bareos-schema.substvars | Diff File | ||
rm - platforms/univention/debian/univention-bareos.conffiles | Diff File | ||
rm - platforms/univention/debian/univention-bareos.dirs | Diff File | ||
rm - platforms/univention/debian/univention-bareos.install | Diff File | ||
mod - platforms/univention/fd-generic.template | Diff File | ||
mod - platforms/univention/univention-bareos.cron | Diff File | ||
bareos-14.2 f8475c78 2014-01-17 18:04 Ported: N/A Details Diff |
Copy job definition requires unnecessary settings Due to implementing this feature we can no longer asume that there always is a Client and Fileset in a Job definition. So we need to learn the .defaults cmd that is needs to print *None* when we don't have a Client or Fileset and not just dereference a NULL pointer. Fixes 0000220: Copy job definition requires unnecessary settings |
Affected Issues 0000220 |
|
mod - src/dird/ua_dotcmds.c | Diff File | ||
bareos-14.2 e67202d2 2014-01-13 22:02 Ported: N/A Details Diff |
Fix typo. | ||
mod - src/cats/bvfs.c | Diff File | ||
bareos-13.2 b8af50a7 2014-01-13 22:02 Ported: N/A Details Diff |
Fix typo. | ||
mod - src/cats/bvfs.c | Diff File | ||
bareos-12.4 ad0b1b66 2014-01-13 22:02 Ported: N/A Details Diff |
Fix typo. | ||
mod - src/cats/bvfs.c | Diff File | ||
bareos-13.2 56c180ee 2014-01-12 22:37 Ported: N/A Details Diff |
BVFS reported a problem for <id> fix. There was a mixup of the return value returned from the bvfs_update_path_hierarchy_cache() function which returns a zero which is interpretted as a false by the calling dot_bvfs_update() function. Lets return a proper boolean value and only set that return value to true when we leave the bvfs_update_path_hierarchy_cache() function due to hitting either an empty jobid list or after processing the jobid list successfully. Any other exit (due to joblist corruption or failing to update the path hierarchy cache) leads to the function returning false. Fixes 0000217: BVFS reported a problem for <id> |
Affected Issues 0000217 |
|
mod - src/cats/bvfs.c | Diff File | ||
mod - src/cats/bvfs.h | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File | ||
bareos-12.4 06276aef 2014-01-12 22:37 Ported: N/A Details Diff |
BVFS reported a problem for <id> fix. There was a mixup of the return value returned from the bvfs_update_path_hierarchy_cache() function which returns a zero which is interpretted as a false by the calling dot_bvfs_update() function. Lets return a proper boolean value and only set that return value to true when we leave the bvfs_update_path_hierarchy_cache() function due to hitting either an empty jobid list or after processing the jobid list successfully. Any other exit (due to joblist corruption or failing to update the path hierarchy cache) leads to the function returning false. Fixes 0000217: BVFS reported a problem for <id> |
Affected Issues 0000217 |
|
mod - src/cats/bvfs.c | Diff File | ||
mod - src/cats/bvfs.h | Diff File | ||
mod - src/dird/ua_dotcmds.c | Diff File |