... | ... | @@ -1223,6 +1223,27 @@ from cron in `/etc/cron.d/puppet-crontab`. |
|
|
TODO: expand on the problems with the original scheduler and how ours
|
|
|
work.
|
|
|
|
|
|
### Volume expiry
|
|
|
|
|
|
There is a `/etc/bacula/scripts/volume-purge-action` script which runs
|
|
|
daily (also from `puppet-crontab`) which will run the `truncate
|
|
|
allpools storage=%s` command on all `mediatype` entities found in the
|
|
|
`media` table. TODO: what does that even mean?
|
|
|
|
|
|
Then the `/etc/bacula/scripts/volumes-delete-old` (also runs daily,
|
|
|
also from `puppet-crontab` which will:
|
|
|
|
|
|
* delete volumes with errors (`volstatus=Error`), created earlier
|
|
|
than two weeks and without change for 6 weeks
|
|
|
* delete all volumes in "append" mode (`volstatus=Append`) which are
|
|
|
idle
|
|
|
* delete purged volumes (`volstatus=Purged`) without files
|
|
|
(`volfiles=0` and `volbytes<1000`), marked to be recycled
|
|
|
(`recycle=1`) and older than 4 months
|
|
|
|
|
|
It doesn't actually seem to purge old volumes per say: something else
|
|
|
seems to be responsible from marking them as `Purged`.
|
|
|
|
|
|
## Issues
|
|
|
|
|
|
There is no issue tracker specifically for this project, [File][] or
|
... | ... | |