I read up the console manual on the purge command and also looked at help purge.
The tried:
(e) purge action=truncate allpools storage=unraid-tier1-storage
when asked for a pool I selected a small one that is the on disk and I
get a list of 2 volumes. When entering a media id I get this:
Enter a Volume name or *MediaId: 46
sql_get.c:1337 Media record for Volume name "46" not found.
Sounds kinda wrong to me, as it was listing this volume right beforehand.
What am I doing wrong?
> On 19. Mar 2022, at 22:20, Justin Case <[email protected]> wrote:
>
> I think I am not good enough on bconsole yet, I tried different things but I
> am getting nowhere.
>
> Things I tried in bconsole:
>
> (a) "purge action=truncate", then selected "2" for jobs
> it tells me it purged a number of jobs, but no volume got truncated
>
> (b) "purge volume action=truncate allpools storage=unraid-tier1-storage”
> I get: No Volumes found to perform the command.
>
> (c) truncate, then selected the storage and a pool,
> I get: No Volumes found to perform the command.
>
> (d) truncate pool=unraid-minio-full storage=unraid-tier1-storage
> I get: No Volumes found to perform the command.
>
> Something that would not work for me is if I had to manually enumerate each
> volume to be purged and truncated (as there are just too many).
>
> Could someone please help me out giving more detailed directions which
> command(s) to run in bconsole with what parameters?
>
>> On 19. Mar 2022, at 21:30, Heitor Faria <[email protected]> wrote:
>>
>> Hello Justin,
>>
>>> Or asked differently: Is it possible to declare all volumes as expired
>>> without
>>> having to execute a command for each existing volume individually?
>>> (something
>>> like “set all volumes to expired”)?
>>
>> You can use the purge command to recycle the desired volumes prematurely.
>>
>> Rgds.
>> --
>> MSc Heitor Faria (Miami/USA)
>> Bacula LATAM CIO
>>
>> mobile1: + 1 909 655-8971
>> mobile2: + 55 61 98268-4220
>> [ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ]
>> [ http://www.bacula.com.br/ ]
>>
>> América Latina
>> [ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ |
>> bacula.com.br ]
>>
>
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users