You can get it here.
https://pastebin.com/XvQqfzNX
It will need adapting to your environment. I have a cloud+cache (backblaze
B2) and 2x local NAS (local CIFS mounts) SDs that are defined as variables
at the top of the script.
I run this manually to recover space whenever I need. It's not schedu
That sounds really useful, I’d be quite happy to take and adapt it (perhaps on
GitHub where others can see?).
Removal of artifacts generated from historical or defunct jobs was my one of my
feature requests towards Acronis before I moved on to Bacula, they just
couldn’t manage my NAS space the
:)
De : Chris Wilkinson
Envoyé : mercredi 29 novembre 2023 15:40
À : Lionel PLASSE
Cc : bacula-users
Objet : Re: [Bacula-users] Migration Job - Volume data deletion
The script will purge expired volumes if that's what you mean by clean.
It doesn't recreate any v
commands.
>
>
>
> But I’d happy to adapt it to my conf.
>
> My mail address is open for sharing if you want. (zip, gz or even
> wetransfer)
>
>
>
> Great thanks,
>
> Lionel
>
>
>
> *De :* Chris Wilkinson
> *Envoyé :* mercredi 29 novembre 2023 1
t it to my conf.
My mail address is open for sharing if you want. (zip, gz or even wetransfer)
Great thanks,
Lionel
De : Chris Wilkinson
Envoyé : mercredi 29 novembre 2023 13:03
À : Lionel PLASSE
Cc : bacula-users
Objet : Re: [Bacula-users] Migration Job - Volume data deletion
I hav
I have a script that deletes physical disc and cloud volumes that are not
present in the catalog, perhaps because a job was manually deleted or
migrated. Is that what you want to achieve?
It's part of a collection of Bacula scripts that I use. It's too big to
post here but I'd be happy to share it