]> git.sur5r.net Git - bacula/bacula/commit
kes Write new subroutine is_volume_purged() that explicitly checks
authorKern Sibbald <kern@sibbald.com>
Sat, 24 Mar 2007 21:55:54 +0000 (21:55 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 24 Mar 2007 21:55:54 +0000 (21:55 +0000)
commit508a6c5ed177f5a0f89d3aeca2f9acd680223d89
tree7e279ef3bdcbc17816458dba9e593954abffef48
parent0f002d2979039e32155296a1aa4551465f5b0ea6
kes  Write new subroutine is_volume_purged() that explicitly checks
     if the Volume is purged, and if so marks it as such. This should
     resolve problems reported about needing to mount twice to recycle
     volumes.
kes  Rewrite pruning algorithm to do more work in the SQL engine, and
     to pass a list of JobIds to be deleted to SQL.  Also, minimize the
     amount of duplicated code.
kes  Do volume pruning only for the Media Type desired (reduces pruning time
     if multiple Media Types are in the same pool).
kes  Implement more detailed info in the Job report for the Bacula version
     and architecture.
kes  Switch from POOLMEM to POOL_MEM (a real class) in ua_prune.c and
     ua_purge.c.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4408 91ce42f0-d328-0410-95d8-f526ca767f89
26 files changed:
bacula/src/cats/mysql.c
bacula/src/cats/protos.h
bacula/src/cats/sql_cmds.c
bacula/src/cats/sql_find.c
bacula/src/cats/sql_get.c
bacula/src/dird/autoprune.c
bacula/src/dird/backup.c
bacula/src/dird/catreq.c
bacula/src/dird/dird.h
bacula/src/dird/job.c
bacula/src/dird/migrate.c
bacula/src/dird/next_vol.c
bacula/src/dird/protos.h
bacula/src/dird/restore.c
bacula/src/dird/scheduler.c
bacula/src/dird/ua.h
bacula/src/dird/ua_cmds.c
bacula/src/dird/ua_output.c
bacula/src/dird/ua_prune.c
bacula/src/dird/ua_purge.c
bacula/src/dird/ua_restore.c
bacula/src/dird/ua_status.c
bacula/src/dird/verify.c
bacula/src/lib/bsnprintf.c
bacula/src/stored/status.c
bacula/technotes-2.1