Changesets: bareos
master dc89f661 2014-02-25 11:30 Ported: N/A Details Diff |
Fix for purge command not purging and truncating. Fix for purge command not purging and truncating volumes when run with action parameter Fixes 0000282: Running purge command with action parameter does not purge or truncates volumes Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000282 |
|
mod - src/dird/ua_purge.c | Diff File | ||
bareos-13.2 6c8d624d 2014-02-25 11:30 Ported: N/A Details Diff |
Fix for purge command not purging and truncating. Fix for purge command not purging and truncating volumes when run with action parameter Fixes 0000282: Running purge command with action parameter does not purge or truncates volumes Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000282 |
|
mod - src/dird/ua_purge.c | Diff File | ||
master d815f53d 2014-02-25 11:19 Philipp Storz Committer: Marco van Wieringen Ported: N/A Details Diff |
Adds support for different blocksizes. Min- and maxblocksize are now a property of the pool and are promoted to tapes in that pool. Therefore, the media and pool database tables were adapted to hold min and maxblocksize. In order to be able to read the tape label always, the label is always read and written with the DEFAULT_BLOCK_SIZE = 63k/64512 bytes For backward compatibility, the blocksize DEFAULT_BLOCK_SIZE is used if the blocksize for the medium is zero in the database table. The device blocksizes are set to the values of the mounted volume after it was mounted, so all blocks being written after the label block are written with the blocksizes configured in the medium/pool. Moving a tape from one pool to another through the scratch pool mechanism is supported, as then the pool's properties are promoted to the medium. This new feature makes it possible to move from one blocksize to a new one during normal operation while being able to restore the old backups at any time. For disaster recovery (DR) using bscan etc. you need to set the blocksize used during write of the tape for restore. Fixes 0000267: make blocksize a property of the pool |
||
mod - src/cats/cats.h | Diff File | ||
mod - src/cats/sql_create.c | Diff File | ||
mod - src/cats/sql_find.c | Diff File | ||
mod - src/cats/sql_get.c | Diff File | ||
mod - src/cats/sql_update.c | Diff File | ||
mod - src/dird/catreq.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_label.c | Diff File | ||
mod - src/lib/scan.c | Diff File | ||
mod - src/stored/acquire.c | Diff File | ||
mod - src/stored/askdir.c | Diff File | ||
mod - src/stored/block.c | Diff File | ||
mod - src/stored/block.h | Diff File | ||
mod - src/stored/bscan.c | Diff File | ||
mod - src/stored/butil.c | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/dir_cmd.c | Diff File | ||
mod - src/stored/label.c | Diff File | ||
mod - src/stored/mount.c | Diff File | ||
mod - src/stored/protos.h | Diff File | ||
mod - src/stored/reserve.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
mod - src/stored/spool.c | Diff File | ||
mod - src/stored/stored.c | Diff File | ||
mod - src/stored/stored.h | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
mod - src/stored/stored_conf.h | Diff File | ||
master 860aaeb1 2014-02-25 10:19 Committer: mvwieringen Ported: N/A Details Diff |
Adds support for different blocksizes. Min- and maxblocksize are now a property of the pool and are promoted to tapes in that pool. Therefore, the media and pool database tables were adapted to hold min and maxblocksize. In order to be able to read the tape label always, the label is always read and written with the DEFAULT_BLOCK_SIZE = 63k/64512 bytes For backward compatibility, the blocksize DEFAULT_BLOCK_SIZE is used if the blocksize for the medium is zero in the database table. The device blocksizes are set to the values of the mounted volume after it was mounted, so all blocks being written after the label block are written with the blocksizes configured in the medium/pool. Moving a tape from one pool to another through the scratch pool mechanism is supported, as then the pool's properties are promoted to the medium. This new feature makes it possible to move from one blocksize to a new one during normal operation while being able to restore the old backups at any time. For disaster recovery (DR) using bscan etc. you need to set the blocksize used during write of the tape for restore. Fixes 0000267: make blocksize a property of the pool |
Affected Issues 0000267 |
|
mod - src/cats/cats.h | Diff File | ||
mod - src/cats/sql_create.c | Diff File | ||
mod - src/cats/sql_find.c | Diff File | ||
mod - src/cats/sql_get.c | Diff File | ||
mod - src/cats/sql_update.c | Diff File | ||
mod - src/dird/catreq.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_label.c | Diff File | ||
mod - src/lib/scan.c | Diff File | ||
mod - src/stored/acquire.c | Diff File | ||
mod - src/stored/askdir.c | Diff File | ||
mod - src/stored/block.c | Diff File | ||
mod - src/stored/block.h | Diff File | ||
mod - src/stored/bscan.c | Diff File | ||
mod - src/stored/butil.c | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/dir_cmd.c | Diff File | ||
mod - src/stored/label.c | Diff File | ||
mod - src/stored/mount.c | Diff File | ||
mod - src/stored/protos.h | Diff File | ||
mod - src/stored/reserve.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
mod - src/stored/spool.c | Diff File | ||
mod - src/stored/stored.c | Diff File | ||
mod - src/stored/stored.h | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
mod - src/stored/stored_conf.h | Diff File | ||
bareos-13.2 9a6e898c 2014-02-24 21:06 Ported: N/A Details Diff |
Rebuild configure. | ||
mod - configure | Diff File | ||
bareos-13.2 43038491 2014-02-24 21:01 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-13.2 ec38a8eb 2014-02-24 20:56 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_label.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 | ||
master e9e295cb 2014-02-22 11:20 Marco van Wieringen Ported: N/A Details Diff |
Remove useless debug message. | ||
mod - src/stored/block.c | Diff File | ||
bareos-12.4 00502757 2014-02-22 10:36 Ported: N/A Details Diff |
Use bstrncpy and not strncpy. | ||
mod - src/lib/ini.c | Diff File | ||
bareos-12.4 4642265e 2014-02-22 10:29 Ported: N/A Details Diff |
Fix some more compiler warnings. | ||
mod - src/dird/catreq.c | Diff File | ||
bareos-13.2 c5c89679 2014-02-22 10:29 Ported: N/A Details Diff |
Fix some more compiler warnings. | ||
mod - src/dird/catreq.c | Diff File | ||
master 8eec411b 2014-02-22 10:20 Ported: N/A Details Diff |
Remove useless debug message. | ||
mod - src/stored/block.c | Diff File | ||
bareos-12.4 ee21e5ad 2014-02-22 10:20 Ported: N/A Details Diff |
Remove useless debug message. | ||
mod - src/stored/block.c | Diff File | ||
bareos-13.2 b258851f 2014-02-22 10:20 Ported: N/A Details Diff |
Remove useless debug message. | ||
mod - src/stored/block.c | Diff File | ||
master 3e4c71b1 2014-02-21 14:39 Marco van Wieringen Ported: N/A Details Diff |
Don't return a pointer to a local variable. | ||
mod - src/dird/expand.c | Diff File | ||
mod - src/lib/var.c | Diff File | ||
master b7ce2476 2014-02-21 14:32 Marco van Wieringen Ported: N/A Details Diff |
Use bstrncpy and not strncpy. | ||
mod - src/dird/inc_conf.c | Diff File | ||
mod - src/lib/ini.c | Diff File | ||
master 58a4b420 2014-02-21 13:39 Ported: N/A Details Diff |
Don't return a pointer to a local variable. | ||
mod - src/dird/expand.c | Diff File | ||
mod - src/lib/var.c | Diff File | ||
bareos-12.4 d00f9733 2014-02-21 13:39 Ported: N/A Details Diff |
Don't return a pointer to a local variable. | ||
mod - src/dird/expand.c | Diff File | ||
mod - src/lib/var.c | Diff File | ||
bareos-13.2 f291a7a8 2014-02-21 13:39 Ported: N/A Details Diff |
Don't return a pointer to a local variable. | ||
mod - src/dird/expand.c | Diff File | ||
mod - src/lib/var.c | Diff File | ||
master e6201d2c 2014-02-21 13:32 Ported: N/A Details Diff |
Use bstrncpy and not strncpy. | ||
mod - src/dird/inc_conf.c | Diff File | ||
mod - src/lib/ini.c | Diff File | ||
bareos-13.2 b3a7d392 2014-02-21 13:32 Ported: N/A Details Diff |
Use bstrncpy and not strncpy. | ||
mod - src/dird/inc_conf.c | Diff File | ||
mod - src/lib/ini.c | Diff File | ||
master d0f4d744 2014-02-20 14:12 Marco van Wieringen Ported: N/A Details Diff |
Add first prototype for abstracting librados API. | ||
mod - autoconf/configure.in | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
add - src/stored/backends/rados_device.c | Diff File | ||
add - src/stored/backends/rados_device.h | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
master 68b9712c 2014-02-20 13:12 Ported: N/A Details Diff |
Add first prototype for abstracting librados API. | ||
mod - autoconf/configure.in | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
add - src/stored/backends/rados_device.c | Diff File | ||
add - src/stored/backends/rados_device.h | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
master 58c948c0 2014-02-20 10:52 Marco van Wieringen Ported: N/A Details Diff |
Rebuild configure and config.h.in | ||
mod - autoconf/config.h.in | Diff File | ||
mod - configure | Diff File | ||
master 38d481df 2014-02-20 09:52 Ported: N/A Details Diff |
Rebuild configure and config.h.in | ||
mod - autoconf/config.h.in | Diff File | ||
mod - configure | Diff File |