Remember that by while you think about disk files, in many environments backup storage resides on tapes so volumes are physical media which cannot be "deleted" - if you purge jobs from the database you simply mark the volume as empty and it can be overwritten with subsequent jobs.

Having said that - bareos has some additional concepts around media taking into account the fact that they might actually be files in the directory (like automatic creation of volumes - something that is impossible with tapes since you can't magic a physical tape out of thin air).

Whay you might look into is https://docs.bareos.org/Configuration/Director.html#config-Dir_Pool_ActionOnPurge

But depending on your particular configuration some options might or might not apply.

MK

On 9.11.2023 09:58, Miguel Santos wrote:
This is normal behavior, if configured correctly (Maximum Volume Size, N. Volumes) the volumes will be recycled and the data consumption will not pass your limits once you reach your settings.

The retention periods are applied only for catalog records, this means that even if a volume is Purged or its retention period has reached, BAREOS will not do anything to the volume but it may reuse that volume and write new data to it. There is a valid reason for this in larger systems where you don't have immediate access to tapes.

However, for file-based backups probably those settings are not configured and it will create volumes indefinitely. Since this is not an easy answer depending on the strategy you want to follow, I would suggest to look at: https://docs.bareos.org/TasksAndConcepts/VolumeManagement.html

On Thursday, November 9, 2023 at 9:42:11 AM UTC+1 Yariv Hazan wrote:

    Hi,
    When using bconsole to delete jobs disk space doe not seem to be free.
    How do I delete the job and have the data removed form disk?
    Thanks,
    Yariv

--
You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/ed9a4a08-32dc-44da-8a69-08b4c1f0e665n%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/ed9a4a08-32dc-44da-8a69-08b4c1f0e665n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/4540a2c9-aadb-46ca-825b-7a7098836c73%40gmail.com.

Reply via email to