If they are tape volumes you want to recycle, you can just use the purge command.
If they are disk volumes you want to go away bareos won’t delete them, So I would do purge volume=<volumename> delete volume=<volumename> rm -f /mnt/baroes/<volumename> # update for location of volumes The purge/delete is important so that baroes don’t think files exist for backup jobs. If you have a list of volumes in a file you can do: for x in $(cat /tmp/volumes) do echo “purge volume=$x” | bconsole echo “delete volume=$x” | bconsole rm -f /mnt/baroes/$x done Brock Palen [email protected] www.mlds-networks.com Websites, Linux, Hosting, Joomla, Consulting > On Dec 7, 2021, at 4:24 AM, Stephan Hermann-Strauß > <[email protected]> wrote: > > Hi there, > > we just reorganized our volumes/devices/storages/pools design. As a result > there are volumes we do not need anymore. What is the safe way to get rid of > these volumes and all the backups within? > > Thanks and greets > Stephan > > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/bareos-users/0cfe4f9afe164702859b6a19455e16a7%40srvmail2.bruckmatten.rinklin-naturkost.de. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/48A7E5F8-CD6A-42C1-B45E-BB4E56F4342E%40mlds-networks.com.
